→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mwhitese
Engaged Sweeper
I am getting the following application event error when trying to start the lansweeper server:

Service cannot be started. System.TypeInitializationException: The type initializer for 'LansweeperService.starter' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlPerformanceCounters' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section system.serviceModel. (c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 146)
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseCon...

For more information, see Help and Support Center at

Does anyone know how to resolve this problem?

1 REPLY 1
Hemoco
Lansweeper Alumni
You are the first one to report this error.
From what I can find it seems to be related to a corrupt dotnet framework installations.

http://weblogs.asp.net/bhouse/archive/2005/11/10/430270.aspx
http://geekswithblogs.net/mnf/archive/2008/11/14/could-not-load-type-system.servicemodel.configurati...

Most likely the "ServiceModelReg.exe /i" will fix your problem.

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