HttpException (0x80004005) trying to use pgsqlreleasefiles

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
5/17/2008 8:35:56 PM
Gravatar
Total Posts 20

HttpException (0x80004005) trying to use pgsqlreleasefiles

Hi Joe,

I'm trying to use pgsqlrelease files in my site.

But I'm receiving this message when trying to access

http://www.mpacheco.com.br/setup/default.aspx

Do you have any idea off what I can do about it?

Thanks,

  Vinicius

 

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): The directory '/App_GlobalResources/' is not allowed because the application is precompiled.]
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +3542110
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +378

[HttpException (0x80004005): The directory '/App_GlobalResources/' is not allowed because the application is precompiled.]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +644

[HttpException (0x80004005): The directory '/App_GlobalResources/' is not allowed because the application is precompiled.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3465427
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +279


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

 

 

5/17/2008 8:38:36 PM
Gravatar
Total Posts 20

Re: HttpException (0x80004005) trying to use pgsqlreleasefiles

Sorry I forgot to put the version I'm using: 2.2.5.4.

 

Thanks again,

  Vinicius

5/18/2008 7:27:51 AM
Gravatar
Total Posts 18439

Re: HttpException (0x80004005) trying to use pgsqlreleasefiles

You should google for "The directory '/App_GlobalResources/' is not allowed because the application is precompiled", you will find lots of results.

I reviewed a few of the results. One possibility is you have an older version of MS AJAX installed in the GAC on the machine.

Another possibility is related to  VS Publish feature or use of MSI installer. Are you sure this is using my packaged release and not something you put together yourself with VS Publish feature or an MSI installer?

There are possibly more causes I did not review all the google results, I leave that to you.

Hope it helps,

Joe

5/20/2008 7:25:40 AM
Gravatar
Total Posts 20

Re: HttpException (0x80004005) trying to use pgsqlreleasefiles

Hi, Joe.

Sorry for annoing you before a simple google search... You was right : at the first page of the google search I found this site that simple say:

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

I did it and... It works!!!!

Before I transfer mojportal files to my hosting service I made a simple "under construction" page that I've deployed by VS. Instead of deleting these files before transfer mojoportal files I thought (that was the problem: to do something that hurts...) "I will transfer the files and they will overwrite my "under construction" files and everything is gonna be allright.". Probably my previous site deployment have generated this PrecompiledApp.config.

 

The site is up- and running (with some little problems but is running) and if you want to link it in the mojo sites the url is: www.mpacheco.com.br

 

Thanks again,

  Vinicius Pacheco

5/21/2008 8:10:29 AM
Gravatar
Total Posts 18439

Re: HttpException (0x80004005) trying to use pgsqlreleasefiles

Hi Vinicius,

I added your site to the list.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.