I have a new staging server running Windows Server 2008 (running IIS7) and recently started coding in .NET 4.0 using Visual Studio 2010 and when I try to publish to this server using a mapped path to the server, it crashes. The bin publishes, but then it crashes after that.
It's weird because I tried first publishing on the server in the inetpub/wwwroot folder and it was crashing. So then I created a new folder outside of the inetpub folder and published there instead. The first time I published to this new folder, it worked. But every time I've tried to publish to that folder since, Visual Studio crashes.
What's going on?