Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > problem with dl/COM objectsl (MerakCOM and his dll)

Reply
Thread Tools

problem with dl/COM objectsl (MerakCOM and his dll)

 
 
Lukasz
Guest
Posts: n/a
 
      04-06-2004
Hi

I have problem with using Merak Mail Server API in my
web NET application. I was trying to use COM objects
in normal net application, i could only create object by new
and later i cant do anything, everytime exceptions is thrown.
So i used some wrapper to his dll functions and it worked,
i can create accounts. But when Im trying to do the same
in my asp.net web application, i get exception in the line with init dll:

System.Runtime.InteropServices.COMException: The server threw an exception.
Source Error:
Line 79:
Line 80: MerakWrapper.CUserAccount myUser = new
MerakWrapper.CUserAccountClass();
Line 81: int retVal = myUser.InitDLL( "d:\\program files\\merak" ); << Here

But in web application it seem that COM objects are working,
I can display user accounts, domains etc. Offcours I cant add new user
that way, i get COMException when i invoke Save method,
It would be too f.. simple
Im getting angry.
Can anyone tell me whats going on, I was trying to set NETWORK SERVICE
to Administrators group, but it didnt change anything.
Thanks for any advices
Lu




 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Your true traveler finds boredom rather agreeable than painful. It isthe symbol of his liberty -- his excessive freedom. He accepts his boredom,when it comes, not merely philosophically, but almost with pleasure. senthilind@gmail.com Computer Support 0 03-02-2008 08:23 AM
DVD Verdict reviews: SAUL AND DAVID, JOSEPH AND HIS BRETHREN, and more! DVD Verdict DVD Video 0 09-11-2005 08:17 AM
having problem to update Web Service, and add/change his methods roni ASP .Net 0 05-21-2005 05:52 PM
For Don and his "newbies and bootcampers" techgrl MCSE 21 01-27-2004 07:20 AM



Advertisments