views:

352

answers:

3

Hi Everybody..

I started a Silverlight project in VS2010 Beta 2. Using parallels on my Mac and I´ve added this to the Web.Config to compile succesfully:

<runtime>
<loadFromRemoteSources enabled="true"/>
</runtime>

But the page loads with this Error and I searched a lot without success:

Server Error in '/' Application.

Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to 'Y:\test1\Application\tApplication.Web'.

Source Error:

[No relevant source lines]

Source File: Y:\test1\Application\Application.Web\web.config Line: 0


Version Information: Microsoft .NET Framework Version:4.0.21006; ASP.NET Version:4.0.21006.1

Any Idea? Is a problem with Permissions? How can I fix this?

Thanks in Advance,

David V.

A: 

It sounds like a compatibility issue with Parallels.

Where is the web.config file?
What type of drive?

EDIT: Parallels drive sharing uses network drives, which don't support file change notification.

You need to run from a virtual drive.

SLaks
The Drive is a Shared .psf (Y:\) but I granted its permissions through:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -ag 1.5 -url file://\\.psf/Parallels-VS2010/* FullTrust---------------------------------But when I re-open the project, VS2010 give me a Security Warning:You Should Only Open Projects From a TrustWorthy Source-------------------------That´s why I have to add the following lines to the web.config (Located in the Web Folder of each project)------------------------<runtime><loadFromRemoteSources enabled="true"/></runtime>.. ThanksDV
David Vera
A: 

I found a solution!. You have to grant Full Control on the Security Tab (Right Click in the Folder and Properties)

Or simply you have to place your project in the root folder of the Windows Installation...

Remember I´m working with a Virtual Machine on my Mac.

Greetings...

David.

David Vera