Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
AaronAnderson
Engaged Sweeper
Fresh install. I get this error when accessing the webpage.

There are also asp.net errors in the event log. see quoted info below







Server Error in '/lansweeper32' Application.
--------------------------------------------------------------------------------

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.

Details: To enable the details of this specific error message to be viewable on the local server machine, 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 "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".


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





Event Type:	Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 1/14/2009
Time: 10:44:04 AM
User: N/A
Computer: APP
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 1/14/2009 10:44:04 AM
Event time (UTC): 1/14/2009 3:44:04 PM
Event ID: c751ae4414cf45da9d61ad13198fc10c
Event sequence: 1
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/w3svc/1/Root/lansweeper32-1-128764214440834001
Trust level:
Application Virtual Path: /lansweeper32
Application Path: C:\Program Files\lansweeper32\website\
Machine name: APP

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

Exception information:
Exception type: HttpException
Exception message: Unable to read the security policy file for trust level 'WSS_Minimal'.

Request information:
Request URL: http://app/lansweeper32/default.aspx
Request path: /lansweeper32/default.aspx
User host address: 192.168.1.58
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.HttpRuntime.SetTrustLevel(TrustSection trustSection, SecurityPolicySection securityPolicySection)
at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags)


Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
13 REPLIES 13
AaronAnderson
Engaged Sweeper
Changed to true and restarted the lansweeper service. Same web page is displayed. Is there any other info I can provide for help?
Hemoco
Lansweeper Alumni
Change the compilation debug="false" to true in your config file to get a better error message when opening the site.
AaronAnderson
Engaged Sweeper
web.config from C:\Program Files\lansweeper32\website

where/what are the debug instructions?



<configuration><appSettings><add key="MM_CONNECTION_HANDLER_Lansweeper" value="sqlserver.htm"/><add key="MM_CONNECTION_STRING_Lansweeper" value="Persist Security Info=False;Data Source=APP;Initial Catalog=Lansweeper32;User ID=lssqluser32;Password=mysecretpassword0*"/><add key="MM_CONNECTION_DATABASETYPE_Lansweeper" value="SQLServer"/><add key="MM_CONNECTION_SCHEMA_Lansweeper" value=""/><add key="MM_CONNECTION_CATALOG_Lansweeper" value=""/><add key="dateformat" value="dd/MM/yyyy"/></appSettings><system.web><compilation debug="false" strict="false" explicit="true"><assemblies><add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/><add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/><add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/><add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies></compilation><httpHandlers><remove verb="*" path="*.asmx"/><add verb="*" path="*.asmx" type="System.Web.Script.Services.ScriptHandlerFactory" validate="false"/><add verb="*" path="*_AppService.axd" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/><add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/></httpHandlers><httpModules><add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/></httpModules></system.web></configuration>
Hemoco
Lansweeper Alumni
Could you attach your web.config file please.


Also please follow the instructions to enable debugging, this will give a better overview where the error is located.

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