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

Last post 04-23-2008 11:36 AM by Davz. 2 replies.

Sort Posts:

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

    07-12-2006, 11:48 AM
    • Loading...
    • Karuzo
    • Joined on 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
    • Loading...
    • dmozingo
    • Joined on 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
    • Loading...
    • Davz
    • Joined on 12-27-2007, 6: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.

Page 1 of 1 (3 items)
Microsoft Communities
Page view counter