 |
|
 |
Hi,
If you want to use it without installing SQL Server CE 3.5
Howto :
Add lines below to App.config
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SqlServerCe.3.5" />
<add name="Microsoft SQL Server Compact Data Provider" invariant="System.Data.SqlServerCe.3.5"
description=".NET Framework Data Provider for Microsoft SQL Server Compact"
type="System.Data.SqlServerCe.SqlCeProviderFactory,System.Data.SqlServerCe,
Version=3.5.1.0,Culture=neutral,PublicKeyToken=89845dcd8080cc91" />
</DbProviderFactories>
</system.data>
Copy all the needed SQL CE dll's & System.Data.SqlServerCe.dll to your bin directory.
Change reference from the System.Data.SqlServerCe.dll to the new path.
and Rebuild your application.
|
|
|
|
 |
|
 |
Thts gr888....
Will do that
Thanks
Mayukh
|
|
|
|
 |
|
 |
It has been found that if a column type is nvarchar(10), when convert to sdf it becomes char(1).
I am using sql 2008.
|
|
|
|
 |
|
 |
Is this a bug in SQL 2008???
|
|
|
|
 |
|
 |
Many thanks for this - I don't have fully blown SQL installed so creating a script of my .sdf was a headache until I came across your utility.
Thanks again,
Rob.
|
|
|
|
 |
|
|
 |
|
 |
Just for you to know that the standard SQL Server 2008 tool does all this also, AFAIK.
Of course, your tool is more simple to deploy
|
|
|
|
 |
|
 |
I know tht... Thnx for your comment...
But when I have developed this, SQL Server 2008 management studio was not there.
|
|
|
|
 |
|
 |
Well, your article was posted in feb 2009, that's why I commented.
|
|
|
|
 |
|
 |
i cann't install sqlserver 2008 mgt studio on my P4 system with 512MB ram. But i used this tool.
|
|
|
|
 |
|
 |
When exporting from sql2k to CE..
Any ideas? Tx!
|
|
|
|
 |
|
 |
I have tested this functionality with SQL 2005.....
Can you try to upgrade your database to SQL 2k5 and try the import again... and check the error still persists.....
Thanks
Mayukh
|
|
|
|
 |
|
|
 |
|
 |
Hi,
I am able to download the code from the link with no problem... Can you please retry again???
Thanks
Mayukh
|
|
|
|
 |
|
 |
What would happen to my stored procedures when I convert from sqlserver 2005 express edition?
Will they get converted?
Thanks
Sam
|
|
|
|
 |
|
 |
Hi,
SQL Server Compact Edition does not support stored procedures, views, or triggers. So these objects will not be conevrted when you are converting SQL Server to SQL Server CE. Only Table and Data will be moved. Let me know if this helps.
Thanks
Mayukh
modified on Friday, September 4, 2009 2:39 AM
|
|
|
|
 |
|
|
 |
|
 |
I have written the application in 32 bit system. I have never tried this in a 64 bit machine. Also the installer has been build targetting the 32 bit machine. I will do some analysis on this issue. Thnx a lot for pointing this.
|
|
|
|
 |
|
 |
That's awsome...just what i was looking for!
|
|
|
|
 |
|
 |
Thnx a lot sir!!!
|
|
|
|
 |
|
|
 |
|
 |
Thanks a lot!!!
|
|
|
|
 |
|
 |
For our app, we install SQL CE side-by-side with our app rather than running the separate installer, to lessen our installation requirements and footprint on the end-user's machine. (This is a configuration that Microsoft supports, not something strange.) Because of that, we make it a policy to avoid installing SQL CE in the GAC using MS' installer on our machines, to help us avoid accidentally making something depend on it being there.
You might consider packaging SQL CE SxS in your installer in the same way. It would make it easier to use this tool in situations like ours.
Thanks!
|
|
|
|
 |
|
 |
Thanks for the suggestion. I have done that locally. But for publishing the article and reducing the size of upload I have excluded that in the published installer.
Thanks.
|
|
|
|
 |
|
 |
Will you be adding this kind of functionality?
|
|
|
|
 |