Home » Categories » Multiple Categories |
I receive this error message: "Unknown file type (binary data)" when trying to deploy my SQL CE database. What did I do wrong? |
Article Number: 113 | Rating: 5/5 from 1 votes | Last Updated: Thu, May 3, 2012 at 11:40 PM
|
If you receive this error message, please try adding the following line to your web.config file: <identity impersonate="true" userName="XXXXXXXXX" password="XXXXXX" />
This line should be added inside the tag <system.web> </system.web>. Username and password can be your login credentials for the system.
Therefore, the following is the whole web.config-content with which everything works:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SqlServerCe.4.0" />
<add invariant="System.Data.SqlServerCe.4.0" name="Microsoft® SQL Server® Compact 4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
</DbProviderFactories>
</system.data>
<system.web>
<identity impersonate="true" userName="???" password="???" />
</system.web>
</configuration>
Please note that our Control Panel does not really accept the .cshtml-files (webpages) and the .sdf-file (database) and you will always see the error message: "Unknown file type (binary data)". However, please just ignore the error message and by following the above guideline, everything will work as expected.
|
Attachments
![]()
There are no attachments for this article.
|
Why do I receive "Server Unavailable" message after Crystal Report configuration?
Viewed 2915 times since Tue, May 1, 2012
How to Backup MSSQL Database by using "Export Dump"?
Viewed 402 times since Sun, Mar 9, 2025
Do you support SQL Reporting Service (SSRS)?
Viewed 4149 times since Tue, May 1, 2012
My application pool stops working. What is wrong with my site?
Viewed 13306 times since Sun, Feb 15, 2015
Do you support Remote MSSQL connection?
Viewed 3875 times since Mon, Apr 30, 2012
How to solve ReportViewer error message: "An error has occurred during report processing. Input string was not in a correct format"
Viewed 8265 times since Tue, Jun 18, 2013
Will my Crystal Report IX (Crystal Report 9) work on your server?
Viewed 2775 times since Tue, May 1, 2012
How can I deploy my website with WebDeploy tool?
Viewed 6455 times since Mon, Apr 30, 2012
Do you support SQL Server Integration Service?
Viewed 2967 times since Tue, May 1, 2012
How can I change my SQL Server collation name?
Viewed 3580 times since Mon, May 21, 2012
|