Re: My Web.config file is being ignored - any ideas?

From: Scott Cadillac (scott@xml-extra.net)
Date: 02/19/03


From: "Scott Cadillac" <scott@xml-extra.net>
Date: Wed, 19 Feb 2003 10:18:45 -0700


Thank you Yama, very clever - I hadn't thought of that.

Cheers....

--
Scott
"Yama" <yama@yamabiz.com> wrote in message
news:eAAj0MD2CHA.1264@TK2MSFTNGP09...
Hi Scott,
I believe that there is conflicts between the directories.
For example:
You:
C:\inetpub\wwwroot\yoursharedfolder\
YourCustomer:
C:\inetpub\wwwroot\
Let's also assume that your customer does not have a web.config in the root
nor a \bin folder.
You can check this by going to your client's site:
http:\\www.yourclient.com\web.config
You should get something like this:
Server Error in '/' Application.
This type of page is not served.
Description: The type of page you have requested is not served because it
has been explicitly forbidden. The extension '.config' may be incorrect.
Please review the URL below and make sure that it is spelled correctly.
Requested Url: /web.config
Also check for the \bin folder and you should get something similar to this:
HTTP 403.2 - Forbidden: Read Access Forbidden
Solution if any of these does not happen and you actually get a 404b.htm is
to contact your client to get those two things on the root of their server.
Yama Kamyar
"Scott Cadillac" <scott@xml-extra.net> wrote in message
news:#081V261CHA.1180@TK2MSFTNGP12...
> Thank you Yama,
>
> The Server is actually out of my hands. The local Network Admin setup the
> sight for me and I can only access a shared folder on a VPN network - I
have
> no other control of the site at this point.
>
> So, I can only guess that is the root folder because my files do show up
at
> the root of the domain address. And no - the Web.config file was placed
> there after the site was created.
>
> Does this tell you anything?
>
> Thanks for your time. Cheers........
>
> --
> Scott
>
> "Yama" <yama@yamabiz.com> wrote in message
> news:eqySvw61CHA.2532@TK2MSFTNGP11.phx.gbl...
> > Hi Scott,
> >
> > A few questions:
> >
> > 1. Do you have the web.config on the root of your server?
> > 2. Did you create a Virtual Directory for your web with the web.config
in
> > it?
> >
> > Try putting the web.config on the root of your inetpub\wwwroot\
> > You also want your \bin directory on the root.
> >
> > Hope it helps,
> >
> > Yama Kamyar
> >
> >
> >
> > "Scott Cadillac" <scott@xml-extra.net> wrote in message
> > news:ukMCmz31CHA.2292@TK2MSFTNGP11.phx.gbl...
> > > Hello,
> > >
> > > I'm deploying a new ASP.NET application to a customer's site. They
have
> > > given me VPN Access to a shared folder which is part of the IIS
> > directories.
> > >
> > > My *.ASPX are in the right place, but when I request a file remotely
via
> > > MSIE. I'm getting the standard error page that says "you need to have
> > > <customErrors mode="Off"> to see any details, blah, blah, blah," -
which
> I
> > > have!
> > >
> > > No matter what settings I try in my Web.config file - they just seem
to
> be
> > > ignored. Of course I can't get on the "local" machine remotely yet, to
> try
> > > requesting http://localhost.
> > >
> > > And of course, even though I have Application Trace turned on (with
> > > localOnly="false") - I'm getting the same "hidden" error message from
> > > "Trace.axd".
> > >
> > > Any ideas?
> > >
> > > Everything works fine on my development Server and I have successfully
> > > deployed my ASP.NET solution on other Servers.
> > >
> > > I'm sure the "error" is permission related - but I can't even see the
> > error.
> > >
> > > The Network Admin for the Server doesn't know anything more about .NET
> > other
> > > than he installed it for me.
> > >
> > > What kinds of things can I look for or suggest to the Network Admin?
> > Could
> > > it be another Web.config or Machine.config file overriding my
settings?
> > >
> > > Any ideas would be greatly appreciated. Cheers....
> > >
> > > --
> > > Scott
> > >
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: FP 03 on Apache
    ... with the corresponding .htpasswd file above the root in the .htpasswds folder. ... > disk and transfer it to the server and then rename the server version to ...
    (microsoft.public.frontpage.client)
  • Re: How to remove virtual path from root url of dev web server?
    ... Why do you develop in the root of your development server? ... the possibility of having additional applications in your server. ... > even folder where a page ran from to have a images subfolder with the images in there. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: My Web.config file is being ignored - any ideas?
    ... Let's also assume that your customer does not have a web.config in the root nor a \bin folder. ... Solution if any of these does not happen and you actually get a 404b.htm is to contact your client to get those two things on the root of their server. ... >> Hi Scott, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Distributed File System / File Replication Service
    ... The folder still exists, the share still exists, but the DFS root does not still exist. ... When running the first command, the primary server reports: The system cannot find the file specified which I think is probably ok since I have already unshared that folder and everything. ... In the Distributed File System snap-in, right-click the root target you want to remove, and then click Remove Target. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Client Side Access to Registry
    ... installed on client machine that calls a web application on my server. ... folder where some settings of my application is installed. ... Yama ...
    (microsoft.public.dotnet.framework.aspnet)