Character Set ISO8859_1 is not Installed - c#

I have created a C# windows application which is updating a database from Firebird Server to SQL Server. It was successfully running in Visual studio 2015, but when I published(deployed) it and installed in system or others system and when I run the application, I am getting error like this Character Set ISO8859_1 is not installed.
I have searched on google, and found it's a problem with fbintl not properly added to solution explorer. I have removed and added properly in a folder and also I have reinstalled Firebird server. Still I'm getting the same error.
What do I have to do? Is there anything I'm missing? I am using latest versions of Firebird 3.0.3(64bit) and firebird-embedded 2.5.8 and below image was my solution explorer.

Related

Visual Studio Docker compose "error response from daemon" SQL Server path issue

I'm trying to run my code on a different PC and I keep getting an error when I try to launch my code via "docker compose".
I see that it is complaining about the path not being absolute, but I question why this is.
This is not something that happens on my other PC. If I check the SQL Server object explorer, the only difference I see is that the (localdb)\MSSQLLocalDB is a newer version than on my PC (the pc with the older version does not have the issue). The difference in versions are 15.0.41 (has error above) and 13.0.4001 (no error).
If this is the issue, how do I change my version to the other one?
And if this is not the issue would anyone know what causes it, I've tried a couple things (clean, rebuild, reinstall docker, delete the code and pull it again,...)
Thank you for your time and help.

Visual studio c# application connect to MySql server

I am new to Visual Studio 2017 but i made a simple Windows Form application that needs to connect with my existing Mysql Database.
I can make a connection and see some tables but after selecting them I get this error:
I did a full install of MySQL for windows including Connector and MySQL for visual studio latest versions because that was the answer for other people who had this problem but after install and reboot nothing has changed.
I also added the Mysql.data reference.
I don't get what causes this unexpected error. I tried with 2 different databases but the same result.

Publish desktop application working fine on my system but when I send setup to someone, it doesn't work

I have developed a desktop c# application with localdb. While publishing the application, I have selected .net framework and localdb as a prerequisite. The published setup works fine on my system but when I send the complete setup files to any other system it doesn't work.
Here is my connection string
SqlConnection(#"Data Source=(localdb)\mssqllocaldb;AttachDbFilename=|DataDirectory|\StadiumDatabase.mdf;Integrated Security=True")
Here is what I am selecting in prerequisite
The error that I am getting on other systems.
I have gone through so many blogs and articles regarding this and none of the solutions provided is working.
It looks like you have different versions of LocalDb installed on your development machine, and the installation machine. The default instance MSSQLLocalDB used to be named by version in older versions of LocalDb, v11.0 for example. Microsoft changed that to MSSQLLocalDB in a later version of LocalDB.
The fact that you say (localdb)\mssqllocaldb works on your machine, leads me to believe that you are using that newer version. Your screenshot shows that you have selected LocalDB from SQL 2012, which uses the default instance name v11.0. This means you will need a different connection string remotely vs during development. Unfortunately, I don't know of a good way to detect the instance name to adjust the connection string.
Running different versions of LocalDB on your development machine, and installing a different version on the remote computer, will probably cause you a lot of headaches, like this one. I recommend either installing whatever localDb version you are developing against on the remote machine, or installing 2012 on your development machine, so that everyone has the same version.
Based on comments you made, your development machine is running Sql 2016 (db version 852). You either need to install Sql 2012 on your development machine, or install 2016 as the prerequisite.

System.Data.SqlServerCe.dll SQL Server CE 3.5 reference missing after generating .exe file using InstallShield Limited Edition Project

I am using VS 2013 with InstallShield Limited Edition Project.
Everything is working fine in development environment where I have created reference to System.Data.SqlServerCe.dll
After I generate .exe file and install my application it is unable to find reference for SQL Server CE 3.5 thus automatically gets reference for SQL Server CE 4.0 and gave an error.
Incompatible Database Version. If this was a compatible file, run repair. For other cases refer to documentation. [ Db version = 4000000,Requested version = 3505053,File name = \?\C:\Users\someuser\AppData\Local\testapp\testdb.sdf ]
I have tried going through "this" article on MSDN but I can't find any publish tab in properties of my project.
Furthermore I am deploying System.Data.SqlServerCe.dll and all 7 32bit version SQL Server CE 3.5 dlls with my setup.
sqlceca30.dll
sqlcecompact30.dll
sqlceer30en.dll
sqlceme30.dll
sqlceoledb30.dll
sqlceqp30.dll
sqlcese30.dll
No, the issue is that your database file is in 4.0 format. As you can see from the error message, the engine is trying to open a 3,5 file, but gets a 4,0 file instead. So your application is using the 3,5 engine.
The problem was when I was trying to deploy msi package using InstallShield it used different build setting(x64) than my current setting(x86) which was causing my application to get the reference of x64 Sql Server CE 4.0 files.
So it was fixed by changing setting of singleimage compiling option.

Deployed application using winform application with Entity Framework doesn't work on clients PCs

I'm new in deploying projects in Visual Studio 2010
I'm using EF 5 to code a Winforms application with SQL Server & SQL Server CE 4.0 optional database selection.
I created setup project in Visual Studio 2010
I've already added .Net Framework 4 Full package X64_X86 in addition to ReportViewer 2010 as prerequisites.
I've created my application download prerequisites from same location as my application
every dll, script,file I've used or created marked as copy always and added to setup project as usual.
when I install my application in developer machine the application run perfectly! (PC1)
when I tested my application to fresh copy of windows the installing runs OK and installation perform to install Net framework , report viewer and all my files copied in the right way as my VS 2010 release folder shown (Nothing Missing at all except vhost files)
but when I run my application, it's not working at all! it's stopped of working before my splash screen starting!!!.(PC2)
I've re-installed the application on pre-installed SQL Server 2008 R2 Express edition but it works perfectly! (PC3)
My application is using connection string stored in encrypted file and when the file doesn't exist, it display a form (simulate to add connection form in visual studio IDE) that create and build the connection string encrypted file.
Note: PC1,PC2,PC3 are Identical and have same brand ( even in hardware and software).
I've searched all about deployment and publishing either click once or with creating setup project but nothing unusual or missing from what I've done
what the hack?! what I'm missing??.
I'm actually faced this issue before
Check your .Net framework if you are installing .Net Client use the full .net framework 4

Categories

Resources