[thelist] ASP.NET - uploading to server

rogerharness at comcast.net rogerharness at comcast.net
Sun Jul 15 21:47:22 CDT 2007


Mattio,

I just tried to access the link remotely, and I received the following error message: (this means that even though there's still something wrong, the page is indeed there, correct?


###
Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error 
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
 

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
 ###

> Date: Sun, 15 Jul 2007 12:32:39 -0400
> From: "Mattio Valentino" <mattio.valentino at gmail.com>
> Subject: Re: [thelist] ASP.NET - uploading to server
> To: "thelist at lists.evolt.org" <thelist at lists.evolt.org>
> Message-ID:
> 	<9e841ebd0707150932p32bf7e2btda6232021a2d25d8 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Since you're just getting a 404 error, my first guess would be that
> your directory structure is different between the two environments.
> If you're seeing that error on your production machine, it's looking
> for the page in http://www.yourdomain.com/otd/asp_testing/default.aspx
> but not finding it there.  Make sure the directories exist.  If they
> do, try putting a simple HTML file in there to verify.
> 
> On 7/12/07, rogerharness at comcast.net <rogerharness at comcast.net> wrote:
> > > Subject: Re: [thelist] ASP.NET - uploading to server
> > > Hi Roger,
> > >
> > > What kind of specific errors are you seeing?
> >
> > Mattio,
> >
> > Thanks for taking the question!
> >
> > I've only got one simple page I'm working on, and here's the only message I'm 
> getting:
> >
> > ###
> > Server Error in '/' Application.
> > 
> --------------------------------------------------------------------------------
> >
> > The resource cannot be found.
> > Description: HTTP 404. The resource you are looking for (or one of its 
> dependencies) could have been removed, had its name changed, or is temporarily 
> unavailable. Please review the following URL and make sure that it is spelled 
> correctly.
> >
> > Requested Url: /otd/asp_testing/default.aspx
> > ###
> >
> > Thanks again Mattio, and I will definitely look into the links you've given 
> me!
> > -Roger Harness



More information about the thelist mailing list