Web Deployment Project - "has not been pre-compiled"

Rate It (1)

Last post 08-22-2008 3:35 PM by mr_efe. 19 replies.

Sort Posts:

  • Re: Web Deployment Project - "has not been pre-compiled"

    02-01-2008, 1:02 PM
    Answer
    • Loading...
    • vr.venkat
    • Joined on 02-01-2008, 5:45 PM
    • Posts 1

    Hi guys,

     This error will come when a reference is specified in web.config and deployment folder/site does not contain these dlls installed in the system or bin folder does not contain them(if they are private assemblies). 

    For Ex:

    <add assembly="Namespace1.NameSpace2, Version=x.x.x.x, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

    if your web.config contains any assemblies like this and deployed server doesnot contain these assembiles in bin or GAC, then this error will occur.

    Best,
    Venkat

  • Re: Web Deployment Project - "has not been pre-compiled"

    05-06-2008, 11:36 AM
    Answer
    • Loading...
    • docluv
    • Joined on 06-29-2002, 7:16 PM
    • Willow Spring NC
    • Posts 1,484
    • TrustedFriends-MVPs

    Yes that solved the issue for me. I still had seme references to some Infragistics controls in a site and they are not in the GAC on the server. Thanks for your help.

  • Re: Web Deployment Project - "has not been pre-compiled"

    07-09-2008, 4:06 PM
    • Loading...
    • StaticShock
    • Joined on 03-27-2008, 3:32 PM
    • Posts 2
    I've gotten this error (X has not been pre-compiled, and cannot be requested) due to the fact that .NET 2.0 Service Pack 1 is not installed. My website crashed, with that error, in 2.0, but no longer crashed after SP1 was installed.
  • Re: Web Deployment Project - "has not been pre-compiled"

    08-12-2008, 2:38 AM
    • Loading...
    • Funkylife
    • Joined on 08-03-2008, 12:14 PM
    • Posts 3

     mmm i had the same or similar problem

    i had a published website and web application project containing some ascx controls and the dll of the published web application project these ascx controls will be loaded at runtime in the website

    The problem:

    When the website was published ..The "make this website updatable " option was not marked so the published version of my web application project couldn't be merged with the website at runtime

     Solution:

    If u have the same problem make sure to choose make this website updatable when publishing

  • Re: Web Deployment Project - "has not been pre-compiled"

    08-22-2008, 3:35 PM
    • Loading...
    • mr_efe
    • Joined on 02-28-2007, 8:31 PM
    • San Luis Potosí, México
    • Posts 6

    Hi I got the problem with has not been pre-compilied, even if i put the right assemblys and dll I still get the problem.

     Finally i choose the last option of the Deployment ("Create a separate assembly for each page and control output"), whit this the deplolyment makes the site like if i publish the site.

     I tested my setup and works fine now. Big SmileYes

    The scenario of the server was Win 2003 server, framework 2.0, ajax beta (When the dll's used to have the namespaces Microsoft.Web:Extensions) instaled on the server but the site use the dll's of the new ajax, IIS 6.

    Hopes this will be helpful for someone. See ya

Page 2 of 2 (20 items) < Previous 1 2
Microsoft Communities
Page view counter