PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, April 21, 2022

[FIXED] How to undo changes of framework change?

 April 21, 2022     c#, connection, ms-access     No comments   

Issue

Recently, I've been working on a project with Access database, but since the deployment would be on a XP computer, I tried changing the .NET Framework from 4.5.1 to 4.

Since then the connection fails to open, and continues to fail even tough I changed it back to 4.5.1.

con.ConnectionString = "Provider = Microsoft.ACE.OLEDB.12.0;Data Source = " + Localexe + @"/Database.accdb";
try
{
    con.Open();
}
catch (Exception x)
{

}

It says that:

provider 'Microsoft.ACE.OLEDB.12.0' could not be found on the local machine

I tried opening a new project and seeing if there were any References that got lost on the process but that didn't seem to work.


Solution

What is your OS and its bit? what is your access bit? x86 or x64? anyway pls try : DefaultAppPool and Classic .NET AppPool (find these path) - right click - 32bit app enable(true)...after this , right click and restart. I guess it works.



Answered By - tserdas
Answer Checked By - Terry (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing