Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

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

$
0
0

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_GlobalResourcesfolder 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


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>