Error 175: The specified store provider cannot be found in configuration - Sql Server CE - wpf

oI am building a WPF application in .net 4.0.
I have a local DB .sdf file. I am using EF to connect to the DB.
When building the application I get Error 175: The specified store provider cannot be found in configuration
I tried droping and recreating both the model and the sdf file.
I tried everything detailed in this link and the blog post it was taken from.
I cannot get this error to go away. The application runs on my machine (The error is in the edmx file, so it still runs), but when I publish it and run the installer on another computer, I get the same error in a messagebox.
My local machine is Windows 2008 R2 64bit with VS2010 installed. The machine I'm installing on is Windows 7 32bit.
Edit: Also tried this and got the same result.

I donwloaded SQL Server CE again and did a repair install, then reopned VS2010, did a build and the error went away.
I uninstalled and reinstalled and it didn't help, so I don't really know why this did, but there you go.

Related

SQL Server CE 4.0 Embeded Deployment Issues

Can someone point me in the right direction? I am developing an application where I am using SQL Server CE as an imbedded database. To do so, I put the “7 Dlls” that comprise the CE edition in the same folder as the EXE file along with System.Data.SqlServerCe.dll and then in code registered the COM objects. Wow, I was so pleased because everything worked. Being careful, I wanted to confirm all was well and uninstalled the SQL Server CE that I used for development. Fine! The app still worked. Going a step further I removed the 7 Dlls, leaving only System.Data.SqlServerCe.dll. I expected then to see that the application crashed. I was astonished because the application still worked. I then did a Windows folder search of my entire computer to find the 7 Dlls. The search found nothing, so I’m puzzled as to why.
I do have a local installation of SQL Server 19 on my computer. Is it possible the app is using some of the files in SQL Server 19? I’m at the end of my wits.
I have tried to find another app trhat uses CE and have searched for files that may have been installed. I also did a registry search and found nothing.
My goal is to deploy this Windows desktop program with confidence it will function properly.
Thanks for any help with my problem.

SQL Server installation failure error - 'Object reference not set to an instance of an object'

I am trying to install a Named Instance of SQL Server 2017 in my computer. I selected Database Engine Services in the feature list before installation. The installation failed and I got the following not so informative error message.
The following error has occurred:
Object reference not set to an instance of an object
I am using Windows 10 OS. I am running the setup as an Administrator. When asked to choose the authentication for the instance I chose Mixed Authentication.
Can someone tell me how to get past this problem.
I had the same issue.
I use Win 10 1806. I run the reparation tool for .NET Framework, and it didn’t solve the problem.
In my case the installation file of MS SQL Server was corrupted.
This is most probably due to not having .NET Framework 4.6 installed.
If it is already installed on your machine, you can try running the .NET Framework repair tool, found here

Run64BitRuntime in SSIS package won't stick

I developed an SSIS package about 6 months ago to migrate a number of access databases into SQL server. I opened the package yesterday to go through another run and noticed a few (X) error indicators. Upon further investigation, the connection managers produced the following error:
The specified provider is not supported. Please choose different
provider in connection manager.
The connection manager then opens, but the previously selected provider is no longer listed. Investigating the text in the project file, I was previously using:
Microsoft.ACE.OLEDB.15.0
Recalling that I did have to set the Run64BitRuntime to false in order to use the 32 bit providers, I double checked the Project Properties -> Configuration Propeties -> Debugging -> Run64BitRuntime setting, which had reverted to True. I switched to false, saved, exited and reopened, and the value had again reverted to True. Several other tries produced the same result. At this point, I believe that is the issue, but haven't yet found a solution.
For full disclosure, the package was developed on SSDT-BI for VS 2012, and I'm now using SSDT-BI for VS 2013. I've attempted to create a new package in case there was an issue there, but the same thing happens with a new package. I also upgraded my Office installation and now have version 16 of the Microsoft Access Driver (*.mdb, *.accdb) listed in ODBC (32-bit) instead of version 15.
Any ideas?
EDIT 1: An access driver is not listed in the provider list within the Connection Manager, but is listed in ODBC 32-bit providers. The Jet 4.0 provider fails with "Unrecognized database format"
EDIT 2: Ran into some posts that indicated if the provider isn't listed VS may be running in 64 bit mode. I doubled checked to verify it is running in 32 bit mode (as shown in Task Manager). Maybe my issue is that the provider isn't showing up at all?
EDIT 3: Reinstalled SSDT-BI for VS 2012, providers are still missing.
EDIT 4: I've tried running the package from VS as well as from the SQL server. The package was previously able to run in both places.
EDIT 5: Decided to try simple ODBC connections instead of the OLE DB provider by adding a new User DSN. Receiving this error:
ODBC driver for Microsoft Access installation problem: Unable to load odbcji32.dll
Which lead me to this link, which claims the recent Microsoft Office updates are to blame. Going to try installing the Office 2013 runtime.
Unfortunately, in this case, a recent Microsoft Office update was to blame. Installing the Microsoft Access 2013 Runtime resolved the issue, found here. The Microsoft Access 2016 Runtime may also work, found here, but for me it produced an error stating:
Windows Installer and Click-to-Run editions of Office programs don't get along for this version...

Unable to install Microsoft SQL Server 2012 Developer

I have a problem with installing SQL Server 2012 (no matter which edition I choose).
Installation usually runs well, but near the end shows up an error:
The help link points to not-existing article on MSDN page.
After I click OK button, the installation reaches it's end and shows up another window:
After that I am able to start, for example SQL Management Studio, but cannot connect to database. Also services of SQL Server are stopped and I am not able to start them manually (any try throws an undefined error):
I tried complete reinstalling of SQL Server, cleaning registry entries, different editions of that software - none method helped. Also, I tried the .iso images of installation media on other computers - it worked well and installed without any errors.
My OS is Windows 8.1 x64.

exception in msvcr110_clr0400.dll

I just unpacked my new laptop on Windows 8, and installed the latest version of Visual Studio Ultimate 2013.
Through the server explorer view I tried to add a new connexion to a sql-server database. (Connect to database button)
Each attempts to log-in finished by a crash of visual studio.
Then I tried to get more information about the issue using VS as a debugger for itself.
It seems that msvcr110_clr0400.dll thrown an exception.
Just in case here is the disassembly :
I tried and re-tried several times, checked for updates, installed an other version of vs (Ultimate2012).Any clue how to fix this ?
Require repair installation of .net 4.0 (or 4.5/4.5.1).

Resources