Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8219231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:04:58+00:00 2026-06-07T13:04:58+00:00

I am trying to use IIS Express 8 for a MVC site in VS2012.

  • 0

I am trying to use IIS Express 8 for a MVC site in VS2012. I am getting the following error whenever I attempt to create the site:

Filename:
\?\C:\Users\xxxxxx\Documents\IISExpress\config\applicationHost.config
Error: Cannot write configuration file

Is there some way to force IIS Express to use a different location for the config & logs folders? I understand I can point to a different location when I am running iisexpress.exe from the command line, but I have no control over this when using Visual Studio.

Alternatively, has anyone got any suggestions why the error is happening? (Side note: My laptop is in a corporate environment which has some stupid encryption on the “Documents” folder, however I haven’t had any problems with other software that saves to this location. I also have given the “Everyone” group full access to the folder.)

EDIT – After following the instructions at http://learn.iis.net/page.aspx/1286/iis-80-express-readme/ I still can’t seem to get this working. I’ve tried the following:

  • Added HKCU\Software\Microsoft\IISExpress\CustomUserHome registry key pointing to my alternate directory
  • Added HKCU\Software\Microsoft\IISExpress\8.0\CustomUserHome registry key pointing to my alternate directory
  • Added HKLM\Software\Microsoft\IISExpress\CustomUserHome registry key pointing to my alternate directory
  • Added HKLM\Software\Microsoft\IISExpress\8.0\CustomUserHome registry key pointing to my alternate directory
  • Setting the %IIS_USER_HOME% environment variable pointing to my alternate directory.

Any other suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T13:05:02+00:00Added an answer on June 7, 2026 at 1:05 pm

    @Brad

    I had your same problem just now. Removing the encryption on the IISExpress folder and the “Read Only” attribute solved it. In my company Documents is also encrypted, but I don’t think removing that encryption from IISExpress would be a problem of any sort.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying use mod_rewrite to rewrite URLs from the following: http://www.site.com/one-two-file.php to http://www.site.com/one/two/file.php The
trying to use hibernate with my web app and getting following exception: Initial SessionFactory
I'm trying to use IIS Isapi Rewrite to do the following... I need seo-friendly
I am working on IIS 7, SQL Express 2008. I'm trying to use the
I'm trying to use IIS Express with VS2010 to host a silverlight application. I
I'm trying to use PUT in an MVC 4 application and I'm getting a
When trying to debug a web application configured to use IIS Express 7.5 in
I am trying to use powershell to set windowsauth on a site in IIS,
I'm trying to debug an ASP.NET webapp that's configured to Use Local IIS Web
I'm using IIRF, IIS 6.0, W2k3. I'm trying to use ProxyPass, as follows: RewriteLog

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.