1

I have deployed my application on server and Now I am getting this error:

To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".

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 configuration tag to point to a custom error page URL.

~~~ I have defined custom error pages for my applicatio.

1
  • Which is your final config ? Commented May 23, 2016 at 10:27

1 Answer 1

3

Typically there is one of three causes, but we would have to see a web.config to get detail.

  1. You have an improper ASP.NET version selected in IIS so it cannnot get to your settings
  2. You have a malformed item in your web.config so the structure isn't correct
  3. Your custom errors section is commented out.....
Sign up to request clarification or add additional context in comments.

6 Comments

Thanks Mitchel, But the same solution is working on my local, also When I am making it "Off" then I am getting this error message for this line <add assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> I am using chart control in my application, is this because of IIS version on server ??
@Zerotoinfinite - Are you sure .Net 3.5 is installed on the server?
I am not sure, I have to ask my hosting provider. If this might be the cause then please suggest me the way forward.
@Zerotoinfinite - That is the only way, check with your hosting provider.
Thanks NIck, I'll get back to this post again once I verified the details of the hosting server. Thanks again for your quick response. :)
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.