Ask a Question related to ASP Database, Design and Development.
-
Tom #1
insert a record
Hi every one, I have a problem inserting a record...
error 500.100 (Operation must use an updateable query) or
Unknown variable or something...
I am creating the web site with Macromedia dreamweaver..
Please help
Tom Guest
-
Insert record
Hi all, I'm having a bit of a problem at the moment. I'm basically trying to insert a record to a MS Access database. I'm using dreamweaver MX. What... -
How to Insert record with foreign key id vs. value
Basic database question: I have a drop list using Flash Form. The page with the form calls a page that performs the Insert (as in the documented... -
insert record loop
Can anyone help me to create an insert record loop using asp vbs? -
How to insert a new record
I am having problems with inserting a new record into access database using the detailsview control, the autonumber of the control does not update... -
Waiting for db to insert record?
Hi all Just a quick question more about the flow of an asp page. IF I have code as below: - MyDBConnection.Execute "Insert Record Into A... -
Aaron [SQL Server MVP] #2
Re: insert a record
> error 500.100 (Operation must use an updateable query) or
Stop using ODBC!
[url]http://www.aspfaq.com/2126[/url]
Fix IUSR permissions!
[url]http://www.aspfaq.com/2062[/url]
And stop using Access, if possible.
"or something..."? If you want *SPECIFIC* help, it helps if you're> Unknown variable or something...
*SPECIFIC.*
Fabulous. Please don't show the spaghetti code it has already mangled for> I am creating the web site with Macromedia dreamweaver..
you...
--
[url]http://www.aspfaq.com/[/url]
(Reverse address to reply.)
Aaron [SQL Server MVP] Guest
-
insert a record
Well, I still have the problem after adding my computer's
name and read/write had checked... What can I do now.. I
am using dreamweaver, and accessor>-----Original Message-----
>Hi every one, I have a problem inserting a record...
>error 500.100 (Operation must use an updateable query)>Unknown variable or something...
>
>I am creating the web site with Macromedia dreamweaver..
>
>Please help
>
>.
>Guest
-
Roland Hall #4
Re: insert a record
<anonymous@discussions.microsoft.com> wrote in message
news:177d701c448de$8b5ec540$a001280a@phx.gbl...
: Well, I still have the problem after adding my computer's
: name and read/write had checked... What can I do now.. I
: am using dreamweaver, and access
: >-----Original Message-----
: >Hi every one, I have a problem inserting a record...
: >error 500.100 (Operation must use an updateable query)
: or
: >Unknown variable or something...
: >
: >I am creating the web site with Macromedia dreamweaver..
Tom...
You really don't expect us to help you without seeing some relevant code do
you?
Have you modified the security settings to 'change' rights at the file
system level for the IUSR account where the db resides?
Have you modified your ADO connection to use OLEDB for your database from
ODBC?
Ex.
dim conn, strConn
Set conn = CreateObject("ADODB.Connection")
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=d:\inetpub\db\mylil.mdb"
conn.Open(strConn)
It appears you have not read Aaron's post.
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - [url]http://www.microsoft.com/technet/scriptcenter/[/url]
WSH 5.6 Documentation - [url]http://msdn.microsoft.com/downloads/list/webdev.asp[/url]
MSDN Library - [url]http://msdn.microsoft.com/library/default.asp[/url]
Roland Hall Guest
-
Jeff Cochran #5
Re: insert a record
On Wed, 2 Jun 2004 13:16:53 -0700,
<anonymous@discussions.microsoft.com> wrote:
Okay, I'll try this time:>Well, I still have the problem after adding my computer's
>name and read/write had checked... What can I do now.. I
>am using dreamweaver, and access
What friggin' problem?
Have you looked at:
"How do I solve 'Operation must use an updateable query' errors?"
[url]http://www.aspfaq.com/show.asp?id=2062[/url]
Jeff
>or>>-----Original Message-----
>>Hi every one, I have a problem inserting a record...
>>error 500.100 (Operation must use an updateable query)>>Unknown variable or something...
>>
>>I am creating the web site with Macromedia dreamweaver..
>>
>>Please help
>>
>>.
>>Jeff Cochran Guest
-
Re: insert a record
Hi, actually I did read Aaron's reply and the links, the
problem is that I don't know much ASP, that is the reason
I use Dreameaver (...)
If I add these code lines instead of the ones generated
for me, will I have to change anything else in the code
or just this specific part?
Tnx againcomputer's>-----Original Message-----
><anonymous@discussions.microsoft.com> wrote in message
>news:177d701c448de$8b5ec540$a001280a@phx.gbl...
>: Well, I still have the problem after adding myI>: name and read/write had checked... What can I do now..dreamweaver..>: am using dreamweaver, and access
>: >-----Original Message-----
>: >Hi every one, I have a problem inserting a record...
>: >error 500.100 (Operation must use an updateable query)
>: or
>: >Unknown variable or something...
>: >
>: >I am creating the web site with Macromediasome relevant code do>
>Tom...
>
>You really don't expect us to help you without seeingrights at the file>you?
>Have you modified the security settings to 'change'your database from>system level for the IUSR account where the db resides?
>Have you modified your ADO connection to use OLEDB forwill be useful, but>ODBC?
>
>Ex.
>dim conn, strConn
>Set conn = CreateObject("ADODB.Connection")
>strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data
>Source=d:\inetpub\db\mylil.mdb"
>conn.Open(strConn)
>
>It appears you have not read Aaron's post.
>
>--
>Roland Hall
>/* This information is distributed in the hope that itof merchantability>without any warranty; without even the implied warranty[url]http://www.microsoft.com/technet/scriptcenter/[/url]>or fitness for a particular purpose. */
>Technet Script Center -[url]http://msdn.microsoft.com/downloads/list/webdev.asp[/url]>WSH 5.6 Documentation -[url]http://msdn.microsoft.com/library/default.asp[/url]>MSDN Library ->
>
>.
>Guest
-
Roland Hall #7
Re: insert a record
<anonymous@discussions.microsoft.com> wrote in message
news:1798d01c4492d$d9f11d30$a101280a@phx.gbl...
: Hi, actually I did read Aaron's reply and the links, the
: problem is that I don't know much ASP, that is the reason
: I use Dreameaver (...)
: If I add these code lines instead of the ones generated
: for me, will I have to change anything else in the code
: or just this specific part?
Ok, probably my oversight. Dreamweaver is designed so you don't have to
touch the code.
Not sure what all would need to be changed but we can make changes and work
from there. First you have a connectivity issue and what appears to be a
rights issue so those need to be looked at first. If you're not sure how to
do what is offered, you need to respond with that so more help can be given.
We don't know what you know and we cannot see your screen so you must
provide detail to help us visualize what is going on.
If you create a folder called c:\db and set security rights with Windows
Explorer to 'change' or 'modify' for the IUSR_computername account, Full
rights for SYSTEM user and Administrator's group, then that part is done.
Then work on modifying your code for the ADO connection to OLEDB pointing
your data source to c:\db\mydb.mdb substituting whatever name you named your
database. Also, you have to move the database into that folder. Then try
to connect and post what happens. If that works, great. If not, please
provide a detailed error message and we'll work on it from there.
None of this is rocket science, it's just unfamiliar territory, but someone
here can help you get it worked out.
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - [url]http://www.microsoft.com/technet/scriptcenter/[/url]
WSH 5.6 Documentation - [url]http://msdn.microsoft.com/downloads/list/webdev.asp[/url]
MSDN Library - [url]http://msdn.microsoft.com/library/default.asp[/url]
Roland Hall Guest
-
Jeff Cochran #8
Re: insert a record
On Wed, 2 Jun 2004 22:44:35 -0700,
<anonymous@discussions.microsoft.com> wrote:
You may find yourself learning more ASP than you wanted... :)>Hi, actually I did read Aaron's reply and the links, the
>problem is that I don't know much ASP, that is the reason
>I use Dreameaver (...)
The issue is not what you need to add, but what DreamWeaver might>If I add these code lines instead of the ones generated
>for me, will I have to change anything else in the code
>or just this specific part?
alter on you. You might ask in a DreamWeaver forum for answers that
would be specific to your environment.
Jeff
>computer's>>-----Original Message-----
>><anonymous@discussions.microsoft.com> wrote in message
>>news:177d701c448de$8b5ec540$a001280a@phx.gbl.. .
>>: Well, I still have the problem after adding my>I>>: name and read/write had checked... What can I do now..>dreamweaver..>>: am using dreamweaver, and access
>>: >-----Original Message-----
>>: >Hi every one, I have a problem inserting a record...
>>: >error 500.100 (Operation must use an updateable query)
>>: or
>>: >Unknown variable or something...
>>: >
>>: >I am creating the web site with Macromedia>some relevant code do>>
>>Tom...
>>
>>You really don't expect us to help you without seeing>rights at the file>>you?
>>Have you modified the security settings to 'change'>your database from>>system level for the IUSR account where the db resides?
>>Have you modified your ADO connection to use OLEDB for>will be useful, but>>ODBC?
>>
>>Ex.
>>dim conn, strConn
>>Set conn = CreateObject("ADODB.Connection")
>>strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data
>>Source=d:\inetpub\db\mylil.mdb"
>>conn.Open(strConn)
>>
>>It appears you have not read Aaron's post.
>>
>>--
>>Roland Hall
>>/* This information is distributed in the hope that it>of merchantability>>without any warranty; without even the implied warranty>[url]http://www.microsoft.com/technet/scriptcenter/[/url]>>or fitness for a particular purpose. */
>>Technet Script Center ->[url]http://msdn.microsoft.com/downloads/list/webdev.asp[/url]>>WSH 5.6 Documentation ->[url]http://msdn.microsoft.com/library/default.asp[/url]>>MSDN Library ->>
>>
>>.
>>Jeff Cochran Guest



Reply With Quote

