Re: Server Error in '/' Application.

From: Darren Clark (dclark88_at_hotmail.com)
Date: 06/29/04


Date: Tue, 29 Jun 2004 12:16:53 +1000

ok few things to check.

1) set <customErrors mode="Off"/> so that you can see the error mesage.

if it still persits..

a) make sure the site is an application and runs off an application pool
b) if it is hosted somewhere.... like a 3rd party hoster, check their
web.config restrictions...
eg one hoster we use will give that error message if
<compilation

defaultLanguage="c#"

debug="true"

/>

is in the code.

"abcd" <abcd@abcd.com> wrote in message
news:OezOclXXEHA.556@tk2msftngp13.phx.gbl...
> I get following error. I have 2 simple text boxes and requiresValidator
> control attached to them. When run on development machine is works when
> deployed on production server I get following errors. I want to get the
> validatior controls displayed. I ma using ASP server controls.
> 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
>
>


Relevant Pages

  • Re: RunTime Error - After my web site running 2 or 3 days
    ... Make sure the server 'EXPORTNETWORK.exortcanada.local' is ... The application-specific permission settings do not grant Local Activation ... custom error settings for this application prevent the details of the ... This tag should then have its ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: prevent runat="server"
    ... I don't think there is any way that you can easily get away from including the runat="server" attribute value pair since it is exactly what the server uses to identify sever side nodes. ... The asp:ListItem can probably get away without it since it is a child of an asp:DropDownList tag that already has a runat="server attribute/value pair. ... I would not recommend going to the effort of using it unless it is a control that is used ONLY between the opening/closing tags of one of your other controls. ... way I can specify this in my code, so that the designer using my controls doesn't have to specify this for each custom control tag? ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: INSTALL PROBLEM #1
    ... In my case that message (on a couple of machines) was then a timeout ... > Server Error in '/' Application. ... This tag should then have its "mode" ... The current error page you are seeing can be replaced by a custom ...
    (microsoft.public.sharepoint.windowsservices)
  • Server Error in / Application.
    ... I ma using ASP server controls. ... configuration file located in the root directory of the current web ... The current error page you are seeing can be replaced by a custom ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Disabling ASP.net 2.0 Membership
    ... Also Steven's post is correct that the exception is ... failure to connect to SQL Server 2005 over Named Pipes. ... or custom one you create. ... If you're using any of the "drag and drop" 2.0 asp.net controls, ...
    (microsoft.public.dotnet.framework.aspnet)