Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 11th, 2003, 08:35 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to life_s Ng Send a message via MSN to life_s Ng
Default upload problem.... pls help

hi... i run my pages locally without any error, but after uploaded to web, it show me the error... how is this happen? any1 got any idea? pls help... it show me this kind of error...

Exception Details: System.Data.OleDb.OleDbException: Operation must use an updateable query.

Source Error:


Line 145:
Line 146: Conn.Open ()
Line 147: ObjCmd.ExecuteNonQuery ()
Line 148:
Line 149: Conn.Close ()

im using a insert command for objCmd, i can insert it locally.... how come it cant insert on web.....

Best regards
Life's Ng

 
Old September 12th, 2003, 08:47 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

This is often caused by access permissions on the other machine. What is your data store? If it's Access, there might be a file permissions problem, if it's MS-SQL or some other DB server, you might not have the right user permissions on the table(s) you are trying to insert to.

Peter
 
Old September 12th, 2003, 09:21 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to life_s Ng Send a message via MSN to life_s Ng
Default

hi, i click on the .mdb file, on the security tab, i add the ASPNET and IUSR, set both of their permission to full control...

for the db's folder, click on Security/Add, and do the same things... then upload it.... but it still cant work...

then i copy the db's folder and check the security, there is no ASPNET and IUSR.....

 
Old September 12th, 2003, 10:39 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to life_s Ng Send a message via MSN to life_s Ng
Default

im using access.....

 
Old September 15th, 2003, 08:42 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Where are you making these security changes? I'm only asking based on the language you used. "...and do the same things... then upload it.... " That sounds to me like you are changing the file and folder on your local machine and then uploading the file to the server. The problem is mostly on the server. When you upload a file, particularly if you are using FTP, it will take on the security settings of the parent folder. Unless you change those, you'll continue to have the problem.

Peter
 
Old September 15th, 2003, 08:14 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to life_s Ng Send a message via MSN to life_s Ng
Default

Quote:
quote:Originally posted by planoie
 Where are you making these security changes? I'm only asking based on the language you used. "...and do the same things... then upload it.... " That sounds to me like you are changing the file and folder on your local machine and then uploading the file to the server. The problem is mostly on the server. When you upload a file, particularly if you are using FTP, it will take on the security settings of the parent folder. Unless you change those, you'll continue to have the problem.

Peter
 
Old September 16th, 2003, 07:43 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Can you access your server to change the security settings?
 
Old September 16th, 2003, 11:20 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to life_s Ng Send a message via MSN to life_s Ng
Default

yeah thanks!!! just got it work!






Similar Threads
Thread Thread Starter Forum Replies Last Post
DateTime Problem!!! Pls help cmualo SQL Server 2000 4 August 17th, 2007 03:08 AM
I myself solved my problem(now u all pls help me i rashmipant BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 October 12th, 2006 04:34 AM
Pls help me (mergesort problem) hlchuah77 Visual C++ 0 August 13th, 2004 11:38 AM
update problem again... pls help... life_s Ng ASP.NET 1.0 and 1.1 Basics 1 September 4th, 2003 02:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.