473,385 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Stopping ASP.NET 2.0 bulk compilation...

Hi,

I am migrating an enterprise application from ASP 3.0 with server-side
JScript to ASP.NET 2.0.

There are over 400 pages.

If I try to access one of the migrated .aspx pages, the aspnet_ws
process tries to compile all of the pages.

This times-out the initial page request to the browser.

What I would like is for just the page I am requesting to be compiled.

How can I configure ASP.NET 2.0 to do this please?

Thanks in advance for any help.

Best Wishes,
James

--
"Be excellent to each other", Bill & Ted
Apr 7 '06 #1
2 981
James,

I'd suggest a different route. With asp.net 2.0 you can build your entire
application as "pre-compiled" then no compilation on page request will be
necessary and your overall application will be much faster.

When you go to build your application for deployment use Build - Publish Web
site and uncheck "Allow this precompiled site to be updateable.

This article gives many more details:
http://www.odetocode.com/Articles/417.aspx
Regards,

--
S. Justin Gengo
Web Developer / Programmer

Free code library:
http://www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"James" <az@despammed.com> wrote in message
news:e1*******************@news.demon.co.uk...
Hi,

I am migrating an enterprise application from ASP 3.0 with server-side
JScript to ASP.NET 2.0.

There are over 400 pages.

If I try to access one of the migrated .aspx pages, the aspnet_ws
process tries to compile all of the pages.

This times-out the initial page request to the browser.

What I would like is for just the page I am requesting to be compiled.

How can I configure ASP.NET 2.0 to do this please?

Thanks in advance for any help.

Best Wishes,
James

--
"Be excellent to each other", Bill & Ted

Apr 7 '06 #2
S. Justin Gengo wrote:
I'd suggest a different route. With asp.net 2.0 you can build your entire
application as "pre-compiled" then no compilation on page request will be
necessary and your overall application will be much faster.

When you go to build your application for deployment use Build - Publish Web
site and uncheck "Allow this precompiled site to be updateable.

This article gives many more details:
http://www.odetocode.com/Articles/417.aspx


Thanks for your quick response, I shall follow your advice
for deployment time.
While testing and refactoring, I've found that this minimal
web.config file will do the trick:

<configuration>
<system.web>
<compilation batch="false"/>
</system.web>
</configuration>

Best Wishes,
James

--
"Be excellent to each other", Bill & Ted
Apr 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: jason | last post by:
What are the technical challenges in getting a local SMTP email server set up on a win3k system or alternatively on a win2k pro local work statation. We are on the verge of acquiring a new win3k...
1
by: Paul Rowe | last post by:
Hi "You" I have two collection types declared at the SQL level. 1. Do you know of any known bugs with the BULK COLLECT clause used with the TABLE operator? I have a situation now where I am...
2
by: Chris | last post by:
Any help would be appreciated. I am running a script that does the following in succession. 1-Drop existing database and create new database 2-Defines tables, stored procedures and functions...
2
by: php newbie | last post by:
Hello, I am trying to load a simple tab-delimited data file to SQL Server. I created a format file to go with it, since the data file differs from the destination table in number of columns. ...
7
by: iqbal | last post by:
Hi all, We have an application through which we are bulk inserting rows into a view. The definition of the view is such that it selects columns from a table on a remote server. I have added the...
6
by: pk | last post by:
Sorry for the piece-by-piece nature of this post, I moved it from a dormant group to this one and it was 3 separate posts in the other group. Anyway... I'm trying to bulk insert a text file of...
1
by: Metal Dave | last post by:
I do not understand the error handling of SQL Server here. Any error in bulk insert seems to halt the current T-SQL statement entirely, rendering it impossible to log an error. The first statement...
11
by: Ted | last post by:
OK, I tried this: USE Alert_db; BULK INSERT funds FROM 'C:\\data\\myData.dat' WITH (FIELDTERMINATOR='\t', KEEPNULLS, ROWTERMINATOR='\r\n');
0
by: ozkhillscovington | last post by:
We have sp's in place that do BULK INSERTS from txt files into the tables. This works fine, however they have asked us to add a field that identifies accounting ctr. The only thing that identifies...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.