Deploy problem: The directory '/App_GlobalResources/' is not allowed

Last post 10-13-2009 4:24 PM by armandos. 3 replies.

Sort Posts:

  • Deploy problem: The directory '/App_GlobalResources/' is not allowed

    07-12-2006, 11:48 AM
    • Member
      5 point Member
    • Karuzo
    • Member since 07-12-2006, 3:34 PM
    • Posts 1

    Hello,

    I have encountered a problem and I am at loss.
    I have a Web Application Project (not a Web Site!) in VS 2005 and I am using the directory App_GlobalResources for my localized resources.

    I have only 2 files in there: strings.resx and strings.en.resx for czech and english versions of the web which contains just strings.

    I was used to VS2003 way of deploying my app - just copy the bin folder and aspx files

    Now it completely fails, because when I build my web application, the files

    App_GlobalResources.compiled
    App_GlobalResources.dll

    do not apper in the bin folder.

    When I try to copy App_GlobalResources folder to the production environment, I get the exception: The directory '/App_GlobalResources/' is not allowed because the application is precompiled

    If I do not have App_GlobalResources.dll nor '/App_GlobalResources folder in my app on the server, I cannot access my resources and I get this

    Could not load file or assembly 'App_GlobalResources' or one of its dependencies. The system cannot find the file specified.

    Thanks for any help,

    Vojta Dohnal

  • Re: Deploy problem: The directory '/App_GlobalResources/' is not allowed

    08-01-2006, 9:46 AM
    • Member
      25 point Member
    • dmozingo
    • Member since 07-21-2006, 12:45 PM
    • Posts 5
    Did you ever get a response to this? I'm having the same issue (just converted from a web site to a web application).
  • Re: Deploy problem: The directory '/App_GlobalResources/' is not allowed

    04-23-2008, 11:36 AM
    • Member
      12 point Member
    • Davz
    • Member since 12-27-2007, 11:08 PM
    • Posts 6

    I have the same problem. Has anyone found a solution to this?

    I can't change the way the resources are loaded because they are part of a 3rd party project that is referenced by ours.

  • Deploy problem: The directory '/App_GlobalResources/' is not allowed

    10-13-2009, 4:24 PM
    • Member
      8 point Member
    • armandos
    • Member since 09-15-2009, 6:52 PM
    • Posts 6

    Do this:

    Delete the "PrecompiledApp.config" file and re-start your application. 

    That worked for me.


Page 1 of 1 (4 items)