Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Session.Execute 403 Configuration read-only error
Wed, May 13 2009 3:10 PMPermanent Link

Michael Fullerton
In the help it says Session.Execute is ideal for creating objects. But
when I try to use it to create new tables I get a 403 Configuration
read-only error. Why is that?
Wed, May 13 2009 3:28 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< In the help it says Session.Execute is ideal for creating objects. But
when I try to use it to create new tables I get a 403 Configuration
read-only error. Why is that? >>

What SQL statement are you using with the Execute method ?  Usually a #403
error is caused by trying to modify or alter the system tables in the
Configuration database.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, May 13 2009 4:09 PMPermanent Link

Michael Fullerton
On Wed, 13 May 2009 15:28:14 -0400, "Tim Young [Elevate Software]"
<timyoung@elevatesoft.com> wrote:

>Michael,
>
><< In the help it says Session.Execute is ideal for creating objects. But
>when I try to use it to create new tables I get a 403 Configuration
>read-only error. Why is that? >>
>
>What SQL statement are you using with the Execute method ?  Usually a #403
>error is caused by trying to modify or alter the system tables in the
>Configuration database.

OK I see the error. It is trying to create the tables in the
Configuration database not my database. EDBDatabase.Execute does the
trick. Sorry for the bother.
Image