Data Directory for ACCESS Database in Web.Config

AppData or Data Directory for ACCESS Database or MDB file in Web.Config

I was facing issue with the database path in web.config file

 

It was something like this

 

<add key=”connectionstring” value=”provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\YourProject\Database.mdb;”/>


After searching thru internet, i found the solution for it. <add key=”connectionstring” value=”provider=Microsoft.Jet.OLEDB.4.0; Data Source=|DataDirectory|Database.mdb;”/> Hope this helps you. If yes, dont forget to put your comments below. I love it !!


Server Application Unavailable

Generally users says to reset the IIS by using aspnet_regiis -s command in the framework directory.

 

I solved this error by giving ASPNET permission to my folder.

 

 

 

Hope this helps you !!

 


 

 

If yes, please don’t forget to give your comment. I love it !!


Could not load file or assembly ‘Microsoft.ReportViewer.WebForms’

The major cause for this issue is, ReportViewer dll files are not available.


You need to download the ReportViewer installer Click to download from here: www.microsoft.com/downloads/details.aspx?  I hope this will solve your issue. If yes, please don’t forget to write your comment below.
I love it !! CHEEERRRSSS !!!


« Older Entries