Click here to Skip to main content
15,920,602 members
Home / Discussions / Database
   

Database

 
Questionthe database has been placed in state by user "Admin" Pin
charleslau285515-Mar-07 15:39
charleslau285515-Mar-07 15:39 
hi,

Everyone know this error? the database has been placed in state by user "Admin"!

We are using a shared database in access databases. When more than one user has connect to my databases by my application (my program developed by vb.net) at the same time, the following error message appears. "The
database has been placed in a state by user 'Admin' on machine XXXXX that
prevents it from being opened or locked."

* Although i already add the "Persist Security Info=False;Mode=Share Deny None" in my OleDbConnection, it still got same error!

How to solve this error? please help!

My following code as below:

Try
DB = New OleDbConnection("Provider=microsoft.jet.oledb.4.0; data source=C:\prdsystem\prdnsf.mdb; Persist Security Info=False;Mode=Share Deny None")
DB.Open()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Information, "")
End
End Try
Da = New OleDb.OleDbDataAdapter(sql, DB)
Ds = New DataSet
Da.Fill(Ds, "emp")


QuestionCreating a SqlDbType.SmallDateTime parameter Pin
digsy_15-Mar-07 8:08
digsy_15-Mar-07 8:08 
AnswerRe: Creating a SqlDbType.SmallDateTime parameter Pin
Marcus J. Smith15-Mar-07 9:35
professionalMarcus J. Smith15-Mar-07 9:35 
Questionerror of duplicate PK in subscriber database Pin
Rocky#15-Mar-07 6:14
Rocky#15-Mar-07 6:14 
QuestionAdd Multiple ColumnValue to a SingleColumn Pin
Sarfaraj Ahmed15-Mar-07 3:47
Sarfaraj Ahmed15-Mar-07 3:47 
AnswerRe: Add Multiple ColumnValue to a SingleColumn Pin
Marcus J. Smith15-Mar-07 4:26
professionalMarcus J. Smith15-Mar-07 4:26 
GeneralRe: Add Multiple ColumnValue to a SingleColumn Pin
Sarfaraj Ahmed15-Mar-07 4:47
Sarfaraj Ahmed15-Mar-07 4:47 
GeneralRe: Add Multiple ColumnValue to a SingleColumn Pin
Marcus J. Smith15-Mar-07 5:16
professionalMarcus J. Smith15-Mar-07 5:16 
GeneralRe: Add Multiple ColumnValue to a SingleColumn Pin
Sarfaraj Ahmed15-Mar-07 5:25
Sarfaraj Ahmed15-Mar-07 5:25 
GeneralRe: Add Multiple ColumnValue to a SingleColumn Pin
Marcus J. Smith15-Mar-07 5:31
professionalMarcus J. Smith15-Mar-07 5:31 
Questionsql server 2000 millisecond issue Pin
nickjoe9015-Mar-07 2:41
nickjoe9015-Mar-07 2:41 
AnswerRe: sql server 2000 millisecond issue Pin
Pete O'Hanlon16-Mar-07 2:15
mvePete O'Hanlon16-Mar-07 2:15 
Questiona loop that increments a value in the selection clause? Pin
Red_Wizard_Shot_The_Food15-Mar-07 2:30
Red_Wizard_Shot_The_Food15-Mar-07 2:30 
AnswerRe: a loop that increments a value in the selection clause? Pin
Marcus J. Smith15-Mar-07 3:00
professionalMarcus J. Smith15-Mar-07 3:00 
AnswerRe: a loop that increments a value in the selection clause? Pin
andyharman15-Mar-07 5:49
professionalandyharman15-Mar-07 5:49 
GeneralRe: a loop that increments a value in the selection clause? Pin
Marcus J. Smith15-Mar-07 6:10
professionalMarcus J. Smith15-Mar-07 6:10 
GeneralRe: Connecting SQL Server Express 2005 to remote database file Pin
BRShroyer15-Mar-07 2:27
BRShroyer15-Mar-07 2:27 
GeneralRe: Connecting SQL Server Express 2005 to remote database file Pin
Colin Angus Mackay15-Mar-07 5:33
Colin Angus Mackay15-Mar-07 5:33 
QuestionEnterprise Library Data access application block 2.0 Pin
saltcode15-Mar-07 1:36
professionalsaltcode15-Mar-07 1:36 
Questionhow can i store jpg files in sql or oracle (blob) Pin
Member 392135215-Mar-07 1:22
Member 392135215-Mar-07 1:22 
AnswerRe: how can i store jpg files in sql or oracle (blob) Pin
coolestCoder15-Mar-07 2:16
coolestCoder15-Mar-07 2:16 
AnswerRe: how can i store jpg files in sql or oracle (blob) Pin
Rocky#15-Mar-07 6:18
Rocky#15-Mar-07 6:18 
QuestionSaving File in Oracle BLOB datatype directly from client location. Pin
Ram Shankar14-Mar-07 17:20
Ram Shankar14-Mar-07 17:20 
QuestionCorrect deleting from MS SQL Pin
turtle_box14-Mar-07 11:09
turtle_box14-Mar-07 11:09 
AnswerRe: Correct deleting from MS SQL Pin
kubben14-Mar-07 12:14
kubben14-Mar-07 12:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.