aspnet pre compilation issue with htm files results in "This is a marker file generated by the preco

Discussion in 'ASP .Net' started by Sanjay Pais, Sep 11, 2009.

  1. Sanjay Pais

    Sanjay Pais Guest

    Hi,

    We have encountered a very bizzare issue and I have searched the web and
    have been unable to come up with a solution.

    The content of the html pages (help files) now seem to get replaced with
    this "This is a marker file generated by the precompilation tool, and should
    not be deleted!"

    We did not have this problem before when the .net project in VS 2005 used
    ..net 2.0.

    However, since upgrading to VS 2008 and including .NET 3.5 references, this
    problem has surfaced.

    The command line to precompile the website has not changed it is:

    aspnet_compiler -v /WebApp -p "C:\Dev\WebApp" "c:\Dev\Deployment"

    Does any one have any ideas?
     
    Sanjay Pais, Sep 11, 2009
    #1
    1. Advertising

  2. Sanjay Pais

    Raghupathi K Guest

    Re: aspnet pre compilation issue with htm files results in "This is amarker file generated by the precompilation tool, and should not be deleted!"

    On Sep 12, 1:28 am, "Sanjay Pais" <> wrote:
    > Hi,
    >
    > We have encountered a very bizzare issue and I have searched the web and
    > have been unable to come up with a solution.
    >
    > The content of the html pages (help files) now seem to get  replaced with
    > this "This is a marker file generated by the precompilation tool, and should
    > not be deleted!"
    >
    > We did not have this problem before when the .net project in VS 2005 used
    > .net 2.0.
    >
    > However, since upgrading to VS 2008 and including .NET 3.5 references, this
    > problem has surfaced.
    >
    > The command line to precompile the website has not changed it is:
    >
    > aspnet_compiler -v /WebApp -p "C:\Dev\WebApp" "c:\Dev\Deployment"
    >
    > Does any one have any ideas?


    This occurs when IIS has lost its mappings to ASP.NET

    1. Open a command prompt
    2. Change to the following directory (or whatever version of the .NET
    Framework you are using): C:\WINDOWS\Microsoft.NET\Framework
    \v2.0.50727
    3. Run the command "aspnet_regiis.exe -i". This may take several
    minutes and will report the success/failure of the process.

    Sometimes It does not work, then reinstall IIS.

    http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?ThreadID=39570
     
    Raghupathi K, Sep 14, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rocky Moore
    Replies:
    7
    Views:
    1,811
    mikeb
    Jan 14, 2004
  2. X_AWieminer_X
    Replies:
    2
    Views:
    12,514
    JomoFrodo
    Aug 18, 2011
  3. zambak

    Insert EOF marker into file

    zambak, Nov 16, 2003, in forum: C Programming
    Replies:
    2
    Views:
    3,877
    Derk Gwen
    Nov 16, 2003
  4. beginner
    Replies:
    19
    Views:
    885
    Ben Finney
    Aug 2, 2007
  5. Replies:
    6
    Views:
    186
    Dr.Ruud
    Feb 6, 2007
Loading...

Share This Page