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
  • 27,721
  • 5
  • 58
  • 81
Jane wang
  • 298
  • 1
  • 3
  • 16

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,912
  • 18
  • 32