473,657 Members | 2,716 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Permission problems with Access and SQL

Hello!

I have a few tables in MS SQL Server 2000, where I have admin
permissions for these tables. I have created a blank database in MS
Access 2003, where I linked a table from MS SQL Server 2000. The
problems is that I have only read permissions on these tables in MS
Access 2003, while I have admin permissions in MS SQL Server 2000. Is it
possible to have the sime permission in both MS Access 2003 and MS SQL
Server 2000? Is it possible to add new records from MS Access 2003 into
linked SQL tables? I have created ODBC connection which is
Windows_authent icated to have access to these tables in MS Access 2003.

Could you help me? I would be very grateful for help...

Marcin from Poland

*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #1
4 2247

"Marcin Zmyslowski" <ma*****@kapy.b ydg.pl> wrote in message
news:qp******** ******@news.usw est.net...
Hello!

I have a few tables in MS SQL Server 2000, where I have admin
permissions for these tables. I have created a blank database in MS
Access 2003, where I linked a table from MS SQL Server 2000. The
problems is that I have only read permissions on these tables in MS
Access 2003, while I have admin permissions in MS SQL Server 2000. Is it
possible to have the sime permission in both MS Access 2003 and MS SQL
Server 2000? Is it possible to add new records from MS Access 2003 into
linked SQL tables? I have created ODBC connection which is
Windows_authent icated to have access to these tables in MS Access 2003.

Could you help me? I would be very grateful for help...

Marcin from Poland

Czesc Marcin
Do these tables have primary keys? Without primary keys Access cannot
update the rows even though you can via the Enterprise Manager.

Nov 13 '05 #2


I know why the problem has occurred. I didn`t set the unique key while
linking SQL tables into Access. Without it there is no update
permissions.

Marcin

*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #3
"Marcin Zmyslowski" <ma*****@kapy.b ydg.pl> wrote in message
news:lf******** *******@news.us west.net...


I know why the problem has occurred. I didn`t set the unique key while
linking SQL tables into Access. Without it there is no update
permissions.

Marcin


If you have any control over the design of the SQL Server tables, then you
should make sure they have a primary key. Then Access would not require you
to set a unique key at all - it would be done automatically. If you cannot
alter the design of the tables, then setting this index may be your only
option.
Nov 13 '05 #4
Br
Justin Hoffman <j@b.com> wrote:
"Marcin Zmyslowski" <ma*****@kapy.b ydg.pl> wrote in message
news:lf******** *******@news.us west.net...


I know why the problem has occurred. I didn`t set the unique key
Did you mean setting the Unique Table on the form's properties?
while linking SQL tables into Access. Without it there is no update
permissions.

Marcin
If you have any control over the design of the SQL Server tables,
then you should make sure they have a primary key. Then Access would
not require you to set a unique key at all - it would be done
automatically. If you cannot alter the design of the tables, then
setting this index may be your only option.

Also, make sure all BIT fields in your tables have a default value else
you'll end up with the same issue.

And FYI if you want to be able to update VIEWS in Access2000 you need to
add use "create myprocedure WITH VIEW_METADATA ....." to the views
creation script .
--
regards,

Bradley

A Christian Response
http://www.pastornet.net.au/response
Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
4407
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 can select the table they want to use. How can I do this? -- ------------------------------------ Wayne Wengert wayne@wengert.org
12
2514
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 one is a permission error. The project is a VC++ Web Service. It works fine when the service is hosted on the old W2K dev machine, but on the new XP machine I get a permission error when the service tries to open a text file on the Windows...
4
10994
by: Carl Williams | last post by:
Hope someone can help with this... I have looked at all the newsgroup articles and put into practice all the suggestions but to no good. I am pretty new to CSharp and .Net so any help would be greatly appreciated. I have an .ASPX.CS in which I am trying to open an XML file (which already contains content), making some alterations to the XML obtained from the file, and then trying to 'Save' the XML back to the file. I am using a...
4
1747
by: Brent Bigler | last post by:
The computer: W2K server, domain controller, Microsoft.Net Framework 1.1 ======================== The error message: Access to the path "c:\fanmail\newfiles" is denied .... Exception Details: System.UnauthorizedAccessException: Access to the path "c:\fanmail\newfiles" is denied
0
2726
by: David Berman | last post by:
Hello, I'm receiving an error reading the machine.config file when I try to access my web application. This error came out of nowhere. After searching many sites, googelizing and searching here, I've found others with the same problem but no resolution. The problem for me (and for others) came out of nowhere. Here's the error message: >>>>> START <<<<< Server Error in '/MyApp' Application....
0
1218
by: Jeremy | last post by:
I have an ASP.net application which needs to retreive images from multiple remote machines. It is reterieveing images generated by a web cam service on those machines. All of these machines, including the development machine are running on the same windows user account. On the development machine, the app works great. The other client machines run into directory permission problems when attemptiong to browse the directory the images are...
15
1938
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 is when a non-admin using tries to run the program. The program gets hung up on the following line Dim cn As System.Data.SqlClient.SqlConnection = New SqlConnection("Data Source=spdb01;Initial Catalog=SToP;Integrated Security=True;") How...
4
2662
by: xzzy | last post by:
I have a v1.1 web app that works on my local computer. However, running it at the host computer, the following breaks: when a viewer selects a different country, the State dropdown should repopulate with the new country's state/proviences. Running on the host, the dropdown does not repopulate and says 'Permission Denied', I take this to mean that at the host, a viewer does not have permission to put new items in the State dropdown.
1
1655
by: Hien Nguyen Vinh | last post by:
hi i just got my vbulletin 3.6.8 and a domain on byet.com,i have all my php file uploaded to the database,but when i tried to run install.php i keep getting a message says: Error description: mysqli_real_connect() : (28000/1045): Access denied for user 'b18_2049748'@'localhost' (using password: YES) /home/vol2/byethost10.com/b10_2052404/htdocs/forum/includes/class_core.php on line 1040 The database has failed to connect because you do not...
0
8303
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8723
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8502
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8602
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7316
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1601
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.