473,396 Members | 1,689 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,396 software developers and data experts.

Global PreRequestHandler error after Win Server 2003 SP1 installation

We have recently modified our ASP.NET web application to make web
service calls asynchronously using the global.asax PreRequestHandler
technique as explained in the following article by Matt Powell of
Microsoft Coproration:

http://msdn.microsoft.com/library/de...ce07222003.asp

We were experiencing the symptoms described in the article: awful
performance under load when calling web services synchronously from an
aspx page!

So we implemented the technique described in the article. The
application worked just fine on our development environment, which runs
Windows Server 2003. However, we noticed it would not run on our
staging environment, which was also running on Windows Server 2003.
Instead, we got this error from the staging server:

"Unable to generate a temporary class (result=1). error CS0011:
Referenced class '[App Name].Global' has base class or interface
'System.Web.HttpApplication' defined in an assembly that is not
referenced. You must add a reference to assembly 'System.Web'."

Why did this code work on the development machine and not the staging
machine? It turns out that our staging machine had Windows Server 2003
SP1 installed. Then, as soon as we installed SP1 on our development
machine today, we got the same error on the development machine. The
code has not been altered.

To make sure this was not my error, I installed the ASP.NET web
application and web service downloaded directly from the article listed
above. Predictably, I got the same results.

To duplicate this problem, download and install (on your Windows 2003
Server with SP1) the ASP.NET application listed at:

http://msdn.microsoft.com/library/de...ce07222003.asp

And attempt to view the page:

http://localhost/WebApp/PreRequestHandlerPage.aspx (THIS IS
CASE-SENSITIVE IN THE AUTHOR'S IMPLEMENTATION, SO MAKE SURE TO USE THIS
PATH)

Any suggestions?
Todd Gill
Ossia Systems

Nov 19 '05 #1
0 1045

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

Similar topics

5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
7
by: JerryW | last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET Web Applications to work). I first did a complete uninstall of .NET 2003, .NET Framework 1.1, and IIS. I also completely deleted...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
5
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development...
1
by: gerr | last post by:
Visual studio 2003 "HTTP/1.1 500 Internal Server Error" when trying to create a new Asp.net site with Visual Studio 2003 on localServer/IIS 5.1. Anyone have any new solutions or urls to point me...
1
by: gerr | last post by:
Visual studio 2003 "HTTP/1.1 500 Internal Server Error" when trying to create a new Asp.net site with Visual Studio 2003 on localServer XP Pro/IIS 5.1. Everything worked fine prior to installing...
0
by: DotNetShadow | last post by:
Hi Guys I came across this article which deals with Performance Considerations for Making Web Service Calls from ASPX Pages:...
4
by: coosa | last post by:
Hi, I was installing SQL Server on my machine and during installation my PC freezed. It happens frequently on my machine. So i tried after restarting to install it again and since then i always...
8
by: Rob T | last post by:
When I was using VS2003, I was able to compile my asp.net project locally on my machine and copy it to the production server and it would run just fine. I've now converted to VS2005. The project...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.