saifullah khan

saifullah khan

  • NA
  • 335
  • 295.2k

Error while deploying website on server

Jul 25 2011 12:06 AM
I deployed my website on ftp server. but when i open my first page in the browser it gives me the following error.

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>

i replaced the code by the given instructions but still it gives me an error. can somebody tell me what is the problem the web.config file is attached to the post. please help me.

Attachment: web.rar

Answers (3)