Guest User

Guest User

  • Tech Writer
  • 79
  • 8.2k

error in hosting

Jul 17 2018 3:08 PM
I get this message after i published mt=y website. I don't have any configuration as mentioned in my web.config. Can somebody help me with this error? thank you

Answers (3)

1
saleem usmani

saleem usmani

  • 0
  • 146
  • 19.4k
Jul 20 2018 1:04 AM
<system.web>
<customErrors mode="RemoteOnly" />
</system.web>
1
Rajan Arora

Rajan Arora

  • 0
  • 503
  • 2
Jul 18 2018 1:53 AM
This is a security feature of the asp.net that after deploying the website on server, it will not show the actual error which occurs in the code on remote devices, it will always show the error that you have given above.
 
To solve or look into the actual issue, you have to write below setting in the Web.config of the application
 
<configuration>
<system.web>
<customErrors mode="RemoteOnly" />
</system.web>
</configuration>
 
to allow server to show the actual error occured in the code on the remote devices. As this feature is not recommended so after solving the issue,Please remove this settings from web.config.
 
if you have any doubt please reply. 
0
Jayakumar Balasubramaniam

Jayakumar Balasubramaniam

  • 184
  • 10.2k
  • 1.4m
Jul 17 2018 7:46 PM
Hi Avishkar,
 
If you do the settins as mentioned in this error page in your web.config you will be able to see clear and complete details of the error.
 
 
Thanks,
Jayakumar B