Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
problems with my insert query using IIS
Old 01-09-2006, 03:34 PM problems with my insert query using IIS
numbenator's Avatar
Webmaster Talker

Posts: 516
Location: London
Trades: 0
HI there,
im running a website on my pc through IIS and when I attempt to write to a file I get th ebelow error :
Technical Information (for support personnel)

Error Type:
Microsoft JET Database Engine (0x80004005)
Operation must use an updateable query.
/paydayloans/onlineform.asp, line 90


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

Page:
POST 350 bytes to /paydayloans/onlineform.asp

POST Data:
mode=process&strTitle=Select&strFirstName=stevemai l&strSurname=mason&strAddress=17a&strPostcode=tw2& strHomePhone=0208&strMobilePhone=078423&strFax=020 292&strEmail=ssmason@gmasil.com&strBank=noChoice&s . . .

Time:
09 January 2006, 19:30:23


More information:
Microsoft Support


If i run this on my online server, i get no problems. Could someone please shed somelight on what it is i am missing.

the code i am using is

Code:
 nameSQL = "insert into personal (title, first_name, surname, address, post_code, home_phone, mobile, fax, email_address) VALUES	('"&strTitle&"','"&strFirstName&"','"&strSurname&"','"&strAddress&"','"&strPostcode&"','"&strHomephone&"','"&strMobile&"','"&strFax&"','"&streMail&"')" 
		  Set oRS = Conn.Execute(nameSQL)
cheers
steve
__________________

Please login or register to view this content. Registration is FREE

Last edited by numbenator; 01-09-2006 at 03:37 PM..
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
 
Register now for full access!
Old 01-10-2006, 04:33 PM Just some things to try.
etech355's Avatar
Average Talker

Posts: 29
Location: Maryland
Trades: 0
If Access, check the directory holding the database. Make sure your local IUSER account has read/write permissions.

If this is a SQL database then make sure the account you use to connect to the database has permissions.

Also, verify the insert statement works. Do a response.write nameSQL just before you execute the query. Copy the query and paste in Access or a Query Analyzer and see if it works.
__________________
Eric

Please login or register to view this content. Registration is FREE
etech355 is offline
Reply With Quote
View Public Profile Visit etech355's homepage!
 
Old 01-11-2006, 06:30 AM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
possibly using the wrong cursortype http://www.devguru.com/technologies/ado/8651.asp

use adOpenDynamic which can be slow on Access or adOpenKeyset.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to problems with my insert query using IIS
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.44830 seconds with 12 queries