cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
fen12
Engaged Sweeper
Hi,

I'm getting the below message after modifying the web.config file. Pls advise. Everything has been revert to the original.

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

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>

Thanks.

5 REPLIES 5
fen12
Engaged Sweeper
Hi,

I have change the authentication method to integrated authentication. Now it prompts for User name and password. However I just couldn't access with the correct user name and password.
Hemoco
Lansweeper Alumni
fen12 wrote:
Hi,

I have change the authentication method to integrated authentication. Now it prompts for User name and password. However I just couldn't access with the correct user name and password.

The username must be in the group that you specified or it won't work.
You will probably also need to specify the domain (domain\username)
Hemoco
Lansweeper Alumni
Did you change your authentication method to integrated authentication in IIS?
fen12
Engaged Sweeper
Hi, I managed to rectify my previous problem. The security rights on Webconfig were changed.

I have another problem. I am trying to restrict the access on the web console. I have modify the webconfig accordingly but still unable to access. I have created a security group in Active directory and give myself the access. Is there anything else that I need to check? The webconfig is attached here. The extension of the web config has been changed to txt for uploading purpose.

Access is denied.
Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL.

Error message 401.2.: Unauthorized: Logon failed due to server configuration. Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server. Contact the Web server's administrator for additional assistance.

Hemoco
Lansweeper Alumni
Please attach your web.config file.