| |
|
If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
|
 |

08-18-10, 07:59
|
|
Registered User
|
|
Join Date: May 2003
Location: UK
Posts: 233
|
|
|
Cant see SQL Server with Client ODBC
|
|
I have installed SQL Server 2008 on Windows Server 2003 OS and when I go to the client machine and try to access via an ODBC Driver I can not see any of the SQL Server 2008or any of its databases.
I have on the server checked the SQL Server Browser is running.
Shared Memory = Enabled
TCP/IP = Enabled
SQL Server is running
I have with cmdprompt run OSQL -L and I cannot see the MS Server intance which I belive to be MSSQLServer that I checked in services where it is Started.
Any ideas?
HelpMePlease
|
|

08-18-10, 10:40
|
|
Wage drone 24601
|
|
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,784
|
|
Maybe Microsoft learned something about security in the last few upgrades. Try this instead;
Code:
osql /Syourservernamehere /E
|
Last edited by MCrowley; 08-18-10 at 10:41.
Reason: Fixed code tag
|

08-18-10, 10:53
|
|
Registered User
|
|
Join Date: May 2003
Location: UK
Posts: 233
|
|
|
|
Quote:
Originally Posted by MCrowley
Maybe Microsoft learned something about security in the last few upgrades. Try this instead;
Code:
osql /Syourservernamehere /E
|
I get a message saying Login failed for user
|
|

08-18-10, 11:41
|
|
Wage drone 24601
|
|
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,784
|
|
Go to the SQL Server machine, and if you have login failure auditing on, then you should see a record of the login failure in SQL Server's errorlog. If you have login failure auditing on, and there is no mention in the errorlog of the actual login failure, then this is likely a firewall problem.
|
|

08-18-10, 16:29
|
|
Registered User
|
|
Join Date: May 2003
Location: UK
Posts: 233
|
|
I don't think I have an option for Audit although I am not 100% sure where I should chek this?
I am using SQL server 2008 standard.
|
|

08-18-10, 16:37
|
|
Wage drone 24601
|
|
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,784
|
|
In SSMS right click on the server in the Object Explorer. Go to properties, then security. Login auditing should be in the middle somewhere.
|
|

08-18-10, 16:44
|
|
Registered User
|
|
Join Date: May 2003
Location: UK
Posts: 233
|
|
Ok in with you on there I have:
Windows Authentication Checked
and
Failed Logins Only Checked
Where can I view the report on this?
Thanks for your patience
|
|

08-18-10, 19:34
|
|
Registered User
|
|
Join Date: May 2003
Location: UK
Posts: 233
|
|
I have located the error log report using
EXEC sp_readerrorlog
Is this the correct way of doing so?
|
|

08-19-10, 09:25
|
|
Registered User
|
|
Join Date: Aug 2010
Posts: 1
|
|
I seem to be having the same problem.
|
|

08-19-10, 10:56
|
|
Wage drone 24601
|
|
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,784
|
|
sp_readerrorlog is good enough. Try to log in from the remote client, then check the errorlog to see if a new failed login record comes up.
|
|

09-01-10, 15:11
|
|
Registered User
|
|
Join Date: May 2003
Location: UK
Posts: 233
|
|
Quote:
Originally Posted by smivers10
Got it working, thanks guys.
|
What did you do to get it working?
|
|

09-01-10, 17:54
|
|
Registered User
|
|
Join Date: Sep 2010
Posts: 1
|
|
Quote:
Originally Posted by MCrowley
Go to the SQL Server machine, and if you have login failure auditing on, then you should see a record of the login failure in SQL Server's errorlog. If you have login failure auditing on, and there is no mention in the errorlog of the actual login failure, then this is likely a firewall problem.
|
Thanks MCrowley, this actually helps me out a lot.
|
|

09-01-10, 22:14
|
|
Registered User
|
|
Join Date: Sep 2010
Location: NH
Posts: 1
|
|
Quote:
Originally Posted by MCrowley
Go to the SQL Server machine, and if you have login failure auditing on, then you should see a record of the login failure in SQL Server's errorlog. If you have login failure auditing on, and there is no mention in the errorlog of the actual login failure, then this is likely a firewall problem.
|
Thanks - Yup, dang firewall issue with me. That helped a lot.
Amazing how things change and start going wrong when you have ZERO configuration management in your environment and work with a bunch of cowboys! (and yes, I'm part of the problem too) 
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|