Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MS SQL Server






SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





RDA Push Fails With SQL Server 2005 Compact Edition


Hello

 

I have a SQL Server 2005 (build 9.0.3050) database with tables belonging to
different schemas. I am in the process of developing a Windows Mobile 5.0
application that will work against this database, and I€™m planning to use
Remote Data Access with SQL Server 2005 CE to synch data.


I have my RDA all set up and working correctly IIS-wise, and have no problem
pulling a table from my database. However, when I attempt to push a modified
table back to the database, I get an €˜Internal error: Failure setting up
bindings, possibly caused by insufficient permissions.€™ error (which equates
to error 28621:  SSCE_M_BINDINGS), which according to
http://msdn2.microsoft.com/en-us/library/ms172898.aspx is an internal error
which €œcannot be resolved by common troubleshooting techniques€?. The
€˜insufficient permissions€™ is a red herring I think, since the problem
persists even if the SQL Server login that is being used for RDA is in the
sysadmin role.


 

I€™ve attempted to identify the problem by starting from scratch with a new
database and a new table with a couple of test columns. With the table
freshly created as dbo.TableName RDA works fine. However, when I create a
schema and transfer the table to the schema, RDA push fails as above, so to
me it looks like the schema is causing the problem.


Anyone any ideas about this? All help greatly appreciated!


 

Thanks - Graham




View Complete Forum Thread with Replies
Sponsored Links:

Related Messages:
Sql Server 2005 Compact Edition 3.1 RDA Synchronization Fails On Table With Index In Sql Server 2005 Database
We have been using Sql Server 2005 Compact Edition 3.1 RDA synchronization method successfully on Sql Server 2000 database. Recently we moved the database to Sql Server 2005, sync doesn't work anymore, it just hangs on one table. On further investigation, we found out that it's the index on that table that causes this. We removed the index, it works fine. We are wondering the root cause, removing the index is not a solution for us. Any thoughts?. Thanks.

View Replies !   View Related
SQL Server Compact Edition Ntext Fails With String Over 4000 Characters
This is with SQLCe NET 3.5.0.0 running on Windows Server 2003 or Server 2008, not on a Windows mobile operating system.

The following code fails with ntext entries above 4000 characters:

        Dim cn As New SqlCeConnection(ConnectString())
        If cn.State = ConnectionState.Closed Then
            cn.Open()
        End If
        Dim info as string

info = "This is lengthy text".PadLeft(4200)
        Dim cmd As SqlCeCommand

        strSQL = "create table testTable ("
        strSQL &= "docType nvarchar (50) NULL, "
        strSQL &= "docFlag nvarchar(10) NULL, "
        strSQL &= "docData ntext NULL, "
        strSQL &= " )"

        cmd = New SqlCeCommand(strSQL, cn)
        Try
            cmd.ExecuteNonQuery()
        Catch sqlexception As SqlCeException
            MessageBox.Show(sqlexception.Message & vbNewLine & strSQL, "Table Error 7", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1)
        Catch ex As Exception
            MessageBox.Show(ex.Message, "Table Error 8", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1)
        Finally
            cn.Close()
        End Try
                    If cn.State = ConnectionState.Closed Then
                        cn.Open()
                    End If

                    '---- insert a row into the testTable

                    strSQL = "INSERT INTO testTable ("
                    strSQL &= "docType, "
                    strSQL &= "docFlag, "
                    strSQL &= "docData, "
                    strSQL &= ") "
                    strSQL &= "VALUES ("
                    strSQL &= "@docType, "
                    strSQL &= "@docFlag, "
                    strSQL &= "@docData, "
                    strSQL &= ")"

                    Try
                        cmd = New SqlCeCommand(strSQL, cn)
                        cmd.Parameters.AddWithValue("@docType", "a type")
                        cmd.Parameters.AddWithValue("@docFlag", "a flag")
                        cmd.Parameters.AddWithValue("@docData", info) 
                        cmd.ExecuteNonQuery()
                    Catch sqlexception As SqlCeException
                        MessageBox.Show(sqlexception.Message, "Table Error 9", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1)
                    Catch ex As Exception
                        MessageBox.Show(ex.Message, "Table Error 10", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1)
                    Finally
                        cn.Close()
                    End Try
                End If

Changing the cmd.Parameters as follows works:

                    Dim paramdocData As SqlCeParameter
                    Try
                        cmd = New SqlCeCommand(strSQL, cn)
                        cmd.Parameters.AddWithValue("@docType", "a type")
                        cmd.Parameters.AddWithValue("@docFlag", "a flag")
                        paramdocData = cmd.Parameters.Add("docData", SqlDbType.NText)
                        paramdocData.Value = info
                        cmd.ExecuteNonQuery()
                    Catch sqlexception As SqlCeException
                        MessageBox.Show(sqlexception.Message, "Table Error 9", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1)
                    Catch ex As Exception
                        MessageBox.Show(ex.Message, "Table Error 10", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1)
                    Finally
                        cn.Close()
                    End Try

Thanks to the following Microsoft ReadMe for the above suggestion. See:
http://download.microsoft.com/download/f/7/2/f72ebbf8-4df1-4800-b4db-c2405c10d937/ReadmeSSC35.htm
 

View Replies !   View Related
Windows CE 5 Device With SQL Server 2005 Compact Edition Sync With SQL Server 2005 Express Edition
I have:

A server computer running SQL Server 2005 Enterprise Edition.

A industrial computer running SQL Server 2005 Express Edition.

And now also a Psion WorkAboutPro with CE 5 that should run SQL Server Compact Edition.

 

The industrial computer syncs its data with the server, basically saying "this has happened".

Now I want the Psion to sync with the industrial computer, but this sync must two-way.

 

I have tried to find a guide or something that can tell me "do this to sync" but the information i have found is sketchy at best.

 

If someone could point me in the right direction of a guide or something else it would be much appreciated.
 
Regards,
Björn
 

View Replies !   View Related
Sqlceoledb35.dll - Error 25123 - A SQL Server Compact Edition DLL Could Not Be Loaded. Reinstall SQL Server Compact Edition.
Hello,
 
we've got a SQL Server 2005 which replicates with an SQL Server Compact 3.5. Every 10 to 20 synchronisations we're getting the error mentioned above. A Soft reset of the device helps to make the synchronization working again.
 
Why is this error happening and how can we resolve this?
 
BTW, we've also running system that replicates with an SQL Server Compact 3.0 without having this problems.
 
Thanks,
Markus

View Replies !   View Related
A Sql Server Compact Edition DLL Could Ot Be Loaded Reinstall SQL Server Compact Edition [ DLL Name = Sqlceca30.dll]
 

Hi there,
 
everything is ok for first run. but i leave the program relogin 
than that error occured ppc2003 second edition devices. Windows mobile 5.0 device works fine.
can anybody help me?


VS2005 ver 8.0.50727
SSCE31VSTools-ENU.exe loaded
SSCE31SDK-ENU.msi loaded
 
machine 1
SQL 2005 loaded
 
machine 2
http://192.168.20.22/ssce/sqlcesa30.dll
"Microsoft SQL Server Compact Edition Server Agent" looks fine
 
pocket pc side
C:Program FilesMicrosoft SQL Server Compact Editionv3.1SDKinwce400armv4
 
.net cf 2.0 sp2
sqlce30.dev.ENU.ppc.wce4.armv4.CAB
sqlce30.ppc.wce4.armv4.CAB
sqlce30.repl.ppc.wce4.armv4.CAB installed too.
 
my code
---------------------------------------------

Dim RdaStr As String = "Provider=SQLOLEDB; Data Source=" + Server + ";Initial Catalog=" + DataBase + ";Integrated Security=SSPI"

Dim rda As SqlCeRemoteDataAccess

Try

rda = New SqlCeRemoteDataAccess "THIS LINE GIVES ME THAT ERROR
Catch ex As Exception

MsgBox(ex.ToString)

Application.Exit()

End Try

Try

rda.InternetLogin = [String].Empty

rda.InternetPassword = [String].Empty

rda.InternetUrl = "http://" + IP_no + "/ssce/sqlcesa30.dll"

rda.LocalConnectionString = ConnectString

Catch ex As Exception

MsgBox("Bağlantı hatası..")

Application.Exit()

End Try
------------------------------------------------------------------------------
i added the following code to very beginning of my code too.
that code lock my device
 

Declare Function LoadLibrary Lib "coredll" Alias "LoadLibrary" (ByVal lpLibFileName As String) As IntPtr
 

Dim pt As IntPtr

pt = LoadLibrary("\windowssqlceca30.dll")

pt = LoadLibrary("\windowssqlceoledb30.dll")

pt = LoadLibrary(\windowssqlcecompact30.dll)

 
-----------------------------------------------------------------------------

View Replies !   View Related
Large MSMerge_History, MSMerge_genhistory,MSRepl_errors Tables In SQL Server 2005 Express Edition (Merge Push Subscriber)
SQL Server 2005 Standard Edition act as publisher and distributor.
All subscribers are SQL Server 2005 Express Edition.
According to 2005 book online, "MSMerge_History table exists in distribution database". Howevey I found this table in Subscriber database which is in SQL Server 2005 Express Edition.
The problem is this table (MSMerge_History) and other two tables (MSMerge_genhistory, MSRepl_errors) are quite large. We want to keep SQL Server 2005 Express database as small as possible so we can put more data into it.
Is there anyway (Manually or automatically) to clean those tables in SQL Server 2005 Express? Please help.

View Replies !   View Related
Help - SQL Server 2005-&>Compact Edition Replication
Hi All ...I
have been following the MS on-line tutorials to get replication setup
between SQL Server 2005 and SQL Server Compact Edition. I get to the
point where I run the Configure Web Synchronization and it is running
through the process where it is doing the automated configuration of
the shared directory - assigning users etc.I have attempted
this step with a user account that I expressly created for snapshots
and with the Administrator account and get the following error message:* The operation completed successfully. (Exception from HRESULT: 0x80070000)At
first, I thought this was a rights issue due to the fact that I was
using an account that I manually created. However, by using the
Administrator account (test only until I can figure this out) that
should have removed any rights issues associated with accessing the
shared directory where the snapshot will reside.Any help in getting this figured out will be greatly appreciated.David L. Collison Any day above ground is a good day!

View Replies !   View Related
MS SQL Server 2005 Compact Vs. Express Edition?
Hi.

I am in the process of moving my sql server 2000 DB to a stand-alone box. I am also considering upgrading to sql server
2005 (at this point, the DB isn't too complex) and was just on
the MS site reading over my options. I was hoping to get some
"real world" feedback about the differences between the compact and express editions. Are there any major drawbacks to either?
The site I am currently working with is not too complex - only one database server - but will be growing significanly over the next year.

I appreciate your help.
thanks!

View Replies !   View Related
SQL Server Compact Edition 2005 For 64bit OS
Hello
 
I'm trying to use application designed for 32bit operating system on 64bit (Longhorn beta 2). This application requires SQL Server CE 2005, I installed it (x32) but the application still says that it isn't.
 
What can be the problem? I suggest the application cannot retrieve information about SQL Server CE installation. But maybe the reason is I need to install something like SQL Server CE for 64bit operating system? Is it present "in native"?

View Replies !   View Related
SQL Server 2005 Compact Edition + .NET Version 1.0
 

Hello,
 
    I want to learn if it is possible to develop applications for SQL Server 2005 Compact Edition using .NET Compact version 1.0. The major doubt is the possibility for version 1.0. It is reasonable to deliver SQL Compact Edition redistributables with an application, but this is not great to require ,NET 2.0.
 
    Many thanks.

View Replies !   View Related
Top Clause In SQL Server 2005 Compact Edition
 

Hi
Can we use Top Clause in the Select statement while using SQL Server 2005 Compact Edition. If not, is there any other workaround available to achieve same results.
 
Regards,
Salman Shehbaz.

View Replies !   View Related
Installing Sql Server 2005 Compact Edition
I have a PDA application that manage a database.

My application uses  Sql server 2005 Mobile edition and I want to change to

Sql server 2005 Compact edition.

I have an application that automatically upgrade new version of my software at users (customers sites) It is shipped on a memrory card (SD Card).

I want in my upgrade tool to install Sql server 2005 Compact edition so I do it by running the two cab files :

 sqlce30.repl.wce5.armv4i.CAB and sqlce30.wce5.armv4i.CAB

 It works ok but I want also to uninstall Sql server 2005 Mobile edition and I do not find out how to do it automatically, First I do not know how to find out if Sql server 2005 Mobile edition  is installd and if so how to uninstall it.

I want to do it all automatcally in my upgrade utility because my customers do not know to do it manually by theself.

Second I want to know if I have to use the Sql server 2005 Compact edition Uprade tool to upgrade my clients old databases because the now application works ok without Upgrading the database.

 

Thanks

Ofer Ebert

View Replies !   View Related
Need Help Installing SQL Server 2005 Compact Edition.
Hi,

  Having read a lot about SQL Server 2005 CE, I decided, after seing that it was finally available, to start its installation.

1-  I downloaded and installed SQL Server 2005 Compact Edition from following link:

http://www.microsoft.com/downloads/details.aspx?FamilyId=85E0C3CE-3FA1-453A-8CE9-AF6CA20946C3&displaylang=en

2- Also I downloaded and installed SQL Server 2005 Compact Edition books online from following link:

http://www.microsoft.com/downloads/details.aspx?FamilyId=E6BC81E8-175B-46EA-86A0-C9DACAA84C85&displaylang=en

==>  Is there anything else missing if I intend to use it for development with Visual Studio 2005 (VC++)?

==> What is "Microsoft SQL Server 2005 Compact Edition Developer SDK"  compared to the one "SQL Server 2005 Compact Edition" I installed?  Should I install it? 

ref: (http://www.microsoft.com/downloads/details.aspx?FamilyId=E9AA3F8D-363D-49F3-AE89-64E1D149E09B&displaylang=en)

3- There is also a link, which btw doesn't work at all, that should allow me to download following item:

"Microsoft SQL Server 2005 Compact Edition Tools of VS 2005 sp1"

==>  Not being able to have any infos about it, what is the use of it?  Should I install it in my environment? If so, any working link where I can download it from?

4-  I finally noted, while browsing through SQL Server 2005 CE books online, the following note:

The following programming models are supported by SQL Server Compact Edition:

ADO .NET, accessible by using C# or Microsoft Visual Basic

OLE DB, accessible by using Visual C++ option from within Visual Studio 2005


==> How come that CE is not accessible using ADO.NET model when using VC++?

 

Thanks in advance,

Stéphane

View Replies !   View Related
Creating A New Connection With Microsoft SQL Server 2005 Compact Edition From Visual Studio 2005 IDE
 

Hello, How are you?   
I have a problem when I try to create a new connection with Microsoft SQL Server 2005 Compact Edition from Visual Studio 2005 IDE. When I€™m going to choose the data source, the SQL Server 2005 Compact Edition provider doesn€™t appear in the list. I installed the SQL Server 2005 Compact Edition from this page http://www.microsoft.com/downloads/details.aspx?FamilyId=%2085E0C3CE-3FA1-453A-8CE9-AF6CA20946C3&displaylang=en.  In the additional information says by installing SQLServerCE31-EN.msi installs the provider (System.Data.SqlServerCe.dll) in the GAC (global assembly cache) and registers the OLEDB provider (sqlceoledb30.dll). So, I don€™t understand why couldn€™t I create a new connection with Microsoft SQL Server 2005 Compact Edition from Visual Studio 2005 IDE?   

 

I appreciate your help€¦

View Replies !   View Related
Cannot Replicate Between SQL Server 2005 And Compact Edition On (XP 64-bit Version)
Hello,
 
I have a computer thats running XP 64 bit version. I want to replicate between SQL server 2005 and SQL server 2005 compact edition. But it doesn't works. So i looked for a solution and i came to:
http://support.microsoft.com/kb/912430
This page is telling me:

You cannot replicate data from SQL Server 2005 to SQL Server Compact Edition by using the 64-bit version of IIS
 
Is that a problem that can be solved by not using a other Operating System?
 
Or can you maybe install a 32-bit IIS on XP 64 bit?
 

View Replies !   View Related
Connection Error In Sql Server Compact Edition 2005
HI friends,

i m working on device application ..i m using sql server ce 2005 with c#.net ... but when i m trying to connect to database it shows me error that

"the database path not found ... please check the path [,,,filename,,,]"

my code is as below

private string ConnStr = "Data Source =\My Documents\Employee.sdf;";

        private void cmdCheckConnecton_Click(object sender, EventArgs e)
        {
            try
            {
                cn = new System.Data.SqlServerCe.SqlCeConnection(ConnStr);
                cn.Open();
                MessageBox.Show(cn.State.ToString());
            }
            catch (SqlCeException ex)
            {
                MessageBox.Show(ex.Message.ToString());
            }
        }

i have my database in My Documents and the path is right still it shows the error

pls help if any one have a solution regarding this problem


thanxx

Zalak Shah

View Replies !   View Related
Language Setting On Sql Server 2005 Compact Edition
Hi!
 
I have a problem changing the language setting to swedish on sql server 2005 compact edition. The thing is that I'm using a language dependent format: '1998-02-28 14:23:05' (Numeric) when saving and I rather don't want to change this format, because it's a lot of work. (The default setting on the database seems to be us-english, which has the format month-day-year and there by gets wrong for me).
 
As I understand, this is detemined by the language settings on login. So I set this by using the 'locale identifier' (sv-SE) in the connection string to the CE database, but when I try to save the data, the datum is still interpreted as us-english format.
 
(The application I'm running have been upgraded from sql compacte edition 2.0 where this worked just fine, though without specifing any language settings in the connection string.)

 
Appreciate any help!

View Replies !   View Related
Creating And Using SQL Server 2005 Compact Edition Databases
OK I think I am missing something here.  I have installed the newly released SQL Compact Edition, Server Tools, and Tools for VS SP1.  According to the documentation you can do the following to create a SQL Compact Edition DB:

Creating a SQL Server Compact Edition database on the server




In SQL Server Management Studio, open Object Explorer.


In Object Explorer, click Connect, and then choose SQL Server Compact Edition.


In the Connect to Server dialog box, select <New Database€¦> from the Database file drop-down list.


In the Create New SQL Server Compact Edition Database dialog box, type a file path and file name for the new database file. You can optionally select the default sort order and choose whether you want to encrypt or password-protect the database. If you choose to encrypt or password-protect the database, type a password, and then click OK.


Click Connect to connect to the new SQL Server Compact Edition database. The database is now displayed in Object Explorer.

I see no reference to or any option to create or connect to a SQL Server Compact Edition database in SQL Mgmt Studio.  I had SQL 2005 Mobile installed previously and this still shows as an option.  What I am missing here?  Is SQL Mobile now SQL Compact Editon?

Thanks in advance,

Jack

 

View Replies !   View Related
On Which Platforms Is SQL Server 2005 Compact Edition Supported.
Will it be possible to run SQL Server 2005 Compact Edition on the following platforms:

Windows 2000

Windows XP (if yes then on which versions of it)

Vista x86

Vista x64

Are there OLE DB providers for SQL Server 2005 Compact Edition?

View Replies !   View Related
Microsoft SQL Server 2005 Compact Edition 3.5 And Pocket PC 2002
 

Is there any way to install SQL Server 2005 Compact Edition 3.5 on a Pocket PC 2002 mobile device.
 
Thanks,
 
Peter

View Replies !   View Related
Convert Access Database To Sql Server 2005 Compact Edition
 

Is there any way to convert an Access or SQL server 2005 database to SQL server 2005 compact edition database??

 

Thank you very much!!

View Replies !   View Related
Use VB2005 With Windows CE 5.0 With SQL Server 2005 Compact Edition With XML Error
I am using VB2005 , Windows CE 5.0 , SQL server 2005 compact edition

and using XML reader, but it will show the empty SQLCeException ,

why does it occur?

 

The source it show at the follow :

-----------------------------------------------------------------------------------------------------------------

Imports System.Data.SqlServerCe
Imports System.Xml

Public Class Form1

 

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim DBPath As String

        Dim mydr As XmlTextReader = New XmlTextReader(m_sXMLFileName)
        mydr.WhitespaceHandling = WhitespaceHandling.None

        While mydr.Read()
            ' Look for the <configuration> section
            ' This lets us add several peices in the config file
            If mydr.Name = "DBPath" Then
                DBPath = mydr.Name
            End If
        End While
        mydr.Close()

        Me.MobileDataTableAdapter.Connection.ConnectionString = "Data Source =""Program FilesCEdatabaseMobileDatabase.sdf"";"
        Try
            If MobileDatabaseDataSetUtil.DesignerUtil.IsRunTime Then
                'TODO: Delete this line of code to remove the default AutoFill for 'MobileDatabaseDataSet.MobileData'.
                Me.MobileDataTableAdapter.Fill(Me.MobileDatabaseDataSet.MobileData)
            End If

        Catch ex As SqlCeException
            MessageBox.Show(ex.Message)
        End Try
    End Sub

End Class

View Replies !   View Related
RDA Pull Error Using Microsoft SQL Server Compact Edition 2005
Hello dear all.

 

I am using a Compact Framework 2.0 on a mobile 5.0 with a local Microsoft SQL Compact Edition 2005 database. The backend database is a Microsoft SQL Server 2005 and I am trying to pull a 45000 rows table (the table has 2 varchars(8) forming a primary key and an INTEGER column).

 

The statement I issue is the following:

rda.Pull(table.TableName, table.TableQuery, Program.RdaOleDbConnectionString, RdaTrackOption.TrackingOnWithIndexes, table.TableName + "Errors");

 

The application works perfectly when I am pulling smaller tables (up to 15000 rows) but when I try to pull this one I get the following error details:

 

sqlCeEx
{""}
    base {System.SystemException}: {""}
    Errors: {System.Data.SqlServerCe.SqlCeErrorCollection}
    errors: {System.Data.SqlServerCe.SqlCeErrorCollection}
    HResult: -2147024882
    Message: ""
    NativeError: 0
    Source: "Microsoft SQL Server Compact Edition"


Please have in mind that the handheld on which I deploy does not have an extra storage card.

 

I have done a thorough internet search and I have found no solution to this problem. I truly rely on you to find the solution.

 

Thanks in advance,

 

Steliosvcy.

 

View Replies !   View Related
SQL SERVER 2005 COMPACT EDITION RC1 - Where To Find Editor For .SDF Database?
We have a plan to use Microsoft SQL Server 2005 Compact Edition RC1 as a backend. Our Front-end is VS .NET (VB.NET).

We want to know how to edit the Compact Edition database (.SDF). Is there any editor is available right now in the market? or microsoft provided any editor for this.

OR Can i use microsoft 2005 sql server standard edition for this.

 

Thanks

View Replies !   View Related
How Can I Get Identitiy Field From Database While Inserting New Row In Sql Server 2005 Compact Edition
 

How Can I get Identitiy field from database while inserting new row in sql server 2005 compact edition.
 
Ex:

I am inserting row in a table through SqlQuery ("insert into ....") in which one of the field is of type Identity which generates number automatically. I want that number to pick up that number and used it in child table....
 
 
Any solution for it.
 
 
 

View Replies !   View Related
Visual Studio 2008;SQL Server 2005;SQL Server Compact Edition 3.5 Question
I have a question about a problem that I cannot seem to tackle. I have installed the following programs on Windows Vista:
 
- SQL Server 2005
- Visual Studio 2008
- SQL Server Compact Edition 3.5
- SQL Server Compact Edition 3.5 Server Tools
 
I want to do the following:
 
1. I want to create a SQL Server Compact Edition 3.5 database in the SQL Server Management Studio
2. I want my SQL Express server in SQL Server 2005 to be a distributor and publisher
 
About 1. In SQL Server Management Studio I cannot choose SQL Server Compact Edition 3.5 .
ABout 2. I tried to setup my server to be a distrubutor by running a stored procedure with the following name: sp_adddistributor. I get the following error: This edition of SQL Server cannot act as a Publisher or Distributor for replication.
 
Does anyone have a solution to both problems.

View Replies !   View Related
Which SQL Server 2005 Compact Edition Server Tools Installation Package Do I Use?
Hi,

 

I am using SQL Express 2005 server and sql compact edition for my PDA. For synchronization, which SQL Server 2005 Compact Edition Server Tools installation package do I use?

 

Is it Sqlce30setupen.msi  or sql2kensp4.msi or sql2kensp3a.msi? I know for sql server 2005 its Sqlce30setupen.msi. Is it the same for the SQL Express 2005?

 

Thanks

View Replies !   View Related
SQL Server 2005 Express Edition 2005 - Update Fails
HI, My computer keeps trying to download SQL Server 2005 Express Edition SP2 and fails with the error code 0x2B22. It is a new computer running with Windows XP Pro.
 
I have spent hours searching the forums and the internet, but I can't find anything to help, or I don't understand the solutions or whether they relate to my computer. I don't know how to find out why the update is failing either.
 
Please can someone help!!
 
Thank you!

View Replies !   View Related
SQL Server 2005 Developer Edition Setup Fails
Hi,

I'm installing SQL 2005 Developer Edition, instalation always fails with the error "Could not find a package to install on the installation media". The summary.txt is pasted bellow:


Microsoft SQL Server 2005 9.00.1399.06
==============================
OS Version      : Microsoft Windows XP Professional Service Pack 2 (Build 2600)
Time            : Mon Nov 05 10:47:30 2007
 
IA-PJPATRICIO : Could not find a package to install on the installation media.

 SQL Server Setup failed. For more information, review the Setup log file in %ProgramFiles%Microsoft SQL Server90Setup BootstrapLOGSummary.txt.


Time            : Mon Nov 05 10:50:43 2007


List of log files:
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0002_IA-PJPATRICIO_Core(Local).log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0002_IA-PJPATRICIO_Datastore.xml
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0002_IA-PJPATRICIO_.NET Framework 2.0.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0002_IA-PJPATRICIO_Core.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGSummary.txt
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0002_IA-PJPATRICIO_.NET Framework 2.0 LangPack.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0002_IA-PJPATRICIO_.NET Framework Upgrade Advisor.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0002_IA-PJPATRICIO_.NET Framework Upgrade Advisor LangPack.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0002_IA-PJPATRICIO_.NET Framework Windows Installer.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0002_IA-PJPATRICIO_.NET Framework Windows Installer LangPack.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0002_IA-PJPATRICIO_Support.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0002_IA-PJPATRICIO_SCC.log
    C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0002_IA-PJPATRICIO_WI.log

I have an instance of SQL 2000 installed on the same machine, i'm trying to install Analises Services 2005 only, but instalation fails with any of the SQL Server 2005 components.

Can anyone help?

Thanks

View Replies !   View Related
SQl Server 2005 Express Edition Install Fails
 
Hii
 
I am trying to setup Sql server 2005 express edition but ı getting an error message that cannot install. The Logfile is below. 
 
Thanks...
 
Cagri
 
 
Microsoft SQL Server 2005 9.00.3042.00
==============================
OS Version      : Home Edition  (Build 6000)
Time            : Tue Sep 04 22:44:28 2007
 
Machine         : QUIETUS-PC
Product         : Microsoft SQL Server Setup Support Files (English)
Product Version : 9.00.3042.00
Install         : Successful
Log File        : c:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0007_QUIETUS-PC_SQLSupport_1.log
--------------------------------------------------------------------------------
Machine         : QUIETUS-PC
Product         : Microsoft SQL Server Native Client
Product Version : 9.00.3042.00
Install         : Successful
Log File        : c:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0007_QUIETUS-PC_SQLNCLI_1.log
--------------------------------------------------------------------------------
Machine         : QUIETUS-PC
Product         : Microsoft SQL Server VSS Writer
Product Version : 9.00.3042.00
Install         : Successful
Log File        : c:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0007_QUIETUS-PC_SqlWriter_1.log
--------------------------------------------------------------------------------
Machine         : QUIETUS-PC
Product         : SQL Server Database Services
Error           : SQL Server Setup failed to execute a command for server configuration. The error was [Microsoft][SQL Native Client][SQL Server]Windows NT user or group 'QUIETUS-PCSQLServer2005MSSQLUser$QUIETUS-PC$SQLEXPRESS' not found. Check the name again.. Refer to the server error logs and Setup logs for detailed error information.
--------------------------------------------------------------------------------
Machine         : QUIETUS-PC
Product         : Microsoft SQL Server 2005 Express Edition
Product Version : 9.2.3042.00
Install         : Failed
Log File        : c:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0007_QUIETUS-PC_SQL.log
Last Action     : InstallFinalize
Error String    : SQL Server Setup failed to execute a command for server configuration. The error was {Microsoft}{SQL Native Client}{SQL Server}Windows NT user or group 'QUIETUS-PCSQLServer2005MSSQLUser$QUIETUS-PC$SQLEXPRESS' not found. Check the name again.. Refer to the server error logs and Setup logs for detailed error information.
Error Number    : 29521

--------------------------------------------------------------------------------

View Replies !   View Related
SQL Server 2005 Evaluation Edition Setup Fails!
When I try to install SQL Server 2005 evaluation edition, I keep getting the message that SQL server setup has detected beta components of SQL Server 2005 or Visual Studio 2005 which must be uninstalled for setup to continue. I have removed all beta components like sql 2005 ctp, visual studio 2005 beta, etc from my computer and yet it keeps giving me this message.

PLease help!!!! I am unable to install SQL Server 2005 evaluation edition.

View Replies !   View Related
SQL Server 2005 Standard Edition Install Fails; An Instance With The Same Name.../
Good Morning

I am trying to install SQL Server 2005 onto Windows Server 2003 Small Business Edition. Previously SQL Server 2000 from the SBE disk was installed, automatic updates are enabled.

I have selected the default instance and everything I try results in the error:

An instance with the same name is already installed on this computer. To proceed with SQL Server Setup, provide a unique instance name.

Log file says;

--------------------------------------------------------------------------------
Machine         : ISAINTERNET
Product         : Microsoft SQL Server 2005
Product Version : 9.00.1399.06
Install         : Failed
Log File        : C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGFilesSQLSetup0002_ISAINTERNET_SQL.log
Last Action     : DetectInstanceClash
Error String    : An instance with the same name is already installed on this computer. To proceed with SQL Server Setup, provide a unique instance name.
Error Number    : 28086
--------------------------------------------------------------------------------


Ian Smith

View Replies !   View Related
SQL Server 2005 Express Edition Fails To Start During Install
In the last step of installing the SQL Server 2005 Express edition I get the following error:

 
 

 
Doing Action: Do_sqlScript
PerfTime Start: Do_sqlScript : Thu Jun 21 19:38:35 2007
Service MSSQL$SQLEXPRESS with parameters '-d"c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLTemplate Datamaster.mdf" -l"c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLTemplate Datamastlog.ldf" -m SqlSetup -Q -qLatin1_General_CI_AS -T4022 -T3659 -T3610 -T4010' is being started at Thu Jun 21 19:38:35 2007
Service failed unexpectedly (1814)
        Error Code: 0x80070716 (1814)
Windows Error Text: The specified resource name cannot be found in the image file.
  Source File Name: sqlsetuplibservice.cpp
Compiler Timestamp: Wed Jun 14 16:29:04 2006
     Function Name: sqls:ervice:tart
Source Line Number: 301
 
 
 
---- Context -----------------------------------------------
 

Do_sqlScript
SqlScriptHlpr
Start service MSSQL$SQLEXPRESS
 
 
 
Error Code: 1814
MSI (s) (80!08) [19:39:58:265]: Product: Microsoft SQL Server 2005 Express Edition -- Error 29503. The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, "How to: View SQL Server 2005 Setup Log Files" and "Starting SQL Server Manually."
The error is  (1814) The specified resource name cannot be found in the image file.
.
 
Error 29503. The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, "How to: View SQL Server 2005 Setup Log Files" and "Starting SQL Server Manually."
The error is  (1814) The specified resource name cannot be found in the image file.
.
<Func Name='GetCAContext'>
<EndFunc Name='GetCAContext' Return='T' GetLastError='203'>
Doing Action: Do_sqlScript
PerfTime Start: Do_sqlScript : Thu Jun 21 19:39:58 2007
Service MSSQL$SQLEXPRESS with parameters '-d"c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLTemplate Datamaster.mdf" -l"c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLTemplate Datamastlog.ldf" -m SqlSetup -Q -qLatin1_General_CI_AS -T4022 -T3659 -T3610 -T4010' is being started at Thu Jun 21 19:39:58 2007
Service failed unexpectedly (1814)
        Error Code: 0x80070716 (1814)
Windows Error Text: The specified resource name cannot be found in the image file.
  Source File Name: sqlsetuplibservice.cpp
Compiler Timestamp: Wed Jun 14 16:29:04 2006
     Function Name: sqls:ervice:tart
Source Line Number: 301
 
 
 
Any idea how I can fix this?
 

View Replies !   View Related
SQL Server 2005 Embedded Edition Service: KB929665 Fails To Fix
 
Hello all,
 
I€™m looking for some help to get my Windows SharePoint Services 3.0 back on-line running without losing the documents stored on it..
 
Configuration basics: Microsoft Windows SharePoint Services 3.0 on member Server 2003 Std w/ SP2 using the Windows Internal Database (MS SQL Server 2005 Embedded Edition)
 
I had the SharePoint Services site operating on a member server.
 
I used the Manager the Server wizard to Install Active Directory on the member server.  (Ouch! My Mistake)
 
I broke the SQL Server 2005 Embedded Edition Service. It would not restart. The System Evt code was 7024 error 3417.
 
I researched and found KB 929665 which describes my symptoms perfectly.
 
http://support.microsoft.com/kb/929665
 
I tried the recommended command (see Note1)  and the configuration failed.
I discovered the following errors in the log file:
 
GetServiceUserGroup failed for MICROSOFT##SSEE, 5
        Error Code: 0x80070534 (1332)
Windows Error Text: No mapping between account names and security IDs was done.
  Source File Name: sqlcasqlcax.cpp
Compiler Timestamp: Mon Feb 27 02:04:14 2006
     Function Name: SetInstanceProperty
Source Line Number: 1223
 
Error Code: 1332
MSI (s) (2C!4C) [19:08:50:678]: Product: Microsoft SQL Server 2005 Embedded Edition (Windows) -- Error 29528. The setup has encountered an unexpected error while Setting Internal Properties. The error is: Fatal error during installation.
 
Error 29528. The setup has encountered an unexpected error while Setting Internal Properties. The error is: Fatal error during installation.
 
<Failure Type='Fatal' Error='1332'>
<EndFunc Name='LaunchFunction' Return='1332' GetLastError='0'>
Action ended 19:08:50: SetInstanceProperty.D20239D7_E87C_40C9_9837_E70B8D4882C2. Return value 3.
Action ended 19:08:50: INSTALL. Return value 3.
 
Note 1: Msiexec <MSI_File_Name> CALLERID=OCSetup.exe REINSTALL=ALL REINSTALLMODE=omus /qn REBOOT=ReallySupress /l*v <Log_File_Path>
 
(Note: the line is missing the switch €œ/i€? after MSIEXEC)
 
How can a get my SharePoint working again?
Thank you!
Mike

View Replies !   View Related
Help - Replication SQL 2005 -&> Compact Edition
Hi All ...

I have been following the MS on-line tutorials to get replication setup between SQL Server 2005 and SQL Server Compact Edition. I get to the point where I run the Configure Web Synchronization and it is running through the process where it is doing the automated configuration of the shared directory - assigning users etc.

I have attempted this step with a user account that I expressly created for snapshots and with the Administrator account and get the following error message:

* The operation completed successfully. (Exception from HRESULT: 0x80070000)

At first, I thought this was a rights issue due to the fact that I was using an account that I manually created. However, by using the Administrator account (test only until I can figure this out) that should have removed any rights issues associated with accessing the shared directory where the snapshot will reside.

Any help in getting this figured out will be greatly appreciated.


David L. Collison
Any day above ground is a good day!

View Replies !   View Related
SQL Server 2005 Express Edition SP2 Upgrade Via Microsoft Update Fails
 

If I search for updates with Microsoft or Windows Update it notifies me to upgrade SQL Server Express to SP2. After the download the installation fails. The reason seems to be that Microsoft Update downloads SP2 with the wrong language:

Summary.txt

**********************************************************************************
Products Detected                         Language  Level  Patch Level       Platform  Edition
Datenbankdienste für Express (SQLEXPRESS)  DEU       SP1    2005.090.2047.00  x86       EXPRESS
Datenbankdienste für Express (SQLExpress)  ENU       SP2                     x86       EXPRESS

**********************************************************************************
Products Disqualified & Reason
Product                                   Reason
Datenbankdienste für Express (SQLExpress)  Für dieses Update ist die Sprache DEU erforderlich (required/me). Bei der Produktinstanz SQLExpress wird die Sprache ENU verwendet. Downloaden (download/me) Sie das Update für ENU.

**********************************************************************************
Summary
     One or more products failed to install, see above for details
     Exit Code Returned: 1627

Thank you.

 

View Replies !   View Related
Merge Replication (Compact Edition - SS 2005) Does Not See Changes
I have Sql Server 2005 running, it is a publisher of a database with SQL Server Compact Edition subscribers. What I want to achieve is a central server with Pocket PCs connecting via HTTP and synchronizing data.
Following MSDN tutorials I created a CE database on my disk, I subscribed to publisher - everything is fine, the data is downloaded when I run synchronization from MS SQL Server Management Studio. Rows are updated, downloaded both ways etc.
Then I've created a PocketPC project and added that DB as data source. As suggested, I copied the file to local folder of the project, so now deploying my app to PocketPC also deploys the DB file. It is therefore already a subscriber to my SS2005. The data is also displayed correctly in my app.
Hoping that it will be sufficient to synchronize, I've put the following code (using data read from subscription properties in Management Studio):




Code Snippet

            SqlCeReplication repl = new SqlCeReplication();
            repl.InternetUrl = @"http://<my IP here>/organetzer/sqlcesa30.dll";
            repl.Subscriber = @"organetzer";
            repl.Publisher = @"PINKIESQLFULL";
            repl.PublisherDatabase = @"vs";
            repl.Publication = @"organetzer";
            repl.PublisherSecurityMode = SecurityType.NTAuthentication;
            repl.SubscriberConnectionString = @"Data Source='" + filename + "';Password='';Max Database Size='128';Default Lock Escalation ='100';";
            try
            {
                repl.Synchronize();
               
            }
            catch (SqlCeException ex)
            {
                MessageBox.Show(ex.ToString());
            }
When I click the button to run this code, PocketPC connects to the Internet, it doesn't throw any exceptions, the connection is even is detected by Replication Monitor. The problem is that no matter if I change rows on desktop db or on pocket, no changes are ever detected, the synchronization is just running with 0 rows added/updated/removed.

Could anybody please explain what are the general steps to make it work ? Am I missing something? Can I upload to PocketPC a database already subscribed to a publication or should I subscribe programatically onyl when the file is on Pocket?

Thanks in advance

View Replies !   View Related
Transferring Schema From SQL SVR 2005 To Compact Edition?
I'm building my app in the full blown MS SQL 2005 Standard Edition as our new app will have a enterprise version using SQL 2005 and a desktop version using either SQL Compact Edition 2005, VistaDB3, or maybe even (uggh) SQL Express 2005.  I would prefer SQL Express 2005 but the install size of my app + DB would kill sales.

Back to my question.  I'm building out the schema in the full SQL 2005, how do I take this schema and get the schema applied to a SQL Compact Edition DB? 

Does SQL Compact Edition support DDL?

Thanks.

View Replies !   View Related
Synchronizing Sql 2005 Compact Edition With SQL 2000
HI ,

   I want to synchronize sql 2005 CE edition with SQL 2000.before this i was using sql ce 2.0 and i manage to synchronize with sql 2000.the codes which i used for synch i am specifying below.

Private Const INTERNETURL As String = "http://ihsan/THPMIS/sscesa20.dll"

Private Const PUBLISHERSERVER As String = "IHSAN"

Private Const PUBLISHERDATABASE As String = "THPMIS"

Private Const PUBLISHERSECURITYMODE As SecurityType = SecurityType.NTAuthentication

Private Const PUBLICATION As String = "THPMIS"

Private SUBSCRIBER As String = Dns.GetHostName()

Private Const LOCALDATABASE As String = "My DocumentsTHPMIS.sdf"

'"Provider=microsoft.sqlserver.oledb.ce.2.0;data source=" &

Private Const CONNECTIONSTRING As String = "Provider=Microsoft.SQLSERVER." & _

"OLEDB.CE.2.0;Data Source=" & LOCALDATABASE

Private Const SQLSTRING As String = "Provider=sqloledb;Data Source=IHSAN;Initial Catalog=THPMIS;User ID=sa;Password=sa"

 

Private Sub ReplicateData()

Dim replicator As New SqlCeReplication

replicator.InternetUrl = INTERNETURL

replicator.Publisher = PUBLISHERSERVER

replicator.PublisherDatabase = PUBLISHERDATABASE

replicator.PublisherSecurityMode = PUBLISHERSECURITYMODE

replicator.Publication = PUBLICATION

replicator.Subscriber = SUBSCRIBER

replicator.SubscriberConnectionString = CONNECTIONSTRING

replicator.Synchronize()

replicator.Dispose()

End Sub

 while i am using sql 2000 with sql CE 2005 it is giving an error unknown connection option in connectionstring:provider. can any one give me some suggession how to solve this problem

 

Best Regards

Ihsan

View Replies !   View Related
Sql Compact Edition 2005 - Is There A Way To Make 100 MB Database Smaller?
I have a MS-SQL Sql Compact Edition 2005 for the Desktop PC and Mobile/PDA. I created a database and populate it with data. I soon learned that the database size will exceed 35 MB.

Is there a way to make the database size smaller? The reason I asked that is because the Sybase iAnywhere can make this be 2 MB no matter what. The database layout and data are the same in both Sybase and MS-SQL. So, I don't see how can I accomplish that in MS-SQL Compact Edition... Anyone know?

Thanks...

View Replies !   View Related
SQL Server 2005 Express Edition With Advanced Services Service Pack 2 Update Fails
Using VS05 Pro SP1 with the SQL version below...

From the Windows update site and also via automatic download of updates, the following update fails every time...The SQL it is trying to update works fine.
The following updates were not installed:
Microsoft SQL Server 2005 Express Edition with Advanced Services Service Pack 2 (KB 921896)
 
Any idea what the problems are?
Thanks, Bob



 

View Replies !   View Related
Unable To Generate Commandtexts For SQLServer Compact Edition 2005
Hello,
 
I tried to connect Northwind.sdf from VB.NET 2005, though connection went right, I am getting an error like the following
 
Some updating commands could not be generated automatically. The database returned the following error :
Failed to find or load the registered .Net Framework Data Provider
 
I checked the machine.config file and found the following entries under the DbProviderFactories
 



Code Block
<DbProviderFactories>

 
      <add name="SQL Server CE Data Provider" invariant="Microsoft.SqlServerCe.Client" description=".NET Framework Data Provider for Microsoft SQL Server 2005 Compact Edition" type="Microsoft.SqlServerCe.Client.SqlCeClientFactory, Microsoft.SqlServerCe.Client, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />

 
      <add name="SQL Server Compact Edition Data Provider" invariant="System.Data.SqlServerCe" description=".NET Framework Data Provider for Microsoft SQL Server Compact Edition" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />

</DbProviderFactories>
 
 
Please help, thanks in advance.

View Replies !   View Related
Standard Edition Fails To Install, Express Edition Fails To Uninstall
We are trying to install the Standard Edition of SQL Server 2005. We already have SQL Express installed. Standard won't install and Express won't uninstall.

We have tried every suggestion we can find and some we made up. When we try to install Standard, we get to the bit where you choose what you want to install and the only thing available is workstation components.

There are so many cases of this on the Internat that I can't believe MS have not solved the issue. And I am stunned that they want to charge us more money to talk to us about how to fix something we just paid them an arm and a leg for!

What do I need to tell you to get some idea of where to go next with this?

View Replies !   View Related
SQL Server 2005 And SQL Server Compact Edition Side-by-side
Hi!

It is possibile to install SQL Server Compact Edition side-by-side on the same machine where SQL Server 2005 is already installed?

Thanks, Marco.

View Replies !   View Related
Is 2005 Merge Replication Reliable For Compact Edition Subscribers On WinXP Tablets Over VPN?
 
I posted a more detailed technical question a couple of weeks ago
with Subject = "Compact Edition 2005 Subscribers - Merge Agent failed after detecting that retention-based cleanup has deleted metadata"
But I got no replies.
 
Now my question is simpler:  Is SQL Server 2005 Merge Replication reliable with Compact Edition subscribers on WindowsXP tablets?
 
We deleted all users' local databases a couple of weeks ago, and republished two publications with retention = 60 days.
Now we have at least one user who can't sync with the server, and replication monitor shows the error below.
But if she e-mails her sdf file to a support person, they can successfully sync her database.
We're sure that it's not a permissions issue, which is a normal suspicion when one user can perform a task that another can not. 
It doesn't seem like a retention problem, because she's well inside the retention period.
She can successfully sync with the publication with upload/download tablers, but not with the publication with download only tables.  Both publications were created on the same day, by the same DBA, with nearly identical properties.
 
This problem user has operated in the past with no problem, and she's configured identically to all of the others.  It just seems like random flakyness with merge replication for Compact Edition subscribers.  
 
I feel stupid saying that, because it sounds like I believe in a magical ghost in the machine.  So my question is - IS MERGE REPLICATION A LITTLE BIT FLAKY FOR COMPACT EDITION SUBSCRIBERS ON XP MACHINES?

 
We've applied SP2 to the server, but no subsequent HotFixes.
 
We're trying to sell users and management on developing a larger occasionally connected system with the same replication scheme, so we need to know if it deserves our confidence.
 

Error messages:

The Merge Agent failed after detecting that retention-based metadata cleanup has deleted metadata at the Publisher for changes not yet sent to the Subscriber. You must reinitialize the subscription (without upload). (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199402)
Get help: http://help/MSSQL_REPL-2147199402

 

View Replies !   View Related
ASP.NET And SQL Server Compact Edition
I am writing an application that is designed for the desktop, or small group (3 or less) desktops.  The application is being deployed using the Cassini web server as a complete "embedded" solution.  I wanted to use SQL Server Compact because of its small footprint and because of the synchronization capabilities with SQLServer.  Also, it is very easy to deploy vs. SQL Server Express.  The idea behind this APP is that someone might use it locally and then decide to subscribe to the service and then connect the same application to  a web services application. 
 That being said, and with knowledge of Microsoft's stance on SQL Compact under ASP.NET, I have most everything working and it works great except for one thing.  When I add a SQLDataSource to the page and set the connection string to my file and the DataProvider to System.Data.SqlServerCe and then bind a data grid to the SQLDataSource, it runs fine on my development machine, but when I deploy to my clean test machine, I get an error when the page loads saying:
Unable to find the requested .Net Framework Data Provider.  It may not be installed.
I can create a dataset in code (in fact,in several other places I do) and it works fine.  It is just the SQLDataSource(s) that are throwing this error.  I have a copy of System.Data.SqlServerCe.dll in the bin folder and I have all of the compact DLL's in the bin folder as well.  I can't figure out what I need to do.  I also have a reference to the System.Data.SqlServerCe in the web.config file.
 Can anyone help?
 
 

View Replies !   View Related
New SQL Server Compact Edition
Does the new SQL server Compact edition RC1 (release in Dec 2006) replace the Microsoft SQL Server 2005 Mobile Edition Device SDK?

OR is this an additional database for specific requirements.

Currently developing against  MS SQL Server 2005 Mobile Edition Device SDK;; if I switch to the Compact edition; is there a migration wiarzrd or Upgrade wizard available?

-jawahar

View Replies !   View Related
SQL Server Compact Edition 3.5 C++ Sample
Hi,
 
I am looking for C++ example using SQL Server Compact Edition 3.5.
I managed to compile and run the "northwindoledb" c++ example, but still, I am looking for source code to 3.5 (And not 3.1).
 

View Replies !   View Related
Access To SQL Server 3.5 Compact Edition
Is there a way to import the table definitions and data from an Access database into the 3.5 compact edition?  I have no clue where to start.  I have a .Net application that uses an Access database to store data.  I want to create a windows mobile application for collecting the data and syncing with the PC application.  Is the 3.5 compact edition the way to go?  How do I get started?  I don't even know how to open the interface for the database.

 
I'm certainly no newbie to programming, but the SQL Server and Windows Mobile stuff is like starting all over in some ways.

View Replies !   View Related
Java And SQL Server Compact Edition
Hi, Is there a special jdbc driver for SQL Server Compact Edition (2005) available? I'm getting error messages when trying to run java application on Pocket PC (Mobile 5.0):

java.lang.UnsatisfiedLinkError: java/sql/DriverManager.getCallerClassLoader()Ljava/lang/ClassLoader;
at java.sql.DriverManager.getConnection(Unknown Source)...

Mixxo

View Replies !   View Related
SQL Server Compact Edition &&amp; VB.NET 2003
I'm unable to create a connection with code from VB.Net 2003 using SQL Server Compact Edition. Can anybody help?

View Replies !   View Related
Looking For A Very Simple SQL Server Compact Edition App Example
Hi to all,

I am new to VS, hence new to CF too,

Using VS2005 SP1, CF2.0, PocketPC Mobile 5.0 emulator.

Im looking for the most  simple example I can get to create a db and a table just to understand the very basics of SQL Server Compact Edition.

I did some gui examples posted in MSDN, it worked fine, no problem.

But I don't want to  use the toolbox dragging DataGrid, DataSourceBinding or Northwind.sdf, or any of that.

All I need is to be able to create a simple db, a table with two columns, and a connection to do very simple query,

I searched and searched, cannot find my simple guide.

 

Can anybody help me resolving this?

here is my test.

opened a new project, named MydbTest2
added a reference to System.Data.SqlServerCe
added a button to the form1
added a using directive System.Data.SqlServerCe
and this is the rest.

I get errors about
Error 1 The name 'myConn' does not exist in the current context F:My.VS.ProjectsMydbTest2MydbTest2Form1.cs 33 13 MydbTest2

 

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlServerCe;
using System.IO;


namespace MydbTest2
{
    public partial class Form1 : Form
    {

       
        public Form1()
        {
            InitializeComponent();
        }

        private void menuItem1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string connStr = "Data Source = myDbTest.sdf";
            SqlCeEngine myEngine = new SqlCeEngine(connStr);
            myEngine.CreateDatabase();
            SqlCeConnection myConn = new SqlCeConnection(connStr);
            myConn.Open();

            SqlCeCommand cmd = myConn.CreateCommand();
            cmd.CommandText = "CREATE TABLE myTable (firstCol int, secondCol nvarchar(10))";
            cmd.ExecuteNonQuery();

        }
    }
}

View Replies !   View Related

Copyright © 2005-08 www.BigResource.com, All rights reserved