This project is read-only.

Web application hosted in IIS not working after Chronos installed


I have installed Chronos in my laptop, which runs IIS 7 on Windows 7. Immediately after installing Chronos, all .net applications hosted in IIS stopped working.

I have tried uninstalling chronos, but it didn't help. Can anyone please help to resolve this issue.

thanks In advance


Andrei_Fedarets wrote Nov 11, 2014 at 7:47 PM

Thanks for the feedback.
It sounds quite strange, because Chronos installer doesn't contain any logic that may affect IIS - only extraction of files and registration of COM component.
Did you start profiling (or launch Chronos app) or the issues appeared right after installing Chronos?

santhoshhere wrote Nov 12, 2014 at 2:12 AM

Thanks Andrei,
Yes, it looks strange. After installing I have launched Chronos app and tried to profile a web application hosted in IIS, but profiling was not starting. Though I was working on the application, there was no active sessions in Chronos. After this I noticed that the application itself stopped working with error.

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dotnet\11d319e8\4ff5f728\App_Code.vacji4sc.dll' -- 'The directory name is invalid. '

I have tried the following, still the issue is not resolved
  • Checked and made sure that the directory exists.
  • Set full access permission for NETWORK SERVICE and IIS_IUSR to folders C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files and C:\Windows\Temp
  • Changed web app settings in IIS to run on a newly created application pool

Andrei_Fedarets wrote Nov 12, 2014 at 3:17 PM

Ok, now I undrestand.

Let's try following:
  1. Make sure that IIS is not configured for profiling anymore. Open RegEdit and go to
Here should be REG_MULTI_SZ key @Environment. Open it and remove lines starting with

Do the same for the tree

After that restart IIS services. Execute following in cmd:
net stop w3svc
net stop was
net start w3svc
net start was

Check is the issue.
  1. If IIS is still not working, try this - In the advanced settings of the Application Pool, make sure "Process Model -> Load User Profile" is set to "True".
p.s. I'm waiting results


santhoshhere wrote Nov 13, 2014 at 10:56 AM


I have checked Environment key in HKLM\SYSTEM\CurrentControlSet\Services\W3SVC\ and HKLM\SYSTEM\CurrentControlSet\Services\WAS. Both does not contains any of the strings you have listed above.

I have also verified advanced settings of the application pool, Load user profile is already set to True.

Since I was doubting that it might be happened due to some issue with framework, I have repaired .net framework, still it is not working.


Andrei_Fedarets wrote Nov 14, 2014 at 8:26 AM

santhosh, can you try to reinstall ASP.NET using aspnet_regiis tool?


santhoshhere wrote Nov 14, 2014 at 9:23 AM

Andrei, I already tried this and still it is not working. As I am able to run the application in debug mode (running from Visual studio IDE), I am leaving it for now. May be working on this during this week-end. I am planning to remove and install IIS and Frameworks again. Hope it will solve the issue.
I will post you result as soon as I done.