Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Urgent SQLDMO Version Problem
I have a .Net app that uses SQLDMO to backup and restore databases for SQL
Server 2000. The SQLDMO from my development machine is distributed with the
application and is in the application directory, since the dll does not
register using regsvr32 how will the app locate the DLL? For example I
installed the app on a machine that has MSDE 7 on it and my app uses that dl
l
instead of the one that it is suppose to use which in turn causes problems
because Ver 7 of the dll does not work with SQL 8 i.e. 2000. How can I get
this dll registered properly?

Report this thread to moderator Post Follow-up to this message
Old Post
Lee
03-21-06 04:30 PM


Re: Urgent SQLDMO Version Problem
hi,
Lee  wrote:
> I have a .Net app that uses SQLDMO to backup and restore databases
> for SQL Server 2000. The SQLDMO from my development machine is
> distributed with the application and is in the application directory,
> since the dll does not register using regsvr32 how will the app
> locate the DLL? For example I installed the app on a machine that has
> MSDE 7 on it and my app uses that dll instead of the one that it is
> suppose to use which in turn causes problems because Ver 7 of the dll
> does not work with SQL 8 i.e. 2000. How can I get this dll registered
> properly?

what do you mean by
> since the dll does not register using regsvr32 how will the app
> locate the DLL?
traditionally every application has to locally load DMO components.. and
yes, SQL-DMO v7 can not connect to SQL Server 2000

you can install this components via the Setup CD of Microsoft SQL Server
2000, and are the objects listed as:
;SQL Server service pack 4 SQL-DMO object has been compiled with the newest
Microsoft Visual C++ runtime linked library, msvcr71.dll that must be
redistributed as well;
.. \WINDOWS\SYSTEM\msvc
r71.dll DestDir: WinSys ; sharedfile
; not licensed by redist.txt but available after installation of MDAC2.6
.. \WINDOWS\SYSTEM\odbc
bcp.dll; DestDir: WinSys ; sharedfile
; not licensed by redist.txt but available after installation of MDAC2.6
.. \WINDOWS\SYSTEM\sqlw
oa.dll ; DestDir: WinSys
; not licensed by redist.txt but available after installation of MDAC2.6
.. \WINDOWS\SYSTEM\sqlw
id.dll ; DestDir: WinSys
.. \Programmi\Microsoft
 SQL  Server\80\Tools\Binn
\w95scm.dll; DestDir:
 DestinationFolder\Bi
nn
.. \WINDOWS\SYSTEM\sqlu
nirl.dll ; DestDir: WinSys
.. \Programmi\Microsoft
 SQL  Server\80\Tools\Binn
\sqlresld.dll; DestDir:
 DestinationFolder\Bi
nn
.. \Programmi\Microsoft
 SQL  Server\80\Tools\Binn
\sqlsvc.dll; DestDir:
 DestinationFolder\Bi
nn
; not licensed by redist.txt but available after installation of MDAC2.6
.. \Programmi\Microsoft
 SQL  Server\80\Tools\Binn
 \Resources\1033\sqls
vc.RLL;
DestDir:  DestinationFolder\Bi
nn\Resources\1033
; not licensed by redist.txt but available after installation of MDAC2.6
.. \Programmi\Microsoft
 SQL  Server\80\Tools\Binn
 \Resources\1033\Sqld
mo.rll;
DestDir:  DestinationFolder\Bi
nn\Resources\1033
.. \Programmi\Microsoft
 SQL  Server\80\Tools\Binn
\sqldmo.dll; DestDir:
 DestinationFolder\Bi
nn ; file to be registered via regserver

DestinationFolder can either be the installation directory of one instance
of Microsoft SqlServer 2000, like ..\Program Files\Microsoft SQL
Server\80\Tools, even if no istance of SQL Server has been installed, or the
installation directory you app, but the first one is recommended. Please do
respect the hierarchy  \Binn\Resources\1033
 (where 1033 specifies the
language), where needed, in order to grant correct functionality of
Ole-Automation objects.

In order to install SQL-DMO components for MSDE 2000, Microsoft Internet
Explorer 5.5 or higher is required.
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtm        http://italy.mvps.org
DbaMgr2k ver 0.18.0  -  DbaMgr ver 0.62.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
--------- remove DMO to reply



Report this thread to moderator Post Follow-up to this message
Old Post
Andrea Montanari
03-22-06 12:31 PM


Re: Urgent SQLDMO Version Problem
The answer lies in KB326613 which I applied successfully. However I believe
since the customer's machine was windows 2000 that the regsvr32 app on that
machine perhaps was outdated and could not register SQLDMO properly. Don't
really know but it still want register it. Thanks goodness the installed
package created by VB worked.

Report this thread to moderator Post Follow-up to this message
Old Post
Lee
03-22-06 02:29 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server Tools archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 10:34 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006