c# - "There was an unexpected server error" - IIS Version 7.5 -


enter image description here

i've developed web application, deployed application on server.
when ran application getting there unexpected server error, error message shows, no other details.
when run application using visual studio, works fine. i've tried below <customerrors mode="on" />

  • application pool has been kept in .net version 4.0
  • asp.net has been registered iis.

any ideas help.

on server web.config try below config. should see detailed error message.

<system.web>     <customerrors mode="off" /> </system.web> <system.webserver>     <httperrors errormode="detailed"></httperrors> </system.webserver> 

Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -