cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
francisswest
Champion Sweeper

We took this upgrade path:
Upgrade Lansweeper to newest version 6.0.0.51.
Use the Advanced Install feature to move from the lansweepr.sdf to SQL Seerver database (on a different server)
Confirmed Lansweeper ran and had the previous data.
Upgraded the server to Windows 2016 and now we see the error below.

Any assistance is appreciated.
Thanks!

---

Server Error in '/' Application.

Specified argument was out of the range of valid values.
Parameter name: site
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: site

Source Error:


An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:



[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: site]
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +361

[HttpException (0x80004005): Specified argument was out of the range of valid values.
Parameter name: site]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +539
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +125
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +731




Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1586.0
1 ACCEPTED SOLUTION
Bruce_B
Lansweeper Alumni
A couple of other customers have had the same error after updating their Windows operating system, which seems to make changes to ASP.NET settings in some cases. We recommend running through the steps below. Restart the IIS or IIS Express service under services.msc and refresh your browser after each step, to verify whether the issue's been resolved.
  • Enable the IIS Hostable Web Core feature in Windows by running Command Prompt as an administrator (right-click cmd.exe and choose Run As Administrator) and executing the command below.

dism.exe /enable-feature /online /featureName:IIS-HostableWebCore

  • Perform a .NET Framework repair with this tool.


If the issue persists, please send an email to support@lansweeper.com with the information below:
  • Program Files (x86)\Lansweeper\Service\Errorlog.txt, as present on your Lansweeper server.
  • web_errorlog.txt located under Program Files (x86)\Lansweeper\Website\App_Data.
  • A link to this forum post for context.
  • The result of the steps above.

View solution in original post

2 REPLIES 2
Mathb
Engaged Sweeper
Running Lansweeper on Windows 10, following latest update I experienced this exact same issue.

Running 2 firsts steps, then restarting "IIS Express service" service did the trick !

Thank you !
Bruce_B
Lansweeper Alumni
A couple of other customers have had the same error after updating their Windows operating system, which seems to make changes to ASP.NET settings in some cases. We recommend running through the steps below. Restart the IIS or IIS Express service under services.msc and refresh your browser after each step, to verify whether the issue's been resolved.
  • Enable the IIS Hostable Web Core feature in Windows by running Command Prompt as an administrator (right-click cmd.exe and choose Run As Administrator) and executing the command below.

dism.exe /enable-feature /online /featureName:IIS-HostableWebCore

  • Perform a .NET Framework repair with this tool.


If the issue persists, please send an email to support@lansweeper.com with the information below:
  • Program Files (x86)\Lansweeper\Service\Errorlog.txt, as present on your Lansweeper server.
  • web_errorlog.txt located under Program Files (x86)\Lansweeper\Website\App_Data.
  • A link to this forum post for context.
  • The result of the steps above.