PC Review


Reply
Thread Tools Rate Thread

Debugging a server app

 
 
=?Utf-8?B?SnVhbiBEZW50?=
Guest
Posts: n/a
 
      20th Jul 2005
Hi,

I am having the following event logged when I try to debug a COM+ server
application:

"The server {54AD3709-9B43-42A8-B896-404FDCF4AC85} did not register with
DCOM within the required timeout"

I also get a dialog box saying "An error ocurre while processing the last
operation. Error code 8008005 - Server execution failed. The event log may
contain additional troubleshooting information".

And all I am doing is:

I go to the Component Services Explorer and I Start the COM+ application.
This opens an instance of VS.NET 2003 containing dllhost.exe.


My intention is to be able to debug the components in that COM+ server app.


--
Thanks in advance,

Juan Dent, M.Sc.
 
Reply With Quote
 
 
 
 
Peter Huang [MSFT]
Guest
Posts: n/a
 
      21st Jul 2005
Hi

If you are running the ServicedComponent as a COM+ server app, it will
running in the dllhost.exe, another process different from the client
process.
To debugging the SC, you can attach to the process when the dllhost is
lauched, and then call into the SC from client, the debugger will stop if
there is any breakpoint hit in the SC or exception occur.

Also from the KB below.
While debugging, a transaction may time out before it is committed or
aborted. To avoid a timeout, use a timeout property on the transaction
attribute. In the following example, the associated method has 1,200
seconds to complete any transaction before it times out:
[Transaction(TransactionOption::Required,Timeout=1200)]
How to use COM+ transactions in a Visual C++ .NET component (815814)
http://support.microsoft.com/default...B;EN-US;815814

You may have a check.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to start TSQL Debugging. Could not attach to SQL Server Process on 'srvname'. The RPC server is unavailable. DR Microsoft C# .NET 1 25th Oct 2007 04:27 AM
Unable to start TSQL Debugging. Could not attach to SQL Server Process on 'srvname'. The RPC server is unavailable. DR Microsoft Dot NET 0 25th Oct 2007 03:38 AM
Unable to start TSQL Debugging. Could not attach to SQL Server Process on 'srvname'. The RPC server is unavailable. DR Microsoft ASP .NET 0 25th Oct 2007 03:37 AM
No Debugging of C# Server-Side Script, but Code-Behind Debugging Works Johann Blake Microsoft ASP .NET 1 5th Jan 2004 03:01 PM
Unable to start debugging on the web server. Server side-error occured on sendin M R Khan Microsoft Dot NET Framework 0 15th Sep 2003 01:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:49 PM.