How 2 write the NT file permission ???
-
I using below code to connect to database, but it occur error msg. dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;data & _ source=" & server.mappath("er.mdb")) dbconn.Open() Sql= "Update tbData set username = 'yyy'" dbcomm=New OleDbCommand(sql,dbconn) dbread=dbcomm.ExecuteReader() I think the problem is i not set the NT file system??? can somebody help me...:omg:
-
I using below code to connect to database, but it occur error msg. dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;data & _ source=" & server.mappath("er.mdb")) dbconn.Open() Sql= "Update tbData set username = 'yyy'" dbcomm=New OleDbCommand(sql,dbconn) dbread=dbcomm.ExecuteReader() I think the problem is i not set the NT file system??? can somebody help me...:omg:
What exception are you getting and which line of code is triggering it?
-
What exception are you getting and which line of code is triggering it?
when i upload to intenet, it will show this error msg - Operation must use an updateable query. Line 119: dbcomm=New OleDbCommand(sql,dbconn) Line 120: dbread=dbcomm.ExecuteReader() Line 121: dbconn.close() Line 122: dbread.close() At the Internet, got database, table, file and folder! All Got! just the code not unable to run! izit the NT file not set! my web config js write as - < < < < < HOW??? HELP??:wtf: -- modified at 22:58 Monday 13th February, 2006
-
when i upload to intenet, it will show this error msg - Operation must use an updateable query. Line 119: dbcomm=New OleDbCommand(sql,dbconn) Line 120: dbread=dbcomm.ExecuteReader() Line 121: dbconn.close() Line 122: dbread.close() At the Internet, got database, table, file and folder! All Got! just the code not unable to run! izit the NT file not set! my web config js write as - < < < < < HOW??? HELP??:wtf: -- modified at 22:58 Monday 13th February, 2006
Take a look at the permissions assigned to the ASP.NET process user. You would need write permissions on the .mdb file and on its containing folder.