V
viki
Hi Paul,
I am still struggling to get the solution. The exact code is very
simple
Dim db_conn As New
OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=d:\users\accessdb\QA\Quality assurance database.mdb")
Dim db_cmd As OleDbCommand
Dim sqlstr As String
db_conn.Open()
sqlstr = "SELECT * INTO qa_temp FROM qa WHERE 1=0;"
db_cmd = New OleDbCommand(sqlstr, db_conn)
db_cmd.ExecuteNonQuery()
db_conn.Close()
and the same error " COuld not create; no modify design permission for
table or query 'qa_temp'"
The database is not in the virtual directory, it is in the separate
folder but in the same server. I have given full access to everyone,
aspnet , iss accounts to the folder as well as the database.
One thing that annoys me is that i was able to update or delete or
even drop particular table in that database. But i was not able to
create a table in the database. is there anything i have to include in
the connection string which would enable me to add a table to the
database.
I would really appreciate any help paul..
Thanks,
viki
I am still struggling to get the solution. The exact code is very
simple
Dim db_conn As New
OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=d:\users\accessdb\QA\Quality assurance database.mdb")
Dim db_cmd As OleDbCommand
Dim sqlstr As String
db_conn.Open()
sqlstr = "SELECT * INTO qa_temp FROM qa WHERE 1=0;"
db_cmd = New OleDbCommand(sqlstr, db_conn)
db_cmd.ExecuteNonQuery()
db_conn.Close()
and the same error " COuld not create; no modify design permission for
table or query 'qa_temp'"
The database is not in the virtual directory, it is in the separate
folder but in the same server. I have given full access to everyone,
aspnet , iss accounts to the folder as well as the database.
One thing that annoys me is that i was able to update or delete or
even drop particular table in that database. But i was not able to
create a table in the database. is there anything i have to include in
the connection string which would enable me to add a table to the
database.
I would really appreciate any help paul..
Thanks,
viki