473,320 Members | 2,104 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,320 software developers and data experts.

ASP.NET 1.1 debug=false

We are deploying a large .NET 1.1 web app. We are using SP1 of the .NET 1.1
framework. Our build system compiles all of our components in release mode.
We deploy on Windows Server 2003 Enterprise SP1

We noticed the other day that our web.config said debug=true. We read some
articles and decided we should release with debug=false.

I stopped IIS, cleared out the ASP.NET temporary folder, changed the flag to
false, and restarted IIS.

After this, sometimes we started getting a GPF in w3wp.exe executing code in
our data tier through out data aceess layer. Since we host on multiple
horizontally scaled web apps, we decided to see if we could dupe this on
other apps and we could.

We changed the flags back to true, cleared out the ASP.NET temp folder, and
restarted and they have been humming along just fine.

I'm really scratching my head on this on. Below is are the output of the
error chain.

Faulting application w3wp.exe, version 6.0.3790.1830, faulting module
kernel32.dll, version 5.2.3790.1830, fault address 0x00015dea.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

The system has called a custom component and that component has failed and
generated an exception. This indicates a problem with the custom component.
Notify the developer of this component that a failure has occurred and
provide them with the information below.

Component Prog ID: Powerway.Common.DataAccess.CommonDataAccessClass

Method Name: IObjectControl::Deactivate()

Server Application ID: {D10CAB2A-7732-4E1E-8172-CA0B1CC36F44}

Server Application Instance ID:

{114DE4F9-1C41-410E-B5FB-143617FB22A7}

Server Application Name: PDP v3.0

Exception: E0434F4D

Address: 0x77E55DEA

Call Stack:

kernel32!RaiseException + 0x3c

mscorsvr!GetAssemblyMDImport + 0x2e1d4

mscorsvr!GetAssemblyMDImport + 0x2e157

mscorsvr!GetAssemblyMDImport + 0x2e10b

mscorsvr!GetAssemblyMDImport + 0x2e0b2

mscorsvr!GetMetaDataPublicInterfaceFromInternal + 0x6255

mscorsvr!CoEEShutDownCOM + 0x6135

mscorsvr!ReleaseFusionInterfaces + 0x1c7ff

comsvcs!DllUnregisterServer + 0x3f3b5

comsvcs!DllUnregisterServer + 0x40756

ole32!CoGetApartmentID + 0x16b0

ole32!CoGetCallContext + 0xc3c

ole32!CoQueryAuthenticationServices + 0x1f7f

ole32!CoQueryAuthenticationServices + 0x2b1b

ole32!CoQueryAuthenticationServices + 0x3548

ole32!CoQueryAuthenticationServices + 0x3a52

ole32!GetHGlobalFromStream + 0x46a

ole32!CoCreateObjectInContext + 0x1042

mscorsvr!CoEEShutDownCOM + 0x1db97

+ 0x1a9a045

+ 0xd144eae

+ 0x231297c

For more information, see Help and Support Center at

General Information

*********************************************

Additional Info:

ExceptionManager.MachineName: ALPHA-WEB1

ExceptionManager.TimeStamp: 4/27/2006 11:09 PM

ExceptionManager.FullName: Microsoft.ApplicationBlocks.ExceptionManagement,
Version=3.0.0.0, Culture=neutral, PublicKeyToken=3d0dc145a66e9e9a

ExceptionManager.AppDomainName:
/LM/W3SVC/1672928981/Root-1-127906466737283552

ExceptionManager.ThreadIdentity:

ExceptionManager.WindowsIdentity: NT AUTHORITY\NETWORK SERVICE

1) Exception Information

*********************************************

Exception Type: System.Threading.ThreadAbortException

ExceptionState: System.Web.HttpApplication+CancelModuleException

Message: Thread was being aborted.

TargetSite: System.Runtime.Remoting.Messaging.IMessage
DoCallback(System.Object, System.Runtime.Remoting.Messaging.IMessage,
IntPtr, Boolean, System.Reflection.MemberInfo, Boolean)

HelpLink: NULL

Source: System.EnterpriseServices

StackTrace Information

*********************************************

at System.EnterpriseServices.Thunk.Callback.DoCallbac k(Object otp, IMessage
msg, IntPtr ctx, Boolean fIsAutoDone, MemberInfo mb, Boolean bHasGit)

at System.EnterpriseServices.ServicedComponentProxy.C rossCtxInvoke(IMessage
reqMsg)

at System.EnterpriseServices.ServicedComponentProxy.I nvoke(IMessage request)

at System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData&
msgData, Int32 type)

at
Powerway.Common.DataAccess.CommonDataAccessClass.R unSPReturnDataSet(String
storedProcedureName, Object[] parameters)

at Powerway.PDP.IssueManagement.IssueRead.GetIssuesFo rWorkList(Int32 UserID,
Int32 ProcessID, Int32 OverdueStatus, Int32 ViewType, String LanguageCode)

For more information, see Help and Support Center at
Apr 30 '06 #1
2 2149
On Sun, 30 Apr 2006 18:59:22 -0400, "msnews.microsoft.com"
<kj******@powerwayinc.com> wrote:
We are deploying a large .NET 1.1 web app. We are using SP1 of the .NET 1.1
framework. Our build system compiles all of our components in release mode.
We deploy on Windows Server 2003 Enterprise SP1

We noticed the other day that our web.config said debug=true. We read some
articles and decided we should release with debug=false.

I stopped IIS, cleared out the ASP.NET temporary folder, changed the flag to
false, and restarted IIS.

After this, sometimes we started getting a GPF in w3wp.exe executing code in
our data tier through out data aceess layer. Since we host on multiple
horizontally scaled web apps, we decided to see if we could dupe this on
other apps and we could.


You definitely want to set debug to false in a production environment.
For more information, see my blog entry here:

http://blogs.msdn.com/jamesche/archi...20/506195.aspx

As for your crash, your symbols don't line up in the stack trace
you've got (and it's likely you don't have access to the symbols you
really need anyway), so your best bet is to open a case with Microsoft
and we can look into it for you.
Jim Cheshire
Blog: http://blogs.msdn.com/jamesche

May 1 '06 #2
Will do Jim...

Thanks...

"Jim Cheshire" <ji*@jimcosoftware.com> wrote in message
news:3d********************************@4ax.com...
On Sun, 30 Apr 2006 18:59:22 -0400, "msnews.microsoft.com"
<kj******@powerwayinc.com> wrote:
We are deploying a large .NET 1.1 web app. We are using SP1 of the .NET
1.1
framework. Our build system compiles all of our components in release
mode.
We deploy on Windows Server 2003 Enterprise SP1

We noticed the other day that our web.config said debug=true. We read
some
articles and decided we should release with debug=false.

I stopped IIS, cleared out the ASP.NET temporary folder, changed the flag
to
false, and restarted IIS.

After this, sometimes we started getting a GPF in w3wp.exe executing code
in
our data tier through out data aceess layer. Since we host on multiple
horizontally scaled web apps, we decided to see if we could dupe this on
other apps and we could.


You definitely want to set debug to false in a production environment.
For more information, see my blog entry here:

http://blogs.msdn.com/jamesche/archi...20/506195.aspx

As for your crash, your symbols don't line up in the stack trace
you've got (and it's likely you don't have access to the symbols you
really need anyway), so your best bet is to open a case with Microsoft
and we can look into it for you.
Jim Cheshire
Blog: http://blogs.msdn.com/jamesche

May 1 '06 #3

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

Similar topics

11
by: Markus Dehmann | last post by:
I have a static const bool debug = false; variable in my class. Debug output goes like this, trivially: if(debug) cerr << "debug message"; Is it guaranteed that this if/then clause is always...
1
by: John Holmes | last post by:
My application is ready to deploy and I've set debug=false in the web.config file and configured the app for release mode. When I try to run the app from the IDE, I get the following error message:...
12
by: nospam | last post by:
All the documentation says that leaving an ASP.NET application in debug mode has a big performance hit. I can't detect any difference between debug and non-debug modes. Am I missing something or is...
2
by: Jeremy S. | last post by:
By default, Web.config has the following section: <compilation defaultLanguage="c#" debug="true" /> note that debug="true" There is a comment - also in the default Web.config - that states...
3
by: Whiplash | last post by:
I've got a web app that has the debug parameter in the web.config file set to true. Everything works great. However, I want to set debug to false before putting the app into production. When I do...
1
by: Jonas | last post by:
Hi, I've recently found out that I'm supposed to set the debug attribute of the compilation element in web.config to false in production environments. But when I do so in my ASP.NET application,...
10
by: Joe Befumo | last post by:
When I tried debugging for the first time, I pop-up asked me if I wanted to set the project to enable debugging. Now I'm ready to release and can't find anyplace to set the build to 'release'. A...
5
by: Cas | last post by:
Hi, If i omit to mention e.g. the option 'debug' in the line below of an aspx file, does it means it's set to false? <%@ Page Language="VB" CodeFile="any.aspx.vb" Inherits="_Default" %> ...
3
by: André | last post by:
Hi, I put that question already, but it's still not very clear to me, so ... Assume following option in web.config= debug="false" but in one aspx page (test.aspx) <%@ debug="true" ..%>
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.