Mohammad Aslam Khan

Hi,
We have installed a software PCDCTfor window and we are getting error on exe failling Reports. But failed and give following error message whenever we try to run a big reports/processes:

PCDCT for Window.exe - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process ID=0x710 (1808), Thread Id=0xa8(2688)

Click OK to terminate the application.
Click CANCEL to debug the application
.

We have click the cancell and found following detail

PCDCT for Window.exe - No debugger found.

Registered JIT debugger is not available. An attempt to launch a JIT debugger with the following common resulted in error code 0x2 (2). Please check computer settings.

cordbg.exc !a 0x2e4

Click on Retry to have the process wait while attching a debugger manually.

Click on Cancell to abort the JIT debug request.


Any help will be grate appriciated...
Regards,
Aslam




Re: Common Language Runtime Common Language Runtime Debugging Services

Jon Langdon

Hi Aslam,

Generally you'll see this dialog when you have an exception in your application that went unhandled. The runtime will present you with this dialog box to give you a chance to debug the issue.

In this specific case, when you clicked cancel, the debugger you have registered (cordbg.exe) was not found and therefore you were unable to attach to the failing process.

Could you respond with the values of the following registry keys

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\AeDebug and HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\DbgJITDebugLaunchSetting

Kind Regards,
Jon Langdon





Re: Common Language Runtime Common Language Runtime Debugging Services

Mohammad Aslam Khan

Dear Jon,

Thanks for your reply.

I have tried to above value but there is no favorable response and still am getting same error.

Kindly help me more detail.

Regards and thanks in advance.

Aslam






Re: Common Language Runtime Common Language Runtime Debugging Services

Stephen Fisher - MS

Hello Aslam,

What are the values in the registry keys:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\AeDebug

HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\DbgJITDebugLaunchSetting

Knowing which debugger is supposed to be launched may help determine the cause of the issue you are seeing.

Thanks!
Stephen
Microsoft Common Language Runtime: Security - Developer
http://blogs.msdn.com/stfisher






Re: Common Language Runtime Common Language Runtime Debugging Services

a_bLaZe

i am also having the same problem stated by aslam. my registry value for HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\AeDebug\default is not set.

i cannot find this

HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\DbgJITDebugLaunchSetting

in my registry.

what should i do





Re: Common Language Runtime Common Language Runtime Debugging Services

a_bLaZe

it there anything thing we can download to resolve this anyway.. mine is for CLT.exe. i do not even know what is that.

more information on my value for HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\AeDebug

default is : value not set

auto is :0

debugger is :drwtsn32 -p %ld -e %Id -g

userhotkey is :0

anyway.. how come i cannot find the string

HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\DbgJITDebugLaunchSetting





Re: Common Language Runtime Common Language Runtime Debugging Services

PrakashDR

Hi Aslam,


Download this software and install:

1st Install:


Microsoft .NET Framework Version 1.1 Redistributable Package

File Name: dotnetfx.exe
Version: 1.1


http://www.microsoft.com/downloads/details.aspx FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en

then install 2nd software


Microsoft Visual J# .NET Version 1.1 Redistributable Package

File Name: vjredist.exe
Version: 1.1


http://www.microsoft.com/downloads/details.aspx FamilyID=e3cf70a9-84ca-4fea-9e7d-7d674d2c7ca1&DisplayLang=en

Regards,

Prakash D.R.






Re: Common Language Runtime Common Language Runtime Debugging Services

Pheredia

Hi John,

I have been experiencing the same problem and the values I have are

default..... value not set

Auto......... 0

Debugger drwtsn32 -p %Id -e %Id -g

UserDebuggerHotKey (0)

I downloaded the files you recomended and stills doing the same, what else can I do to solve the problem

Thanks.

Patricia





Re: Common Language Runtime Common Language Runtime Debugging Services

Pheredia

Hi Prakash,

I have the same problem as Aslam, and my values are the same, and I downloaded the files you recomended and It's not working, what else can I do





Re: Common Language Runtime Common Language Runtime Debugging Services

PrakashDR

hi Pheredia ,

regarding aslam's problem. which softwares and laptop he is using, I am aware of it.

If u have specific problem. you have to give complete details of software and hardware. as well as software procedure






Re: Common Language Runtime Common Language Runtime Debugging Services

Mohammad Aslam Khan

Hi Prakash,

I have downloaded software as advised by you.

Now PCDCT and other softwares are working fine.

Thanks a lot for your support.

Regards,

Aslam






Re: Common Language Runtime Common Language Runtime Debugging Services

seeta

hi prakash,

I am also facing same problem, but i already downloaded those 2 files like dotnetfx and vjredist installed in my system, giving same problem.

actually wht my problem is, i done one console appliction, everything working fine, if i execute those console appliction in server giving this error like 'common language runtime Debugging services'

Plez help me

seeta





Re: Common Language Runtime Common Language Runtime Debugging Services

NKY

i have installed a software on my windows vistal based SONY VIAP and it is giving me the same problem




Re: Common Language Runtime Common Language Runtime Debugging Services

max265

I am getting the following problem

Fatal Execution Engine Error ( Ox7927e03e) followed by

hpqthb08.exe Common Language Runtime Debugging Services, Followed by

Registered JIT debugger is not available. An attempt to launch a JIT debugger with the following common resulted in error code 0x2 (2). Please check computer settings.

cordbg.exc !a 0x2e4

Click on Retry to have the process wait while attching a debugger manually.

Click on Cancell to abort the JIT debug request.

Does this suggest there is a fault in the HP Printer software. Any help get rid of this problem will be greatly appreciated.

Regards

Max265






Re: Common Language Runtime Common Language Runtime Debugging Services

BLanders

This is explained in Mike Stall's blog: http://blogs.msdn.com/jmstall/archive/2006/07/24/caveats_about_jit_debugging.aspx

Basically, cordbg.exe comes with the .Net SDK. If you get the "cordbg.exc !a 0x2e4" error, it is usually becasue you've installed the .Net 1.0 or 1.1 runtime but haven't installed the matching .Net SDK. If you install the matching SDK, the problem should go away and your application will launch under the managed debugger.

This page explains more about the registry settings that Steven and Jon mentioned: http://msdn2.microsoft.com/en-us/library/2ac5yxx6.aspx By default you should get a dialog box asking if you want to attach a debugger for interactive applications, so you shouldn't need to change DbgJITDebugLaunchSetting unless you debugging a service. If you're debugging a mixed-mode application (something that contains both managed and unmanged modules), you might want to set DbgManagedDebugger to point to an unmanaged debugger like windbg (http://www.microsoft.com/whdc/devtools/debugging/default.mspx) and use SOS (http://msdn2.microsoft.com/en-us/library/bb190764(vs.80).aspx) to debug the managed side of the application.

Hope this helps,

Bridgette (MSFT)