views:

240

answers:

1

I am running Vista64 as the host for Win XP in Virtual PC 2007 SP1. I want to store my files on the host machine and just access them from the virtual pc.

I access the files on the Host through a network share over the loopback adapter. Everyone has read access to the share and in the VPC the share is mapped to the U:\ drive letter.

When I tried to run a web project in Visual Studio 2008 it wouldn't build and threw an exception trying to load referenced dlls. "Failed to grant minimum permission requests." Error code: 0x80131417

This seems to be a code access issue, so I ran the following command against the 1.1 and 2.0 frameworks.

CasPol.exe -m -ag 1.2 -url file://U:\* FullTrust

Now when I try to debug the web application Visual Studio just hangs. How can I make this work or is it a lost cause?

+1  A: 

I have exactly the same set up here.

Have you installed the 'virtual machine additions' from the action menu?

This will give you the option of setting up shared folders (in settings). That will map a network drive on the VPC to a folder on the host, this avoids network loopbacks and sharing permissions.

Spike
I've had this setup for a while now. Works great!
Dillie-O
Yes, I have the additions installed, but when I tried shared folders I found them impossibly slow.
jedatu
I have had a play and found that the speed seems to relate to the number/size of files and folders in the shared folder. Sorry, I don't have a solution, but I hope the information can help in some way.
Spike

related questions