Buddhi_imatrix
asked on
Connecting to SQL Server database in Codecharge studio
Hi,
I'm trying to connect to a database in Microsoft SQl server 2012 in Windows_NT mode.
The database name is "Checkweigher" and is setup in mixed mode.
I''ve setup the Codecharge studio connection.
Database: SQL Server
Server Name: ***\MES
Selected use Windows NT Integrated security
And selected the database.
I tested the connection and it says that the connection was successful
But when I click on the "Live Page: tab, I get the following error:
Unable to establish connection to database.
Error information:
Microsoft OLE DB Provider for SQL Server (0x80004005)
Cannot open database "CheckWeighers" requested by the login. The login failed.
Other possible cause of this problem:
The database cannot be opened, most likely due to incorrect connection settings or insufficient security set on your database folder or file.
For more details please refer to http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306518
I just can't seem to find a solution. Please help.
Thanks.
I'm trying to connect to a database in Microsoft SQl server 2012 in Windows_NT mode.
The database name is "Checkweigher" and is setup in mixed mode.
I''ve setup the Codecharge studio connection.
Database: SQL Server
Server Name: ***\MES
Selected use Windows NT Integrated security
And selected the database.
I tested the connection and it says that the connection was successful
But when I click on the "Live Page: tab, I get the following error:
Unable to establish connection to database.
Error information:
Microsoft OLE DB Provider for SQL Server (0x80004005)
Cannot open database "CheckWeighers" requested by the login. The login failed.
Other possible cause of this problem:
The database cannot be opened, most likely due to incorrect connection settings or insufficient security set on your database folder or file.
For more details please refer to http://support.microsoft.com/default.aspx?scid=kb;en-us;Q306518
I just can't seem to find a solution. Please help.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks guys!!... i tried to pin point the problem so i deleted all the permission I had given it but it still works. Seems a bit weird.
No split in the points? I provided the overall theory in the answer and SS provided the fix. Not sure how you came about your awarding of points on this one....
it may also be trying to connect via your IIS user (I've run into setups like these), try giving your IIS user full rights (just as a test) and see if that helps.