473,385 Members | 1,588 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

permission issue connect sql server table from MS Access

Hi:

I have migrated MS Access table from .mdb to MSsql server, from my computer and my boss' pc can run the new Access application without any problem, but another user just can run this application (before the migration, she runs the .mdb without problem).

error: The Expression After update you entered as the event property setting produced the following error: ODBC-connection to "textSQLDB" failed.

I am worry about my connection string is not right:

The connection string in before: "Provider=Microsoft.Jet.OLEDB.4.0; data source=\\server\shared\Processing\dbase\Processing .mdb"

The connection string after tables moved to sql: "Provider=SQLOLEDB; Data Source=SERVER; Initial Catalog= VisionSQL;Integrated Security=SSPI;"

But if that is wrong, my pc and my boss pc can't run also.

So, it must be a permission issue. the sql database is in a shared folder, (the previsou .mdb also in that location, and everybody can run that .mdb before).

How to set the permission, i need a very detailed instruction. (a useful link will be also great).

Thanks in advance.

Jt
Jan 19 '08 #1
6 3773
sierra7
446 Expert 256MB
Just a thought . . has your other user got an ODBC driver set up in ODBC Manager on her pc?

S7
Jan 20 '08 #2
Just a thought . . has your other user got an ODBC driver set up in ODBC Manager on her pc?

S7
Thanks for your post, sierra7.

How to find that the user has or hasn't installed the ODBC driver?

Thank you very much.

Jt
Jan 20 '08 #3
sierra7
446 Expert 256MB
Thanks for your post, sierra7.

How to find that the user has or hasn't installed the ODBC driver?

Thank you very much.

Jt
There is probably a clever way but I would have to sit at her desk and run the ODBC Data Source Administrators program (Start > Control Panel > Administrative Tools > Data Sources (ODBC)) then inspect the various tabs.

Obviously, check your own pc first so you know what you are looking for !

I believe all the drivers are dll's that live in the \Windows\System32 folder so if you've got one that she hasn't, you'll have to copy it over to her computer
(find it's filename by clicking the 'Drivers' tab and browse, then open Windows explorer to copy/paste etc)
and maybe register it
(Start > Run > type "regsvr32 filename.dll ")

S7
Jan 20 '08 #4
There is probably a clever way but I would have to sit at her desk and run the ODBC Data Source Administrators program (Start > Control Panel > Administrative Tools > Data Sources (ODBC)) then inspect the various tabs.

Obviously, check your own pc first so you know what you are looking for !

I believe all the drivers are dll's that live in the \Windows\System32 folder so if you've got one that she hasn't, you'll have to copy it over to her computer
(find it's filename by clicking the 'Drivers' tab and browse, then open Windows explorer to copy/paste etc)
and maybe register it
(Start > Run > type "regsvr32 filename.dll ")

S7
Thank you very much for your help,sierra7.

I have checked my pc (at: ODBC Data Source Administrator), from the System DSN tab only has one list:
Name: Vision (which is the name I have connected to the sql db).
Driver: SQL Native Client (which is the only item from the Drivers tab, I am not sure if I selected that before, or somebody else).
I can go through all the way, and test the connection to the sql database successfully.

That means even in my pc, I don't have dirvers available from the Drviers list. However, I can find "sqlsrv32.dll" from C:\WINDOWS\system32. And I will assume that using SQL Native Client driver is fine.

I want to add extra dll to the Drivers list, how can I do it? From the "Drivers" tab, at the bottom of the window says:"To install new drivers, use the drver's setup program". I have no idea where to start. (why the "sqlsrv32.dll" from C:\WINDOWS\system32 doesn't show the Drivers list?)


I am sorry I have so many newbie problems, but it is really new for me.

Thanks.

jt
Jan 20 '08 #5
sierra7
446 Expert 256MB
Hi again
I am not an expert in this area and at the end of the day you may well be right that you have a permissions problem. Your connection string is obviously OK for you and your boss, so Access is not your problem.

You obviously have a data connector called 'Vision'. Does you colleague have this set-up in ODBC Administrator? If she does then the problem lay elsewhere.

At this point I become unclear of what you meant in your last post.You did not say what the name of the driver dll for Vision was; I'll assume it was "sqlsrv32.dll"

Also, I would not expect all of the drivers that appear on the 'Drivers' tab to be setup with System DNS names, only those you wanted for the names that you create e.g 'Vision'.

Are you implying that you want to set-up a 'Vision' DNS on yor colleagues pc but can not find "sqlsrv32.dll" on her list? This is a Microsoft driver and should have been installed by default with Windows. If "sqlsrv32.dll" can be found in her \Windows\System32 folder but is not appearing on the list then I would try re-registering it (as in my post #4)
(Start > Run > type "regsvr32 sqlsrv32.dll" or "regsvr32 c:\Windows\System32 sqlsrv32.dll")

I did a quick Google on "add odbc mysql" and came accross this article that might help.

http://www.nusphere.com/products/lib...mysql_odbc.htm

You may also want to address your problem to the MySQL forum because I don't think you have an Access problem

Best of luck

S7
Jan 21 '08 #6
NeoPa
32,556 Expert Mod 16PB
I'm going to move this thread to the SQL Server / MSSQL forum as it seems that is what this question is about. You will still get the updates if anyone posts, but it becomes visible to members who have more experience in that area.
Jan 21 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Wayne Wengert | last post by:
I am using VS.NET 2003, VB.NET, ADO.NET and an Access 2000 database. I want to display a list of all tables in an Access database. I want to put that list of table names in a listbox so the user...
3
by: Yitzhak | last post by:
I am having "Permission denied" error while calling LogEvent method of WScript.Shell component. Basically, ASP page calls Windows Script Host Shell component to log events to the OS Application...
12
by: Russ | last post by:
Hello. My new dev machine is running XP Pro. In the past all equipment has only used Windows 2000. I have had a lot of problems getting my projects up and running on the new machine. The current...
10
by: Florian G. Pflug | last post by:
Hi I installed a postgres-application (which was developed on debian woody) on red hat 9 today, using the postgres 7.3 rpms from redhad. One of my the triggers uses the pg_settings table (more...
1
by: Mr.KisS | last post by:
Hi, In my aspx page i use a stocked procedure and in this procedure, there is a SELECT query. And whene the aspx page calls the procedure i get this exception : ...
6
by: Steve Richter | last post by:
I am getting error in a vbscript: ActiveX component cant create object: Excel.Application. The vbscript code is: Dim objExcel Set objExcel = CreateObject("Excel.Application") I am pretty...
15
by: sflynn | last post by:
I've just created a new program in Visual Studio 2005, Visual Basic. I can publish, install, and run the program just fine as long as the user is a member of the "Domain Admins" group. My problem...
3
by: jsamdirect | last post by:
I am having an issue with a Microsoft Access 2003 database that has forms designed to import data. When trying to do the import I get a message microsoft office access permission denied. This is...
0
by: debug03 | last post by:
I am executing a DTS package on a Windows 2000 sp4 server running SQL Server 2000 and IBM DB2 V7 client. The DTS package source data(SQL Server) is selected from SQL server table and inserts data to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.