Pages Show .NET Errors


There is a condition in Microsoft .NET that may cause multiple symptoms in Kaseya. Symptoms observed include some web pages not displaying properly (dashboards or vPro pages in Monitoring for example), or being entering a user name and password and being immediately returned to the logon page, or not being able to schedule automatic update in Patch, or agent updates. 

Sometimes this results in an error such as:

System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x800700002) in Microsoft .NET Framework Version; ASP .NET Version 

Sometimes the error is along these lines: 

Server Error in '/' Application." with a Compiler Error Message: CS0012: The type 'some file' is defined in an assembly that is not referenced. You must add a reference to assembly 'XYZ, Version X.Y.Z, Culture-neutral, PublicKeyToken=null

In at least one case, the symptom was that the customer could no longer log in to the VSA. An attempt to view the vPro or Dashboard pages brought them immediately back to the login page. 


The ASP .NET temporary files need to be re-compiled. 

1. Stop IIS (note, of course this will interrupt the VSA interface.) 
2. Go to the directory c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP .NET Files. (Change C:\ to what ever drive Windows is installed on.) 
3. Delete all files and sub-directories.
4. Start IIS. IIS will then recompile the temp files and re-create the files just deleted. 

Be aware that all the .NET files have to be re-created, functions or pages may be a little slow the first time they are accessed after IIS is restarted. 



See this MSDN blog

See also:



Kaseya VSA

Have more questions?

Contact us

Was this article helpful?
0 out of 0 found this helpful

Provide feedback for the Documentation team!

Browse this section