Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

SQL server tables read-only to ADP

 
   Database Help (Home) -> Client RSS
Next:  update statistics - large amount of log space  
Author Message
Tony Z

External


Since: Feb 21, 2005
Posts: 3



(Msg. 1) Posted: Mon Feb 21, 2005 10:13 am
Post subject: SQL server tables read-only to ADP
Archived from groups: microsoft>public>sqlserver>clients (more info?)

I have successfully migrated an Access 2003 database to SQL server - at least
all the tables and queries that resolve into views migrated successfully. I
also sucessfully migrated all my forms and code into an ADP project.
Everything works with one HUGE exception. All my tables on the SQL server are
read-only to ADP.

Why is this? Is it security?

 >> Stay informed about: SQL server tables read-only to ADP 
Back to top
Login to vote
Keith Kratochvil

External


Since: May 18, 2004
Posts: 80



(Msg. 2) Posted: Mon Feb 21, 2005 12:39 pm
Post subject: Re: SQL server tables read-only to ADP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Permissions allow users the ability to create, read, update, and delete
data. Perhaps you don't have the appropriate permissions assigned to the
login that you are using to connect to the database server.

If you want to allow select across the board simply add the db_datareader
fixed role to the login. That will allow the login to select data. If you
want to login to have update rights as well give them the db_datarwriter
role. That will allow them to write to all tables within that database. If
you only want to give them rights to a few tables use the GRANT statement
(GRANT UPDATE ON <tablename> TO <user>).

--
Keith


"Tony Z" <TonyZ DeleteThis @discussions.microsoft.com> wrote in message
news:76F1AE71-B34F-4945-A9CE-8BA796D8606A@microsoft.com...
 > I have successfully migrated an Access 2003 database to SQL server - at
least
 > all the tables and queries that resolve into views migrated successfully.
I
 > also sucessfully migrated all my forms and code into an ADP project.
 > Everything works with one HUGE exception. All my tables on the SQL server
are
 > read-only to ADP.
 >
 > Why is this? Is it security?<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: SQL server tables read-only to ADP 
Back to top
Login to vote
Tony Z

External


Since: Feb 21, 2005
Posts: 3



(Msg. 3) Posted: Mon Feb 21, 2005 12:39 pm
Post subject: Re: SQL server tables read-only to ADP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hmm. I only have one user in my SQL server DB and that is public. When I
created the .adp I used the sa login and password our admin created. I also
set it so that the password was stored. I have changed the permissions for
role public to have full premission on my tables; but when I access the
tables from the ADP project I can make no changes.

"Keith Kratochvil" wrote:

 > Permissions allow users the ability to create, read, update, and delete
 > data. Perhaps you don't have the appropriate permissions assigned to the
 > login that you are using to connect to the database server.
 >
 > If you want to allow select across the board simply add the db_datareader
 > fixed role to the login. That will allow the login to select data. If you
 > want to login to have update rights as well give them the db_datarwriter
 > role. That will allow them to write to all tables within that database. If
 > you only want to give them rights to a few tables use the GRANT statement
 > (GRANT UPDATE ON <tablename> TO <user>).
 >
 > --
 > Keith
 >
 >
 > "Tony Z" <TonyZ.TakeThisOut@discussions.microsoft.com> wrote in message
 > news:76F1AE71-B34F-4945-A9CE-8BA796D8606A@microsoft.com...
  > > I have successfully migrated an Access 2003 database to SQL server - at
 > least
  > > all the tables and queries that resolve into views migrated successfully.
 > I
  > > also sucessfully migrated all my forms and code into an ADP project.
  > > Everything works with one HUGE exception. All my tables on the SQL server
 > are
  > > read-only to ADP.
  > >
  > > Why is this? Is it security?
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: SQL server tables read-only to ADP 
Back to top
Login to vote
Sue Hoegemeier

External


Since: Aug 26, 2003
Posts: 362



(Msg. 4) Posted: Mon Feb 21, 2005 12:39 pm
Post subject: Re: SQL server tables read-only to ADP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Do all of your tables have primary keys?

-Sue

On Mon, 21 Feb 2005 10:05:02 -0800, Tony Z
<TonyZ.TakeThisOut@discussions.microsoft.com> wrote:

 >Hmm. I only have one user in my SQL server DB and that is public. When I
 >created the .adp I used the sa login and password our admin created. I also
 >set it so that the password was stored. I have changed the permissions for
 >role public to have full premission on my tables; but when I access the
 >tables from the ADP project I can make no changes.
 >
 >"Keith Kratochvil" wrote:
 >
  >> Permissions allow users the ability to create, read, update, and delete
  >> data. Perhaps you don't have the appropriate permissions assigned to the
  >> login that you are using to connect to the database server.
  >>
  >> If you want to allow select across the board simply add the db_datareader
  >> fixed role to the login. That will allow the login to select data. If you
  >> want to login to have update rights as well give them the db_datarwriter
  >> role. That will allow them to write to all tables within that database. If
  >> you only want to give them rights to a few tables use the GRANT statement
  >> (GRANT UPDATE ON <tablename> TO <user>).
  >>
  >> --
  >> Keith
  >>
  >>
  >> "Tony Z" <TonyZ.TakeThisOut@discussions.microsoft.com> wrote in message
  >> news:76F1AE71-B34F-4945-A9CE-8BA796D8606A@microsoft.com...
   >> > I have successfully migrated an Access 2003 database to SQL server - at
  >> least
   >> > all the tables and queries that resolve into views migrated successfully.
  >> I
   >> > also sucessfully migrated all my forms and code into an ADP project.
   >> > Everything works with one HUGE exception. All my tables on the SQL server
  >> are
   >> > read-only to ADP.
   >> >
   >> > Why is this? Is it security?
  >>
  >><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: SQL server tables read-only to ADP 
Back to top
Login to vote
Mary Chipman [MSFT]

External


Since: Feb 04, 2005
Posts: 29



(Msg. 5) Posted: Mon Feb 21, 2005 2:37 pm
Post subject: Re: SQL server tables read-only to ADP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Did you create a primary key or unique index on your upsized tables?
Access won't update SQL Server data unless you do. FWIW, do not use
the sa login with your Access database or allow users to log in as
sysadmins. Access is notoriously insecure, anyone can retrieve it and
use it to hijack your server.

--Mary

On Mon, 21 Feb 2005 10:05:02 -0800, Tony Z
<TonyZ RemoveThis @discussions.microsoft.com> wrote:

 >Hmm. I only have one user in my SQL server DB and that is public. When I
 >created the .adp I used the sa login and password our admin created. I also
 >set it so that the password was stored. I have changed the permissions for
 >role public to have full premission on my tables; but when I access the
 >tables from the ADP project I can make no changes.
 >
 >"Keith Kratochvil" wrote:
 >
  >> Permissions allow users the ability to create, read, update, and delete
  >> data. Perhaps you don't have the appropriate permissions assigned to the
  >> login that you are using to connect to the database server.
  >>
  >> If you want to allow select across the board simply add the db_datareader
  >> fixed role to the login. That will allow the login to select data. If you
  >> want to login to have update rights as well give them the db_datarwriter
  >> role. That will allow them to write to all tables within that database. If
  >> you only want to give them rights to a few tables use the GRANT statement
  >> (GRANT UPDATE ON <tablename> TO <user>).
  >>
  >> --
  >> Keith
  >>
  >>
  >> "Tony Z" <TonyZ RemoveThis @discussions.microsoft.com> wrote in message
  >> news:76F1AE71-B34F-4945-A9CE-8BA796D8606A@microsoft.com...
   >> > I have successfully migrated an Access 2003 database to SQL server - at
  >> least
   >> > all the tables and queries that resolve into views migrated successfully.
  >> I
   >> > also sucessfully migrated all my forms and code into an ADP project.
   >> > Everything works with one HUGE exception. All my tables on the SQL server
  >> are
   >> > read-only to ADP.
   >> >
   >> > Why is this? Is it security?
  >>
  >><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: SQL server tables read-only to ADP 
Back to top
Login to vote
Tony Z

External


Since: Feb 21, 2005
Posts: 3



(Msg. 6) Posted: Mon Feb 21, 2005 2:37 pm
Post subject: Re: SQL server tables read-only to ADP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks guys. It was the absence of a primary key that was messing me up.

Thanks also Mary for reminding me about the sa user id. I'm just being lazy
ATM while I get the converfsion done.

"Mary Chipman [MSFT]" wrote:

 > Did you create a primary key or unique index on your upsized tables?
 > Access won't update SQL Server data unless you do. FWIW, do not use
 > the sa login with your Access database or allow users to log in as
 > sysadmins. Access is notoriously insecure, anyone can retrieve it and
 > use it to hijack your server.
 >
 > --Mary
 >
 > On Mon, 21 Feb 2005 10:05:02 -0800, Tony Z
 > <TonyZ RemoveThis @discussions.microsoft.com> wrote:
 >
  > >Hmm. I only have one user in my SQL server DB and that is public. When I
  > >created the .adp I used the sa login and password our admin created. I also
  > >set it so that the password was stored. I have changed the permissions for
  > >role public to have full premission on my tables; but when I access the
  > >tables from the ADP project I can make no changes.
  > >
  > >"Keith Kratochvil" wrote:
  > >
   > >> Permissions allow users the ability to create, read, update, and delete
   > >> data. Perhaps you don't have the appropriate permissions assigned to the
   > >> login that you are using to connect to the database server.
   > >>
   > >> If you want to allow select across the board simply add the db_datareader
   > >> fixed role to the login. That will allow the login to select data. If you
   > >> want to login to have update rights as well give them the db_datarwriter
   > >> role. That will allow them to write to all tables within that database. If
   > >> you only want to give them rights to a few tables use the GRANT statement
   > >> (GRANT UPDATE ON <tablename> TO <user>).
   > >>
   > >> --
   > >> Keith
   > >>
   > >>
   > >> "Tony Z" <TonyZ RemoveThis @discussions.microsoft.com> wrote in message
   > >> news:76F1AE71-B34F-4945-A9CE-8BA796D8606A@microsoft.com...
   > >> > I have successfully migrated an Access 2003 database to SQL server - at
   > >> least
   > >> > all the tables and queries that resolve into views migrated successfully.
   > >> I
   > >> > also sucessfully migrated all my forms and code into an ADP project.
   > >> > Everything works with one HUGE exception. All my tables on the SQL server
   > >> are
   > >> > read-only to ADP.
   > >> >
   > >> > Why is this? Is it security?
   > >>
   > >>
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: SQL server tables read-only to ADP 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Need help choosing front end for SQL Server - I've been working on an Access 97 database that's pretty much reached it's limit in terms of performance and reliability. Although it supports relatively few users (5-10 concurrent) it contains a lot of data (around 30 tables, some with several million..

Opening table in SQL Server 2005? - This ought to be easy. But I can't figure out how to do it. Using Enterprise Manager in SQL Server 2000, I point to a table, select it, right click and choose Open Table-> Return all rows. Now I have the table open and I can edit to my heart's..

updating server aliases on clients - Hi, I'm forever running around updating\ change client libraries and aliases on client machines using the cliconfg.exe utility. Does anyone know how I could automate this? Ideally at login users aliases are created or updated? Would this involving..

OLEDB: Prepared cmd with NULL input param for NOT NULL INT.. - Provider: SQLOLEDB Version: SQL Server 2000 8.00.760 Script for creating table: CREATE TABLE [dbo].[ADRVERTRETER] ( <font color=purple> ; [ROWID] [timestamp] NULL ,</font> <font color=purple> ; [ROWVERTRETER] [int] NO...

[MS Design Tools] - Class not registered.&quot; - On a Windows 2000 pro workstation I am using SQL 2000 enterprise manager I am trying to return all rows, I get the error message "An unexpected error happened during this operation. [MS Design Tools] - Class not registered." I have reinstall...
   Database Help (Home) -> Client All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]