HighTechTalks DotNet Forums  

What is this file?

Dotnet Scripting microsoft.public.dotnet.scripting


Discuss What is this file? in the Dotnet Scripting forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Rajani
 
Posts: n/a

Default What is this file? - 04-04-2006 , 10:10 PM






hello,

When i run my aspx file(performs database insert record operation), theere
is another file generated name "access.lockFile.9" and its not getting
deleted. Its mdb file's related file.

Why is this file generated? I am getting error running this page.

my code is ...

qry="insert into users(userid,username) values('" & txtUID.text & "','" &
txtUName.text & "')"

dbcommand=new oledbcommand(qry,conn)
dbcommand.connection.open()
dbcommand.executeNonQuery()
dbcommand.connection.close()
bindDataGrid()

Whats the problem in this code? Error : Operation must be an updatable query

I checked the attributes for mdb file and folder. All are ok(no read only
attribute).





Reply With Quote
  #2  
Old   
William Daniel
 
Posts: n/a

Default Re: What is this file? - 05-02-2006 , 02:19 AM






Rajani,

Microsoft Access creates the lock file to fetch exclusive locks for a
particular record on a table. This file should get deleted
automatically. Please check the permissions for the impersonating user
so that the file can be deleted automatically. "access.lockFile.9" is
for Access 2000.

Thanks and Regards,
Daniel

Rajani wrote:
Quote:
hello,

When i run my aspx file(performs database insert record operation), theere
is another file generated name "access.lockFile.9" and its not getting
deleted. Its mdb file's related file.

Why is this file generated? I am getting error running this page.

my code is ...

qry="insert into users(userid,username) values('" & txtUID.text & "','" &
txtUName.text & "')"

dbcommand=new oledbcommand(qry,conn)
dbcommand.connection.open()
dbcommand.executeNonQuery()
dbcommand.connection.close()
bindDataGrid()

Whats the problem in this code? Error : Operation must be an updatable query

I checked the attributes for mdb file and folder. All are ok(no read only
attribute).





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.