Home Dashboard Directory Help
Search

Visual Studio is sharing IIS Express config information between instances by ComputerWhiz


Status: 

Closed


1
0
Sign in
to vote
Type: Bug
ID: 836316
Opened: 3/18/2014 1:00:33 PM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

I came across this as I was preparing my new work PC for development tasks, while still developing on my original PC. Both machines are on the same network.

When running a project on two separate machines that comes from a TFS branch, mapped to two differently named folders, while logged into Visual Studio as the same user on both instances, causes IIS Express on the first machine to point to the folder path of the project on the second machine. Since the files don't exist on the first machine in that location, it causes a 500.19 error when trying to navigate any web pages.
Details
Sign in to post a comment.
Posted by Microsoft on 4/20/2014 at 12:05 PM
Hi ComputerWhiz, I've contacted the IIS Express team to ask them if it's possible to override the default location for applicationHost.config. You can update this via a registry key. There is more info at http://www.iis.net/learn/extensions/introduction-to-iis-express/iis-80-express-readme under the "Changing the User Home Directory" section.
Since I believe that this will fix your issue I will close this ticket. If it does not please re-open with more details.

Thanks,
Sayed Ibrahim Hashimi
Posted by ComputerWhiz on 4/4/2014 at 12:18 PM
As a matter of fact, it is configured for a network path. And I just realized IIS Express's default config folder is located in My Documents...so that'd make sense why it's sharing the config options. Good catch!

Is there a place in the registry to configure which folder IIS Express looks for the config file?
Posted by Microsoft on 3/27/2014 at 1:41 PM
Hi ComputerWhiz, can you tell me if you have configured your My Documents folder as a network path so that the files roam from one machine to another? If not do you have any other non-standard configuration?

Thanks,
Sayed Ibrahim Hashimi
Posted by ComputerWhiz on 3/24/2014 at 8:41 AM
Screenshot attached. On machine A (the one where the exception occurs), the project is located in "C:\Projects\Web.Development", whereas on machine B, it's located on "C:\Projects\Web.Site.Development". Machine A is somehow picking up the folder path of machine B.
Posted by Microsoft on 3/23/2014 at 7:40 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. 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 3/21/2014 at 1:55 AM
Hello again. We wanted to give you a quick reminder that to efficiently investigate and reproduce your issue, we need you submit the additional information we requested. We look forward to hearing from you with this information.
Posted by Microsoft on 3/18/2014 at 11:11 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting additional information outlined below.

Could you please give us a screenshot to demonstrate this issue so that we can conduct further research?

Please submit this information to us within 4 business days. We look forward to hearing from you with this information. If you require immediate assistance with this issue, please contact product support at http://support.microsoft.com/ph/1117.
Posted by Microsoft on 3/18/2014 at 1:52 PM
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.
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
screenshot.png (restricted) 3/24/2014 -
screenshot.png 3/24/2014 26 KB