Solved

when is an owner not an owner

Posted on 2002-04-10
7
316 Views
Last Modified: 2012-05-04
I've set up my 'non-sa' account as owner of a particular db (sql2k sp2). I was probably logged in as sa when I created the db using DTS from an existing db.

When I connect from my workstation using MSAccess2k via an odbc connection using the non-sa account i find that I don't have ability to create new records. If I connect as sa i can.

looking at EM's Users for that db my non-sa login has checks for 'public' and 'db_owner'. I didn't (don't) think any of the other roles are anything more than subsets of db_owner, yes? So why isn't being owner good enough for Access.

My primary concern here isn't so much connecting via Acess...the db exists only to give stuff to IIS/web pages. I'm wondering if this indicates other things that may bite my butt going forward.

thankx
--steve...
0
Comment
Question by:juststeve
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 

Expert Comment

by:stephendl
ID: 6936282
Can you create new records using query analyser when you log in as your 'non-sa' account?
0
 

Author Comment

by:juststeve
ID: 6936499
Yep...it's just linked tables through Access via the non-sa account that's having a problem. SA/Access works.

I have web pages using the same non-sa, DSN-based connection able to insert and update.

thankx
--steve...
0
 

Expert Comment

by:stephendl
ID: 6936588
But it works in query analyser? Hmmm.

It sounds like your connection to the ODBC's. The web stuff that works, is it asp? Are you getting any error messages in Access? If so, where, when and what?
0
Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

 

Author Comment

by:juststeve
ID: 6936687
No error messages...just a beep if trying to edit a cell and the  'insert record' button at the bottom of the frame is grayed out

[...pause...]

jeeze...i've just gone over there to reproduce whatever dialog box response i'd gotten when typing in the bottem row...and _now I can't reproduce any of the behaviors. [sigh] later today I'll take smoe time to create a new db from scratch (client-side) and see if the read-only issue reoccurs.

The web stuff is asp...uses a connection string like:
  dsn=myDb;uid=not_sa;pwd=thatpw;

When linking the table from MSAccess I point to the same DSN, use the same account/pw and get _only_ read-only access to the same tables that the web pages are able to insert/update.

I suppose the asp route adds the ADO layer but the question remains as to why Access would allow the account only limited access.
0
 

Expert Comment

by:stephendl
ID: 6936768
But it works in query analyser? Hmmm.

It sounds like your connection to the ODBC's. The web stuff that works, is it asp? Are you getting any error messages in Access? If so, where, when and what?
0
 

Accepted Solution

by:
stephendl earned 50 total points
ID: 6936780
Sorry about that... hit refresh on accident...

OK... if you can replicate, tell me what happens.

Are you using a 'Trusted connection' in access? Access isn't really my forte, it has too many strange behaviours and quirks for me!... did you try posting into the Access topic area?
0
 

Author Comment

by:juststeve
ID: 6987728
yep...belongs in the Access area...thankx.
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how the fundamental information of how to create a table.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question