Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / November 2004

Tip: Looking for answers? Try searching our database.

Error calling VB6 DLL from .Net WebService

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 26 Nov 2004 16:35 GMT
I have a VB6 DLL that queries an MSAccess XP database and the DLL is used by
a .NET Webservice. The WebService and DLL are on a Windows 2003 Web Server.
The WebService runs in its own Application Pool on IIS. The DLL has been
registered with COM+ and is marked as 'Synchronisation Required'.

The problem is that intermittantly when calls are made to the Web Service
the following error occurs trying to use the DLL. Some of the calls made do
not involve any accessing of the database.

'The callee (server [not server application]) is not available and
disappeared; all connections are invalid. The call may have executed'

I have monitored the DLL in Component Services and can see when the
WebService is using the DLL. After the WebService fails, I have to Recycle
the Application Pool that the WebService runs under in IIS.

Can anybody help?
Mike - 29 Nov 2004 17:03 GMT
I have now got things working. It appears that when using a VB6 DLL from .Net
you cannot rely on class_terminate events firing at the correct time, if at
all.

> I have a VB6 DLL that queries an MSAccess XP database and the DLL is used by
> a .NET Webservice. The WebService and DLL are on a Windows 2003 Web Server.
[quoted text clipped - 13 lines]
>
> Can anybody help?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.