Re: Error in loading DLL (Error 48)
- From: "Gordon Radley" <GordonRadley@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 7 Apr 2005 07:39:05 -0700
Thanks for the response Tony.
It is our own DLL, we are not performing any Windows API functions or
anything like that and we do have the "Retain in Memory" , "unattended
Execution" and "Upgrade ActiveX controls" checkboxes set.
This DLL appears to be (at least on the surface) setup the same exact way as
other components that work in COM+.
These components all work fine when call through our web site. It's when we
try to execute (instantiate) this one DLL from a VB 6 executable which is
physically on the webserver. Note: all the other DLL's we instantiate from
this same VB 6 app work correctly in COM+.
"Tony Proctor" wrote:
> Sounds like it could be a threading problem gradley .COM+ is a
> multi-threaded environment. Running it outside of COM+ will use a
> single-threaded environment.
>
> Is the DLL your own, i.e. do you have the source code?
> Does it use any Win32 APIs (i.e. have any Declare Function statements)?
> Does it have 'Retain in Memory' set in the project properties?
>
> Tony Proctor
>
> "gradley" <gradley@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:EFA24EC8-D35B-43AD-AEDB-F0A9C33133E8@xxxxxxxxxxxxxxxx
> > Hi,
> >
> > We have been running VB 6 DLL's in COM+ on Windows 2000 for a couple of
> > years now but have recently run into a problem with a single DLL.
> >
> > When instantiated from a website using Windows 2000 IIS 5.0, the component
> > works perfectly in COM+. We have an executable vb6 program that we run on
> > this webserver to simulate calling the COM+ components multiple times to
> test
> > performance.
> >
> > For some reason, 1 component does not load from this executabe while in
> COM+
> > "Error in loading DLL (error 48)." We have checked MSDN knowledge base
> but
> > the areas they recommend to look at did not help. If we take the component
> > out of COM+, it works. The other 4 components we call from this same
> > executable work fine in COM+.
> >
> > Any suggestions would be greatly appreciated.
> >
>
>
>
.
- References:
- Error in loading DLL (Error 48)
- From: gradley
- Re: Error in loading DLL (Error 48)
- From: Tony Proctor
- Error in loading DLL (Error 48)
- Prev by Date: Re: Error in loading DLL (Error 48)
- Next by Date: importing data from excel sheet to ms sql
- Previous by thread: Re: Error in loading DLL (Error 48)
- Next by thread: UsesTransactions vs NoTransactions
- Index(es):
Relevant Pages
|