Accesing to SQL data base in ASP.NET

  • Thread starter Thread starter Osvaldo Luis Aveni
  • Start date Start date
O

Osvaldo Luis Aveni

Guest
Hello, I'm developing an application in ASP.NET (in VB). I have to show some datas from an Access Data Base. So other application in VB.NET writes a data base the information to be read for the ASP program and show them in a form.

The connection with the data base is like this (in the ASP program):

connSetup = New OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + NameFileSetup + ";Persist Security Info=True;Jet OLEDB:Database Password=13579")

I can run the ASP application and it works perfect. I can show the information written by the VB program.

Then I published the ASP program, and declared the site in IIS, but when I run it, it begins to place the labels, buttons, etc, and when it tries to open the data base in order to read the information I have an error (in spanish):

El motor de base de datos de Microsoft Access no puede abrir el archivo 'C:\Dir1\Configuraciones\WebTanques.accdb' o escribir en él. Otro usuario ya lo ha abierto de forma exclusiva o bien necesita permiso para ver y escribir datos.



The translation:

THE MICROSOFT ACCESS DATA BASE MOTOR CAN'T OPEN THE FILE 'C\DIR1....\WEBTANQUES.ACCDB' OR WRITE ON IT. ANOTHER USER ALREADY OPENED PREVIOUSLY IN A EXCLUSIVELY WAY OR YOU NEED PERMISSION TO READ OR WRITE THE INFORMATION.

Please!!!, can someone help me????

Thenaks a lot





Continue reading...
 
Back
Top