PC Review


Reply
Thread Tools Rate Thread

Can precompiled app be moved over to another web server?

 
 
pedestrian
Guest
Posts: n/a
 
      5th Feb 2007
I was developing a simple ASP.NET 2.0 web site. I precompiled the app using
aspnet_compiler as below:

aspnet_compiler -v /crosspagepost c:\asp

then I uploaded *all* the (compiled) files in the c:\asp and c:\asp\bin
folders to the another hosting web server (brinkster). When I browsed the
page, it showed me:
"This is a marker file generated by the precompilation tool, and should not
be deleted!"
(refer : http://pedestrianooi.brinkster.net/c...ost/page1.aspx)

What could have been the causes? Thanks.

--
Regards,
Pedestrian, Penang.

Message posted via http://www.dotnetmonster.com

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?=
Guest
Posts: n/a
 
      5th Feb 2007
The server doesnt appear to support .NET 2.0 as this is the contents of a
precompiled page. The .nET 2 runtime doesnt show this however, it runs the
page in the precompiled dll to generate the output.
Check .net 2 is turned on

--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com


"pedestrian" wrote:

> I was developing a simple ASP.NET 2.0 web site. I precompiled the app using
> aspnet_compiler as below:
>
> aspnet_compiler -v /crosspagepost c:\asp
>
> then I uploaded *all* the (compiled) files in the c:\asp and c:\asp\bin
> folders to the another hosting web server (brinkster). When I browsed the
> page, it showed me:
> "This is a marker file generated by the precompilation tool, and should not
> be deleted!"
> (refer : http://pedestrianooi.brinkster.net/c...ost/page1.aspx)
>
> What could have been the causes? Thanks.
>
> --
> Regards,
> Pedestrian, Penang.
>
> Message posted via http://www.dotnetmonster.com
>
>

 
Reply With Quote
 
pedestrian via DotNetMonster.com
Guest
Posts: n/a
 
      6th Feb 2007
Hi Ciaran, thanks a lot for replying...
When I upload the app's source code (page1.aspx, page1.aspx.cs, page2.aspx,
page2.aspx.cs) to the server, it works as normal, refer:
http://pedestrianooi.brinkster.net/c...ge2/page1.aspx

Does that mean the server don't support precompilation for deployment?
I appreciate your assistance.

Ciaran O''Donnell wrote:
>The server doesnt appear to support .NET 2.0 as this is the contents of a
>precompiled page. The .nET 2 runtime doesnt show this however, it runs the
>page in the precompiled dll to generate the output.
>Check .net 2 is turned on
>
>> I was developing a simple ASP.NET 2.0 web site. I precompiled the app using
>> aspnet_compiler as below:

>[quoted text clipped - 9 lines]
>>
>> What could have been the causes? Thanks.


--
Regards,
Pedestrian, Penang.

Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...p-net/200702/1

 
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
Editing .aspx/.ascx of precompiled web site (Project Portfolio Server Web Access) Handle Microsoft ASP .NET 2 4th Dec 2007 04:42 PM
Editing .aspx/.ascx of precompiled web site (Project Portfolio Server Web Access) Handle Microsoft Dot NET 1 4th Dec 2007 04:42 PM
error when moving a vs 2005 precompiled site to test server =?Utf-8?B?ZXN3YW5zb24=?= Microsoft ASP .NET 3 24th Feb 2006 06:26 AM
error when moving a vs 2005 precompiled site to test server =?Utf-8?B?ZXN3YW5zb24=?= Microsoft ASP .NET 0 20th Feb 2006 01:23 AM
SQL Server DB moved robert demo via AccessMonster.com Microsoft Access External Data 9 24th Sep 2005 04:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:27 AM.