![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
I installed SQL Server Express 2005. I choose Mixed MOde Authentication and then installed it. ... However, my laptop lost connection to the internet. I had to reboot and SQL server defaulted to Windows authentication mode. |
|
However when I connect from the ODBC database and run a script I get errors on entering the login and password. My SErver is called : JANIS\SQLExPRESS (SQL Server 9.0.1399 - JANIS\janis) |
|
So I try the login JANIS\SQLEXPRESS with my network password? That doesn't work. |
|
NOw I can't run a script from the ODBC data source even though the ODBC connection tests positive and I can login to the server via SQL SErver mgmt studio with the sa password. IT asks for the password and login. The sa password doesn't work nor does the computer login and password work. |
#3
| |||
| |||
|
|
Janis (Janis (AT) discussions (DOT) microsoft.com) writes: I installed SQL Server Express 2005. I choose Mixed MOde Authentication and then installed it. ... However, my laptop lost connection to the internet. I had to reboot and SQL server defaulted to Windows authentication mode. Probably because you had changed authentication to Windows only. The setting does not take effect until SQL Server is restarted. However when I connect from the ODBC database and run a script I get errors on entering the login and password. My SErver is called : JANIS\SQLExPRESS (SQL Server 9.0.1399 - JANIS\janis) 9.0.1399 is the RTM version of SQL 2005. While it may not resolve your issues, there is all reason to download and install Service Pack 3. So I try the login JANIS\SQLEXPRESS with my network password? That doesn't work. Where do you try this? When you log in with Windows authentication, you log in without specifying username or password; you always log in with the same user as you have logged into Windows. NOw I can't run a script from the ODBC data source even though the ODBC connection tests positive and I can login to the server via SQL SErver mgmt studio with the sa password. IT asks for the password and login. The sa password doesn't work nor does the computer login and password work. This is where it gets difficult. You have some piece of software, here only identified as "ODBC data source", which try to log in to SQL Server but which apparently fails. From what you said, I would assume that you have everything on the same machine, but I am not sure. If you are able to log in as sa through Mgmt Studio, there should be no differences. Here are a few things to examine: o Make sure that you are logging into the correct instance, and not some other instance. o Make sure that you enter the password exactly, and keep in mind that it's case-sensitive. o If there are non-ASCII characters, this may cause problems if the applicaition is a command-line program. o As I said above, you cannot specify a Windows login, when you log in with Windows authentication. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx . |
#4
| |||
| |||
|
|
Janis (Janis (AT) discussions (DOT) microsoft.com) writes: I installed SQL Server Express 2005. I choose Mixed MOde Authentication and then installed it. ... However, my laptop lost connection to the internet. I had to reboot and SQL server defaulted to Windows authentication mode. Probably because you had changed authentication to Windows only. The setting does not take effect until SQL Server is restarted. However when I connect from the ODBC database and run a script I get errors on entering the login and password. My SErver is called : JANIS\SQLExPRESS (SQL Server 9.0.1399 - JANIS\janis) 9.0.1399 is the RTM version of SQL 2005. While it may not resolve your issues, there is all reason to download and install Service Pack 3. So I try the login JANIS\SQLEXPRESS with my network password? That doesn't work. Where do you try this? When you log in with Windows authentication, you log in without specifying username or password; you always log in with the same user as you have logged into Windows. NOw I can't run a script from the ODBC data source even though the ODBC connection tests positive and I can login to the server via SQL SErver mgmt studio with the sa password. IT asks for the password and login. The sa password doesn't work nor does the computer login and password work. This is where it gets difficult. You have some piece of software, here only identified as "ODBC data source", which try to log in to SQL Server but which apparently fails. From what you said, I would assume that you have everything on the same machine, but I am not sure. If you are able to log in as sa through Mgmt Studio, there should be no differences. Here are a few things to examine: o Make sure that you are logging into the correct instance, and not some other instance. o Make sure that you enter the password exactly, and keep in mind that it's case-sensitive. o If there are non-ASCII characters, this may cause problems if the applicaition is a command-line program. o As I said above, you cannot specify a Windows login, when you log in with Windows authentication. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx . |
#5
| |||
| |||
|
|
Janis (Janis (AT) discussions (DOT) microsoft.com) writes: I installed SQL Server Express 2005. I choose Mixed MOde Authentication and then installed it. ... However, my laptop lost connection to the internet. I had to reboot and SQL server defaulted to Windows authentication mode. Probably because you had changed authentication to Windows only. The setting does not take effect until SQL Server is restarted. However when I connect from the ODBC database and run a script I get errors on entering the login and password. My SErver is called : JANIS\SQLExPRESS (SQL Server 9.0.1399 - JANIS\janis) 9.0.1399 is the RTM version of SQL 2005. While it may not resolve your issues, there is all reason to download and install Service Pack 3. So I try the login JANIS\SQLEXPRESS with my network password? That doesn't work. Where do you try this? When you log in with Windows authentication, you log in without specifying username or password; you always log in with the same user as you have logged into Windows. NOw I can't run a script from the ODBC data source even though the ODBC connection tests positive and I can login to the server via SQL SErver mgmt studio with the sa password. IT asks for the password and login. The sa password doesn't work nor does the computer login and password work. This is where it gets difficult. You have some piece of software, here only identified as "ODBC data source", which try to log in to SQL Server but which apparently fails. From what you said, I would assume that you have everything on the same machine, but I am not sure. If you are able to log in as sa through Mgmt Studio, there should be no differences. Here are a few things to examine: o Make sure that you are logging into the correct instance, and not some other instance. o Make sure that you enter the password exactly, and keep in mind that it's case-sensitive. o If there are non-ASCII characters, this may cause problems if the applicaition is a command-line program. o As I said above, you cannot specify a Windows login, when you log in with Windows authentication. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx . |
#6
| |||
| |||
|
|
Janis (Janis (AT) discussions (DOT) microsoft.com) writes: I installed SQL Server Express 2005. I choose Mixed MOde Authentication and then installed it. ... However, my laptop lost connection to the internet. I had to reboot and SQL server defaulted to Windows authentication mode. Probably because you had changed authentication to Windows only. The setting does not take effect until SQL Server is restarted. However when I connect from the ODBC database and run a script I get errors on entering the login and password. My SErver is called : JANIS\SQLExPRESS (SQL Server 9.0.1399 - JANIS\janis) 9.0.1399 is the RTM version of SQL 2005. While it may not resolve your issues, there is all reason to download and install Service Pack 3. So I try the login JANIS\SQLEXPRESS with my network password? That doesn't work. Where do you try this? When you log in with Windows authentication, you log in without specifying username or password; you always log in with the same user as you have logged into Windows. NOw I can't run a script from the ODBC data source even though the ODBC connection tests positive and I can login to the server via SQL SErver mgmt studio with the sa password. IT asks for the password and login. The sa password doesn't work nor does the computer login and password work. This is where it gets difficult. You have some piece of software, here only identified as "ODBC data source", which try to log in to SQL Server but which apparently fails. From what you said, I would assume that you have everything on the same machine, but I am not sure. If you are able to log in as sa through Mgmt Studio, there should be no differences. Here are a few things to examine: o Make sure that you are logging into the correct instance, and not some other instance. o Make sure that you enter the password exactly, and keep in mind that it's case-sensitive. o If there are non-ASCII characters, this may cause problems if the applicaition is a command-line program. o As I said above, you cannot specify a Windows login, when you log in with Windows authentication. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx . |
#7
| |||
| |||
|
|
Janis (Janis (AT) discussions (DOT) microsoft.com) writes: I installed SQL Server Express 2005. I choose Mixed MOde Authentication and then installed it. ... However, my laptop lost connection to the internet. I had to reboot and SQL server defaulted to Windows authentication mode. Probably because you had changed authentication to Windows only. The setting does not take effect until SQL Server is restarted. However when I connect from the ODBC database and run a script I get errors on entering the login and password. My SErver is called : JANIS\SQLExPRESS (SQL Server 9.0.1399 - JANIS\janis) 9.0.1399 is the RTM version of SQL 2005. While it may not resolve your issues, there is all reason to download and install Service Pack 3. So I try the login JANIS\SQLEXPRESS with my network password? That doesn't work. Where do you try this? When you log in with Windows authentication, you log in without specifying username or password; you always log in with the same user as you have logged into Windows. NOw I can't run a script from the ODBC data source even though the ODBC connection tests positive and I can login to the server via SQL SErver mgmt studio with the sa password. IT asks for the password and login. The sa password doesn't work nor does the computer login and password work. This is where it gets difficult. You have some piece of software, here only identified as "ODBC data source", which try to log in to SQL Server but which apparently fails. From what you said, I would assume that you have everything on the same machine, but I am not sure. If you are able to log in as sa through Mgmt Studio, there should be no differences. Here are a few things to examine: o Make sure that you are logging into the correct instance, and not some other instance. o Make sure that you enter the password exactly, and keep in mind that it's case-sensitive. o If there are non-ASCII characters, this may cause problems if the applicaition is a command-line program. o As I said above, you cannot specify a Windows login, when you log in with Windows authentication. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx . |
#8
| |||
| |||
|
|
Janis (Janis (AT) discussions (DOT) microsoft.com) writes: I installed SQL Server Express 2005. I choose Mixed MOde Authentication and then installed it. ... However, my laptop lost connection to the internet. I had to reboot and SQL server defaulted to Windows authentication mode. Probably because you had changed authentication to Windows only. The setting does not take effect until SQL Server is restarted. However when I connect from the ODBC database and run a script I get errors on entering the login and password. My SErver is called : JANIS\SQLExPRESS (SQL Server 9.0.1399 - JANIS\janis) 9.0.1399 is the RTM version of SQL 2005. While it may not resolve your issues, there is all reason to download and install Service Pack 3. So I try the login JANIS\SQLEXPRESS with my network password? That doesn't work. Where do you try this? When you log in with Windows authentication, you log in without specifying username or password; you always log in with the same user as you have logged into Windows. NOw I can't run a script from the ODBC data source even though the ODBC connection tests positive and I can login to the server via SQL SErver mgmt studio with the sa password. IT asks for the password and login. The sa password doesn't work nor does the computer login and password work. This is where it gets difficult. You have some piece of software, here only identified as "ODBC data source", which try to log in to SQL Server but which apparently fails. From what you said, I would assume that you have everything on the same machine, but I am not sure. If you are able to log in as sa through Mgmt Studio, there should be no differences. Here are a few things to examine: o Make sure that you are logging into the correct instance, and not some other instance. o Make sure that you enter the password exactly, and keep in mind that it's case-sensitive. o If there are non-ASCII characters, this may cause problems if the applicaition is a command-line program. o As I said above, you cannot specify a Windows login, when you log in with Windows authentication. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx . Er |
#9
| |||
| |||
|
|
Erland: I got it back in mixed mode. Installing the service pack 3 reset it. It was almost like reinstalling sql server express but it let me put in default, and put in a sa account over again. Filemaker ODBC couldn't work with Windows authentication so it had to be in mixed mode. The ODBC DNS tested and SQL SErver mgmt studio lets me login in as the sa and it all works. Thanks for your help. Really needed to get this project done so I do appreciate that someone answers these emails . |
![]() |
| Thread Tools | |
| Display Modes | |
| |