.NET Questions and Solutions

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries Tagged ‘process id’

Application Has Generated an Exception That Could Not Be Handled…Process id=0×400 (1024), Thread id=0×4c4 (1220)

Symptoms
FRxReportManager.exe – Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id=0×400 (1024), Thread id=0×4c4 (1220).
Click OK to terminate the application.Click CANCEL to debug the application.
This error occurs when trying to launch Report Manager that is installed as a network client (thin client).
Resolution
This error will occur when the user has insufficient permissions to the Report Manager directory on the server.

Application has generated an exception that could not be handled.

Symptoms
Application has generated an exception that could not be handled. Process id=0xc48(3144), Thread id=0×29c(668).Click OK to terminate the application.Click Cancel to debug the application.This error occurs when starting the Analytical Accounting Wizard from the FRx v6.7 Program Group on a Windows 2003 Server.
Resolution
This is a Code Access Security issue. This stand-alone application does not modify any .NET framework to allow for this to run successfully.

Application Exception in Snaservr.exe in Function SNPUPUTI

Symptoms
An SNA Server 4.0 system may experience an application exception in theSnaservr.exe file in function SNPUPUTI when a PU PassThrough connection isconfigured to use Format 0 XIDs.
When this occurs, a Drwtsn32.log file is generated in the Windows NTdirectory. The Drwtsn32.log file will contain an entry similar to thefollowing:

Application exception occurred:App: snaservr.exe (pid=<process id>)When: <date> @ <time>Exception number: c0000005 (access violation) function: snpuputi0100a65a 8d4e06leaecx,[esi+0x6] ds:014aea06=????????0100a65d 2bd3subedx,ebx0100a65f 0fbfdfmovsxebx,di0100a662 3bdacmpebx,edx0100a664 7e27jlesnpuputi+0×4d (0100a68d)0100a666 85f6testesi,esi0100a668 7427jzsnpuputi+0×51 (0100a691)0100a66a 668b00movax,[eax] ds:01d0fff7=00000100a66d 8b36movesi,[esi] ds:00000000=????????0100a66f 662b01subax,[ecx]ds:01d09d76=0013fault ->0100a672 0fbf5604 movsxedx,word ptr [esi+0x4] ds:014aea07=????0100a676 0fbf5e06movsxebx,word ptr [esi+0x6] ds:014aea07=????0100a67a 8d7c07ffleaedi,[edi+eax-0x1] ds:031be9fe=????????0100a67e 8d4604leaeax,[esi+0x4] ds:014aea06=????????0100a681 8d4e06leaecx,[esi+0x6] ds:014aea06=????????0100a684 2bdasubebx,edx0100a686 0fbfd7movsxedx,di0100a689 3bd3cmpedx,ebx0100a68b 7fd9jgsnpuputi+0×26 (0100a666)0100a68d 85f6testesi,esi0100a68f 750fjnzsnpuputi+0×60 (0100a6a0)0100a691 55pushebp*—-> Stack Back Trace <—-*FramePtr ReturnAd Param#1Param#2Param#3Param#4 Function Name 00dafeec 01041647 01d09d70 0000001a 00000901 01180013 snaservr!snpuputi(FPO: [EBP 0x01d09d70] [3,0,4]) In addition, SNA Server logs an Event 624 in the Windows NT ApplicationEvent log similar to the following:

Creating dump file C:\SNA\traces\snadump.log for Snaservr.exeEXPLANATIONA process (Snaservr.exe) ended abnormally due to a protectionviolation or similar condition and a dump file Snadump.log has beencreated that contains information about the state of the process atthe time of the exception. Register information is contained in yourWindows NT root directory in the file Drwtsn32.log. NOTE: This can only occur when SNA Server is configured to use PUPassThrough connections and one of these connections is configured to useFormat 0 XIDs in the connection properties under the System Identificationtab.
Resolution
The application exception is caused when SNA Server attempts to forward aFormat 3 XID received on one PU PassThrough connection to its partner PUPassThrough connection that is configured to use Format 0 XIDs.

Application Exception in Rasman.exe in Function SnaRasUnbind()

Symptoms
An SNA Server computer using SNARAS may experience an application exceptionin Rasman.exe in function SnaRasUnbind() after successfully opening andclosing a number of SNARAS connections in succession.
An entry similar to the following will be written to a Drwtsn32.log file inthe Windows NT directory when the application exception occurs:

Application exception occurred:App: exe\rasman.dbg (<process id>)When: <date> @ <time>Exception number: c0000005 (access violation)<data omitted>function: SnaRasUnbind<data omitted>FAULT ->63701c81 8b7604mov esi,[esi+0x4]ds:014bfa0e=????????<data omitted> In one reported instance of this problem, the application exceptionoccurred after 20 to 30 SNA Server SNARAS connections were opened and thenclosed in succession. Each connection was established to download filesfrom a remote system and was closed after the files were downloaded.
Resolution
The application exception is caused when SNARAS attempts to access memorythat has been released.