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

Error: Cannot access ASP compatibility mode

Hello,

There is a enterprise web application that is based on asp.net technologies
and works on Microsoft IIS. The total number of users is 850. When the load
of system gets very high, the system stops working and all users are
receiving an error (see at the bottom). Doing IISRESET or restarting server
helps (but just until the next big load).

Additional information:
- Server OS MS Windows Server 2003 Standard edition SP1
- System is using Microsoft SQL Server 2000 SP3
- .NET Framework 1.1

Any advices are appreciated.

Vycka

---------------------------------------------
Error:
Cannot access ASP compatibility mode

Stack Trace:

[HttpException (0x80004005): Cannot access ASP compatibility mode.]

[HttpException (0x80004005): Exception of type System.Web.HttpException was
thrown.]
System.Web.HttpAsyncResult.End() +54
System.Web.UI.Page.AspCompatEndProcessRequest(IAsy ncResult result) +15
ASP.Form_aspx.EndProcessRequest(IAsyncResult ar) in
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\doclogix\76b6160a\f0c93880\b_c1fboy.0.cs:0
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutionStep.Execute()
+154
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +173

Nov 19 '05 #1
1 5791
Vycka,

could I ask you why you need ASP compatibility mode turned on ?

Are you accessing an apartment-threaded COM
component, like ADO, through an ASP.NET page ?

You only need ASPCompat turned on if the ASP page you are porting
uses apartment-threaded COM components or COM components that
access the ASP-intrinsic objects.

Otherwise this directive is not required and can be safely eliminated.

If you *are* using ADO, the solution is
to port the database access to ADO.NET.

Turning ASP Compatibility on kills ASP.NET performance.
That's why you only see the problem with large server loads.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Vycka" <vy******@one.lt> wrote in message news:Os**************@TK2MSFTNGP12.phx.gbl...
Hello,

There is a enterprise web application that is based on asp.net technologies and works on
Microsoft IIS. The total number of users is 850. When the load of system gets very high,
the system stops working and all users are receiving an error (see at the bottom). Doing
IISRESET or restarting server helps (but just until the next big load).

Additional information:
- Server OS MS Windows Server 2003 Standard edition SP1
- System is using Microsoft SQL Server 2000 SP3
- .NET Framework 1.1

Any advices are appreciated.

Vycka

---------------------------------------------
Error:
Cannot access ASP compatibility mode

Stack Trace:

[HttpException (0x80004005): Cannot access ASP compatibility mode.]

[HttpException (0x80004005): Exception of type System.Web.HttpException was thrown.]
System.Web.HttpAsyncResult.End() +54
System.Web.UI.Page.AspCompatEndProcessRequest(IAsy ncResult result) +15
ASP.Form_aspx.EndProcessRequest(IAsyncResult ar) in
c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\doclogix\76b6160a\f0c93880\b_c1fboy.0.cs:0

System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication+IExecutionStep.Execute()
+154
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +173

Nov 19 '05 #2

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

Similar topics

1
by: Wayno | last post by:
My php logs are coming up empty. I have done all I can think of, and all that made sense to me. Can someone take a look at my php.ini please and tell me what you think may be the problem. I...
9
by: Marina Anufreichik | last post by:
Hi, After deploymnet web application on web server I can access page on local machine and login fine but when I'm trying to access web site from remote machine I can see login page, but when I'm...
6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
14
by: Abhi | last post by:
FYI: This message is for the benefit of MS Access Community. I found that this prblem has been encounterd by many but there is hardly any place where a complete solution is posted. So I thought...
0
by: dw | last post by:
Hi, all. I've deployed an ASP.NET 1.1 app from my localhost where it works fine to a server on the network, but when accessed from my machine through the Web, it first asks for me to log into the...
0
by: HKSHK | last post by:
This list compares the error codes used in VB.NET 2003 with those used in VB6. Error Codes: ============ 3: This Error number is obsolete and no longer used. (Formerly: Return without GoSub)...
0
by: Kevin | last post by:
Hi I'm using pivoteTable from OWC to show a cube from SQL Server 2005. In local mode works ok, but when the clients from another computer load the ActiveX component cannot establish a connection...
4
by: niklas.arbin | last post by:
I'm trying to set up a IIS and have run into the following error. "Cannot access ASP compatibility mode." My machine is 64 bit so I have set Enable32bitAppOnWin64 to 1. I want to be able run...
0
by: Tifer | last post by:
Hello, I am building my first .Net Application. The first couple of Publish and Installs I did went fine. But after a couple of builds, I get a modal dialogue box error every time upon trying...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.