ODBC Read-Only Access
Search
ODBC Read-Only Access
Do not implement without permission from Eric/Wes
Steps to enable ODBC Access
Prepared by Dave Lesage.
To create a local-network ODBC connection:
- Login to SSMS using owner / windows credentials
- Connect to (local)
- Right click (localhost) database
- Properties
- Security
- Ensure that Server Authentication is set to SQL Server and Windows Authentication mode
- Click OK
- Note: If this setting needs to be changed, a restart of the MSSQL service will most likely be required
- Security
- Properties
- Expand Security
- Right-click Logins
- New Login
- General
- Choose login name
- Select SQL Server Authentication
- Enter a strong password (put both in LMI)
- Uncheck enforce password expiration (since the user will not be logging in directly)
- Set Default database to ClubspeedV8 (or the eurekas database, depending on customer needs)
- Server Roles
- Make sure only public is checked
- User Mapping
- Check ClubspeedV8 up top
- Check public down bottom
- Check db_datareader down bottom
- Leave all other items unchecked (uncheck "owner" on bottom)
- Repeat for Eurekas if needed
- Click OK
- General
- New Login
- Open SQL Server Configuration Manager
- SQL Native Client 10.0 Configuration
- Client Protocols
- TCP/IP (double click it)
- Default port should be 1433
- Enabled should be yes
- Note: If either of these settings need to be changed, a restart of the MSSQL service will most likely be required
- TCP/IP (double click it)
- Client Protocols
- SQL Native Client 10.0 Configuration
- Open ODBC Manager (performed on computer connecting to MSSQL, see Side note below)
- System DSN
- Add
- SQL Server Native Client (any version should be fine, 10.0 as a fallback)
- Click Finish
- Name: ClubspeedV8 (or whatever, as long as the customer knows what the name is)
- Server: {IP_Address, no port unless the port is something other than 1433}
- Click Next
- Switch to "With SQL Server authentication..."
- Login ID: {Username created earlier}
- Password: {Password created earlier}
- Click Next
- Check Change the default database to, set to ClubspeedV8 (or eurekas, as necessary)
- Switch Application Intent to READONLY
- Click Next
- Click Finish
- Click Test Data Source, make sure the connection is valid
- Click OK 3x
- Add
- System DSN
ODBC Manager Side Note
There are two versions of the ODBC Manager. If a 32-bit application is going to be used, then C:\Windows\SysWOW64\odbcad32.exe should be used, otherwise C:\Windows\System32\odbcad32.exe should be used for 64-bit applications. The interface should be the same for both versions. Also, the ODBC should be set up on the client machine (or external server -- whichever machine is going to be connecting to SQL server)