473,395 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

SQL CE sync with MSDE (ie. running on XP Home, with no IIS)

Hi,

I am trying to write an app that will run on XP Home (ie. no IIS), using
MSDE, but which will sync to SQL CE.

Can anyone offer some pointers or code samples (prefer C#), on how to do
this. All the articles I can find seem to suggest using replication, or RDA,
but both appear to use IIS, and SQL 2000.

Any help appreciated.

Thanks

Paul
Nov 16 '05 #1
3 1475
Paul,

All the canned syncing strategies do require IIS for the plumbing. Have you
considered writing a device app that exports the data from SqlCe to XML or
CSV format, then copying that file to the device where a desktop app could
to the syncing? You could write both apps in C#.
--
Ginny Caughey
..Net Compact Framework MVP
"Paul Aspinall" <pa**@aspy.co.uk> wrote in message
news:gD********************@fe1.news.blueyonder.co .uk...
Hi,

I am trying to write an app that will run on XP Home (ie. no IIS), using
MSDE, but which will sync to SQL CE.

Can anyone offer some pointers or code samples (prefer C#), on how to do
this. All the articles I can find seem to suggest using replication, or
RDA, but both appear to use IIS, and SQL 2000.

Any help appreciated.

Thanks

Paul

Nov 16 '05 #2
Thanks for the reply.

I was 'sort of' coming round to your suggestion, as I was concluding that it
seemed IIS was necessary for everything else.

As you suggest I could spool data down to XML, and manually determine
merges. However, how could this work practically?? ie. I want the user
simply to connect the PDA to the PC, and everything happen. How would the
file get transferred for update. Is there a routine which I can hook into in
order to fire the file accross, and perform merges?

Thanks
" Ginny Caughey [MVP]" <gi******************@wasteworks.com> wrote in
message news:OK***************@TK2MSFTNGP12.phx.gbl...
Paul,

All the canned syncing strategies do require IIS for the plumbing. Have
you considered writing a device app that exports the data from SqlCe to
XML or CSV format, then copying that file to the device where a desktop
app could to the syncing? You could write both apps in C#.
--
Ginny Caughey
.Net Compact Framework MVP
"Paul Aspinall" <pa**@aspy.co.uk> wrote in message
news:gD********************@fe1.news.blueyonder.co .uk...
Hi,

I am trying to write an app that will run on XP Home (ie. no IIS), using
MSDE, but which will sync to SQL CE.

Can anyone offer some pointers or code samples (prefer C#), on how to do
this. All the articles I can find seem to suggest using replication, or
RDA, but both appear to use IIS, and SQL 2000.

Any help appreciated.

Thanks

Paul


Nov 16 '05 #3
Paul,

Look at the Rapi class on www.opennetcf.org. Rapi apps can be written to
wait until there is a connection if you use CeRapiInit rather than
CeRapiInitEx. Typically you'd write such a Rapi app to run as a service,
similar to what ActiveSync does.
--
Ginny Caughey
..Net Compact Framework MVP
"Paul Aspinall" <pa**@aspy.co.uk> wrote in message
news:Of*******************@fe1.news.blueyonder.co. uk...
Thanks for the reply.

I was 'sort of' coming round to your suggestion, as I was concluding that
it seemed IIS was necessary for everything else.

As you suggest I could spool data down to XML, and manually determine
merges. However, how could this work practically?? ie. I want the user
simply to connect the PDA to the PC, and everything happen. How would the
file get transferred for update. Is there a routine which I can hook into
in order to fire the file accross, and perform merges?

Thanks
" Ginny Caughey [MVP]" <gi******************@wasteworks.com> wrote in
message news:OK***************@TK2MSFTNGP12.phx.gbl...
Paul,

All the canned syncing strategies do require IIS for the plumbing. Have
you considered writing a device app that exports the data from SqlCe to
XML or CSV format, then copying that file to the device where a desktop
app could to the syncing? You could write both apps in C#.
--
Ginny Caughey
.Net Compact Framework MVP
"Paul Aspinall" <pa**@aspy.co.uk> wrote in message
news:gD********************@fe1.news.blueyonder.co .uk...
Hi,

I am trying to write an app that will run on XP Home (ie. no IIS), using
MSDE, but which will sync to SQL CE.

Can anyone offer some pointers or code samples (prefer C#), on how to do
this. All the articles I can find seem to suggest using replication, or
RDA, but both appear to use IIS, and SQL 2000.

Any help appreciated.

Thanks

Paul



Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tony | last post by:
I have a new W2K3 box running IIS Is there anything I have to install in order to use ADO? When I perform the following Set Connection = Server.CreateObject("ADODB.Connection")...
17
by: Gabriel Mejía | last post by:
Services or applications using ActiveX Data Objects (ADO) 2.0 or greater may intermittently return empty recordsets on queries that should be returning valid results. At the time the problem...
0
by: JIK | last post by:
Hi. I want to schedule an asp.net app running on a win2k server/iis. The asp.net app is installed and works fine in the browser. It also works fine from ab vb script when I run it from the...
0
by: bg | last post by:
Hello, we have a asp.net app that has a COM executable running. Opening mulitple clients that point to the 2003 server running IIS 6.0 causes multiple COM processes to start. Is there a way to...
2
by: Oenone | last post by:
I am developing an assembly that can be used either by a Windows Forms application or from within an ASP.NET web site. When running within the Forms app, I can break into the code while it is...
2
by: Ing. Davide Piras | last post by:
Hi there, we have a big web application wrote in Visual Studio .NET 2003 (Framework 1.1) which we still use to modify, evolve and compile all the assemblies... on IIS we are trying to set the...
6
by: tvaughan77 | last post by:
Hi, I have some code that I want to use to run a command line utility and I want to be able to run it from an aspx page running under IIS. The command line utility is a local utility running on...
2
by: Bill Fuller | last post by:
I am trying to attach to a WCF Web Service running in virtual directory in my local dev box, but not sure how to do it. I tried setting a breakpoint on the .svc and attaching to the Inetinfo...
1
by: Cramer | last post by:
I'm running XP Pro/SP2 + patches and updates, with Visual Studio Professional 2008 (and no prior installation of Visual Studio ever installed). When attempting to open an ASP.NET Web application...
9
by: gerryR | last post by:
Hi All I've a simple web app that pulls data from an excel sheet into a small aspx page. When I browse the site through VS2005 everything works fine. When I copy the project to IIS wwwroot...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.