Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Server Error in '/' Application

Author  Topic 

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2005-12-21 : 02:17:39
Hello
a colleague in my office copied his .net files to a flash drive and uploaded it to a remote hosting server.

however the .net pages give this error ?

we did some troubleshooting and found out the following

This error has been observed when a new .NET web application has been copied to a server or renamed on the server.


what could be done about this ?

tahnks
Afrika

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>

karuna
Aged Yak Warrior

582 Posts

Posted - 2005-12-21 : 04:12:11
In the web.config file make the following changes, replace the existing line
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
with this <customErrors mode = "Off"/> . This will show the detailed error message so that proceeding further will be easier.

Thanks

Karunakaran
Go to Top of Page

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2005-12-21 : 08:05:20
thanks Karunakaran
the error still remains

what can we do to get it up and running ? any other advice/assistance ?

Afrika
Go to Top of Page

karuna
Aged Yak Warrior

582 Posts

Posted - 2005-12-21 : 22:43:59
Does it specify whats the error? Can you post the stack trace it displays on the browser? Is it a virtual directory?

Thanks

Karunakaran
Go to Top of Page

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2005-12-22 : 06:22:00
Its up

Got our hosting providers to sort it out.

Gracia mon ami
Go to Top of Page
   

- Advertisement -