Quantcast
Channel: SQL Server Compact Forum
Browsing all 193 articles
Browse latest View live

Access to the database file is not allowed. [ File name = MyDB.sdf ]

I am developing a small windows form with sqlCE. i made an installer to deploy it to another machine. I added the MyDB,sdf to the Application Folder. but when i run the application it gives me...

View Article


Image may be NSFW.
Clik here to view.

Query to group items and count them??

Hi. This is what i need to do: I have a notifications table, which contains a memberid and a notificationtypeid (email, standard mail, sms, etc), as well as its own notificationid and other...

View Article


Cannot use app with sql server ce 4.0 private deployment as external program...

I have the application with SQL Server CE 4.0 private deployment. It's work correctly in standalone mode. But when I try to use this installed application as "external program" in vs2010 for debugging...

View Article

any one tell me the code to connect to .sdf file in c# windows application?

Hi,Any one tell me the code to connect to .sdf file in c# windows application?And tell the requirments to conncet.My sdf file path is thisC:\\Documents and Settings\\koti\\My Documents\\Example.sdfI...

View Article

SQL Server Compact for WinRT

Hi all     some days ago I discovered that at the moment there is no support for SQL CE on WinRT! Do you know if there will be a version of ce for WinRT? king regardsGian Paolo Santopaolo -...

View Article


SQL CE 4 TO 3.5

Hello, sorry for my bad english: I have an app that runs in 32-bit OS that create a SQL CE 3.5 database to load the DB in a PDA. But my client have to run the app on a 64-bit OS so i updated the sql ce...

View Article

Unknown Error. Possibly SQL Server Compact is not correctly installed.

This is a similar issue to the one discussed in the thread here.  Basically I am unable to connect to a SQL Server Compact database from Visual Studio 2010 Ultimate.  I have tried all of the steps...

View Article

Odd issue with ClickOnce deployment on some machines

I have an odd issue with ClickOnce and SQLCE regarding the inability to load the sqlceme35.dll. The issue I am having does not seem to be related to other issues related to the loading of...

View Article


Possible to map DataType being read from SqlCe?

I have a 3rd party dll that reads from Sql2008 and internally maps VarChar fields to AnsiString. I want to use the dll with SqlCe which uses NVarChar instead of VarChar ... when a method on the dll is...

View Article


Why is SysTrackingContent suddenly empty in SqlServerCE (using SyncFramework) ?

Hi, I am using SqlServer CE 3.5.1 with the SyncFramework 1.0 and EntityFramework 4.0. Everything works fine until I update my database. After calling Context.SaveChanges() within my app the column of...

View Article

What strategy is used to pick the next connection if multiple candidates wait...

I am seeing SQL Server reporting deadlock errors and after some investigation, I found that they are not really deadlocks, but rather connections running into timeouts while waiting for a lock. I have...

View Article

DbGeography Data Type Support

Are there plans for SqlCe to support DbGeography? If yes when is it expected to happen?

View Article

Please can anyone tell that coding of Add the tootip for indivisual cell in...

Please can anyone tell that coding of Add the tootip for indivisual cell in gridview can anyone tell ?

View Article


SQLCE 3.5 VS2008 - VB.NET Refuses to INSERT

Hi all, I have a small vb.net app and am using SQLCE to store the data. I have written a small sub to store a record in the DB but it seems to refuse to work. Here is the code: Dim ConnCeSQL = New...

View Article

how to sort version Number?

Hi All, Can any one give me a sql statement for sorting version numbers. when i used the below query SELECT [Policy ID] FROM [ITPP] ORDER BY cast('/' + replace([Policy ID] , '.', '/') + '/' as...

View Article


SQL Query runs on SQL Server, but not on SQL Server Compact

Hello together, this query works fine on MS SQL Server, but not on SQL CE: select a.Gender , a.Last_name , a.first_name , b. level from patients  a left outer join (select x.id , x.PatID , x. level...

View Article

Msi files Installation On Windows CE

Hi Every body,i need to install sqlserver on windows ce. i download the msi file and i had installed latest version of active sync. but it ddidnt execute,what should I DO? I should say, icant install...

View Article


sqlcmdObject.ExecuteNonQuery() throws sqlcexception???

Hi, I'm trying to update a record in a table using the below update command. sqlcmdObj= sqlConnObj.CreateCommand(); sqlcmdObj.CommandText = "UPDATE WS_LOCATION SET Frequency = @FreqParams, LUTime =...

View Article

SQLCE 3.5 dependencies

I have a windows application that users SQL CE 3.5 as local store. When i install it in client machines., the SQL CE (.SDF) file is not created. I'm sure that i have copied the dependent dll's viz.,...

View Article

Strange foreign key behaviour

I'm using SQL server 2000 and seeing a strange behavior I have 2 tables namely site machine machine table has foreign key and it referenced to site.column1 But if i select machine table it shows values...

View Article
Browsing all 193 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>