Showing posts with label machine. Show all posts
Showing posts with label machine. Show all posts

Tuesday, March 27, 2012

Cannot remotely login to SQL Express since last windows update

Since today (after installing the latest Windows Updates !on my local machine!) I cannot login to a SQLExpress instance remotely; stating that it cannot find the server/instance.

The weird thing is: it only happens when I want to login to the non-default instance (sqlexpress 2005) (<IP>\<instance>).

When i'm using the default instance (msde 2000 or sqlexpress 2005 on another machine) (<IP>) it seems to work fine.

Does this have something to do with the windows updates, or is it just a coincedence?

Thanks in advance,

Remco RosThis is probably due to the update changed your setting. Just check your firewall on the server and put sqlbrowser.exe or UDP port 1434 to exception. Also make sure your sqlbrowser is running.|||we didn't install the updates on the server (yet) only on the client, so it must be a client thing.

Server:
Win 2003 / SQL Express 2005
Tcp/ip / named pipes: yes
sqlbrowser running
firewall exception on 1434udp 1433tcp.

tested on these client(s):
Local (without latest updates): CAN connect
XP Home with SQL Server Management studio (with lates windows updates): CANNOT connect
XP Pro with SQL Server Management studio Express (with lates windows updates): CANNOT connect
Win 2003 with SQL Server Management studio Express

(WITHOUT lates windows updates): CAN connect.

I see a pattern here...|||Are you sure your SQL Express listens on TCP port 1433 since your put 1433 in exception? What's the result if you run "telnet yourserver sql_tcp_port"? Can it connect? Could it be possible that IPSEC blocked the traffic between the problem machine if the IPSEC is on?

Cannot REinstall SQL2000 SP3 After Install MSAS

My development machine has win 2000 SP4, SQL server dev 2000 with SP3
and vs2003 etc. I installed Analysis services on my dev machine but
MSAS does not work (try to browse FoodMart2000 any cube gives error
"Unable to browse the cube 'Budget' Unspecified Error" ). Found an
article said to fix MSAS by reinstalling SQL2000 SP3. On another
machine, I re-installed Sp3 after MSAS then MSAS worked. Here is the
error from my Dev machine SP3 reinstall. I uninstalled MSAS,
reinstalled MSAS then tried SQL2000SP3 but still get the same error.
Any IDeas?
MSSQLSERVER has a newer version of Service pack installed. Setup will
now exit.
@.@.VERSION from machine that will not let me re-install SQL2000 SP3.
Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Developer Edition on Windows NT 5.0 (Build 2195: Service Pack 4)
Hi,
First install SQL server without SP,
then install AS without SP,
Install SQL server SP3,
Install AS SP3
Funny, but will work
Regards,
Daniel
<abefuzzleduser2@.yahoo.com> wrote in message
news:1106922902.619763.105470@.c13g2000cwb.googlegr oups.com...
> My development machine has win 2000 SP4, SQL server dev 2000 with SP3
> and vs2003 etc. I installed Analysis services on my dev machine but
> MSAS does not work (try to browse FoodMart2000 any cube gives error
> "Unable to browse the cube 'Budget' Unspecified Error" ). Found an
> article said to fix MSAS by reinstalling SQL2000 SP3. On another
> machine, I re-installed Sp3 after MSAS then MSAS worked. Here is the
> error from my Dev machine SP3 reinstall. I uninstalled MSAS,
> reinstalled MSAS then tried SQL2000SP3 but still get the same error.
> Any IDeas?
> MSSQLSERVER has a newer version of Service pack installed. Setup will
> now exit.
> @.@.VERSION from machine that will not let me re-install SQL2000 SP3.
> Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
> Dec 17 2002 14:22:05
> Copyright (c) 1988-2003 Microsoft Corporation
> Developer Edition on Windows NT 5.0 (Build 2195: Service Pack 4)
>
|||Thanks Daniel,
That is what I was afraid of, since there is no easy way to roll back
SP3.
I will work on reinstallation.
Paul
sql

Cannot REinstall SQL2000 SP3 After Install MSAS

My development machine has win 2000 SP4, SQL server dev 2000 with SP3
and vs2003 etc. I installed Analysis services on my dev machine but
MSAS does not work (try to browse FoodMart2000 any cube gives error
"Unable to browse the cube 'Budget' Unspecified Error" ). Found an
article said to fix MSAS by reinstalling SQL2000 SP3. On another
machine, I re-installed Sp3 after MSAS then MSAS worked. Here is the
error from my Dev machine SP3 reinstall. I uninstalled MSAS,
reinstalled MSAS then tried SQL2000SP3 but still get the same error.
Any IDeas?
MSSQLSERVER has a newer version of Service pack installed. Setup will
now exit.
@.@.VERSION from machine that will not let me re-install SQL2000 SP3.
Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Developer Edition on Windows NT 5.0 (Build 2195: Service Pack 4)Hi,
First install SQL server without SP,
then install AS without SP,
Install SQL server SP3,
Install AS SP3
Funny, but will work
Regards,
Daniel
<abefuzzleduser2@.yahoo.com> wrote in message
news:1106922902.619763.105470@.c13g2000cwb.googlegroups.com...
> My development machine has win 2000 SP4, SQL server dev 2000 with SP3
> and vs2003 etc. I installed Analysis services on my dev machine but
> MSAS does not work (try to browse FoodMart2000 any cube gives error
> "Unable to browse the cube 'Budget' Unspecified Error" ). Found an
> article said to fix MSAS by reinstalling SQL2000 SP3. On another
> machine, I re-installed Sp3 after MSAS then MSAS worked. Here is the
> error from my Dev machine SP3 reinstall. I uninstalled MSAS,
> reinstalled MSAS then tried SQL2000SP3 but still get the same error.
> Any IDeas?
> MSSQLSERVER has a newer version of Service pack installed. Setup will
> now exit.
> @.@.VERSION from machine that will not let me re-install SQL2000 SP3.
> Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
> Dec 17 2002 14:22:05
> Copyright (c) 1988-2003 Microsoft Corporation
> Developer Edition on Windows NT 5.0 (Build 2195: Service Pack 4)
>|||Thanks Daniel,
That is what I was afraid of, since there is no easy way to roll back
SP3.
I will work on reinstallation.
Paul

Cannot REinstall SQL2000 SP3 After Install MSAS

My development machine has win 2000 SP4, SQL server dev 2000 with SP3
and vs2003 etc. I installed Analysis services on my dev machine but
MSAS does not work (try to browse FoodMart2000 any cube gives error
"Unable to browse the cube 'Budget' Unspecified Error" ). Found an
article said to fix MSAS by reinstalling SQL2000 SP3. On another
machine, I re-installed Sp3 after MSAS then MSAS worked. Here is the
error from my Dev machine SP3 reinstall. I uninstalled MSAS,
reinstalled MSAS then tried SQL2000SP3 but still get the same error.
Any IDeas?
MSSQLSERVER has a newer version of Service pack installed. Setup will
now exit.
@.@.VERSION from machine that will not let me re-install SQL2000 SP3.
Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Developer Edition on Windows NT 5.0 (Build 2195: Service Pack 4)Hi,
First install SQL server without SP,
then install AS without SP,
Install SQL server SP3,
Install AS SP3
Funny, but will work
Regards,
Daniel
<abefuzzleduser2@.yahoo.com> wrote in message
news:1106922902.619763.105470@.c13g2000cwb.googlegroups.com...
> My development machine has win 2000 SP4, SQL server dev 2000 with SP3
> and vs2003 etc. I installed Analysis services on my dev machine but
> MSAS does not work (try to browse FoodMart2000 any cube gives error
> "Unable to browse the cube 'Budget' Unspecified Error" ). Found an
> article said to fix MSAS by reinstalling SQL2000 SP3. On another
> machine, I re-installed Sp3 after MSAS then MSAS worked. Here is the
> error from my Dev machine SP3 reinstall. I uninstalled MSAS,
> reinstalled MSAS then tried SQL2000SP3 but still get the same error.
> Any IDeas?
> MSSQLSERVER has a newer version of Service pack installed. Setup will
> now exit.
> @.@.VERSION from machine that will not let me re-install SQL2000 SP3.
> Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
> Dec 17 2002 14:22:05
> Copyright (c) 1988-2003 Microsoft Corporation
> Developer Edition on Windows NT 5.0 (Build 2195: Service Pack 4)
>|||Thanks Daniel,
That is what I was afraid of, since there is no easy way to roll back
SP3.
I will work on reinstallation.
Paul

Cannot reinstall MSDE on XP after uninstall it

I have trouble reinstalling MSDE 2000 on a XP machine after uninstalled it. I
did apply SP3a to the previous install of MSDE 2000 on the same XP machine.
Some of the component in an application did not work well so I had to
uninstall the MSDE 2000 SP3a completely. I removed all folders and even
registry entries. I kept getting this message, "Setup failed to configure the
server. Refer to the server error logs and setup logs for more information".
Unfortunately, those error and setup logs were useless. So, I used the /L*v
parameter to generate the setup log but it did not pinpoint why it failed. It
always fail at the last 4 seconds install period.
I ran the same setup on another XP machine. After uninstalled MSDE, removed
folders and registry entries, I was able to reinstall MSDE 2000 again.
Any help will be greatly appreciated.
Thank you.
KC
Here's a Knowledge Base article with instructions on how to manually
uninstall MSDE 2000.
http://support.microsoft.com/default...b;en-us;320873
Good luck,
Tony Sebion
"KC" <KC@.discussions.microsoft.com> wrote in message
news:F3C2F678-813C-46EA-A216-9469F13777C3@.microsoft.com:

> I have trouble reinstalling MSDE 2000 on a XP machine after uninstalled it. I
> did apply SP3a to the previous install of MSDE 2000 on the same XP machine.
> Some of the component in an application did not work well so I had to
> uninstall the MSDE 2000 SP3a completely. I removed all folders and even
> registry entries. I kept getting this message, "Setup failed to configure the
> server. Refer to the server error logs and setup logs for more information".
> Unfortunately, those error and setup logs were useless. So, I used the /L*v
> parameter to generate the setup log but it did not pinpoint why it failed. It
> always fail at the last 4 seconds install period.
> I ran the same setup on another XP machine. After uninstalled MSDE, removed
> folders and registry entries, I was able to reinstall MSDE 2000 again.
> Any help will be greatly appreciated.
> Thank you.
> KC
|||Thank you for the reply. First, I looked for those registry entries mentioned
in the article. None of them exists. So, I installed Windows Support Tools
for XP on the machine, ran the msizap with GUID, it found nothing.
The setup still fails with the same error message. What's next?
Thank you for the article though.
"Tony Sebion" wrote:

> Here's a Knowledge Base article with instructions on how to manually
> uninstall MSDE 2000.
> http://support.microsoft.com/default...b;en-us;320873
>
> Good luck,
> Tony Sebion
>
> "KC" <KC@.discussions.microsoft.com> wrote in message
> news:F3C2F678-813C-46EA-A216-9469F13777C3@.microsoft.com:
>
>
|||hi
KC wrote:
> Thank you for the reply. First, I looked for those registry entries
> mentioned in the article. None of them exists. So, I installed
> Windows Support Tools for XP on the machine, ran the msizap with
> GUID, it found nothing.
> The setup still fails with the same error message. What's next?
>
sometimes this is due to MDAC mess, so you have to fix it...
you can try reinstalling the used MDAC stack and, in case of WinXP sp2, fix
it as described in http://www.macropool.com/en/download/mdac_xp_sp2.html
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.15.0 - DbaMgr ver 0.60.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
|||KC wrote:
> I have trouble reinstalling MSDE 2000 on a XP machine after uninstalled it. I
> did apply SP3a to the previous install of MSDE 2000 on the same XP machine.
> Some of the component in an application did not work well so I had to
> uninstall the MSDE 2000 SP3a completely. I removed all folders and even
> registry entries. I kept getting this message, "Setup failed to configure the
> server. Refer to the server error logs and setup logs for more information".
> Unfortunately, those error and setup logs were useless. So, I used the /L*v
> parameter to generate the setup log but it did not pinpoint why it failed. It
> always fail at the last 4 seconds install period.
> I ran the same setup on another XP machine. After uninstalled MSDE, removed
> folders and registry entries, I was able to reinstall MSDE 2000 again.
> Any help will be greatly appreciated.
> Thank you.
> KC
Hi,
A had the same problem. I found that there isn't uninstalled
MSSQLServerADHelper service. I searched in registry and deletet
(almost;-) everything which contained MSSQL. That works (at least at my
PC). Maybe it'll work at yours too.
ukasz
|||Okay...Finally, I got it to reinstall after many tries. Thank you all for
your helps. First, MDAC was messed up. It was sqlsrv32.dll. Because I
upgraded my initial MSDE installed to SP3a, that DLL file got upgraded. I
replaced that DLL file from a good known XP machine. Then, re-registered all
MDAC using MDAC Repair Util. That didn't work. Later, I found out that there
were three DLLs missing from the System32 folder: sqlsrv32.rll, SQLWID.DLL &
SQLWOA.DLL. I copied them from a known good XP machine. Reinstalled MDAC 2.8
completely. After that, it installed just fine...Thank you.
"Andrea Montanari" wrote:

> hi
> KC wrote:
> sometimes this is due to MDAC mess, so you have to fix it...
> you can try reinstalling the used MDAC stack and, in case of WinXP sp2, fix
> it as described in http://www.macropool.com/en/download/mdac_xp_sp2.html
> --
> Andrea Montanari (Microsoft MVP - SQL Server)
> http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
> DbaMgr2k ver 0.15.0 - DbaMgr ver 0.60.0
> (my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
> interface)
> -- remove DMO to reply
>
>

Cannot Register the server

I've installed an Instance of MSDE on a Win2k Machine and and WinXP Machine.
I'm able to register the Instances locally through EM (v.8.0), but when I
try to register them from a different PC with EM on it, I get the following
error.
SQL Server does not exist or access is denied. ConnectionOpen (Connect()
Is MSDE limited to local Enterprise Management?
Wack
This message will self destruct.
hi Ray,
Ray Lewis wrote:
> I've installed an Instance of MSDE on a Win2k Machine and and WinXP
> Machine. I'm able to register the Instances locally through EM
> (v.8.0), but when I try to register them from a different PC with EM
> on it, I get the following error.
> SQL Server does not exist or access is denied. ConnectionOpen
> (Connect()
> Is MSDE limited to local Enterprise Management?
please verify the network protocols are enabled via Server Network Utility
(svrnetcn.exe)...
MSDE installs by default disabling network protocols in order to prevent
external connections/attacks... you have to provide the
DISABLENETWORKPROTOCOLS=0
parameter at install time in order to force network protocols to be enable,
or, later afte install, use svrnetcn.exe to enable and configure the desired
protocol
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.10.0 - DbaMgr ver 0.56.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
|||Thanks. I finally discovered that. Also, on XP SP2, you need to allow port
1433 through the firewall.
Wack
This message will self destruct.
"Andrea Montanari" <andrea.sqlDMO@.virgilio.it> wrote in message
news:38p2mrF5riea7U1@.individual.net...
> hi Ray,
> Ray Lewis wrote:
> please verify the network protocols are enabled via Server Network Utility
> (svrnetcn.exe)...
> MSDE installs by default disabling network protocols in order to prevent
> external connections/attacks... you have to provide the
> DISABLENETWORKPROTOCOLS=0
> parameter at install time in order to force network protocols to be
enable,
> or, later afte install, use svrnetcn.exe to enable and configure the
desired
> protocol
> --
> Andrea Montanari (Microsoft MVP - SQL Server)
> http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
> DbaMgr2k ver 0.10.0 - DbaMgr ver 0.56.0
> (my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
> interface)
> -- remove DMO to reply
>

Cannot Register Sql Server Database

We have SQL Server installed on a Windows 2000 server machine. I have a cop
y of Sql Server Personal Addition - Client tools on my computer. When I ope
n the SQL Server Enterprise manager and try perform an New SQL Server Regist
ration, I get the following
error: Login Failed for user '(null)'. Reason: Not associated with a truste
d SQL Server Connection. I am using windows authentication.
I am able to connect to other sql server databases on other servers.
I also cannot connect to the server via ODBC. I get the error: Unable to lo
cate database server. Verify that the database server name you entered is c
orrect.
I am running microsoft XP / Microsoft SQL Server 2000 service pack 3a is on
the server.Hi,
Are you using Domain user id to login to your machine, if yes then check the
SQL server that you have given access to sql server.
How to check.
In Enterprise Manager, Security option, Check wheather ur login is there
with reqired previlages.
Thanks
Hari
MCDBA
"Allan Latts" <alatts@.yaoo.com> wrote in message
news:B571755C-B3AA-4ED1-94D9-FE11B0B8EE3E@.microsoft.com...
> We have SQL Server installed on a Windows 2000 server machine. I have a
copy of Sql Server Personal Addition - Client tools on my computer. When I
open the SQL Server Enterprise manager and try perform an New SQL Server
Registration, I get the following error: Login Failed for user '(null)'.
Reason: Not associated with a trusted SQL Server Connection. I am using
windows authentication.
> I am able to connect to other sql server databases on other servers.
> I also cannot connect to the server via ODBC. I get the error: Unable to
locate database server. Verify that the database server name you entered is
correct.
> I am running microsoft XP / Microsoft SQL Server 2000 service pack 3a is
on the server.

Cannot Register Remote Server

Dear all,
I've installed SQL2005 on my local machine. And there is another SERVER whic
h has install both SQL2000 and SQL2005. I can use my local Management Studio
to register the SERVER\SQL2000 instance but I cannot register SERVER\SQL200
5 instance.
How can I register and connect to the SERVER\SQL2005 server?
The SERVER\SQL2005 has been configured to enable the protocols of shared mem
ory, namepipe and tcpip already.
The SERVER has installed SQL2000 first and then install SQL2005 server.
Thanks a lot.
Regards,
Alex AUHi Alex
Can you conncet to this server using SQLCMD? If not check that Remote
Connections have been set in the surface area configuration tool.
John
"Alex AU" wrote:

> Dear all,
> I've installed SQL2005 on my local machine. And there is another SERVER wh
ich has install both SQL2000 and SQL2005. I can use my local Management Stud
io to register the SERVER\SQL2000 instance but I cannot register SERVER\SQL2
005 instance.
> How can I register and connect to the SERVER\SQL2005 server?
> The SERVER\SQL2005 has been configured to enable the protocols of shared m
emory, namepipe and tcpip already.
> The SERVER has installed SQL2000 first and then install SQL2005 server.
> Thanks a lot.
>
> Regards,
> Alex AU|||Alex AU wrote:
> Dear all,
> I've installed SQL2005 on my local machine. And there is another
> SERVER which has install both SQL2000 and SQL2005. I can use my local
> Management Studio to register the SERVER\SQL2000 instance but I cannot
> register SERVER\SQL2005 instance.
> How can I register and connect to the SERVER\SQL2005 server?
> The SERVER\SQL2005 has been configured to enable the protocols
> of shared memory, namepipe and tcpip already.
> The SERVER has installed SQL2000 first and then install SQL2005 server.
> Thanks a lot.
>
> Regards,
> Alex AU
Are both SQL2000 and SQL2005 installed as named instances on the server?
It could be that SQL2000 is installed as a default instance (hence you
can connect to it just with the servername) and SQL2005 is installed as
a named instance so you need to use that instance name to connect.
Regards
Steen Schlüter Persson
Databaseadministrator / Systemadministrator|||Dear John,
I've already setup the remote connections to accept namepine and tcpip conne
ction in the surface area configuration tool.
I can use ODBC to establish connection from my workstation to the SERVER\SQL
2005 but just cannot register the server in the Management Studio on my work
station.
Thanks.
Regards,
Alex AU
"John Bell" <jbellnewsposts@.hotmail.com> wrote in message news:3238D38E-5324
-49BB-A188-43078C16F3A1@.microsoft.com...
Hi Alex
Can you conncet to this server using SQLCMD? If not check that Remote
Connections have been set in the surface area configuration tool.
John
"Alex AU" wrote:

> Dear all,
>
> I've installed SQL2005 on my local machine. And there is another SERVER wh
ich has install both SQL2000 and SQL2005. I can use my local Management Stud
io to register the SERVER\SQL2000 instance but I cannot register SERVER\SQL2
005 instance.
>
> How can I register and connect to the SERVER\SQL2005 server?
>
> The SERVER\SQL2005 has been configured to enable the protocols of shared m
emory, namepipe and tcpip already.
>
> The SERVER has installed SQL2000 first and then install SQL2005 server.
>
> Thanks a lot.
>
>
>
> Regards,
>
> Alex AU|||Dear Steen,
The SQL2000 is the default instance and SQL2005 is a named instance. When I
register the SQL2005 on my workstation's Management Studio, I've already use
d the name instance to try connect but it failed.
I've already set the remote connection with namepipe and tcpip in the servic
e area configuration on the server. When I try to use ODBC on my workstation
to connect to the SERVER\SQL2005, I can successfully establish the connecti
on. I just cannot register the SERVER\SQL2005 on my workstation's management
studio.
Thanks
Regards,
Alex AU
"Steen Persson (DK)" <spe@.REMOVEdatea.dk> wrote in message news:u0NxbpJrGHA.
2256@.TK2MSFTNGP03.phx.gbl...
Alex AU wrote:
Dear all,
I've installed SQL2005 on my local machine. And there is another SERVER whic
h has install both SQL2000 and SQL2005. I can use my local Management Studio
to register the SERVER\SQL2000 instance but I cannot register SERVER\SQL200
5 instance.
How can I register and connect to the SERVER\SQL2005 server?
The SERVER\SQL2005 has been configured to enable the protocols of shared mem
ory, namepipe and tcpip already.
The SERVER has installed SQL2000 first and then install SQL2005 server.
Thanks a lot.
Regards,
Alex AU
Are both SQL2000 and SQL2005 installed as named instances on the server? It
could be that SQL2000 is installed as a default instance (hence you can conn
ect to it just with the servername) and SQL2005 is installed as a named inst
ance so you need to use that instance name to connect.
--
Regards
Steen Schlüter Persson
Databaseadministrator / Systemadministrator|||Hi Alex
And SQLCMD allows you to connect?
John
"Alex AU" wrote:

> Dear John,
> I've already setup the remote connections to accept namepine and tcpip
> connection in the surface area configuration tool.
> I can use ODBC to establish connection from my workstation to the
> SERVER\SQL2005 but just cannot register the server in the Management
> Studio on my workstation.
> Thanks.
>
> Regards,
> Alex AU
> "John Bell" <jbellnewsposts@.hotmail.com> wrote in message
> news:3238D38E-5324-49BB-A188-43078C16F3A1@.microsoft.com...
> Hi Alex
> Can you conncet to this server using SQLCMD? If not check that Remote
> Connections have been set in the surface area configuration tool.
> John
> "Alex AU" wrote:
>
> SERVER which has install both SQL2000 and SQL2005. I can use my local
> Management Studio to register the SERVER\SQL2000 instance but I cannot
> register SERVER\SQL2005 instance.
> shared memory, namepipe and tcpip already.
> server.
>|||Dear John,
I've tried sqlcmd, it also failed. The command I used and error as follow:
sqlcmd -S SERVER\SQL2005
HResult 0xFFFFFFFF, Level 16, State 1
SQL Network Interfaces: Error Locating Server/Instance Specified [xFFFFF
FFF].
Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while est
abli
shing a connection to the server. When connecting to SQL Server 2005, this f
ailu
re may be caused by the fact that under the default settings SQL Server does
not
allow remote connections..
Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
Thanks a lot.
Regards,
Alex AU
"John Bell" <jbellnewsposts@.hotmail.com> wrote in message news:342A5195-A4E1
-4477-AFDF-F592B3809BDC@.microsoft.com...
Hi Alex
And SQLCMD allows you to connect?
John
"Alex AU" wrote:

> Dear John,
>
> I've already setup the remote connections to accept namepine and tcpip
> connection in the surface area configuration tool.
>
> I can use ODBC to establish connection from my workstation to the
> SERVER\SQL2005 but just cannot register the server in the Management
> Studio on my workstation.
>
> Thanks.
>
>
>
> Regards,
>
> Alex AU
> "John Bell" <jbellnewsposts@.hotmail.com> wrote in message
> news:3238D38E-5324-49BB-A188-43078C16F3A1@.microsoft.com...
> Hi Alex
>
> Can you conncet to this server using SQLCMD? If not check that Remote
> Connections have been set in the surface area configuration tool.
>
> John
>
> "Alex AU" wrote:
>
> SERVER which has install both SQL2000 and SQL2005. I can use my local
> Management Studio to register the SERVER\SQL2000 instance but I cannot
> register SERVER\SQL2005 instance.
> shared memory, namepipe and tcpip already.
> server.
>|||Hi Alex
This is indicating that the remote connections setting are not set on the
protocols. What does the SQLServer 2005 Configuration Manager tool say (i.e.
not SAC!). Also make sure that you can resolve the server name correctly.
You may also want to look at SQLPing to to see to search for servers
http://www.sqlsecurity.com/Tools/Fr...65/Default.aspx
John
"Alex AU" wrote:

> Dear John,
> I've tried sqlcmd, it also failed. The command I used and error as follow:
> sqlcmd -S SERVER\SQL2005
> HResult 0xFFFFFFFF, Level 16, State 1
> SQL Network Interfaces: Error Locating Server/Instance Specified
> [xFFFFFFFF].
> Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while
> establi
> shing a connection to the server. When connecting to SQL Server 2005, this
> failu
> re may be caused by the fact that under the default settings SQL Server
> does not
> allow remote connections..
> Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
> Thanks a lot.
>
> Regards,
> Alex AU
> "John Bell" <jbellnewsposts@.hotmail.com> wrote in message
> news:342A5195-A4E1-4477-AFDF-F592B3809BDC@.microsoft.com...
> Hi Alex
> And SQLCMD allows you to connect?
> John
> "Alex AU" wrote:
>
> Remote
>|||Thanks John,
I've used the tools on that SERVER and I've found that the port number for S
QL2005 using is 1025. (SQL2000 use 1433).
I finally figure out what causing the connection issue, it's the firewall se
ttings. I use a Windows XP with SP2 as a server and the firewall has turned
on. It only allow SQL connection from port 1433 and that's the reason why I
cannot connect with SQL Management Studio with port 1025 (SQL2005). When I s
hut down the firewall, it works.
Sorry for the chaos that I've made. But I really appreciate for your kindly
help.
I've got one more question related to this. I've tried to add exception rule
in the XP firewall settings for port 1025, but I still cannot connect. I ca
n only connect when the firewall is off. Can anyone help with this? (or shou
ld I post in other newsgroup for this issue?)
Thanks.
Regards,
Alex AU
"John Bell" <jbellnewsposts@.hotmail.com> wrote in message news:E4A5B93E-6A03
-4406-87B6-399E4A150D02@.microsoft.com...
Hi Alex
This is indicating that the remote connections setting are not set on the
protocols. What does the SQLServer 2005 Configuration Manager tool say (i.e.
not SAC!). Also make sure that you can resolve the server name correctly.
You may also want to look at SQLPing to to see to search for servers
http://www.sqlsecurity.com/Tools/Fr...65/Default.aspx
John
"Alex AU" wrote:

> Dear John,
>
> I've tried sqlcmd, it also failed. The command I used and error as follow:
>
> sqlcmd -S SERVER\SQL2005
>
> HResult 0xFFFFFFFF, Level 16, State 1
> SQL Network Interfaces: Error Locating Server/Instance Specified
> [xFFFFFFFF].
> Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while
> establi
> shing a connection to the server. When connecting to SQL Server 2005, this
> failu
> re may be caused by the fact that under the default settings SQL Server
> does not
> allow remote connections..
> Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
>
> Thanks a lot.
>
>
>
> Regards,
>
> Alex AU
>
> "John Bell" <jbellnewsposts@.hotmail.com> wrote in message
> news:342A5195-A4E1-4477-AFDF-F592B3809BDC@.microsoft.com...
> Hi Alex
>
> And SQLCMD allows you to connect?
>
> John
>
> "Alex AU" wrote:
>
> Remote
>|||Hi
I don't know the intricacies of the XP firewall as I have always used a
third party one. The following describes what you should need to set up in
terms of rules, change this for the port you are using and it should be ok.
http://support.microsoft.com/kb/287932
John
"Alex AU" wrote:

> Thanks John,
> I've used the tools on that SERVER and I've found that the port number for
> SQL2005 using is 1025. (SQL2000 use 1433).
> I finally figure out what causing the connection issue, it's the firewall
> settings. I use a Windows XP with SP2 as a server and the firewall has
> turned on. It only allow SQL connection from port 1433 and that's the
> reason why I cannot connect with SQL Management Studio with port 1025
> (SQL2005). When I shut down the firewall, it works.
> Sorry for the chaos that I've made. But I really appreciate for your
> kindly help.
> I've got one more question related to this. I've tried to add exception
> rule in the XP firewall settings for port 1025, but I still cannot
> connect. I can only connect when the firewall is off. Can anyone help with
> this? (or should I post in other newsgroup for this issue?)
> Thanks.
>
> Regards,
> Alex AU
> "John Bell" <jbellnewsposts@.hotmail.com> wrote in message
> news:E4A5B93E-6A03-4406-87B6-399E4A150D02@.microsoft.com...
> Hi Alex
> This is indicating that the remote connections setting are not set on
> the
> protocols. What does the SQLServer 2005 Configuration Manager tool say
> (i.e.
> not SAC!). Also make sure that you can resolve the server name
> correctly.
> You may also want to look at SQLPing to to see to search for servers
> http://www.sqlsecurity.com/Tools/Fr...65/Default.aspx
> John
> "Alex AU" wrote:
>
> follow:
> while
> this
> Server
> tcpip
> Management
> tool.
> another
> local
> cannot
> of
> SQL2005
>

Sunday, March 25, 2012

Cannot register 2000 on 7 (HELP!)

I am running SQL 7 and trying to connect to a SQL2000
server on the network. I can ping the other machine, and
I have mapped a network drive, but I cannot register it.
It gives me a General Network error. Any Ideas?Brett,
If you try the Register Server Wizard on a SQL 7.0 server, you should see
the following message:
<SQL Server 2000 server name> - You must upgrade your SQL Enterprise Manager
and SQL-DMO(SQLOLE) to SQL Server 2000 (SQLDMO) to connect to this server.
Keith Wilson
This posting is provided "AS IS" without express or implied warranty,
guarantee, or rights.
"Brett" <levi71@.swbell.net> wrote in message
news:0ec801c3d9ea$61c87e50$a301280a@.phx.gbl...
quote:

> I am running SQL 7 and trying to connect to a SQL2000
> server on the network. I can ping the other machine, and
> I have mapped a network drive, but I cannot register it.
> It gives me a General Network error. Any Ideas?

Thursday, March 22, 2012

Cannot open user default database. Login failed?

Hi All,
I have not been using my SQL server 2000 for a while on this particular
machine. I had my account disabled and just got it re-enabled at work.
Login name is the same and password has changed as it does every 30 days. I
am trying to get into my server but keep getting the following error
message:
"SQL Server registration Failed because of the connection failure displayed
below. Do you wish to Register anyway?"
"Cannot open user default database. Login Failed"
I am at a loss and if anyone could suggest something to me other than
un-installing the instance and re-installing it, I would be appreciative.
Thanks,
JohnSeems like your account doesnt´have access to the default database, just try
to EXEC sp_grantdbaccess
with an administrative account for this user.
HTH, Jens Süßmeyer.
"John Rugo" <jwrugo@.patmedia.net> schrieb im Newsbeitrag
news:ObRFOWIfDHA.2320@.TK2MSFTNGP12.phx.gbl...
> Hi All,
> I have not been using my SQL server 2000 for a while on this particular
> machine. I had my account disabled and just got it re-enabled at work.
> Login name is the same and password has changed as it does every 30 days.
I
> am trying to get into my server but keep getting the following error
> message:
> "SQL Server registration Failed because of the connection failure
displayed
> below. Do you wish to Register anyway?"
> "Cannot open user default database. Login Failed"
> I am at a loss and if anyone could suggest something to me other than
> un-installing the instance and re-installing it, I would be appreciative.
> Thanks,
> John
>|||John,
See if this helps...
'Locked Out of SQL Server - Q. I locked myself out of SQL Server without
being able to log on with a sysadmin login. Can I fix this, or do I need to
reinstall SQL Server'
http://www.microsoft.com/sql/techinfo/tips/administration/May3.asp
--
Dinesh.
SQL Server FAQ at
http://www.tkdinesh.com
"John Rugo" <jwrugo@.patmedia.net> wrote in message
news:ehaGFkIfDHA.1764@.TK2MSFTNGP09.phx.gbl...
> Unfortunately I can't get in as sa or any other login account using osql
or
> enterpise mgr or sql analyzer. I think I will have to uninstall the
> instance and re-install it. the odd thing is that SA doesn't even work.
> Thanks for you help.
> "Jens Süßmeyer" <jsuessmeyer@.[REJECT_SPAM]web.de> wrote in message
> news:OfsbMfIfDHA.1872@.TK2MSFTNGP09.phx.gbl...
> > Seems like your account doesnt´have access to the default database, just
> try
> > to EXEC sp_grantdbaccess
> > with an administrative account for this user.
> >
> > HTH, Jens Süßmeyer.
> >
> > "John Rugo" <jwrugo@.patmedia.net> schrieb im Newsbeitrag
> > news:ObRFOWIfDHA.2320@.TK2MSFTNGP12.phx.gbl...
> > > Hi All,
> > >
> > > I have not been using my SQL server 2000 for a while on this
particular
> > > machine. I had my account disabled and just got it re-enabled at
work.
> > > Login name is the same and password has changed as it does every 30
> days.
> > I
> > > am trying to get into my server but keep getting the following error
> > > message:
> > >
> > > "SQL Server registration Failed because of the connection failure
> > displayed
> > > below. Do you wish to Register anyway?"
> > >
> > > "Cannot open user default database. Login Failed"
> > >
> > > I am at a loss and if anyone could suggest something to me other than
> > > un-installing the instance and re-installing it, I would be
> appreciative.
> > >
> > > Thanks,
> > > John
> > >
> > >
> >
> >
>

Cannot open user default database. Login failed.

Cannot open user default database. Login failed.
Login failed for user '[machine name]\ASPNET'.

I'm working in VS 2005 with a starter kit. I close VS and open an MDF file in SQL Server 2005 Management Studio to modify a table. I attach the file, change a data type, then detach the file. When I go back to VS and try to run the program, I get this error. Everything runs normally before I bring the file into Management Studio. It is not a permissions issue. Does SQL Server put some kind of lock on the file? This must be a fairly common problem. A developer will sometimes want to modify an .mdf file. How does he do that and then run his program? Thank you for any suggestions I can try.

What authentication is this instance. Post your connection string... this seems to be the problem with ASPNET user. The "ASPNET" user account is created in Windows XP by Microsoft .NET Framework. In the connection string you use a SQL Server Login and try.

From the link mentioned below :-

Applications that use SQL Authentication to connect to a database are not generally affected by using the ASPNET account. Applications that use integrated authentication and impersonation are also not generally affected. However, if an application is not impersonating and is using Integrated Authentication, you must grant access to the database for the ASPNET account.

You cannot use the ASPNET account when you try to authenticate to Microsoft SQL Server by using Integrated Authentication over named pipes. However, you can use the ASPNET account together with Integrated Authentication over the Transmission Control Protocol (TCP) transport.

If an application must use a Microsoft Access database, the ASPNET account must be able to write to the database file. Administrators must change the file permissions to allow this use.

Refer :

http://support.microsoft.com/kb/895967/

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=214866&SiteID=1

Madhu

|||

Hi

Seen that before.

Someone has modified your login or the default database is unavailable.

You can use the following command to log on using Query Analyser. Run it the in the RUN window.

Code Snippet

isqlw -S servername -E (-U username -P password if using sql login) -d master

This will log you on to master database and then you can check for any problems or reset the default database using sp_defaultdb.

hope that helps

Jag

Tuesday, March 20, 2012

Cannot open database requested in login dbName. Login fails. Login failed for user machine

Been looking through the forums for a solution to this problem.
I already tried granting access through statements such as:
exec sp_grantloginaccess N1'machineName\ASPNET'
But they don't seem to work.. i vaguely remember seeing somewhere a DOS command line statement that grants access to the ASPNET_WP and that fixed my problem before on another computer.. but this is a new computer and i forgot to write down the command.
Can anyone help explain and propose a solution to my problem. Many thanxs.

osql -E -SInstanceName -C -Q "sp_grantlogin 'computer\ASPNET'"
osql -E -SInstanceName -ddatabase -Q "sp_grantdbaccess 'computer\ASPNET'"
osql -E -SInstanceName -ddatabase -Q "sp_addrolemember 'db_owner', 'computer\ASPNET'"InstanceName -C -Q "sp_grantlogin 'computer\ASPNET'"
InstanceName is optional if you only installed the default instance.
|||You need to grant login permissions to the ASPNET account as well asdatabase permissions. Do you have Enterprise Manager? Thiswould help you to set permissions using a GUI tool. Assuming youdo not, then you could use the osql commandline utility. I amalso further assuming this is a local instance of SQL Server.
Usingosql, from the command prompt, this will connect you to your instanceof SQL Server and put you into an interactive mode with osql:
osql -E -S (local)

Now you can enter the commands in the interactive mode:
1>EXEC sp_grantlogin 'machineName\ASPNET'
2>GO

1>USE yourDatabase
2>GO

1>EXEC sp_grantdbaccess 'machineName\ASPNET'
2>GO
1>EXIT


Edit: sorry, didn't see Darrell's post :-)
|||That just shows there's more than one way to do it! Smile [:)]
|||Thanxs '%orton'
I went with tmorton's instructions because it looked easier and more straightforward. I enabled me to get my app running after a few minor adjustments. I described what I did below but don't fully understand why it worked. Could you please help clarify?
I was able to grantlogin to 'machineName\ASPNET', however, got an error stating that permissions already existed for 'machineName\ASPNET' when I tried to grantdbaccess. I do have EnterpriseManager and went into the Users of the database I needed to use. I deleted the 'machineName\ASPNET' from that list. Then ran the sp_grantdbaccess 'machineName\ASPNET' again. This time succeeding. Thus my application has permissions to run. But when I went back ino the database/users, I didn't see 'machineName\ASPNET' in the User list. Why is that?
Where can I look to see the results of executing the sp_grantlogin & sp_grantdbaccess? Shouldn't there be a list for that somewhere?
And just to make sure that I understand what is happening. The sp_grantlogin simply gives the user 'machineName\ASPNET' permission to login into the SQLServer (1st level). Then sp_grantdbacess gives the user 'machineName\ASPNET' permission to access the specified database (from the use yourDatabase)
Thanxs again!!!|||After referring someone else to this post I realized that I never answered your questions. I am sorry!

MEight wrote:

Thanxs '%orton'
I was able to grantlogin to'machineName\ASPNET', however, got an error stating that permissionsalready existed for 'machineName\ASPNET' when I tried to grantdbaccess.


Then you really didn't need to do anything further with *that* command.

MEight wrote:


I do have EnterpriseManager<snip>
But when I wentback ino the database/users, I didn't see 'machineName\ASPNET' in theUser list. Why is that?


Enterprise Manager is not good about refreshing data. Eitherclose Enterprise Manager completely and reopen it, or start at yourserver right-clicking and choosing Refresh on each node all of the waydown until you get to the node for the data you are concernedwith.

MEight wrote:


Where can I look to see the results ofexecuting the sp_grantlogin & sp_grantdbaccess? Shouldn't there bea list for that somewhere?


You can see this in Enterprise Manager (after forcing the data to refresh), or you can execute thesp_helplogins system stored procedure from Query Analyzer (or the osql commandline utility):
EXEC sp_helplogins

MEight wrote:


And just to make sure that Iunderstand what is happening. The sp_grantlogin simply gives the user'machineName\ASPNET' permission to login into the SQLServer (1stlevel). Then sp_grantdbacess gives the user 'machineName\ASPNET'permission to access the specified database (from the use yourDatabase)


Yes, you've got it! You can read up on what MSDN has to say aboutsp_grantlogin andsp_grantdbaccess for more information.
If you haven't done so already, you should installSQL Server 2000 Books Online. This is a great free SQL Server reference.


|||

i can not do anything with sql. This is what i got :

----------------------------

C:\Users\User>osql -E -S
[SQL Native Client]VIA Provider: The specified module could not be found.
[SQL Native Client]Login timeout expired
[SQL Native Client]An error has occurred while establishing a connection to
the server. When connecting to SQL Server 2005, this failure may be caused by
the fact that under the default settings SQL Server does not allow remote
connections.

---------------------------

also, i cant create database directly from SQL Server Management Studio Express!

the error is The permission denied in database 'master'. What should i do?

Cannot open database during merge replication

Hi All,
I am replicating an SQL2005 express machine to SQL2005 standard edition server using merge replication.

I have a simple VB application using ADO polling msMerge_history at the subscriber every second so that i can show the end user the progress of the replication.

When the subscription first subscribes and after the initial snapshot is applied replication downloads all changes from the server that have been changed since the snapshot was created.

Towards the end of this download faze the VB polling application fails with "Cannot open database "DBName" requested by the login. The login failed."

This connection fails 4 or 5 times and then normal polling resumes. The scary thing is that sometimes when the polling connection fails the merge replication does not complete and if i check msMerge_Sessions the "runstatus" is stuck at 3 (InProgress).

1) Is the reason the ADO polling connection fails because of some sort of lock between replication and reading the system tables?
2) Is replication getting stuck because of locks?
3) What can i do to get around this?

cheers,
Tim

Hello Tim,

Please try to use uncommited read isolation level (or SELECT ... WITH (NOLOCK) )when querying msMerge_Sessions table.

But result row set from this query contains uncommitted transactions.

This posting is provided AS IS with no warranties, and confers no rights

Sunday, March 11, 2012

Cannot login to web app from local machine but can over RDP

See above. At first I thought it was a problem with SQL server, since I have just installed a new certificate. Now I am not so sure. Any suggestions??

Thanks,

kreid

When you say log in to web app do you mean a sql server database? First I would make sure remote connections to sql are enabledhttp://support.microsoft.com/kb/914277. Next, Is possible that port 1433 (default sql port) is blocked somewhere between your machine and the server? I would run a port scanner from your local machine and see if it is listening

|||

Hi,

Thanks for your reply.

Yes, I am using the default ASPNETDB membership/authentication database on SQL 2005 Workgroup edn. Here's some further info that I just discovered:

I can log into the web app fine from home, but not from the local domain. I suspected domains had something to do with it. We just got a new server with SBS 2003 (for reasons of economy). However, SBS assigned the server to be the domain controller of the domain: "MyCompanyName.local".

The old web server was not part of a domain. I don't really want to remove the server from the "local" domain, since the server uses this (I think!) for Exchange and Active Directory. I wouldn't even know how to do this in any case.

Anyway, back to your post:

It is very unlikely that the sql port is blocked, since SQL Server is on the same machine as the web app. This was also working fine on the old server, which was running 2003 Ent. Edn. It seems that the only difference between the two servers is the domain. Oh, there is also no error showing up in the web app - the password box just goes blank when I hit return.

End of rant, thanks in advance for any help!

|||

Hi,

Solved the problem, was due to my incorrect keyboard mapping - d'oh!

Cannot Load SQLSpars.dll

Hello,

I have had numerous problems installing SQL Server 2005 on various machine. Most of those problems are related to insufficient rights to various users. But I am baffled by this one:

Setup Failed: Could not load SQLSpars.dll

Why would this happen? I see this message after beginning the SQL Server 2005 Standard setup and making my installation selections and beginning the install. The process stops after about 30 seconds, and displays the above message.

My machine is running Windows XP SP2.

Any ideas?

Thank you,

Jon500

A few customers have reported this issue but we haven't tracked down the bug or a workaround yet. If you can post a link to your Setup log files, I'll try to convince a developer to look at them and offer advice.

Paul

|||

Excellent. I definitely want to cooperate because I am certain (as you suggested) that other people are experiencing this.

Do you know the name and/or location of the setup log?

Thank you,
Jon

|||SQL Server Setup log files are located at %Program Files%\Microsoft SQL Server\90\Setup Bootstrap\LOG|||

There are at least 4 log-related files in the Files folder. This is from my file called:
SQLSetup0008_DSLPTP05_Core(Local).log
I copied and pasted the top of the file to the point at which it logged the failure.

Does this help (it sure didn't help me when I looked at it)?

Thank you,
-- Jon500

Microsoft SQL Server 2005 Setup beginning at Mon May 29 16:04:39 2006
Process ID : 2464
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\setup.exe Version: 2005.90.1399.0
Running: LoadResourcesAction at: 2006/4/29 16:4:39
Complete: LoadResourcesAction at: 2006/4/29 16:4:39, returned true
Running: ParseBootstrapOptionsAction at: 2006/4/29 16:4:39
Loaded DLL:C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\xmlrw.dll Version:2.0.3604.0
Complete: ParseBootstrapOptionsAction at: 2006/4/29 16:4:39, returned true
Running: ValidateWinNTAction at: 2006/4/29 16:4:39
Complete: ValidateWinNTAction at: 2006/4/29 16:4:39, returned true
Running: ValidateMinOSAction at: 2006/4/29 16:4:39
Complete: ValidateMinOSAction at: 2006/4/29 16:4:39, returned true
Running: PerformSCCAction at: 2006/4/29 16:4:39
Complete: PerformSCCAction at: 2006/4/29 16:4:39, returned true
Running: ActivateLoggingAction at: 2006/4/29 16:4:39
Complete: ActivateLoggingAction at: 2006/4/29 16:4:39, returned true
Running: DetectPatchedBootstrapAction at: 2006/4/29 16:4:39
Complete: DetectPatchedBootstrapAction at: 2006/4/29 16:4:39, returned true
Action "LaunchPatchedBootstrapAction" will be skipped due to the following restrictions:
Condition "EventCondition: __STP_LaunchPatchedBootstrap__2464" returned false.
Action "BeginBootstrapLogicStage" will be skipped due to the following restrictions:
Condition "Setup is running locally." returned true.
Running: PerformDotNetCheck2 at: 2006/4/29 16:4:39
Complete: PerformDotNetCheck2 at: 2006/4/29 16:4:39, returned true
Running: InvokeSqlSetupDllAction at: 2006/4/29 16:4:39
Error: Action "InvokeSqlSetupDllAction" threw an exception during execution.
Unable to load setup helper module : 87
Message displayed to user
Failed to load SqlSpars.dll

|||

We'll likely need to see all the log files plus summary.txt, which is in their parent directory. The files are big enought that you shouldn't try to post them here. Instead, please provide a link.

Paul

|||

My files are here:

http://sp.dialogsw.com/temp/Files/Forms/AllItems.aspx

I will keep them there only for a few days. Kindly acknowledge when you have received/download them.

Thank you.

|||

Sorry, this thread got lost in the noise for a few days. I've retrieved the files and asked for help from a Dev to investigate.

Paul

|||Thank you very much. I still have no resolution and I am using only the CTP edition of SSMS as a result.|||Will it get any importance if this is posted in Microsoft connet?|||

Hello,

Did this ever get resolved? I am now having the same problem with katmai CTP3.

-Jamie

|||

If you are reading this thread and think you can help me, please reply and let me know.

-Jamie

|||

I'm sorry but this issue was NEVER resolved. Would you believe that I had paid $99 to open an incident with Microsoft? After spending about three weeks with them, sending megabytes of log files, etc., they gave up and said that they could only recommend that I re-baseline my Windows XP Pro SP2 installation in order to install Sql Server 2005.

I was so disgusted that I asked for a refund of the $99 (which they provided without hesitation).

It is a sad day when the author of the software can't get it to install on a state-of-the-art hardware platform and latest software service packs and mainstream operating system.

If I could use Oracle, I would, but sadly I have to use Sql Server 2005. I am going to see if Microsoft today has any additional information on this issue because I am still not running on my main development machine. I had to install a database instance on another machine on my network and use TCP/IP to access the database instance on it.


I was able to get the Community Technology Preview installation of Sql Server 2005 installed on my development machine, however. This at least gives me the ability to access a Sql Server 2005 database from my development machine. But I still cannot get the native client installed on that machine.

I hope this helps.

|||

Jon,

As you can see from above I had the same problem with katmai CTP3.

The root cause of the problem (in my case) was that DTC wasn't installed on the server. Try as I might I couldn't get it installed either (the reason escapes me right now) so I just scrapped the whole OS (which I think was Win2k3) and installed (using the same installer package) on Win XP. Worked like a dream. It was only on VPCs anyway so I didn't lose too much.

If you want to know if DTC is installed or not go to a command window and type "msdtc". If it returns without barfing at you then you know its installed.

hope that helps.

-Jamie

|||

Sorry for the delay in writing...

DTC is installed and is running successfully on the computer in question. So, on my WinXPSP2 system, DTC is not the issue...

Thursday, March 8, 2012

Cannot Load SQLSpars.dll

Hello,

I have had numerous problems installing SQL Server 2005 on various machine. Most of those problems are related to insufficient rights to various users. But I am baffled by this one:

Setup Failed: Could not load SQLSpars.dll

Why would this happen? I see this message after beginning the SQL Server 2005 Standard setup and making my installation selections and beginning the install. The process stops after about 30 seconds, and displays the above message.

My machine is running Windows XP SP2.

Any ideas?

Thank you,

Jon500

A few customers have reported this issue but we haven't tracked down the bug or a workaround yet. If you can post a link to your Setup log files, I'll try to convince a developer to look at them and offer advice.

Paul

|||

Excellent. I definitely want to cooperate because I am certain (as you suggested) that other people are experiencing this.

Do you know the name and/or location of the setup log?

Thank you,
Jon

|||SQL Server Setup log files are located at %Program Files%\Microsoft SQL Server\90\Setup Bootstrap\LOG|||

There are at least 4 log-related files in the Files folder. This is from my file called:
SQLSetup0008_DSLPTP05_Core(Local).log
I copied and pasted the top of the file to the point at which it logged the failure.

Does this help (it sure didn't help me when I looked at it)?

Thank you,
-- Jon500

Microsoft SQL Server 2005 Setup beginning at Mon May 29 16:04:39 2006
Process ID : 2464
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\setup.exe Version: 2005.90.1399.0
Running: LoadResourcesAction at: 2006/4/29 16:4:39
Complete: LoadResourcesAction at: 2006/4/29 16:4:39, returned true
Running: ParseBootstrapOptionsAction at: 2006/4/29 16:4:39
Loaded DLL:C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\xmlrw.dll Version:2.0.3604.0
Complete: ParseBootstrapOptionsAction at: 2006/4/29 16:4:39, returned true
Running: ValidateWinNTAction at: 2006/4/29 16:4:39
Complete: ValidateWinNTAction at: 2006/4/29 16:4:39, returned true
Running: ValidateMinOSAction at: 2006/4/29 16:4:39
Complete: ValidateMinOSAction at: 2006/4/29 16:4:39, returned true
Running: PerformSCCAction at: 2006/4/29 16:4:39
Complete: PerformSCCAction at: 2006/4/29 16:4:39, returned true
Running: ActivateLoggingAction at: 2006/4/29 16:4:39
Complete: ActivateLoggingAction at: 2006/4/29 16:4:39, returned true
Running: DetectPatchedBootstrapAction at: 2006/4/29 16:4:39
Complete: DetectPatchedBootstrapAction at: 2006/4/29 16:4:39, returned true
Action "LaunchPatchedBootstrapAction" will be skipped due to the following restrictions:
Condition "EventCondition: __STP_LaunchPatchedBootstrap__2464" returned false.
Action "BeginBootstrapLogicStage" will be skipped due to the following restrictions:
Condition "Setup is running locally." returned true.
Running: PerformDotNetCheck2 at: 2006/4/29 16:4:39
Complete: PerformDotNetCheck2 at: 2006/4/29 16:4:39, returned true
Running: InvokeSqlSetupDllAction at: 2006/4/29 16:4:39
Error: Action "InvokeSqlSetupDllAction" threw an exception during execution.
Unable to load setup helper module : 87
Message displayed to user
Failed to load SqlSpars.dll

|||

We'll likely need to see all the log files plus summary.txt, which is in their parent directory. The files are big enought that you shouldn't try to post them here. Instead, please provide a link.

Paul

|||

My files are here:

http://sp.dialogsw.com/temp/Files/Forms/AllItems.aspx

I will keep them there only for a few days. Kindly acknowledge when you have received/download them.

Thank you.

|||

Sorry, this thread got lost in the noise for a few days. I've retrieved the files and asked for help from a Dev to investigate.

Paul

|||Thank you very much. I still have no resolution and I am using only the CTP edition of SSMS as a result.|||Will it get any importance if this is posted in Microsoft connet?|||

Hello,

Did this ever get resolved? I am now having the same problem with katmai CTP3.

-Jamie

|||

If you are reading this thread and think you can help me, please reply and let me know.

-Jamie

|||

I'm sorry but this issue was NEVER resolved. Would you believe that I had paid $99 to open an incident with Microsoft? After spending about three weeks with them, sending megabytes of log files, etc., they gave up and said that they could only recommend that I re-baseline my Windows XP Pro SP2 installation in order to install Sql Server 2005.

I was so disgusted that I asked for a refund of the $99 (which they provided without hesitation).

It is a sad day when the author of the software can't get it to install on a state-of-the-art hardware platform and latest software service packs and mainstream operating system.

If I could use Oracle, I would, but sadly I have to use Sql Server 2005. I am going to see if Microsoft today has any additional information on this issue because I am still not running on my main development machine. I had to install a database instance on another machine on my network and use TCP/IP to access the database instance on it.


I was able to get the Community Technology Preview installation of Sql Server 2005 installed on my development machine, however. This at least gives me the ability to access a Sql Server 2005 database from my development machine. But I still cannot get the native client installed on that machine.

I hope this helps.

|||

Jon,

As you can see from above I had the same problem with katmai CTP3.

The root cause of the problem (in my case) was that DTC wasn't installed on the server. Try as I might I couldn't get it installed either (the reason escapes me right now) so I just scrapped the whole OS (which I think was Win2k3) and installed (using the same installer package) on Win XP. Worked like a dream. It was only on VPCs anyway so I didn't lose too much.

If you want to know if DTC is installed or not go to a command window and type "msdtc". If it returns without barfing at you then you know its installed.

hope that helps.

-Jamie

|||

Sorry for the delay in writing...

DTC is installed and is running successfully on the computer in question. So, on my WinXPSP2 system, DTC is not the issue...

Cannot Load SQLSpars.dll

Hello,

I have had numerous problems installing SQL Server 2005 on various machine. Most of those problems are related to insufficient rights to various users. But I am baffled by this one:

Setup Failed: Could not load SQLSpars.dll

Why would this happen? I see this message after beginning the SQL Server 2005 Standard setup and making my installation selections and beginning the install. The process stops after about 30 seconds, and displays the above message.

My machine is running Windows XP SP2.

Any ideas?

Thank you,

Jon500

A few customers have reported this issue but we haven't tracked down the bug or a workaround yet. If you can post a link to your Setup log files, I'll try to convince a developer to look at them and offer advice.

Paul

|||

Excellent. I definitely want to cooperate because I am certain (as you suggested) that other people are experiencing this.

Do you know the name and/or location of the setup log?

Thank you,
Jon

|||SQL Server Setup log files are located at %Program Files%\Microsoft SQL Server\90\Setup Bootstrap\LOG|||

There are at least 4 log-related files in the Files folder. This is from my file called:
SQLSetup0008_DSLPTP05_Core(Local).log
I copied and pasted the top of the file to the point at which it logged the failure.

Does this help (it sure didn't help me when I looked at it)?

Thank you,
-- Jon500

Microsoft SQL Server 2005 Setup beginning at Mon May 29 16:04:39 2006
Process ID : 2464
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\setup.exe Version: 2005.90.1399.0
Running: LoadResourcesAction at: 2006/4/29 16:4:39
Complete: LoadResourcesAction at: 2006/4/29 16:4:39, returned true
Running: ParseBootstrapOptionsAction at: 2006/4/29 16:4:39
Loaded DLL:C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\xmlrw.dll Version:2.0.3604.0
Complete: ParseBootstrapOptionsAction at: 2006/4/29 16:4:39, returned true
Running: ValidateWinNTAction at: 2006/4/29 16:4:39
Complete: ValidateWinNTAction at: 2006/4/29 16:4:39, returned true
Running: ValidateMinOSAction at: 2006/4/29 16:4:39
Complete: ValidateMinOSAction at: 2006/4/29 16:4:39, returned true
Running: PerformSCCAction at: 2006/4/29 16:4:39
Complete: PerformSCCAction at: 2006/4/29 16:4:39, returned true
Running: ActivateLoggingAction at: 2006/4/29 16:4:39
Complete: ActivateLoggingAction at: 2006/4/29 16:4:39, returned true
Running: DetectPatchedBootstrapAction at: 2006/4/29 16:4:39
Complete: DetectPatchedBootstrapAction at: 2006/4/29 16:4:39, returned true
Action "LaunchPatchedBootstrapAction" will be skipped due to the following restrictions:
Condition "EventCondition: __STP_LaunchPatchedBootstrap__2464" returned false.
Action "BeginBootstrapLogicStage" will be skipped due to the following restrictions:
Condition "Setup is running locally." returned true.
Running: PerformDotNetCheck2 at: 2006/4/29 16:4:39
Complete: PerformDotNetCheck2 at: 2006/4/29 16:4:39, returned true
Running: InvokeSqlSetupDllAction at: 2006/4/29 16:4:39
Error: Action "InvokeSqlSetupDllAction" threw an exception during execution.
Unable to load setup helper module : 87
Message displayed to user
Failed to load SqlSpars.dll

|||

We'll likely need to see all the log files plus summary.txt, which is in their parent directory. The files are big enought that you shouldn't try to post them here. Instead, please provide a link.

Paul

|||

My files are here:

http://sp.dialogsw.com/temp/Files/Forms/AllItems.aspx

I will keep them there only for a few days. Kindly acknowledge when you have received/download them.

Thank you.

|||

Sorry, this thread got lost in the noise for a few days. I've retrieved the files and asked for help from a Dev to investigate.

Paul

|||Thank you very much. I still have no resolution and I am using only the CTP edition of SSMS as a result.|||Will it get any importance if this is posted in Microsoft connet?|||

Hello,

Did this ever get resolved? I am now having the same problem with katmai CTP3.

-Jamie

|||

If you are reading this thread and think you can help me, please reply and let me know.

-Jamie

|||

I'm sorry but this issue was NEVER resolved. Would you believe that I had paid $99 to open an incident with Microsoft? After spending about three weeks with them, sending megabytes of log files, etc., they gave up and said that they could only recommend that I re-baseline my Windows XP Pro SP2 installation in order to install Sql Server 2005.

I was so disgusted that I asked for a refund of the $99 (which they provided without hesitation).

It is a sad day when the author of the software can't get it to install on a state-of-the-art hardware platform and latest software service packs and mainstream operating system.

If I could use Oracle, I would, but sadly I have to use Sql Server 2005. I am going to see if Microsoft today has any additional information on this issue because I am still not running on my main development machine. I had to install a database instance on another machine on my network and use TCP/IP to access the database instance on it.


I was able to get the Community Technology Preview installation of Sql Server 2005 installed on my development machine, however. This at least gives me the ability to access a Sql Server 2005 database from my development machine. But I still cannot get the native client installed on that machine.

I hope this helps.

|||

Jon,

As you can see from above I had the same problem with katmai CTP3.

The root cause of the problem (in my case) was that DTC wasn't installed on the server. Try as I might I couldn't get it installed either (the reason escapes me right now) so I just scrapped the whole OS (which I think was Win2k3) and installed (using the same installer package) on Win XP. Worked like a dream. It was only on VPCs anyway so I didn't lose too much.

If you want to know if DTC is installed or not go to a command window and type "msdtc". If it returns without barfing at you then you know its installed.

hope that helps.

-Jamie

|||

Sorry for the delay in writing...

DTC is installed and is running successfully on the computer in question. So, on my WinXPSP2 system, DTC is not the issue...

Cannot Load SQLSpars.dll

Hello,

I have had numerous problems installing SQL Server 2005 on various machine. Most of those problems are related to insufficient rights to various users. But I am baffled by this one:

Setup Failed: Could not load SQLSpars.dll

Why would this happen? I see this message after beginning the SQL Server 2005 Standard setup and making my installation selections and beginning the install. The process stops after about 30 seconds, and displays the above message.

My machine is running Windows XP SP2.

Any ideas?

Thank you,

Jon500

A few customers have reported this issue but we haven't tracked down the bug or a workaround yet. If you can post a link to your Setup log files, I'll try to convince a developer to look at them and offer advice.

Paul

|||

Excellent. I definitely want to cooperate because I am certain (as you suggested) that other people are experiencing this.

Do you know the name and/or location of the setup log?

Thank you,
Jon

|||SQL Server Setup log files are located at %Program Files%\Microsoft SQL Server\90\Setup Bootstrap\LOG|||

There are at least 4 log-related files in the Files folder. This is from my file called:
SQLSetup0008_DSLPTP05_Core(Local).log
I copied and pasted the top of the file to the point at which it logged the failure.

Does this help (it sure didn't help me when I looked at it)?

Thank you,
-- Jon500

Microsoft SQL Server 2005 Setup beginning at Mon May 29 16:04:39 2006
Process ID : 2464
C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\setup.exe Version: 2005.90.1399.0
Running: LoadResourcesAction at: 2006/4/29 16:4:39
Complete: LoadResourcesAction at: 2006/4/29 16:4:39, returned true
Running: ParseBootstrapOptionsAction at: 2006/4/29 16:4:39
Loaded DLL:C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\xmlrw.dll Version:2.0.3604.0
Complete: ParseBootstrapOptionsAction at: 2006/4/29 16:4:39, returned true
Running: ValidateWinNTAction at: 2006/4/29 16:4:39
Complete: ValidateWinNTAction at: 2006/4/29 16:4:39, returned true
Running: ValidateMinOSAction at: 2006/4/29 16:4:39
Complete: ValidateMinOSAction at: 2006/4/29 16:4:39, returned true
Running: PerformSCCAction at: 2006/4/29 16:4:39
Complete: PerformSCCAction at: 2006/4/29 16:4:39, returned true
Running: ActivateLoggingAction at: 2006/4/29 16:4:39
Complete: ActivateLoggingAction at: 2006/4/29 16:4:39, returned true
Running: DetectPatchedBootstrapAction at: 2006/4/29 16:4:39
Complete: DetectPatchedBootstrapAction at: 2006/4/29 16:4:39, returned true
Action "LaunchPatchedBootstrapAction" will be skipped due to the following restrictions:
Condition "EventCondition: __STP_LaunchPatchedBootstrap__2464" returned false.
Action "BeginBootstrapLogicStage" will be skipped due to the following restrictions:
Condition "Setup is running locally." returned true.
Running: PerformDotNetCheck2 at: 2006/4/29 16:4:39
Complete: PerformDotNetCheck2 at: 2006/4/29 16:4:39, returned true
Running: InvokeSqlSetupDllAction at: 2006/4/29 16:4:39
Error: Action "InvokeSqlSetupDllAction" threw an exception during execution.
Unable to load setup helper module : 87
Message displayed to user
Failed to load SqlSpars.dll

|||

We'll likely need to see all the log files plus summary.txt, which is in their parent directory. The files are big enought that you shouldn't try to post them here. Instead, please provide a link.

Paul

|||

My files are here:

http://sp.dialogsw.com/temp/Files/Forms/AllItems.aspx

I will keep them there only for a few days. Kindly acknowledge when you have received/download them.

Thank you.

|||

Sorry, this thread got lost in the noise for a few days. I've retrieved the files and asked for help from a Dev to investigate.

Paul

|||Thank you very much. I still have no resolution and I am using only the CTP edition of SSMS as a result.|||Will it get any importance if this is posted in Microsoft connet?|||

Hello,

Did this ever get resolved? I am now having the same problem with katmai CTP3.

-Jamie

|||

If you are reading this thread and think you can help me, please reply and let me know.

-Jamie

|||

I'm sorry but this issue was NEVER resolved. Would you believe that I had paid $99 to open an incident with Microsoft? After spending about three weeks with them, sending megabytes of log files, etc., they gave up and said that they could only recommend that I re-baseline my Windows XP Pro SP2 installation in order to install Sql Server 2005.

I was so disgusted that I asked for a refund of the $99 (which they provided without hesitation).

It is a sad day when the author of the software can't get it to install on a state-of-the-art hardware platform and latest software service packs and mainstream operating system.

If I could use Oracle, I would, but sadly I have to use Sql Server 2005. I am going to see if Microsoft today has any additional information on this issue because I am still not running on my main development machine. I had to install a database instance on another machine on my network and use TCP/IP to access the database instance on it.


I was able to get the Community Technology Preview installation of Sql Server 2005 installed on my development machine, however. This at least gives me the ability to access a Sql Server 2005 database from my development machine. But I still cannot get the native client installed on that machine.

I hope this helps.

|||

Jon,

As you can see from above I had the same problem with katmai CTP3.

The root cause of the problem (in my case) was that DTC wasn't installed on the server. Try as I might I couldn't get it installed either (the reason escapes me right now) so I just scrapped the whole OS (which I think was Win2k3) and installed (using the same installer package) on Win XP. Worked like a dream. It was only on VPCs anyway so I didn't lose too much.

If you want to know if DTC is installed or not go to a command window and type "msdtc". If it returns without barfing at you then you know its installed.

hope that helps.

-Jamie

|||

Sorry for the delay in writing...

DTC is installed and is running successfully on the computer in question. So, on my WinXPSP2 system, DTC is not the issue...

Cannot integrate SQL Server 2005 with Visual Studio 2005

Hi,

I have a question that I hope someone can help me with.

I' have installed VS2005 Beta 2 on my XP machine. I've also installed SQL Server 2005 and uninstalled SQL Express (though the instance still seems to appear even though it no longer works!)

So basically I'm trying to get VS2005 to work with SQL Server 2005. However when I go into solution explorer, I :-

Right click on the project name
Select ADD
NEW ITEM
SQL Database
<name.mdf>
now from what I've seen in online demo's, it should then fire up some connection wizard. Mine just sits there for about 30 seconds and then tells me it's timed out. I then find the .mdf file added to my project is totally useless and hangs for another 30 seconds everytime I select it until I delete the thing.

In server explorer, I type in the name of my server (my PC's name) and the test connection appears to work fine.

Can anyone tell me why this is happening and how I can fix it?

Many thanks in advance

Jocky.

It sounds like you've got some registry badness going on. De-install all SQL Server, following this link:

http://msdn2.microsoft.com/en-us/library/aa337087.aspx

And then reinstall. That should clear it up for you.

Buck Woody

Cannot integrate SQL Server 2005 with Visual Studio 2005

Hi,

I have a question that I hope someone can help me with.

I' have installed VS2005 Beta 2 on my XP machine. I've also installed SQL Server 2005 and uninstalled SQL Express (though the instance still seems to appear even though it no longer works!)

So basically I'm trying to get VS2005 to work with SQL Server 2005. However when I go into solution explorer, I :-

Right click on the project name
Select ADD
NEW ITEM
SQL Database
<name.mdf>
now from what I've seen in online demo's, it should then fire up some connection wizard. Mine just sits there for about 30 seconds and then tells me it's timed out. I then find the .mdf file added to my project is totally useless and hangs for another 30 seconds everytime I select it until I delete the thing.

In server explorer, I type in the name of my server (my PC's name) and the test connection appears to work fine.

Can anyone tell me why this is happening and how I can fix it?

Many thanks in advance

Jocky.

It sounds like you've got some registry badness going on. De-install all SQL Server, following this link:

http://msdn2.microsoft.com/en-us/library/aa337087.aspx

And then reinstall. That should clear it up for you.

Buck Woody