Click to See Complete Forum and Search --> : CustomErrors problem


TimTree
03-05-2007, 08:22 AM
i have developed a VB.NET Web Site in Visual Studio 2005 and deployed it onto a shared server using Xcopy in the hope that everyone could view the website at work.

When I attempt to view a .aspx page from the Client browser i get the following error :-

: 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.

It says that the solution is to do the following in your web.config file:

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

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


I have done this republished the website and used xcopy to deploy to serverside again, and I still get the same error. Does anyone know if i need to change something in the machine.config on the server or any other ideas to sort this.

Thanks
Tim.

P.S If I attempt to do this on a browser on the server, I do not get this problem, Its is just calling from client to server.