Of course the above line makes no sense. We should return the detailed error to fix it.
To display the detailed error follow the below steps,
- In Internet Information Services (IIS) Manager select your published site
- In the right side windows double click the "Error Pages" icon
- A list of errors will be displayed.
- Right click and choose the "Edit Feature Setting" on the error status code "500"
- Select the "Detailed Error" radio button
- Click Ok
- Run the application again. You will get the detailed error.
No comments:
Post a Comment