"Use IIS Express..." is broken in VS 2012 on Windows 8.1 - by poizan42

Status : 

 


1
0
Sign in
to vote
ID 878812 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 5/21/2014 7:46:40 AM
Access Restriction Public

Description

I get this error whenever I try to change a website project to use IIS Express: ( http://i.imgur.com/tzRwkaE.png )
An error occurred trying to create the site . Filename: \\?\C:\Users\kb\Documents\IISExpress\config\applicationHost.config

Error: Cannot write configuration file

Neither C:\Users\kb\Documents\IISExpress\ nor its subfolders are in use or readonly or encrypted, and I have even tried to give Everyone Full access to the directory.

By using process monitor the real error seems to be that CreateFileTransacted fails due to NtCreateFile returning STATUS_TRANSACTIONMANAGER_NOT_ONLINE (0xC0190052).

Process Monitor event listing: http://i.imgur.com/ntF8DHC.png
Event info: http://i.imgur.com/KWFpIvv.png
Event stack trace: http://i.imgur.com/45X6XRP.png
Sign in to post a comment.
Posted by Microsoft on 1/19/2015 at 2:26 PM
Hello Poizan42-

Thanks for your feedback!

Windows Error_transactionmanager_not_online usually happens when the computer overloads with too much data, or when certain system files become missing or broken.

At this point of time, we believe this to be a machine instability issue and not a problem with IISExpress/Visual Studio.

We have seen customers recover from this issue, by doing the following:
- Run Command Prompt (cmd) in Admin Mode
- Enter the following command: DISM /Online /Cleanup-image /Restorehealth
- Restart Machine

Please let me know if this fixes your issue.

Thanks,
Erica Mohler
Microsoft Program Manager
Posted by Microsoft on 5/21/2014 at 8:08 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for review. We will contact you if we require any additional information. If you require immediate assistance with this issue, please contact product support at http://support.microsoft.com/ph/1117.
Posted by Microsoft on 5/21/2014 at 7:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If you require immediate assistance with this issue, please contact product support at http://support.microsoft.com/ph/1117.