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?

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"?>
                          <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=, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
           <identity impersonate="true" userName="???" password="???" />

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 Attachments
There are no attachments for this article.
Related Articles RSS Feed
Do I need a static IP?
Viewed 4351 times since Mon, May 7, 2012
I cannot login to my MS SQL database remotely. What did I do wrong?
Viewed 5870 times since Mon, May 7, 2012
Do you support Remote MSSQL connection?
Viewed 3369 times since Mon, Apr 30, 2012
How can I activate my Crystal Report?
Viewed 3219 times since Tue, May 1, 2012
Why do I receive "Server Unavailable" message after Crystal Report configuration?
Viewed 2386 times since Tue, May 1, 2012
I cannot login to my Domain Registration Portal. What should I do?
Viewed 2887 times since Mon, May 7, 2012
Can you grant SELECT PRIVILEGE to the system table mysql.proc
Viewed 5653 times since Mon, Jun 18, 2012
Common reasons why your application pool may unexpectedly recycle
Viewed 7677 times since Tue, May 15, 2012