Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Ista
Engaged Sweeper
In the process of trying to edit the web.config file to allow only a certain group access to the portal. I managed to mess it up. I backed up the web config file before editing it, but even after restoring the problem continues


Here is the error


<!-- 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>

4 REPLIES 4
Ista
Engaged Sweeper
It worked if I added the everyone group to the security.


what I was looking for was to deny access to everyone but a certain group.

This problem came about after trying to change the settings based on previous posts.
Hemoco
Lansweeper Alumni
Nothing looks wrong with your config file, could you check if the NTFS permissions on the file are correct after you did the restore.
Ista
Engaged Sweeper
uploaded in previous post
Hemoco
Lansweeper Alumni
Could you attach the current web.config file please.

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now