Server Error in '/' Application in Asp.net

K

krishna

Guest
hi everyone,
I have replaced 3 files(index.aspx,index.resx,index.aspx.vb) on server running website, to implement a different functionality using javascript & html tags.
From then the website is showing error as below:

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>
=================
finally ,I have replaced the original files even the orignal backup of webconfig is replaced ,but still of no use.
I have restarted Server -- still no use..
Please!!! can anyone suggest ways to solve this error. Thanks in Advance.
 
You'll need to revise your web.config file as indicated, call the offending page and then post the results.
 
krishna said:
hi everyone,
I have replaced 3 files(index.aspx,index.resx,index.aspx.vb) on server running website, to implement a different functionality using javascript & html tags.
From then the website is showing error as below:

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>
=================
finally ,I have replaced the original files even the orignal backup of webconfig is replaced ,but still of no use.
I have restarted Server -- still no use..
Please!!! can anyone suggest ways to solve this error. Thanks in Advance.
Hi,
We are getting the same error.did u solve urs.
sudha.
 
I get the same message. I made the changes as requested in this forum, but no success.
 
I have the same problem in jodohost. If anyone know the solution of the problem please help me also. Thanx.
 
I also had this problem and contacted Live Support in the end. I thought I'd answer this here since it hasn't been closed. This was the answer I got from support:

ASP.NET 2.0 is available for free on all Standard accounts. 1.1 is installed by default on all domains. To switch to 2.0 on any domain, customers would need to submit a support ticket.

After this my ASP.Net 2.0 applications worked fine.
 
Back
Top