473,386 Members | 1,745 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,386 software developers and data experts.

COM+ objet call hangs

I have already posted my problem. but now after some diagnosis i have a
clear question! I use a dll which is in com+. so when i call any function of
that dll from asp.net the call hangs or a deadlock occurs.
Kindly help!

Regards,
Nov 17 '05 #1
6 2426
its a c# dll.
and a com+ library.

"Natty Gur" <na***@dao2com.com> wrote in message news:Ox**************@TK2MSFTNGP10.phx.gbl...
Hi,
couple of questions

1)the com+ component written with .net or vb/c++?
2)the package is server or library?

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #2
I had a similar issue when dll was located on a network mapped drive.
does COM+ object stay activated when the call hangs?

Hope this helps
Alexander Myachin

"Von Shean" <vo******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I have already posted my problem. but now after some diagnosis i have a
clear question! I use a dll which is in com+. so when i call any function of that dll from asp.net the call hangs or a deadlock occurs.
Kindly help!

Regards,

Nov 17 '05 #3
Nope
"Alexander Myachin" <a_*******@hotmail.com> wrote in message
news:#v**************@TK2MSFTNGP12.phx.gbl...
I had a similar issue when dll was located on a network mapped drive.
does COM+ object stay activated when the call hangs?

Hope this helps
Alexander Myachin

"Von Shean" <vo******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I have already posted my problem. but now after some diagnosis i have a
clear question! I use a dll which is in com+. so when i call any
function of
that dll from asp.net the call hangs or a deadlock occurs.
Kindly help!

Regards,


Nov 17 '05 #4
I am using SQLServer 2000. I have diagnosed the problem as following.

I am using SqlHelper.ExecuteReader to get the data from the database.
There are 2 cases that i tried with this:

1. This is the call that hangs on the production server. (The production
server does not have SQL Server 2000 client tools installed).
2. It works fine on local staging server (i have SQL server 2000 client
tools installed on this system)

I dont think sql server client tools should be a problem, or does MS DTC
useSQL Server client tools when used with SqlHelper???



"Natty Gur" <na***@dao2com.com> wrote in message
news:#L**************@TK2MSFTNGP12.phx.gbl...
Hi,

Can you tell me if you are using transaction and against which DB you
are working? It will be nice if you can set the attributes that you set
to the Class so we can se how the class configures in COM+.

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 17 '05 #5
well on our machines we use COM+ againt Sql Server without ant
instalation of SQL server utils or what so ever.

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #6
I have figured out the problem. The MS DTC port 3372 on the production was
blocked.

Thank you very much

"Natty Gur" <na***@dao2com.com> wrote in message
news:#W**************@TK2MSFTNGP12.phx.gbl...
well on our machines we use COM+ againt Sql Server without ant
instalation of SQL server utils or what so ever.

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 17 '05 #7

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

Similar topics

0
by: Randy Roman | last post by:
Hello to all. I have a nagging problem concerning where to call CoUninitialize() COM function. I realize that this may be more of a C++/COM question rather than a Java question, but I just thought...
1
by: Paul | last post by:
following hangs when re-entered run() { PyEval_RestoreThread(context); pName = PyString_FromString(script); Py_DECREF(pName);
4
by: Petar Popara | last post by:
Dear friends, You helped me so many times on those newsgroups, but I have to ask you once again. I'm struggleing for months with one problem. I have created one COM (dll) object. When I call...
1
by: Amitava Sengupta | last post by:
Is there any issue in using COM component in web applications. The problem I'm facing are 1. Though the dll is using non-static member variables which are being instantiated on each call,...
1
by: JD | last post by:
We have two web service machines. Call one WS1 and the other WS2. They are seperated by a firewall. WS1 handles web service calls and also calls web services provided by WS2. Both machines do not...
1
by: Eduard Ralph | last post by:
Hi, I've been having a very weird problem in connection with using the Enterprise Library. I'm programming a Windows Service and utilise the logging and configuration component. During the...
0
by: Karel Kral | last post by:
Hello, I have created simple COM service in .NET. COM is accessed from another not NET application by late binding call. And the problem: If I call NetComClass.Hello from another .NET code, all...
7
by: christian13467 | last post by:
Hi, I'm using ASP.Net 2.0 with IIS 6.0 on windows server 2003 sp1. Calling a commandline program or a cmd file using Process.Start inside a webservice method. The call to Process.Start returns...
9
by: =?iso-8859-1?Q?Jos=E9_Joye?= | last post by:
I'm currently running some tests with WCF in In-proc environment. I have created a small winform application that starts the host in the main thread with an named pipe endpoint. If I call a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.