PC Review


Reply
Thread Tools Rate Thread

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

 
 
Sanjay Pais
Guest
Posts: n/a
 
      11th Sep 2009
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?


 
Reply With Quote
 
 
 
 
Raghupathi K
Guest
Posts: n/a
 
      14th Sep 2009
On Sep 12, 1:28*am, "Sanjay Pais" <sdp...@athotmaildot.com> 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/...ThreadID=39570

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any tool that will 'concatenate' say 300 ".mdb" files intoa single .mdb file? ship Microsoft Access 15 15th Jan 2009 08:18 PM
"An object reference is required for the non-static field, method, orproperty" compilation error generated from non-static context dejas9000@gmail.com Microsoft C# .NET 7 26th Jan 2008 12:02 PM
Deleted files appear in "File Name" drop down list =?Utf-8?B?cHN1ZnJlYWsxMDA=?= Windows Vista File Management 3 3rd May 2007 05:02 AM
Highlight with "marker" tool Orrie Microsoft Word Document Management 6 20th Jul 2006 09:57 PM
Open Multiple Files results in repeated "Copy" and "Move" prompts Fletcher James Windows XP General 4 22nd Feb 2006 11:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:04 PM.