Showing posts with label registry. Show all posts
Showing posts with label registry. Show all posts

Wednesday, March 28, 2012

MSDE SP3a on a Server with SQL Server 2000 SP4

A few questions here.
1. I have noticed a problem when MSDE SP3a is installed on a server with SQL
Server SP4. The Registry key value SQLPath at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL
Server\80\Tools\ClientSetup loses the last character and that makes the path
to osql, invalid when executing a post replication script. It also breaks
accessing Query Analyzer and SQL Profiler from Enterprise manager among other
problems I'm sure. Is this a known problem? I can't seem to find any
reference to it anywhere in the KB, although that doesn't mean too much.
2. With the problem in question 1, is installing MSDE SP3a on a server with
SQL Server SP4 a supported thing to do? If not, is an installation program
supposed to deliver multiple versions of MSDE and decide at install time
which version is needed for the server in question? This poses a problem if
one releases software with the MSDE SP3a redist and a new service pack for
SQL Server/MSDE is release after. From what I can tell Microsoft doesn't
really handle this, i.e. Windows SharePoint Services comes with a version of
MSDE SP3a and I haven't seen an update to include MSDE SP4 yet.
3. Again following the previous questions, is it ok to install MSDE SP4 on
servers that have SQL Server 2000 SP2 or SP3a?
Thanks in advance for your time to answer my questions.
Paul
hi Paul,
Paul Degneau wrote:
> A few questions here.
> 1. I have noticed a problem when MSDE SP3a is installed on a server
> with SQL Server SP4. The Registry key value SQLPath at
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL
> Server\80\Tools\ClientSetup loses the last character and that makes
> the path to osql, invalid when executing a post replication script.
> It also breaks accessing Query Analyzer and SQL Profiler from
> Enterprise manager among other problems I'm sure. Is this a known
> problem? I can't seem to find any reference to it anywhere in the
> KB, although that doesn't mean too much.
I've reproduced your reported feedback on a Win2003 standard VMWare virtual
machine, updated at Windows update today fixes but Win2003 sp1...
after installing a default instance of SQL Server 2000 Dev Edition and
upgrading it to sp4 I've the reported registry entry..
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\80\Tools\ClientSetup
SQLPath = C:\Program Files\Microsoft SQL Server\80\Tools
installing MSDE sp3 from the
http://www.microsoft.com/sql/downloads/2000/sp3.asp package resulted in the
reported behavior, truncating the SQLPath key to C:\Program Files\Microsoft
SQL Server\80\Tool (without "s") and of course inhibiting the call from
Enterprise Manager to launch QA and Profiler..
running oSql.exe from the command line works as expected... can not
understand the
>and that makes the path to osql,
>invalid when executing a post replication script.
but if the registry key is inspected to run oSql, of course it will fail...
just to test, I fixed the registry entry and installed MSDE from the MSDE
Release A package, http://www.microsoft.com/sql/msde/do.../download.asp,
with the very same result
as additional side note, unistalling the MSDE sp3 instance (that from
http://www.microsoft.com/sql/downloads/2000/sp3.asp package) cleared the
"Startup" folder from the "SQL Server Service Manager" link
I'll pass this "feature" to Microsoft support..

> 2. With the problem in question 1, is installing MSDE SP3a on a
> server with SQL Server SP4 a supported thing to do? If not, is an
> installation program supposed to deliver multiple versions of MSDE
> and decide at install time which version is needed for the server in
> question? This poses a problem if one releases software with the
> MSDE SP3a redist and a new service pack for SQL Server/MSDE is
> release after. From what I can tell Microsoft doesn't really handle
> this, i.e. Windows SharePoint Services comes with a version of MSDE
> SP3a and I haven't seen an update to include MSDE SP4 yet.
AFAIK, an updated version of MSDE Release A updated at service pack 4 has
been promised, but I've no idea about the time frame... about Share Point
WMSDE I do not really know... WMSDE is a specialised version of MSDE and I
expect an updated version will be available... but that's my opinion..
no refresh of SQL Server installation package has been publicised.. you have
to go from the standard path.. install the RTM version and then (manually)
install the desired service pack level (sp3 is the supported SQL Server 2000
version on Win2003 platform)
as regard MSDE, the currently available packages do not (for sure) grant you
a way to decide at run time the service pack level to be installed.. if you
choose sp4 there you are, the same for sp3...

> 3. Again following the previous questions, is it ok to install MSDE
> SP4 on servers that have SQL Server 2000 SP2 or SP3a?
>
actually it should be safe, but consider that installing sp4 updates all
shared bins (those in \Program Files\Microsoft SQL Server\80 folder) to it's
service pack level, but MSDE does not include the full set of tools and bin
but a bunch of them like osql, bcp, svrnecn.exe, SQL-DMO components... a
little mix will be the result
on non Win2003/WinXP systems it will additionaly upgrade MDAC stack to
2.8sp1 (that from WinXP sp2), but this is another story...
but I do think, at the end of all this, that it has been tested
I'll foward the registry stuff ...
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.12.0 - DbaMgr ver 0.58.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply

Friday, March 9, 2012

MSDE installation failure

Like a lot of other people I am having problems installing MSDE2000 on
W2k3 server. I have edited the registry by dleting instnace of SQL,
deleted program File listing of SQL, etc. I ran install with following
command:
c:\sql2ksp3\msde\Setup.exe SAPWD=Whois2005 /L*v C:\MSDELog.log
INSTANCENAME=ASTRO DISABLENETWORKPROTOCOLS=0 diablerollback=1
Below is the final error in cnfgsvr.out:
Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
and the return value 3 errors in MSDELog.log (3 total errors):
Starting custom action ConfigServer
Executing "c:\Program Files\Microsoft SQL
Server\80\Tools\Binn\cnfgsvr.exe -V 1 -M 1 -U sa -I "ASTRO" -Q
"SQL_Latin1_General_CP1_CI_AS""
MSI (c) (F8:44) [10:44:04:515]: Font created. Charset: Req=0, Ret=0,
Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
1) Setup failed to configure the server. Refer to the server error logs
and setup error logs for more information.
MSI (s) (20!DC) [10:44:07:000]: Product: Microsoft SQL Server Desktop
Engine -- Setup failed to configure the server. Refer to the server
error logs and setup error logs for more information.
Action ended 10:44:07: InstallFinalize. Return value 3.
2) Start custom action DeferProperties
Defer Properties returns: 0
MSI (s) (20:30) [10:44:17:406]: Executing op:
End(Checksum=0,ProgressTotalHDWord=0,ProgressTotal LDWord=0)
MSI (s) (20:30) [10:44:17:406]: Error in rollback skipped.Return: 5
MSI (s) (20:30) [10:44:17:406]: No System Restore sequence number for
this installation.
MSI (s) (20:30) [10:44:17:406]: Unlocking Server
MSI (s) (20:30) [10:44:17:406]: PROPERTY CHANGE: Deleting UpdateStarted
property. Its current value is '1'.
Action ended 10:44:17: INSTALL. Return value 3.
3) MSI (s) (20:30) [10:44:17:625]: MainEngineThread is returning 1603
MSI (s) (20:CC) [10:44:17:625]: Destroying RemoteAPI object.
MSI (s) (20:AC) [10:44:17:625]: Custom Action Manager thread ending.
MSI (c) (F8:54) [10:44:17:656]: Back from server. Return value: 1603
MSI (c) (F8:54) [10:44:17:656]: Decrementing counter to disable
shutdown. If counter >= 0, shutdown will be denied. Counter after
decrement: -1
Action ended 10:44:17: INSTALL. Return value 3.
If you need the full logs I can post them as well. This all came about
by uninstalling Veritas (to move it from the C drive to F drive)
because of upcoming space constraints. The C drive at present has 948MB
of free space. The Veritas MSDE install fails as well.
hi,
Astro wrote:
> 1) Setup failed to configure the server. Refer to the server error
> logs and setup error logs for more information.
this exception is usually related to a dirty situation, where the system has
not been properly cleaned from previous MSDE installation(s)
http://support.microsoft.com/default...99&Product=sql
it has been sometime reported to be related with MDAC problems.. try
repairing it like
first, locate the mdac.inf file in c:\windows\inf right click and install
when prompted for a location, point to c:\windows\servicepackfiles\i386 then
when prompted for the os CD load it..
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.14.0 - DbaMgr ver 0.59.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
|||Andrew,
I have tried that. I have deleted program folders and run through the
removal of MSDE manually in the registry (KB816499) and the
installation described above still fails. I have reinstalled MDAC as
you proposed to no avail. Is there any thing else I can try. I will be
on site at 3pm CST USA. Would loading the SBS 2003 SQL client tools be
of any use? I am at wits end.
|||hi,
Astro wrote:
> Andrew,
> I have tried that. I have deleted program folders and run through the
> removal of MSDE manually in the registry (KB816499) and the
> installation described above still fails. I have reinstalled MDAC as
> you proposed to no avail. Is there any thing else I can try.
actually not, AFAIK...

>I will be
> on site at 3pm CST USA. Would loading the SBS 2003 SQL client tools be
> of any use? I am at wits end.
you are not legitimated to use SQL Server Client Tools for MSDE use in
production servers... and installing them has nothing to deal with the
server installation...
are you sure you properly cleaned the file system and the registry?
try perhaps installing MSDE from the service pack 4 package,
http://www.microsoft.com/sql/downloads/2000/sp4.mspx ... this package
includes the MDAC stack at 2.8 sp2 level..
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.14.0 - DbaMgr ver 0.59.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply

Saturday, February 25, 2012

MSDE in registry ?

Hello. I have the question.
Now i am writing the tool that clear my instance registry values if
install of msde failed.
How to determine is any msde instance installed ?
Is it enough to know that in
HKLM\software\microsoft\microsoft sql server\component set
is exist {productcode} and in
HKLM\software\microsoft\microsoft sql server\my instance\setup
is exist productcode field with {productcode} value ?.This might be helpful:
http://support.microsoft.com/kb/290991/en-us
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Alexander" <alt7@.douweb.org> wrote in message
news:1147973979.884581.6850@.y43g2000cwc.googlegroups.com...
> Hello. I have the question.
> Now i am writing the tool that clear my instance registry values if
> install of msde failed.
> How to determine is any msde instance installed ?
> Is it enough to know that in
> HKLM\software\microsoft\microsoft sql server\component set
> is exist {productcode} and in
> HKLM\software\microsoft\microsoft sql server\my instance\setup
> is exist productcode field with {productcode} value ?.
>

MSDE in registry ?

Hello. I have the question.
Now i am writing the tool that clear my instance registry values if
install of msde failed.
How to determine is any msde instance installed ?
Is it enough to know that in
HKLM\software\microsoft\microsoft sql server\component set
is exist {productcode} and in
HKLM\software\microsoft\microsoft sql server\my instance\setup
is exist productcode field with {productcode} value ?.This might be helpful:
http://support.microsoft.com/kb/290991/en-us
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Alexander" <alt7@.douweb.org> wrote in message
news:1147973979.884581.6850@.y43g2000cwc.googlegroups.com...
> Hello. I have the question.
> Now i am writing the tool that clear my instance registry values if
> install of msde failed.
> How to determine is any msde instance installed ?
> Is it enough to know that in
> HKLM\software\microsoft\microsoft sql server\component set
> is exist {productcode} and in
> HKLM\software\microsoft\microsoft sql server\my instance\setup
> is exist productcode field with {productcode} value ?.
>