Unix Technical Forum

ERROR 3027: CAN'T UPDATE

This is a discussion on ERROR 3027: CAN'T UPDATE within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> I IMPORTED A DATABASE FROM AN SQL SERVER 7.0 TO AN SQL SERVER 2000. I CAN UPDATE THE TABLES ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 09:14 PM
SJURIC
 
Posts: n/a
Default ERROR 3027: CAN'T UPDATE

I IMPORTED A DATABASE FROM AN SQL SERVER 7.0 TO AN SQL
SERVER 2000. I CAN UPDATE THE TABLES DIRECTLY ON THE
SERVER, BUT WHEN I TRY TO DO IT WITH THE PROGRAM THAT USES
THE DATABASE, IT GIVES ME ERROR 3027: CAN'T UPDATE,
DATABASE OR OBJECT IS READ-ONLY. I HAVE GIVEN ALL THE
USERS THEIR RESPECTIVE RIGHTS ON THE NEW SERVER AND IN THE
DATABASE. I HAVE AN ".INI" FILE WHERE I CAN SET THE
SERVERNAME. DOES SOMEONE KNOW HOW TO SOLVE THIS.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 09:14 PM
Sue Hoegemeier
 
Posts: n/a
Default Re: ERROR 3027: CAN'T UPDATE

Where are you getting the error and what is the full error
message? What is the programming language, API used to
access the database? Are you getting a 'Run-time error
'3027'? In that case, try adding a LockEdits property to the
OpenRecordset method if that's what the application is
using. Make sure you have primary keys or unique constraints
defined for the tables.

-Sue

On Fri, 6 Aug 2004 09:06:36 -0700, "SJURIC"
<SJURIC.STATIE@AN.XACO.XEROX.COM> wrote:

>I IMPORTED A DATABASE FROM AN SQL SERVER 7.0 TO AN SQL
>SERVER 2000. I CAN UPDATE THE TABLES DIRECTLY ON THE
>SERVER, BUT WHEN I TRY TO DO IT WITH THE PROGRAM THAT USES
>THE DATABASE, IT GIVES ME ERROR 3027: CAN'T UPDATE,
>DATABASE OR OBJECT IS READ-ONLY. I HAVE GIVEN ALL THE
>USERS THEIR RESPECTIVE RIGHTS ON THE NEW SERVER AND IN THE
>DATABASE. I HAVE AN ".INI" FILE WHERE I CAN SET THE
>SERVERNAME. DOES SOMEONE KNOW HOW TO SOLVE THIS.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 09:16 PM
Sjuric. Statie
 
Posts: n/a
Default Re: ERROR 3027: CAN'T UPDATE

Thank you Sue. I discovered it was the Primary Keys that were not
transported along with the database when I wasn't logged on as the
administrator. My login has administrative rights, but it seems like
it's not the same as login in as the administrator. I couldn't thank you
earlier, because we were disconnected waiting on the new shields and
antivirus to arrive. Thanks again!



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:53 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com