Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Denied for err object in dll

Status
Not open for further replies.

AkshayB

Programmer
Dec 6, 2000
29
0
0
IN
Hi!

I have used err.raise method(VB com) in dll and kept it in
COM+, At server side it gives me proper error message, but
at client side I get the message method "methodname~" of object "ObjName~" failed.

What is the problem, why its not working.

Since a long time I am not getting help for this prob.
At least if some of one could give me some clue, will be helpful.

-Akshay

akshay_bedarkar@yahoo.com
 
Hi Akshay,
In your VB project are you using any transactional capabilities of COM+ ??? If yes please ensure that in the application in COM+ services manager where you have added your dll you have set the transaction property to required. If you fail to do so many times you may get the error method '~' of object '~' failed

Regards

Rohit
 

Hi Rohit,

I have tried with reuires transction/not supported/disabled.
It didnt work. I guess this is because of proxy mechanisam failure. Thats why error message is not getting at client side.
Please give ur comments or any other clue

Thanks
-Akshay
 
How did you get/create the instance of object? John Fill
1c.bmp


ivfmd@mail.md
 

I am instanciating above mentioned dll from VB application using as new keyword.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top