Re: rda push when owner is not dbo.
- From: "mgarner1980" <mgarner@xxxxxxxx>
- Date: Wed, 20 Apr 2005 14:41:47 -0500
Here's a litle more info. I have verified that the account sqlserverce
usesuses (via IIs) is a member of dbo and has full access to the task table
(who's owner is privuser).
If I launch the sql query analyzewr (desktop version) and try to run the
following query
select * from task
I get the same invalid object task error that rda is returning.
However, if I run
select * from privuser.task
the query executes fine.
I'm pretty configdent that the owner name not being qualified is the
problem.
"mgarner1980" <mgarner@xxxxxxxx> wrote in message
news:uQ3hvJcRFHA.1096@xxxxxxxxxxxxxxxxxxxxxxx
> here's my deal. I have a database that has a table named task with owner
> privuser.
> I pull the table with rda to a local table named task.
>
> the table pulls ok and I can fully manipulat it locally.
>
> I try a push and it fails with the error below. (only if I have modified
the
> local data.....otherwise it throws no exception).
> I also created a test table in the same database with owner dbo and I
> canpush and pull it fine from the same code. That is what makes me think
> it's the owner that's throwing things off.
>
>
> when I try a push the local table "task" I get the error "cannot open
> table" "invalid object task"
>
> I'm at my wits end with this problem!
>
> I really don't understand the owner concept very well either. I'm sure
that
> 's one of my problems with this issue:(
>
>
> "Darren Shaffer" <darrenshaffer@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
> news:enKjhY8OFHA.2604@xxxxxxxxxxxxxxxxxxxxxxx
> > what error are you getting? While I haven't tried pulling a table not
> > owned by DBO, my guess is that when you PULL with tracking on, and
> > then go to PUSH the table back to the server, as long as the account
> > that the SQL CE server tools are using to talk to SQL Server
> > is a member of the DBO group, you'll be ok.
> > --
> > Darren Shaffer
> > .NET Compact Framework MVP
> > Principal Architect
> > Connected Innovation
> > www.connectedinnovation.com
> >
> > "mgarner1980" <mgarner@xxxxxxxx> wrote in message
> > news:O96RBi7OFHA.1884@xxxxxxxxxxxxxxxxxxxxxxx
> > > I'm having trouble performing an RDA.Push on a table that has the
owner
> of
> > > privuser and not the default dbo.
> > >
> > > When I do the pull the sql has to specify privuser.tablename in order
> for
> > > the pull to work. Otherwise the error of table not found is thrown.
> > >
> > > How do I specify the owner.tablename for a rda push?
> > >
> > >
> >
> >
>
>
.
- References:
- rda push when owner is not dbo.
- From: mgarner1980
- Re: rda push when owner is not dbo.
- From: Darren Shaffer
- Re: rda push when owner is not dbo.
- From: mgarner1980
- rda push when owner is not dbo.
- Prev by Date: Alter column with Microsoft SqlCe 2.0
- Next by Date: Is there anything between nvarchar and ntext
- Previous by thread: Re: rda push when owner is not dbo.
- Next by thread: parameters in a rda.submitsql, or including an image
- Index(es):
Relevant Pages
|