0

I am trying to publish a web application through my local IIS. The database is local access database. I got this error that it is not a valid connection string as below. However, I can't see anything wrong with it.

The value

'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Temp\eAdvanceData.mdb;User Id=admin;Password=;' 

is not a valid connection string or an absolute path.

Abhitalks
  • 26,843
  • 4
  • 58
  • 80
Jane wang
  • 298
  • 1
  • 3
  • 15

1 Answers1

0

It sounds like IIS doesn't have access to the file. You have to give read/write access to that file to the Application Pool that your site is running as.

This might help... IIS AppPoolIdentity and file system write access permissions

Community
  • 1
  • 1
Jason Geiger
  • 1,696
  • 17
  • 27