Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2005

Tip: Looking for answers? Try searching our database.

Debugging a server app

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Juan Dent - 20 Jul 2005 22:21 GMT
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.

Signature

Thanks in advance,

Juan Dent, M.Sc.

"Peter Huang" [MSFT] - 21 Jul 2005 03:38 GMT
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.aspx?scid=KB;EN-US;815814

You may have a check.

Best regards,

Peter Huang
Microsoft Online Partner Support

Signature

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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.