Re: The file '/AHSD/MainMenu.aspx' has not been pre-compiled, and cannot be requested.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Oct 3, 3:49 pm, lds <lisa.stap...@xxxxxx> wrote:
On Oct 3, 11:39 am, lds <lisa.stap...@xxxxxx> wrote:





I am getting the error "The file '/AHSD/MainMenu.aspx' has not been
pre-compiled, and cannot be requested." when I try to deploy one of my
applications that I am just migrating to VS 2005. I have searched on
the web for a solution, but none of the suggestions so far have
worked. Here is my scenario:

I am using Visual Studio 2005 with SP1 installed and I have created a
Web Deployment Project with the following items selected in the
Property Pages:

compliation tab: just defaults, nothing special selected. Output
folder .\Release\
output assemblies tab: Merge all pages and control outputs to a
single assembly (AssemblyName: AHSD.CompiledApplication)
sigining tab: just defaults
deployment tab: just defaults

I created a virutal directory pointing to the Release folder so that I
could see if it worked and it seems to work perfectly. On our server
there was an existing folder called AHSD that used to contain the
files for the application before it was migrated. I deleted all of
the files and copied the new ones. This is when I get the error.

I have made sure that our Network technician has changed the virtual
directory asp.net tab to use Framework 2.0, I asked him to restart IIS
and I have ensured that the additional assemblies that we reference
within the application have been registered in the GAC.

Any other suggestions?

This afternoon, mysteriously this application started working on our
server. Now for some reason the other apps that are still using the
1.1 version of the framework have stopped working. Any ideas why?- Hide quoted text -

- Show quoted text -

Just incase anyone is wondering...we got this app working. It turned
out that this app was using the same application pool as the 1.1
apps. Once we put it in its own applicaiton pool for 2.0 apps it
worked fine.

.



Relevant Pages

  • Re: The file /AHSD/MainMenu.aspx has not been pre-compiled, and cannot be requested.
    ... applications that I am just migrating to VS 2005. ... compliation tab: ... I created a virutal directory pointing to the Release folder so that I ... and I have ensured that the additional assemblies that we reference ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Single or multiple assemblies for big apps and code reuse?
    ... small assemblies, within reasonable limits. ... about getting DllMain right in the case of native apps or managed IJW ... Dynamic linking - Pros: ... and watching the pain managers go through not to change it, ...
    (microsoft.public.dotnet.framework)
  • Ion3 a good light GUI.
    ... I installed Ion3 a few weeks ago already now, and when running several greedy applications at same time, such as Thunderbird, Firefox, plus Blender and Galeon, just now, Ion3 allows my machine not to get stocked with a freezed GUI. ... I have to remember what applications are installed, or I run Synaptic incase I need to check about one. ... Particularly as apps and commands for apps don't always have ... To open one more tab it's with mouse or with Ctrl+Shift, and all applications open in new tabs beside one to the other. ...
    (Ubuntu)
  • Re: Paradox upgrade advice
    ... >> Your company could have decided to re-write the apps more than 10 years ... >> perhaps migrating them YET again!!. ... How much would two upgrades have ...
    (comp.databases.paradox)
  • Re: Some basic .net questions?
    ... isolates its resources ... The Global Assembly Cache is a repository for .NET assemblies to be used at ... and are shared by apps. ...
    (microsoft.public.dotnet.languages.csharp)