Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Friday, March 30, 2012

I had set my Windows service's Startup Type as Automatic but it is not starting up Automaticall

Hello,

I had created a windows service using C#. I set its Startup Type as Automatic but it is not getting started automatically when my System Starts.

I checked the Event Viewer and it has the following message related to the Windows Service :

Service cannot be started. The service process could not connect to the service controller.

What Does This mean am I missing something.

|||I think the C# forums might be more useful for answering this particular question unless you have a SQL Server Question related to this?|||

Thanks John Gordon,

I had posted it again to the C# Section. By Mistake I had posted it in this section.

Thanks and Regards

Sunil Dutt

I forgot my SA password for my instance of SQL 2000

Hi all,

I have SQL 2000 and I forgot my SA password and cannot login as administrator using windows authentication.

Is there any way to reset SA password?

"Mixed Mode" authentication is enabled.

If I change authentication mode in register to Windows only and then after restarting SQL change it back to Mixed, will it reset SA password to "null"?

Thanks in advance.

If you log onto the machine with the Database server installed and use the local administrator account or a network administrator account you should be able to reset the password.

|||Just in addition to Glenns post and your qustion: It won′t reset the password to null with changing the authentication type back and forth. If you don′t have any GUI to administer your passwords you can use the procedure sp_password passing in a NULL for the old password parameter, as you don′t need the old if you are logged on as a user with sysadmin / securityadmin rights.

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de|||As I said before I can't login even with local Administrator. I don't know what is going on. It is so weird.

I forgot my SA password for my instance of SQL 2000

Hi all,

I have SQL 2000 and I forgot my SA password and cannot login as administrator using windows authentication.

Is there any way to reset SA password?

"Mixed Mode" authentication is enabled.

If I change authentication mode in register to Windows only and then after restarting SQL change it back to Mixed, will it reset SA password to "null"?

Thanks in advance.

If you log onto the machine with the Database server installed and use the local administrator account or a network administrator account you should be able to reset the password.

|||Just in addition to Glenns post and your qustion: It won′t reset the password to null with changing the authentication type back and forth. If you don′t have any GUI to administer your passwords you can use the procedure sp_password passing in a NULL for the old password parameter, as you don′t need the old if you are logged on as a user with sysadmin / securityadmin rights.

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de
|||As I said before I can't login even with local Administrator. I don't know what is going on. It is so weird.|||

Try

sp_password NULL,NULL,'sa'

Assuming you never created password at the first place. parameter 1 is Old password, parameters 2 is new password, parameter 3 is user.

Monday, March 26, 2012

I changed my windows password and now I cannot connect to SQL Server on my development mac

I changed the login password on my computer today, and now I cannot connect to the SQL Server instance I have on that same machine. I am using Windows Authentication.

I would think that, if I can log on to my computer, I would be able to connect to the database, since I have been "authenticated" by windows but, that does not appear to be the case.

Can anyone offer any advice?


Thanks in advance for any help you can provide.

When i doubt, restartWink

|||

I figured it out.

If anyone is interested...

I had to manually go to Administrative Tools > Services and choose (double-click) SQL Server (MSSQLSERVER). Then go to the Log On tab and change the password there. I did the same for SQL Server Agent (MSSQLSERVER). I haven't done any of the other SQL Server - related services on my machine. I will do those as needed, I guess, cause I am not using them yet.

I hope this helps someone.

|||

Ah, you're using your Windows login to run the SQL Server service. Generally not a good idea on a server, for the reason you found, but it is probably okay on a development machine.

Glad you figured it out!

Don

|||

Ahh...Thats the start up account. So your SQL Server is set up to start as a "Local Account". Generally its a good practice to use a Windows account that is not part of windows admnistrator group. Check out books on line for more info about SQL Server agent and the security model.

sql

I Changed My Servername Help Please

Hi,
I have Joined my SQL Server into another domain and had to rename the
machine as well I am running SQL Server 2000 on a Windows 2000 server on an
NT Domain
Since this I seem to have some problems with replication etc. is there a
registry setting or something I need to change where the old machine name
might be lurking?
Or is it a case of me removing then re-installing SQL Server ?
Thanks in advance for any help provided on this
Joe MellonIf you re-run the Setup from the SQL Server CD, it should show you an option
to repair registry only. Try with this first, it is quick and easy process.
You don't have to reinstall SQL Server. Maybe after the registry rebuild you
will have only to reestablish the replication.
--
Dejan Sarka, SQL Server MVP
Please reply only to the newsgroups.
"Joe Mellon" <joe@.bluesteel.co.uk> wrote in message
news:O9vZofNsDHA.2492@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I have Joined my SQL Server into another domain and had to rename the
> machine as well I am running SQL Server 2000 on a Windows 2000 server on
an
> NT Domain
> Since this I seem to have some problems with replication etc. is there a
> registry setting or something I need to change where the old machine name
> might be lurking?
> Or is it a case of me removing then re-installing SQL Server ?
> Thanks in advance for any help provided on this
>
> Joe Mellon
>

I can't stat SQL in a user account

Windows 2000 SP4 and SQL Server 2000 SP3
When I try to start SQL Server in the account
DOMAIN\Administrator, the system return the error 22042 (-
2147024890).
I can not start in a user account and I can not send
email.
Could you help me please ? ThanksAre you logged on to NT box using a domain admin account ?
if not then I don't think it will let you specify a
Domain\Administrator as a sql service start up account. It
would be a gross violation of security principles. Specify
the same account that you are using to log in to the
system, or a local administrator.
hth.
>--Original Message--
>Windows 2000 SP4 and SQL Server 2000 SP3
>When I try to start SQL Server in the account
>DOMAIN\Administrator, the system return the error 22042 (-
>2147024890).
>I can not start in a user account and I can not send
>email.
>Could you help me please ? Thanks
>.
>|||I am logged with the DOMAIN\Administator on the server
when I tried to set up it.
But if I am logged with a other account with the admin
rights I have the same message.
>--Original Message--
>Are you logged on to NT box using a domain admin
account ?
>if not then I don't think it will let you specify a
>Domain\Administrator as a sql service start up account.
It
>would be a gross violation of security principles.
Specify
>the same account that you are using to log in to the
>system, or a local administrator.
>hth.
>>--Original Message--
>>Windows 2000 SP4 and SQL Server 2000 SP3
>>When I try to start SQL Server in the account
>>DOMAIN\Administrator, the system return the error 22042
(-
>>2147024890).
>>I can not start in a user account and I can not send
>>email.
>>Could you help me please ? Thanks
>>.
>.
>|||the error you are getting is about the server not able to
verify the user account you specified. type following
command on DOS command prompt just to make sure the domain
controller is responding:
net users /DOMAIN
This should list all users in the domain you are logged
into.
Try using Local System Account in service startup for sql
server.
hth.
>--Original Message--
>I am logged with the DOMAIN\Administator on the server
>when I tried to set up it.
>But if I am logged with a other account with the admin
>rights I have the same message.
>>--Original Message--
>>Are you logged on to NT box using a domain admin
>account ?
>>if not then I don't think it will let you specify a
>>Domain\Administrator as a sql service start up account.
>It
>>would be a gross violation of security principles.
>Specify
>>the same account that you are using to log in to the
>>system, or a local administrator.
>>hth.
>>--Original Message--
>>Windows 2000 SP4 and SQL Server 2000 SP3
>>When I try to start SQL Server in the account
>>DOMAIN\Administrator, the system return the error 22042
>(-
>>2147024890).
>>I can not start in a user account and I can not send
>>email.
>>Could you help me please ? Thanks
>>.
>>.
>.
>|||The command DOS net users /DOMAIN is OK. I can see le the
users list in the domain.
But if I use the local system account I cant send email
with SQL Agent and I need it.
>--Original Message--
>the error you are getting is about the server not able
to
>verify the user account you specified. type following
>command on DOS command prompt just to make sure the
domain
>controller is responding:
>net users /DOMAIN
>This should list all users in the domain you are logged
>into.
>Try using Local System Account in service startup for
sql
>server.
>hth.
>>--Original Message--
>>I am logged with the DOMAIN\Administator on the server
>>when I tried to set up it.
>>But if I am logged with a other account with the admin
>>rights I have the same message.
>>--Original Message--
>>Are you logged on to NT box using a domain admin
>>account ?
>>if not then I don't think it will let you specify a
>>Domain\Administrator as a sql service start up
account.
>>It
>>would be a gross violation of security principles.
>>Specify
>>the same account that you are using to log in to the
>>system, or a local administrator.
>>hth.
>>--Original Message--
>>Windows 2000 SP4 and SQL Server 2000 SP3
>>When I try to start SQL Server in the account
>>DOMAIN\Administrator, the system return the error
22042
>>(-
>>2147024890).
>>I can not start in a user account and I can not send
>>email.
>>Could you help me please ? Thanks
>>.
>>.
>>.
>.
>sql

Friday, March 23, 2012

I CANT INSTAL a Virtual Server of SQL 2000 Enterprise in Win2k3 Enterprise

I have a Cluster of Windows 2003 Enterprise Edition, When I try to install a
SQL 2000 Enterprise Edition the setup option of Virtual Server appear
unavailable I only choose between Local Install or Remote.
Thanks for your help
Hi Alejandro,
Here are few things I would try:
1) Make sure that you are using SQL Server 2000 Enterprise Edition setup CD
2) Make sure that there are no mdf, ldf or ndf files on your local disks on both nodes
3) Make sure that you do not have another "default" instance of SQL Server/MSDE on the other node.
After taking care of the above things, try the upgrade. If it fails, then cut and paste the sqlstp.log to your post.
HTH,
Best Regards,
Uttam Parui
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit http://www.microsoft.com/security.
Microsoft highly recommends that users with Internet access update their Microsoft software to better protect against viruses and security vulnerabilities. The easiest way to do this is to visit the following websites:
http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx
|||Hi,
1) Yes its SQL Server 2003 Enterprise Edition
2) There are not any MDF, NDF and LDF files (Just to be shure, this files
are SQL Files?)
3) I haven't any SQL Installed on the server
I follow this Steps but when I ran the setup the Virtual Server appear
dissable (Thanks for your help)
No.
Activity
Purpose
Expected Results
Results
1.
Reboot both nodes
They should come up with no error messages
2.
Check Event Viewer on each node and make sure there are no errors that
might interfere with the installation
3.
Check account permissions for the cluster account
Should be part of the Local Administrator group
4.
On each node, on the Start menu, click Run, and then type cmd in the
text box. Click OK.
Ping the Cluster IP Address from all nodes in the cluster; repeat for
each node
To verify that the private and public networks are communicating
properly
They should replay back
5.
Ping the cluster IP address from a computer not in the cluster
They should replay back
6.
Ping the Cluster Network Name from all nodes in the cluster
They should replay back
7.
Ping the Cluster Network Name from a computer not in the cluster
They should replay back
8.
Ping all Heartbead IP Addresses from all cluster nodes
They should replay back
9.
A domain account is available for SQL Server; check permissions for the
account; also the cluster administrator account must be created at the
domain level and must be an administrator of all nodes in the cluster
10.
All nodes have access to the installation path - we recommend to copy
the installation files locally on each node, especially for the services
pack and hotfix;
11.
In Cluster Administrator, for a two SQL Server instance installation,
create 4 groups and assign the correspondent resources to each group (such
as disk resources):
1.. MSDTC Group
2.. Cluster Group
3.. SQLServer Group1
4.. SQLServer Group2
12.
Using Cluster Administrator, test moving each group back and forth
between the two Nodes - check the owner
The owner should change
13.
While one Node owns all the groups, restart the other Node and check if
resource ownership was transferred to the other Node
The owner should change
14.
Check what resources belong to the Cluster Group
It should be: Cluster IP Address, Cluster Name, and Quorum Disk
15.
MSDTC Group
MS DTC should be in its own group; follow the following article to
configure MSDTC: 301600 - How to configure Microsoft Distributed Transaction
Coordinator on a Windows Server 2003 Cluster detailed in Appendix B
Regards, Alex
"Uttam Parui[MS]" <uttamkp@.online.microsoft.com> wrote in message
news:kOTjX3ZnEHA.2640@.cpmsftngxa06.phx.gbl...
> Hi Alejandro,
> Here are few things I would try:
> 1) Make sure that you are using SQL Server 2000 Enterprise Edition setup
> CD
> 2) Make sure that there are no mdf, ldf or ndf files on your local disks
> on both nodes
> 3) Make sure that you do not have another "default" instance of SQL
> Server/MSDE on the other node.
> After taking care of the above things, try the upgrade. If it fails, then
> cut and paste the sqlstp.log to your post.
> HTH,
> Best Regards,
> Uttam Parui
> Microsoft Corporation
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Are you secure? For information about the Strategic Technology Protection
> Program and to order your FREE Security Tool Kit, please visit
> http://www.microsoft.com/security.
> Microsoft highly recommends that users with Internet access update their
> Microsoft software to better protect against viruses and security
> vulnerabilities. The easiest way to do this is to visit the following
> websites:
> http://www.microsoft.com/protect
> http://www.microsoft.com/security/guidance/default.mspx
>
|||Hi Alejandro,
Please cut and paste sqlstp.log file (search for this file on the node where you ran sql server setup).
Best Regards,
Uttam Parui
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit http://www.microsoft.com/security.
Microsoft highly recommends that users with Internet access update their Microsoft software to better protect against viruses and security vulnerabilities. The easiest way to do this is to visit the following websites:
http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx
|||OK, I'm not in the office right now, but on monday I'm gona to attach this
log.
But first answere me something, If I never ran the setup completely, because
I never found the option of virtual Server available, which log I'm going to
cut an paste here? or If you just run the setup program click in the first
NEXT and then Cancel It (because the option virtual server is unavailable is
in gray) the sqlstp.log is generated?
Regards, Alex
"Uttam Parui[MS]" <uttamkp@.online.microsoft.com> wrote in message
news:nGonUGdnEHA.2932@.cpmsftngxa06.phx.gbl...
> Hi Alejandro,
> Please cut and paste sqlstp.log file (search for this file on the node
> where you ran sql server setup).
> Best Regards,
> Uttam Parui
> Microsoft Corporation
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Are you secure? For information about the Strategic Technology Protection
> Program and to order your FREE Security Tool Kit, please visit
> http://www.microsoft.com/security.
> Microsoft highly recommends that users with Internet access update their
> Microsoft software to better protect against viruses and security
> vulnerabilities. The easiest way to do this is to visit the following
> websites:
> http://www.microsoft.com/protect
> http://www.microsoft.com/security/guidance/default.mspx
>
|||Yes, it will create sqlstp.log file.
Best Regards,
Uttam Parui
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit http://www.microsoft.com/security.
Microsoft highly recommends that users with Internet access update their Microsoft software to better protect against viruses and security vulnerabilities. The easiest way to do this is to visit the following websites:
http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx
|||please correct me if i'm wrong. I believe you have to create a name pipe, in
order for you to install sql on a virtual address. go to run and type in
cliconfg, click on alias and create.
Calvin
"Alejandro Garreta" <alejandro_garreta@.hotmail.com> wrote in message
news:eCmFPRbnEHA.392@.tk2msftngp13.phx.gbl...
> Hi,
> 1) Yes its SQL Server 2003 Enterprise Edition
> 2) There are not any MDF, NDF and LDF files (Just to be shure, this files
> are SQL Files?)
> 3) I haven't any SQL Installed on the server
> I follow this Steps but when I ran the setup the Virtual Server appear
> dissable (Thanks for your help)
>
> No.
> Activity
> Purpose
> Expected Results
> Results
> 1.
> Reboot both nodes
> They should come up with no error messages
>
> 2.
> Check Event Viewer on each node and make sure there are no errors
that
> might interfere with the installation
>
>
> 3.
> Check account permissions for the cluster account
> Should be part of the Local Administrator group
>
> 4.
> On each node, on the Start menu, click Run, and then type cmd in the
> text box. Click OK.
> Ping the Cluster IP Address from all nodes in the cluster; repeat
for
> each node
> To verify that the private and public networks are communicating
> properly
> They should replay back
>
> 5.
> Ping the cluster IP address from a computer not in the cluster
> They should replay back
>
> 6.
> Ping the Cluster Network Name from all nodes in the cluster
> They should replay back
>
> 7.
> Ping the Cluster Network Name from a computer not in the cluster
> They should replay back
>
> 8.
> Ping all Heartbead IP Addresses from all cluster nodes
> They should replay back
>
> 9.
> A domain account is available for SQL Server; check permissions for
the
> account; also the cluster administrator account must be created at the
> domain level and must be an administrator of all nodes in the cluster
>
>
> 10.
> All nodes have access to the installation path - we recommend to copy
> the installation files locally on each node, especially for the services
> pack and hotfix;
>
>
> 11.
> In Cluster Administrator, for a two SQL Server instance installation,
> create 4 groups and assign the correspondent resources to each group (such
> as disk resources):
> 1.. MSDTC Group
> 2.. Cluster Group
> 3.. SQLServer Group1
> 4.. SQLServer Group2
>
>
> 12.
> Using Cluster Administrator, test moving each group back and forth
> between the two Nodes - check the owner
>
> The owner should change
>
> 13.
> While one Node owns all the groups, restart the other Node and check
if
> resource ownership was transferred to the other Node
> The owner should change
>
> 14.
> Check what resources belong to the Cluster Group
> It should be: Cluster IP Address, Cluster Name, and Quorum Disk
>
> 15.
> MSDTC Group
> MS DTC should be in its own group; follow the following article to
> configure MSDTC: 301600 - How to configure Microsoft Distributed
Transaction[vbcol=seagreen]
> Coordinator on a Windows Server 2003 Cluster detailed in Appendix B
>
>
> Regards, Alex
> "Uttam Parui[MS]" <uttamkp@.online.microsoft.com> wrote in message
> news:kOTjX3ZnEHA.2640@.cpmsftngxa06.phx.gbl...
then[vbcol=seagreen]
Protection
>
|||Hello Calvin,
You need to create the named pipe alias only if you are installing a Named instance of SQL Server 2000 virtual server on Windows 2000 MSCS. For default instance, you
do not need to create the alias.
Here is the related Microsoft KB
Installation of a Named Instance of SQL Server 2000 Virtual Server on a Windows 2003-Based Cluster Fails
http://support.microssoft.com/?id=815431
HTH,
Best Regards,
Uttam Parui
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.
Microsoft highly recommends that users with Internet access update their Microsoft software to better protect against viruses and security vulnerabilities. The easiest way
to do this is to visit the following websites: http://www.microsoft.com/protect
http://www.microsoft.com/security/guidance/default.mspx
|||Here is the LOG !!
10:52:09 Begin Setup
10:52:09 8.00.194
10:52:09 Mode = Normal
10:52:09 ModeType = NORMAL
10:52:09 GetDefinitionEx returned: 0, Extended: 0x0
10:52:09 ValueFTS returned: 1
10:52:09 ValuePID returned: 1
10:52:09 ValueLic returned: 0
10:52:09 System: Windows NT Enterprise Server
10:52:09 SQL Server ProductType: Personal Edition [0x2]
10:52:09 IsNTCluster returned: 1
10:52:09 Begin Action: SetupInitialize
10:52:09 End Action SetupInitialize
10:52:09 Begin Action: SetupInstall
10:52:09 Reading Software\Microsoft\Windows\CurrentVersion\CommonFi lesDir
...
10:52:09 CommonFilesDir=C:\Program Files\Common Files
10:52:09 Windows Directory=C:\WINDOWS\
10:52:09 Program Files=C:\Program Files\
10:52:09 TEMPDIR=C:\DOCUME~1\219701\LOCALS~1\Temp\2\
10:52:09 Begin Action: SetupInstall
10:52:09 digpid size : 256
10:52:09 digpid size : 164
10:52:09 Begin Action: CheckFixedRequirements
10:52:09 Platform ID: 0xf00000
10:52:09 Version: 5.2.3790
10:52:09 File Version - C:\WINDOWS\system32\shdocvw.dll: 6.0.3790.118
10:52:09 End Action: CheckFixedRequirements
"Uttam Parui[MS]" <uttamkp@.online.microsoft.com> wrote in message
news:6xtrCOfnEHA.3312@.cpmsftngxa06.phx.gbl...
> Yes, it will create sqlstp.log file.
> Best Regards,
> Uttam Parui
> Microsoft Corporation
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Are you secure? For information about the Strategic Technology Protection
> Program and to order your FREE Security Tool Kit, please visit
> http://www.microsoft.com/security.
> Microsoft highly recommends that users with Internet access update their
> Microsoft software to better protect against viruses and security
> vulnerabilities. The easiest way to do this is to visit the following
> websites:
> http://www.microsoft.com/protect
> http://www.microsoft.com/security/guidance/default.mspx
>
|||I'm not installing a named instance !!!
"Calvin Do" <calvin@.spinsonic.com> wrote in message
news:OeQAZH1nEHA.536@.TK2MSFTNGP11.phx.gbl...
> please correct me if i'm wrong. I believe you have to create a name pipe,
> in
> order for you to install sql on a virtual address. go to run and type in
> cliconfg, click on alias and create.
> Calvin
>
> "Alejandro Garreta" <alejandro_garreta@.hotmail.com> wrote in message
> news:eCmFPRbnEHA.392@.tk2msftngp13.phx.gbl...
> that
> for
> the
> if
> Transaction
> then
> Protection
>

I can't get SQL Server 2005 Enterprise Edition working

Hi all,

I can't get SQL Server 2005 Enterprise Edition working on my notebook with Windows Vista Business Edition. I installed SQL Server 2005 Enterprise Edition and then i ran SP2 for SQL Server EE.

But now when i a am trying to connect to any server from SQL SERVER MANAGEMENT STUDIO i can't see any Server in Server Name list. When I click on Browse for more, I don't see any server. I am able to get Network servers.

While installing the SQL SERVER all the features were disabled as it is, then i went to advanced and selected all the options.

Any suggestions are apperiacted in advance.

Regards,

Syed Abbas Naqvi

Sr. Software Developer.

Enterprise Edition (EE) requires a server operation system.

http://www.microsoft.com/sql/editions/enterprise/sysreqs.mspx

Make sure that you installed SQL Server Express (sucessfully) by checking the Services running on the machine. Look for services name "SQL Server*"

Jens K. Suessmeyer.

http://www.sqlserver2005.de

|||

Hi,

Thanks fo your reply.

But the question is that I want to install Microsoft SQL Server 2005 Enterprise Edition on My notebook which has

Microsoft Windows Vista Business.

I tried installing Microsoft SQL 2000 Server on my machine and it works fine while it is specified on Microsoft Website

that Microsoft SQL 2000 Server is not supported on Microsoft Windows Vista ( Of Any Edition ).

I installed SQL 2000 Server on my notebook when I got frustrated installing SQL Server 2005 Enterprise Edition on my

notebook.

I am really frustrated, i should have not gone for windows vista, let the Windows Vista features go to hell.

I am not able configue .NET 1.1 or .NET 2.0 on my notebook.

I wish there was some magic which can fix all these issues.

Hope to read you soon...

Regards,

Syed Abbas Naqvi

Sr. Software Developer.

|||

Once again, SQL Server EE will need a server OS to run and to be installed. if you have problems installing SQL Server on a vista system (non SQL-EE version) you might have a look here [1] to see what you will have to tweak to make it happen.

[1] http://blogs.msdn.com/sqlexpress/


Jens K. Suessmeyer.

http://www.sqlserver2005.de

|||I think you have something wrong!
According to the document at:
http://msdn2.microsoft.com/en-us/library/ms143506.aspx
It says that I can install SQL Server 2005 - Enterprise Edition in Windows Vista (Ultimate - 32 Bit). But the note "Requires SQL Server 2005 SP2 on Windows Vista" makes me difficult to understand "how can I have SS2005 SP2". I had tried to install SS2005-Developer Edition, and upgraded it to SP2, after that, I tried to install SS2005-EE with hope to upgrade my DE into EE but nothing happened...
Please help me!
|||

I think folks are missing the point here...SQL Server Enterprise Edition can not be installed on Vista, period. Vista is a client operating system and we don't support installing Enterprise Edition on client operating systems. I'm pretty sure this is actually blocked in the installer. You will need to install a different edition if you want to install on Vista.

Mike

sql

I cant do a ODBC connection, I am getting the following error

ok heres the scenario.
I have my SQL2000 server on a Windows 2003 and its also on a AD2003 domain
I have another server with is Windows 2003 and it was on the AD2003 domain
but I had to put it in a workgroup for security reasons. Now my server cant
get to the server server anymore. I can ping the server fine and I even use
d
the IP Address in ODBC but I get the following error from ODBC. For some
reason since my server is in a workgroup, it cant use ODBC to that sql serve
r
thats still in the AD2003 domain.
Heres the error
Conneciton Failed
SQLState '01000'
SQL Server error 1326
Microsft ODBC SQL Server Driver DBNetLib ConnectionOpen Connect
COnneciton Failed
SQLState '08001
SQL Server Error 17
Sql Server does not exist or Access denied.
Thanksalso, this was a proxy server with multiple nic cards and ip addresses. I
did a tracrt route sand I can get to my sql servers fine. I also tested
other sql server and I cant get to nay of them so the problem is on the non
sql server that is using ODBC to get to the SQL Server.
Thanks.
"Jerry Farkas" wrote:

> ok heres the scenario.
> I have my SQL2000 server on a Windows 2003 and its also on a AD2003 domain
> I have another server with is Windows 2003 and it was on the AD2003 domain
> but I had to put it in a workgroup for security reasons. Now my server ca
nt
> get to the server server anymore. I can ping the server fine and I even u
sed
> the IP Address in ODBC but I get the following error from ODBC. For some
> reason since my server is in a workgroup, it cant use ODBC to that sql ser
ver
> thats still in the AD2003 domain.
>
> Heres the error
> Conneciton Failed
> SQLState '01000'
> SQL Server error 1326
> Microsft ODBC SQL Server Driver DBNetLib ConnectionOpen Connect
> COnneciton Failed
> SQLState '08001
> SQL Server Error 17
> Sql Server does not exist or Access denied.
> Thanks
>|||ok I figured it out. It was because I needed a access rule in my proxy
server..
Thanks.
"Jerry Farkas" wrote:
[vbcol=seagreen]
> also, this was a proxy server with multiple nic cards and ip addresses. I
> did a tracrt route sand I can get to my sql servers fine. I also tested
> other sql server and I cant get to nay of them so the problem is on the no
n
> sql server that is using ODBC to get to the SQL Server.
> Thanks.
> "Jerry Farkas" wrote:
>

I CAN'T CONNECT TO MY SQLSERVER 2000 USING A VPN THROUGH A FIREWAL

I am trying to connect to my Sql Server 2000 with Windows 2003 server, using
a VPN.
In my firewall I opened port 1433 and 1434.
I setup mi Client Network Utility:
- General: TCP/IP ENABLED
- Alias: TCP/IP, SERVER IP, AND PORT 1433
If I ping to my server it response very fast (400ms or less), but I cannot
connect using Query Analyzer.
Using the same VPN I can connect to my Unix server using Telnet.
INF: TCP Ports Needed for Communication to SQL Server Through a Firewall
http://support.microsoft.com/default...&Product=sql2k
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"RAFAEL ORELLANA" <RAFAEL ORELLANA@.discussions.microsoft.com> wrote in
message news:BB73F7C1-416C-49E6-8F41-0578D685079B@.microsoft.com...
> I am trying to connect to my Sql Server 2000 with Windows 2003 server,
using
> a VPN.
> In my firewall I opened port 1433 and 1434.
> I setup mi Client Network Utility:
> - General: TCP/IP ENABLED
> - Alias: TCP/IP, SERVER IP, AND PORT 1433
> If I ping to my server it response very fast (400ms or less), but I cannot
> connect using Query Analyzer.
> Using the same VPN I can connect to my Unix server using Telnet.
>

Wednesday, March 21, 2012

I CAN'T CONNECT TO MY SQLSERVER 2000 USING A VPN THROUGH A FIREWAL

I am trying to connect to my Sql Server 2000 with Windows 2003 server, using
a VPN.
In my firewall I opened port 1433 and 1434.
I setup mi Client Network Utility:
- General: TCP/IP ENABLED
- Alias: TCP/IP, SERVER IP, AND PORT 1433
If I ping to my server it response very fast (400ms or less), but I cannot
connect using Query Analyzer.
Using the same VPN I can connect to my Unix server using Telnet.
INF: TCP Ports Needed for Communication to SQL Server Through a Firewall
http://support.microsoft.com/default...&Product=sql2k
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"RAFAEL ORELLANA" <RAFAEL ORELLANA@.discussions.microsoft.com> wrote in
message news:BB73F7C1-416C-49E6-8F41-0578D685079B@.microsoft.com...
> I am trying to connect to my Sql Server 2000 with Windows 2003 server,
using
> a VPN.
> In my firewall I opened port 1433 and 1434.
> I setup mi Client Network Utility:
> - General: TCP/IP ENABLED
> - Alias: TCP/IP, SERVER IP, AND PORT 1433
> If I ping to my server it response very fast (400ms or less), but I cannot
> connect using Query Analyzer.
> Using the same VPN I can connect to my Unix server using Telnet.
>

I CAN'T CONNECT TO MY SQLSERVER 2000 USING A VPN THROUGH A FIREWAL

I am trying to connect to my Sql Server 2000 with Windows 2003 server, using
a VPN.
In my firewall I opened port 1433 and 1434.
I setup mi Client Network Utility:
- General: TCP/IP ENABLED
- Alias: TCP/IP, SERVER IP, AND PORT 1433
If I ping to my server it response very fast (400ms or less), but I cannot
connect using Query Analyzer.
Using the same VPN I can connect to my Unix server using Telnet.INF: TCP Ports Needed for Communication to SQL Server Through a Firewall
http://support.microsoft.com/defaul...2&Product=sql2k
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"RAFAEL ORELLANA" <RAFAEL ORELLANA@.discussions.microsoft.com> wrote in
message news:BB73F7C1-416C-49E6-8F41-0578D685079B@.microsoft.com...
> I am trying to connect to my Sql Server 2000 with Windows 2003 server,
using
> a VPN.
> In my firewall I opened port 1433 and 1434.
> I setup mi Client Network Utility:
> - General: TCP/IP ENABLED
> - Alias: TCP/IP, SERVER IP, AND PORT 1433
> If I ping to my server it response very fast (400ms or less), but I cannot
> connect using Query Analyzer.
> Using the same VPN I can connect to my Unix server using Telnet.
>sql

i cant activate the report

Hi all
I set up a enviroment of report services:
windows 2000+mssql 2000+vs.net 2003+report service.
after finished installing the report ,it told me cant activate
automatically,
i should activate the report service by hand,
so i fount the command in help file: rsacivate command
so
C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
Services\ReportServer>reac
tivate -c "C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
Services\Report
Server\rsreportserver.config" -t
and it shows:
Failure starting the web service:
System.Exception: Unexpected database error (-2147159548)
0x80004002 -->
System.Exception: 0x80004002
-- End of inner exception stack trace --
at
Microsoft.ReportingServices.RSActivate.RSActivate.RpcActivateService(Int32
clientType)
at Microsoft.ReportingServices.RSActivate.RSActivate.InstanceMain()
at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[] args,
Bas
eCmdLine instance)
any1 can help me out.
thank youHi Asher!
Did you find a solution?
I have the same problem too and i noticed other users with this problem,
nobody has found a solution til now...
I'd appreciate help from microsoft staff on this topic.
I'm on Windows 2000
MDAC 2.8 SP1
SQL Server 2000 SP4, with all the Service Packs for Reporting Services
installed.
--
ErrorMessage when executing rsactivate -c"C:\Program Files\Microsoft SQL
Server\MSSQL\Reporting Services\ReportServer\RSReportServer.config" -t
Failure starting the web service:
System.Exception: Unexpected database error (-2147159548) 0x80040154
-->
System.Exception: 0x80040154
-- End of inner exception stack trace --
at
Microsoft.ReportingServices.RSActivate.RSActivate.RpcActivateService(Int32
clientType)
at Microsoft.ReportingServices.RSActivate.RSActivate.InstanceMain()
at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[] args,
BaseCmdLine instance)
--
Error Message when executing rskeymgmt -d -t:
System.Exception: Unexpected database error (-2147159548) 0x80040154
-->
System.Exception: 0x80040154
-- End of inner exception stack trace --
at Microsoft.ReportingServices.RSKeyMgmt.RSKeyMgmt.InstanceMain()
at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[] args,
BaseCmdLine instance)
Thx for any help
yara
"Asher Wu" wrote:
> Hi all
> I set up a enviroment of report services:
> windows 2000+mssql 2000+vs.net 2003+report service.
> after finished installing the report ,it told me cant activate
> automatically,
> i should activate the report service by hand,
> so i fount the command in help file: rsacivate command
> so
> C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
> Services\ReportServer>reac
> tivate -c "C:\Program Files\Microsoft SQL Server\MSSQL\Reporting
> Services\Report
> Server\rsreportserver.config" -t
> and it shows:
> Failure starting the web service:
> System.Exception: Unexpected database error (-2147159548)
> 0x80004002 -->
> System.Exception: 0x80004002
> -- End of inner exception stack trace --
> at
> Microsoft.ReportingServices.RSActivate.RSActivate.RpcActivateService(Int32
> clientType)
> at Microsoft.ReportingServices.RSActivate.RSActivate.InstanceMain()
> at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[] args,
> Bas
> eCmdLine instance)
>
> any1 can help me out.
> thank you
>
>

Monday, March 19, 2012

I cannot log in with sa user (error 18452)

Hi to all.

I'm trying to log in on local machine to my SQL Server 2005 (in Windows Server 2003) using a user not trused, like as 'sa' user, but I receive the error Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452).

No problem to connect with trusted user (my logon user to operating system).

I set the auth mode to SQL Server & Windows but doesn't work.

What can I do?

Ciao.

Hi,

you did either not set Mixed Authentication for the instance you are connecting, or you are connecting to the wrong instance or you did not restart the service after changing the authentication mode. The is no other explanation for this error message.

Jens K. Suessmeyer.

http://www.sqlserver2005.de

|||I've seen people get this error when trying to work out what authentication mode they want. They switch from one to the other, but don't restart the service - only to find that the mode hasn't actually changed yet.

Rob

Monday, March 12, 2012

I can not connect to SQL Server 2000 on WinXP SP2

Hi,
I am using 'SQLServer 2000 Driver for JDBC' in my java application. My SQL
Server is running in Windows XP pc. I dont had any problem before install
WindowsXP Service Pack 2. But when i have installed WinXP SP2 my application
can not connected to SQL Server. I have disabled firewall option in windows
but problem already continue. Is there any way for fixing this problem.
Thanks.
Sql Server SP3 is required
"Sercan AYYILDIZ" <sercan@.politeknik.us> wrote in message
news:O4umfOqEFHA.2756@.TK2MSFTNGP15.phx.gbl...
> Hi,
> I am using 'SQLServer 2000 Driver for JDBC' in my java application. My
> SQL
> Server is running in Windows XP pc. I dont had any problem before install
> WindowsXP Service Pack 2. But when i have installed WinXP SP2 my
> application
> can not connected to SQL Server. I have disabled firewall option in
> windows
> but problem already continue. Is there any way for fixing this problem.
> Thanks.
>

I can no longer connect to my SQL Server Express 2005 from Manager Studio Express

Everything was working fine. I have been able to connect using windows authentication. Then, I went into the ODBC manager to add a data source and it failed to connect so I went back into the Server management studio to modify users. After doing this I now get an error when I try to conenct the management studio to the SQL server.

I wasn't modifying the login for my windows account that I normally use, I was modifying a different one, however I now get the message "An error has occured while establishing a connection to the SQL server. This kind of problem can ocure because the default behavior of the server does not support all connection methods" blah blah.

Does anyone know how I can attach to the server? Or, do I need to somehow remove the server and create a new one? How would I do that?

Thanks in advance for any input.

Hi,

did you disable remote connections by accident ? If so, see if this feature is enabled under the Serface Configuration. See more detaisl on the screencast on my site.

HTH, Jens K. Suessmeyer.


http://www.sqlserver2005.de

Wednesday, March 7, 2012

HyperThreading with SQL Server 2000

Hi:

I have a server with 4 processors with hyperthreading, so my Windows Server 2003 Enterprise Edition see 8 processors. I have installed SQL Server 2000 Enterprise Edition and see 8 processors. The question is : if i install SQL Server 2000 Standard Edition, how many processors see and use 4 or 8 ?

I know that i have to license only 4 processors according to the Microsoft License, but,really, how many processors see and use?.sqlserver will see all logical processsors (i.e. 8) but you should limit the paralellism to only to 4 (physical) to avoid possible internal para blocking (i.e. max degree of paralellism).

Leaving HT on is a good thing but it's useless to allow all 8 schedulers to work on a single query.|||Why did you enable hyper-threading?

Even M$ admits that you probably are better off w/out it|||Because my server have this property by default then the operating system use this, i did think that use that was better for perfomance...i'm confuse. :confused:|||Rob is an MVP and does a lot of sql server work

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55887

Also, it's a lot of excess for a 10-20% (10 more likely) Perf gain...Plus you have a quad...I don't even think they list a quad

http://support.microsoft.com/default.aspx/kb/322385|||Please take a look at Kevin's article , Bare Metal Tuning (will require sqlmag sub to access the article).
http://www.windowsitpro.com/SQLServer/Article/ArticleID/46492/SQLServer_46492.html

In general, HT does give a boost in SQL perf (20-30% gain according to the TPC-C he and a Performance Engr from HP did). If you have an app that pushes L1/L2 cache heavily, turning off HT would only then be a good idea.

Hyper-Threading with SQL 2000 Standard

We just purchased a quad processor server running windows
2003. The processors are xeon so they have HTT
capability. Will SQL200 recognize all eight logical
processor or will it only see four. I wan't to find out
before we install SQL 2000. Thanks.With sp3 it should use all eight.
--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
"Stephen" <anonymous@.discussions.microsoft.com> wrote in message
news:297901c3af9b$78aa3c40$a601280a@.phx.gbl...
> We just purchased a quad processor server running windows
> 2003. The processors are xeon so they have HTT
> capability. Will SQL200 recognize all eight logical
> processor or will it only see four. I wan't to find out
> before we install SQL 2000. Thanks.|||Here's a good white-paper on hyper-threading for various Windows OS'
http://www.microsoft.com/windows2000/server/evaluation/performance/reports/hyperthread.asp
"Tibor Karaszi" <tibor.please_reply_to_public_forum.karaszi@.cornerstone.se> wrote in message news:<OS1YGh6rDHA.2456@.TK2MSFTNGP12.phx.gbl>...
> With sp3 it should use all eight.
> --
> Tibor Karaszi, SQL Server MVP
> Archive at: http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
>
> "Stephen" <anonymous@.discussions.microsoft.com> wrote in message
> news:297901c3af9b$78aa3c40$a601280a@.phx.gbl...
> > We just purchased a quad processor server running windows
> > 2003. The processors are xeon so they have HTT
> > capability. Will SQL200 recognize all eight logical
> > processor or will it only see four. I wan't to find out
> > before we install SQL 2000. Thanks.

HYPER-THREADING configuration hints

Hi
We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors, 8
GIG of Memory, Windows SERVER 2003, connected to EMC.
Does anybody have any general rules for configuration for such a server
(it's going to be OLTP) Should we set the affinity to only use the "REAL"
processors. Should we allow all processors to be used for parallelism or
just the "REAL" ones. Anything else we need to consider?
Right now during load testing we are seeing a lot of CXPACKET waits.
Thanks
Paul
Try setting your MAXDOP to use just 4 processors first and see how that
goes.
Andrew J. Kelly SQL MVP
"Paul" <xx@.nospam.com> wrote in message
news:%23AGSkbP0EHA.1264@.TK2MSFTNGP12.phx.gbl...
> Hi
> We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors,
> 8
> GIG of Memory, Windows SERVER 2003, connected to EMC.
> Does anybody have any general rules for configuration for such a server
> (it's going to be OLTP) Should we set the affinity to only use the "REAL"
> processors. Should we allow all processors to be used for parallelism or
> just the "REAL" ones. Anything else we need to consider?
> Right now during load testing we are seeing a lot of CXPACKET waits.
> Thanks
> Paul
>
|||I have used the number of physical processors minus 1 as a stating point. In
you case I would start with 3 and work down from there, testing after each
change. Your mileage will vary based on the number of concurrent users and
the types of queries they are executing.
Rob
"Paul" wrote:

> Hi
> We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors, 8
> GIG of Memory, Windows SERVER 2003, connected to EMC.
> Does anybody have any general rules for configuration for such a server
> (it's going to be OLTP) Should we set the affinity to only use the "REAL"
> processors. Should we allow all processors to be used for parallelism or
> just the "REAL" ones. Anything else we need to consider?
> Right now during load testing we are seeing a lot of CXPACKET waits.
> Thanks
> Paul
>
>

HYPER-THREADING configuration hints

Hi
We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors, 8
GIG of Memory, Windows SERVER 2003, connected to EMC.
Does anybody have any general rules for configuration for such a server
(it's going to be OLTP) Should we set the affinity to only use the "REAL"
processors. Should we allow all processors to be used for parallelism or
just the "REAL" ones. Anything else we need to consider?
Right now during load testing we are seeing a lot of CXPACKET waits.
Thanks
PaulTry setting your MAXDOP to use just 4 processors first and see how that
goes.
Andrew J. Kelly SQL MVP
"Paul" <xx@.nospam.com> wrote in message
news:%23AGSkbP0EHA.1264@.TK2MSFTNGP12.phx.gbl...
> Hi
> We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors,
> 8
> GIG of Memory, Windows SERVER 2003, connected to EMC.
> Does anybody have any general rules for configuration for such a server
> (it's going to be OLTP) Should we set the affinity to only use the "REAL"
> processors. Should we allow all processors to be used for parallelism or
> just the "REAL" ones. Anything else we need to consider?
> Right now during load testing we are seeing a lot of CXPACKET waits.
> Thanks
> Paul
>|||I have used the number of physical processors minus 1 as a stating point. In
you case I would start with 3 and work down from there, testing after each
change. Your mileage will vary based on the number of concurrent users and
the types of queries they are executing.
Rob
"Paul" wrote:

> Hi
> We have a SQL 2000 ENTERPRISE, running on four Hyper-threaded processors,
8
> GIG of Memory, Windows SERVER 2003, connected to EMC.
> Does anybody have any general rules for configuration for such a server
> (it's going to be OLTP) Should we set the affinity to only use the "REAL"
> processors. Should we allow all processors to be used for parallelism or
> just the "REAL" ones. Anything else we need to consider?
> Right now during load testing we are seeing a lot of CXPACKET waits.
> Thanks
> Paul
>
>