Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
olay80
Yak Posting Veteran
62 Posts |
Posted - 2005-05-05 : 09:08:21
|
hey guys,i'm calling a vb dll from a c# project(did some earlier posts about that), after beeing done from the project on my pc i'm trying to run it on other pc s in some of them it's working fine and on others it's not enabling me to create and object from the vb dll in the c# project it's giving me an exception with the following msg: "Access is denied". any ideas???thanx,Oliver |
|
jhermiz
3564 Posts |
Posted - 2005-05-05 : 09:40:34
|
Probably security permissions have you checked the location of the dll and made sure that it is available to the client that is trying to instantiate it. Keeping the web experience alive -- [url]http://www.web-impulse.com[/url]Imperfection living for perfection -- [url]http://jhermiz.blogspot.com/[/url] |
 |
|
olay80
Yak Posting Veteran
62 Posts |
Posted - 2005-05-05 : 10:46:09
|
well i check but still the same error. the process goes like this: a service invoke a C# dll that call a vb dll. and as i told u before i'm not beeing able to generate and object of the vb dll on some machines not all. i'm putting the dll s and the reg file generated to register the c# dll on the same path!!!Oliver |
 |
|
olay80
Yak Posting Veteran
62 Posts |
Posted - 2005-05-06 : 01:24:48
|
it wasn't a permission issue it's just that the ThreadingModel of the registered vb dll should be set to "Single".Oliver |
 |
|
|
|
|