Server Error in '/' Application. - No Relevant Source Lines .NET FRAMEWORK 4.0

16,052

Solution 1

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.

Solution 2

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.

Solution 3

I hope this will helpful for you since I was troubling with this issue and just resolved with this.

Disable FCN:

  • Open Regedit.exe (not RegEdt32!)

  • Add a DWORD at HKLM\Software\Microsoft\ASP.NET\FCNMode, with a value of '1'

  • Add a DWORD at HKLM\SOFTWARE\Wow6432Node\Microsoft\ASP.NET\FCNMode, with a value of '1' (on 64-bit systems, dual entry is required)

  • Reboot (iisreset may suffice, but some users have found a reboot neccessary)

For more details just go with this link http://imageresizing.net/docs/howto/avoid-network-limit

Share:
16,052
Admin
Author by

Admin

Updated on June 05, 2022

Comments

  • Admin
    Admin about 2 years

    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.