Unconfigured Ad Widget
Collapse
|
|
|
|
|
|
|
|
Any SQL pros?
Collapse
X
-
Just an update... After two days I figured it out. Apparently still having the Fox Pro DSN in ODBC administration will make that software not work. -
I'll give this a try tomorrow, thanks.Okay, I don't have a ton of experience on workgroups. Have you tried creating a user with the same name on the SQL server as the client and give that user admin priveleges on the server? Passwords need to match obviously. Just a shot in the dark. MSQL will dovetail itself into active directory but I don't know what it does with workgroups to be honest.
ETA: I mean not a user in the database, but a user on the OS. Also, you can apply permissions to a database, but depending on the SQL server you have sometimes the tables don't get their permissions set as a child of the database. Make sure your permissions are set on all the tables, indexes, and stored procedures if there are any.Leave a comment:
-
Yeah that's how I've been verifying it was there and that the login works is by going into Management Studio.
I tried creating a new SQL user and made them sysadmin and dbadmin, then added them to the database, then went to the table and granted permission for every option. It still was able to connect to the database but not see the table. I'm going to work on it more tomorrow. It's really irritating because my boss wants me to guide him by watching over his shoulder but he is REALLY slow and while I'm not good at SQL he is painfully worse.Leave a comment:
-
I'm guessing this is SQL Server and if so do you have other instance of SQL server loaded. Like SQL2005, SQL2008, SQL2008R2, SQLExpress. And if you have SQL Management studio, connect in with the non-sa credentials and see if the table exists.Leave a comment:
-
Okay, I don't have a ton of experience on workgroups. Have you tried creating a user with the same name on the SQL server as the client and give that user admin priveleges on the server? Passwords need to match obviously. Just a shot in the dark. MSQL will dovetail itself into active directory but I don't know what it does with workgroups to be honest.We are using a system DSN in a workgroup. I'll try a new user and see what happens. The user we're using my boss created today but he had some guy from another company remoting in to do it and I can tell this guy probably knew less about SQL than I do and I'm the first to admit I barely know anything about it.
ETA: I mean not a user in the database, but a user on the OS. Also, you can apply permissions to a database, but depending on the SQL server you have sometimes the tables don't get their permissions set as a child of the database. Make sure your permissions are set on all the tables, indexes, and stored procedures if there are any.Last edited by Kodemonkey; 05-16-2013, 5:49 PM.Leave a comment:
-
Only hosting one database and definitely selecting the correct one in the program setup.Leave a comment:
-
Is the database server hosting multiple databases? My guess is you are referencing the master database and not the correct one.Leave a comment:
-
We are using a system DSN in a workgroup. I'll try a new user and see what happens. The user we're using my boss created today but he had some guy from another company remoting in to do it and I can tell this guy probably knew less about SQL than I do and I'm the first to admit I barely know anything about it.Are you using a system DSN or user DSN? If you are using microsoft SQL, are you using a domain or a workgroup? It's been awhile, but I remember that AD would wreck havoc with user DSNs.
As other's have said, use iSQLw and see if you can send commands to the database. SQL permissions can get pretty granular, it's easy to get in a fight with them. You might want to try making a new user and assigning top level rights to the tables you need to access as well instead of using sa. Just to make sure there isn't a problem with the sa account permissions.Leave a comment:
-
-
Are you using a system DSN or user DSN? If you are using microsoft SQL, are you using a domain or a workgroup? It's been awhile, but I remember that AD would wreck havoc with user DSNs.
As other's have said, use iSQLw and see if you can send commands to the database. SQL permissions can get pretty granular, it's easy to get in a fight with them. You might want to try making a new user and assigning top level rights to the tables you need to access as well instead of using sa. Just to make sure there isn't a problem with the sa account permissions.Leave a comment:
-
-
Leave a comment:
-
I'm not even sure what command it's using. It's software developed by a 3rd party for shipping and basically it calls up the table by a unique ID number and imports the shipping address. Once done it writes back a tracking number.I'm not a pro with SQL, and its been a while since I wrote an app that uses it, but I recall that most SQL database has a tool that lets you login and issue SQL commands, and it'll return the result.
I'll recommend using that tool and issue the same SQL command your application is using, and see if it is returning the database table. If not, there's probably an error in the SQL statement used.
I can't even get it to issue a command because it checks to see if the table is found during the setup and wont complete the setup of the application without being able to access that table. I really hate dealing with databases, I REALLY hate it, I'm more of a network guy. I'll try the SQL query tool.Leave a comment:
-
Point a SQL Query tool at the database or even Access to see if it can really see the database structure.Leave a comment:
Calguns.net Statistics
Collapse
Topics: 1,871,132
Posts: 25,179,681
Members: 358,862
Active Members: 5,363
Welcome to our newest member, 1776 Arms.
What's Going On
Collapse
There are currently 34006 users online. 111 members and 33895 guests.
Most users ever online was 239,041 at 11:39 PM on 02-14-2026.

Leave a comment: