|
-
Jun 24th, 2007, 02:27 PM
#1
Thread Starter
New Member
Unable to selfregister msjro.dll
I have created package for distribution of a VB6 application, but the end user claims that it is not working.
The database is opened in the application in the following statement
set dbTarg=Workspaces(0).OpenDatabase("D:\Databases\TT Mätdon.mdb",false,false)
When they are running the application it asks for an ODBC driver, but when I test it it works OK. The Path to the access database is OK.
In the installation log it says:
*** ERROR: LoadLibrary() failed while registering file 'C:\WINDOWS\system32\msjro.dll'
*** DURING THIS ACTION: DllSelfRegister: "C:\WINDOWS\system32\msjro.dll"
*** ERROR: An error occurred while registering the file 'C:\WINDOWS\system32\msjro.dll'
*** ERROR: (User Responded with 'Ignore')
*** DURING THIS ACTION: DllSelfRegister: "C:\WINDOWS\system32\msjro.dll"
I has asked if there are any other applications running but there are not I get as an answer.
The log says:
*** ERROR: C:\WINDOWS\system32\expsrv.dll
*** ERROR: The destination file in in-use. Please ensure that all other applications are closed.
*** ERROR: (User Responded with 'Retry')
*** DURING THIS ACTION: SystemFile: "C:\WINDOWS\system32\expsrv.dll"
*** ERROR: C:\WINDOWS\system32\expsrv.dll
*** ERROR: The destination file in in-use. Please ensure that all other applications are closed.
*** ERROR: (User Responded with 'Ignore')
*** DURING THIS ACTION: SystemFile: "C:\WINDOWS\system32\expsrv.dll"
*** ERROR: C:\WINDOWS\system32\expsrv.dll
*** ERROR: The destination file in in-use. Please ensure that all other applications are closed.
*** ERROR: If you ignore a copy error, the file will not be copied. The application may not function properly as a result. Do you want to ignore the error?
*** ERROR: (User Responded with 'No')
*** DURING THIS ACTION: SystemFile: "C:\WINDOWS\system32\expsrv.dll"
*** ERROR: C:\WINDOWS\system32\expsrv.dll
*** ERROR: Out of memory trying to copy the file.
*** ERROR: (User Responded with 'Retry')
*** DURING THIS ACTION: SystemFile: "C:\WINDOWS\system32\expsrv.dll"
*** ERROR: C:\WINDOWS\system32\expsrv.dll
*** ERROR: Out of memory trying to copy the file.
*** ERROR: (User Responded with 'Ignore')
*** DURING THIS ACTION: SystemFile: "C:\WINDOWS\system32\expsrv.dll"
*** ERROR: C:\WINDOWS\system32\vbajet32.dll
*** ERROR: The destination file in in-use. Please ensure that all other applications are closed.
*** ERROR: (User Responded with 'Ignore')
*** DURING THIS ACTION: SystemFile: "C:\WINDOWS\system32\vbajet32.dll"
The application is installed on a W2K server.
Thank you in advance
Ulf Malmros
-
Jun 24th, 2007, 02:42 PM
#2
Re: Unable to selfregister msjro.dll
What installer are you using? Did you include MDAC in it?
Moved
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 24th, 2007, 03:03 PM
#3
Thread Starter
New Member
Re: Unable to selfregister msjro.dll
I am using Visual Studio 6.0 "Package and depoyment wizard." It worked fine when I installed it on a XP computer.
Thanks
Ulf
-
Jun 24th, 2007, 03:06 PM
#4
Re: Unable to selfregister msjro.dll
It looks like you are using DAO to connect to your access database. DAO is old technology and ADO is really better.
If its prompting them for a ODBC datasource then is the databasae in the expected location?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 24th, 2007, 03:13 PM
#5
Thread Starter
New Member
Re: Unable to selfregister msjro.dll
Yes, the database is in the expected location
//Ulf
-
Jun 24th, 2007, 03:19 PM
#6
Re: Unable to selfregister msjro.dll
Ok, then if the user installed your app under admin credentials or not. They may not have permissions to access the Windows directory for registering files as the error list shows its not just mdac but all files.
Also, the app is currently running during the install. Probably crashed and still running in the background so the user doesnt think its running and tries to install your app. Thus the errors in trying to overwrite the files in use.
Are you trying to distribute Access as in the program itself?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 24th, 2007, 04:04 PM
#7
Thread Starter
New Member
Re: Unable to selfregister msjro.dll
I assume that the installation is done under admin credentials because he who has done it is responsible for the server and other dll:s is registered OK.
I agree that another application must be running and using these DLL:s because the installation log says that they are in use. Unfortunatly I get the answer that no other application is running.
The Access databases is not distributed in this installation. They are already there. The actual app should only collect data from two Access databases and update the third.
Thanks
//Ulf
-
Jun 24th, 2007, 04:32 PM
#8
Re: Unable to selfregister msjro.dll
Ask the user to look in the task manager to see if the exe can be located under the running processes tab. If its found then its running and can be terminated from there.
Does their databases have any login credientals or different versions then what you tested on? Can you get a copy of theirs for testing to see if you can connect to it on your system? Are their databases the same version as your test ones?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 24th, 2007, 05:53 PM
#9
Thread Starter
New Member
Re: Unable to selfregister msjro.dll
I has assumed that he knows what he is doing. For me it would be the natural place to look in but I shall ask him tomorrow.
There are no login credentials to the databases and they are both Access 97 databases, same as in the test environment.
My problem is that my client has outsourced it to a bigger IT-company and they have several clients running applications on that server. My suggestion is still that they install the application when they had the server down for maintenance and before they allow the users to login.
A workaround would be for me to make a new package and install tje msjro.dll in the apps path because then no other application would be using it.
Thanks very much for yor help
//Ulf
-
Jun 24th, 2007, 08:10 PM
#10
Re: Unable to selfregister msjro.dll
You should not be distributing the msjro (Microsoft Jet and Replication Objects Library) file because its part of Access and is illegal to distribute.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 25th, 2007, 02:30 AM
#11
Thread Starter
New Member
Re: Unable to selfregister msjro.dll
MSJRO.DLL is also a part of VB6 Enterprise edition and is legal to distribute together with applications developed in a licensed copy of VB6EE.
-
Jun 25th, 2007, 03:33 AM
#12
Re: Unable to selfregister msjro.dll
If you are not distributing MDAC (as mentioned earlier) then you can not distribute it by itself. Either rely upon Access being installed or distributre the latest MDAC and install under an admin account while no other processes/users are using he files.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 25th, 2007, 04:00 AM
#13
Thread Starter
New Member
Re: Unable to selfregister msjro.dll
They are running two access applications today (at least). That I know because my application should transfer data between these databases. MDAC should be installed.
-
Jun 25th, 2007, 04:05 AM
#14
Re: Unable to selfregister msjro.dll
Well "should be" is an assumption that should be confirmed. Download the Component Checker utility from MS to determine what version of MDAC is installed.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 25th, 2007, 04:46 AM
#15
Thread Starter
New Member
Re: Unable to selfregister msjro.dll
I have no access to the server and no possibility to check anything I'm sorry. it should be an advantege if I had.
The latest agreement is that they will shut down the server this evening and perform a new installation when only admin is logged on. That is what I wanted the whole time.
Thanks
//Ulf
-
Jun 25th, 2007, 11:06 PM
#16
Re: Unable to selfregister msjro.dll
Its usually the way things go. Network admins dont want to listen until they have exhausted their possibilities and then they say "ok we will try it your way".
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 26th, 2007, 04:26 AM
#17
Thread Starter
New Member
Re: Unable to selfregister msjro.dll
I agree with you 100% because this morning I received a message that the installation failed again. The server was not restarted before the installation because it was restarted saturday morning. What do I say??
-
Jun 26th, 2007, 04:31 AM
#18
Re: Unable to selfregister msjro.dll
What is the Server OS? Is it running Terminal Services?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 26th, 2007, 09:38 AM
#19
Thread Starter
New Member
Re: Unable to selfregister msjro.dll
Server OS is Windows 2003 and it is not running Terminal Services
Thanks
//Ulf
-
Jun 26th, 2007, 01:24 PM
#20
Re: Unable to selfregister msjro.dll
 Originally Posted by ulfmalmros
They are running two access applications today (at least). That I know because my application should transfer data between these databases. MDAC should be installed.
Yes, but not the version you need... BTW, I believe you need the SP for Jet Replication installed along with the MDAC. I would say MDAC 2.0.
-
Jun 26th, 2007, 02:27 PM
#21
Re: Unable to selfregister msjro.dll
Since its server 2003 it should have SP-2 and also have MDAC 2.8 on it.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 26th, 2007, 02:29 PM
#22
Re: Unable to selfregister msjro.dll
But it will still not have what he needs...
-
Jun 26th, 2007, 02:35 PM
#23
Re: Unable to selfregister msjro.dll
Well he needs 2.8 that comes with the Server 2003 OS install as 2.8 SP-1 and any other previous version of MDAC is not installable on Server 2003.
http://msdn2.microsoft.com/en-us/library/ms810805.aspx
So trying to install a component of it will also fail.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 27th, 2007, 03:05 AM
#24
Thread Starter
New Member
Re: Unable to selfregister msjro.dll
Thanks for the information. I had a discussion with the server admin about the possibilities to install the new MDAC version. He says that it will be done as soon as the server is brought down for maintenance.
While waiting I have installed the application on a client (XP) that can open the database on the server. It works as it is supposed to do.
Thank you very much for your help
//Ulf
-
Jun 27th, 2007, 03:11 AM
#25
Re: Unable to selfregister msjro.dll
-
Jun 27th, 2007, 04:57 AM
#26
Thread Starter
New Member
Re: Unable to selfregister msjro.dll
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|