Re: IIS5 Visual Basic.net 2003 - Internal Server Error

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Bob Smith (BobSmith_at_discussions.microsoft.com)
Date: 12/29/04


Date: Wed, 29 Dec 2004 14:17:02 -0800

Thanks for the reply. I have turned off friendy error messages in IE and get
the "Server encountered an internal error. To get more info turn on
customErrors in the server's config file." message.

How do I turn on customErrors in IIS5? when I edit the Web.Config to include
<system.web>
    <customErrors mode="Off">
    </customErrors>I get the error below from IE
</system.web>

Line 28: Add <error> tags for each of the errors you want to handle.
Line 29: -->
Line 30: <customErrors mode="RemoteOnly" />
Line 31:
Line 32: <!-- AUTHENTICATION
 

"Kristofer Gafvert" wrote:

> Hello,
>
> It would help to get a complete error message. Have you tried to follow
> the error message you get, and turn on customErrors (temporarily)?
>
> Have you checked the Event Log? It might tell you something.
>
> Please also disable "Show Friendly HTTP Error messages" in your
> browser.[1]
>
> I cannot give you better help, because everything else would be a guess.
>
>
> [1]
> In Internet Explorer, click Tools->Internet Options.
> Click on the Advanced tab.
> Uncheck "Show Friendly HTTP Error messages".
>
>
> --
> Regards,
> Kristofer Gafvert
> www.ilopia.com
>
> Bob Smith wrote:
>
> > I was wondering if anyone could help me with an issue I'm having on a
> > remote IIS5 machine and Microsoft dot net.
> >
> > Configuration
> > 1, IIS5
> > 2, Microsoft Front Page Extensions
> > 3, Microsoft Dot Net Framework 1.1
> > 4, Visual Studio dot net (Server Components)
> >
> > Problem
> > When the developers publish applications to the IIS server clients
> > are unable to access these applications, they get an
> > error 500
> > "Server encountered an internal error. To get more info turn on
> > customErrors in the server's config file."
> >
> > http://TestServer/dev/testapp.rem?wsdl
> >
> > however the application works fine on the developers web server.
> >
> > Does anyone know what could cause this?
> >
> > Thanks
>



Relevant Pages

  • Re: An application error occurred on the server.
    ... error info to get the standard error information that will tell you more. ... change web.config and set the Customerrors tag to off so you can see the ... Ultimately though you'll want to trap errors display a cleaner error message ... > I try to deploy an application on a IIS5 web server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: The object invoked has disconnected from its clients.
    ... The latest server Usage Report email only contained this error message. ... It is recommended that you contact Microsoft Customer ... Support Services via telephone so that a dedicated Support ... Professional can assist you recover the server in a more efficient manner. ...
    (microsoft.public.windows.server.sbs)
  • Re: startx fails
    ... Subject: startx fails ... Have you looked in the paths shown in the error message? ... configure the netscape http server. ... install, or one on which people have done lots of patches? ...
    (comp.unix.sco.misc)
  • Server Error in / Application.
    ... Both my machine.config file and the web.config files have customErrors ... An application error occurred on the server. ... To enable the details of this specific error message to be viewable ... configuration file located in the root directory of the current web ...
    (microsoft.public.dotnet.general)
  • Re: Publishing WebForms to Production System
    ... Its already Off but same error message. ... <!-- CUSTOM ERROR MESSAGES ... Set trace enabled="true" to enable application trace logging. ... > and upload the modified web.config file to your server. ...
    (microsoft.public.dotnet.framework.aspnet)