→ Celebrate SysAdmin Day 2024 with Lansweeper Enter our Giveaway here

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

I recently got this error while trying to access Lansweeper.

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>


Any ideas on how to fix this?

Thanks,

Kevin
3 REPLIES 3
kevinwdc
Engaged Sweeper
I was getting an ASP.NET 2.0.50727.0 Error

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2/17/2011 5:23:20 PM
Event time (UTC): 2/18/2011 1:23:20 AM
Event ID: 10e21aa1bcdd42dfbad34c437570ffdd
Event sequence: 16
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/2/ROOT-1-129424605195718295
Trust level: Full
Application Virtual Path: /
Application Path: D:\Lansweeper\website\
Machine name:

Process information:
Process ID: 55184
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: SystemException
Exception message: The trust relationship between this workstation and the primary domain failed.


Request information:
Request URL: http://lansweeper/autosuggest.aspx?q=min
Request path: /autosuggest.aspx
User host address:
User:
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 7
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: True
Stack trace: at System.Security.Principal.NTAccount.TranslateToSids(IdentityReferenceCollection sourceAccounts, Boolean& someFailed)
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean& someFailed)
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
at System.Security.Principal.WindowsPrincipal.IsInRole(String role)
at System.Web.Configuration.AuthorizationRule.IsTheUserInAnyRole(StringCollection roles, IPrincipal principal)
at System.Web.Configuration.AuthorizationRule.IsUserAllowed(IPrincipal user, String verb)
at System.Web.Configuration.AuthorizationRuleCollection.IsUserAllowed(IPrincipal user, String verb)
at System.Web.Security.UrlAuthorizationModule.OnEnter(Object source, EventArgs eventArgs)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


I hope this info helps anyone that have this issue.

Kevin
kevinwdc
Engaged Sweeper
I restarted the lansweeper service but that didn't fix the problem.
So I rebooted the server and it's working again.
I don't know what happened as this is the first time I encountered this error.
Hemoco
Lansweeper Alumni
Please contact us by e-mail lansweeper@hemoco.com