How to move IIS Express config file location - iis-express

applicationHost.config file for my local IISExpress on my new work laptop is for some reason located on a network drive. Is there any way how can I move this to a more usual location under My Documents folder on a local drive? I'm not always connected to my workplace network and it is causing me some troubles especially when working with apps that have virtual directories defined.
My system is Windows 7, IIS Express 8.
Any advice appreciated.

Related

How work with a visual studio project in two different machines

In my home pc, I'm inside a LAN so my projects are access using localhost. In the WEB section of the project I use Local IIS
http://localhost/ProjectName
But in my office the pc belong to a domain so my IIS is bound to
http://myPc.myDomain.com/ProjectName
So how I can open the same Visual Studio solution on both PC?
First, on the home PC make an entry such as this in the local hosts file:
127.0.0.1 myPc.myDomain.com
Second, also at the home PC, configure the Website bindings in IIS, so when IIS receives a request for myPc.myDomain.com, it knows which website should process the request.

VS2013 hosting on existing azure virtual machine

When you start a New Project in VS 2013, you can choose to host the project on an Azure Virtual Machine.
The problem is that it seems you can ONLY CREATE a NEW ONE and not host it on an existing virtual machine you might already have.
Or at least, I cannot find the way to do so and cannot find anything on the net that shows me how.
QUESTION:
How can I use my existing Azure Virtual Machine to host an MVC application developed from my desktop??
If I understand what you're after, you can simply install and configure IIS, create a virtual and point it to the file system path where you have your production code (you can simply upload it to the server). You would then simply open up the appropriate ports in the Azure interface to allow external access if desired. You're basically just setting up an IIS site that can host your application then uploading the app to the server using something like FTP or web deployment.
-matt

Visual Studio 2013 hangs/freezes during build, then disconnects Network Drive afterwards

VS is installed locally and project files are kept on our network drive (F:). I read this question Keeping Visual Studio Projects on a Network Drive but it doesn't explain the issue we're having.
When I try to create a build from the network drive the build hangs and I have to force VS to close. The network drive then disconnects, and when I try to connect in Windows Explorer, the drive is disconnected with "CSC-CACHE" next to the drive. To remap the drive, I've been needing to restart and remap, and even then sometimes the drive is still in the cache mode. During this entire process, I can still ping the drive.
I tried downloading a working copy of the project files to my local computer, which builds and runs fine.
The concerning part is the network drive (F:) has been disconnected on multiple computers. The only way I can recreate the disconnect however, is when I try to build the project in VS using the files from the network drive. Is this an issue with the network drive itself? What should I do to find the issue?
Thanks,
Use absolute path instead of drive mapping.
I started similar question recently (well, my drive remains connected) and hope this advice can help in you case.

Building app from shared folder in Visual Studio Express 2012

I'm trying to build an app from a shared folder in Visual Studio Express 2012.
While building an app from a local folder works just fine, the shared one doesn't. These are the errors thrown when building:
Error 1 Error : DEP0700 : Registration of the app in the layout folder "\VBOXSVR\Repos\App1\App1\bin\Debug\AppX" failed. App1
Error 2 error 0x80073D55: Recovering DeploymentRequest from file C:\ProgramData\Microsoft\Windows\AppRepository\7b7fb2d4-65eb-45d3-808c-3e42a6eacbb4_S-1-5-21-1933965384-392669828-504697624-1001_1.rslc failed. App1
Instead of using a shared folder in Virtual Box, I've tried to setup a Samba share, which I've mounted as a network drive. Also, I used caspol to make the drive trusted using this technique: http://blog.kowalczyk.info/article/Network-drives-net-security-and-virtualbox.html
My host OS is Max OSX and my guest OS is Windows 8.
I look forward to hearing your suggestions. Thank you!
It's funny how you often find the solution right after you ask the question ;-)
Here's the solution to anyone else interested: http://connect.microsoft.com/VisualStudio/feedback/details/106132/building-fails-when-build-directory-is-on-a-network-drive

Can't Create or Save File to Network Share in Visual Studio

I'm not certain when this problem started occuring, but it was approximately a few weeks ago when I upgraded from Visual Studio 2008 to 2010. I am on Windows XP Professional. The share is on a server running Windows Server 2003. I have a solution which contains a web site (accessed via UNC path, network share) and some class projects that reside on my local workstation. When I open a file from the website, and try to alter and save the file, I get the following error:
" Cannot access this file. Check security privileges over the network drive."
I've checked privileges on the root folder and I do indeed have full control. Could anyone give me any insight as to what I could be missing?
Are you running Windows Vista or Windows 7 with User Account Control (UAC) enabled? If so, Visual Studio 2010 requires administrator permissions to do certain tasks, including IIS management and network share saving.
Try opening Visual Studio 2010 with the Run as Administrator command. Hope that solves your problem.
Turns out a sysadmin removed all permissions and user profiles from a chunk of servers and forgot to inform me. Thanks for the insight, all.

Resources