Logo 
Search:

Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

error in web.config

  Asked By: Surabhi    Date: May 16    Category: Sharepoint 2010    Views: 5917

i am developing a custom login page for forms based authentication, but when i run the application i am getting web.config error.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly"/>
</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="On" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

can any on ehave an idea how to overcome this

regards,
susheel

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Jordon Willis     Answered On: May 16

This error is result of syntax error in web.config file.

I don't see any problem with "customErrors" tag.

What i suggest is too look into your recent changes to web.config file. It is possible that some syntax error is the cause of issue.

 
Didn't find what you were looking for? Find more on error in web.config Or get search suggestion and latest updates.




Tagged: