Problem in Synchronization PocketPC with SQL Server
From: Anil Babu Vemula via SQLMonster.com (forum_at_SQLMonster.com)
Date: 02/28/05
- Next message: Arif: "SQL Server CE Server Tools installation Error ..."
- Previous message: Manuel Lopez: "Re: Seek method, table-direct, and sql server2005"
- Next in thread: Darren Shaffer: "Re: Problem in Synchronization PocketPC with SQL Server"
- Reply: Darren Shaffer: "Re: Problem in Synchronization PocketPC with SQL Server"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 28 Feb 2005 05:39:54 GMT
Hi.
I have developed an application using asp Page to subscribe a database in
my Pocket PC with a database in a PC. In my Pocket PC i have SQLCE 2.0. The
PC is running SQL SERVER 2000 and IIS. I have setup the PC as
Publisher. The Pocket PC is connecting to the PC via
ActiveSync3.5 using Serial cable.
The problem is in synchronization.
When the program execute the command of synchronization i
take the Error Message : "..ASP ERROR (80004005)" and the
"Info: refRepl.Initialize "
The ASP Code is:
Sync.asp file
<%
'Declare the Replication Object.
'Dim refRepl As SSCE.Replication
' Create the Replication Object
Set refRepl = CreateObject("SSCE.Replication.2.0")
' Dim refRepl As SSCE.Replication
refRepl.InternetURL = "http://Proserv/Prohats/sscesa20.dll"
refRepl.InternetLogin = ""
refRepl.InternetPassword = ""
' Publisher (SQL Server) info . That is, information
' needed for the "ISAPI DLL to SQL Server" connection.
refRepl.Publisher = "Proserv"
refRepl.PublisherDatabase = "test"
refRepl.Publication = "test"
refRepl.PublisherSecurityMode = DB_AUTHENTICATION
refRepl.PublisherLogin = "sa"
refRepl.PublisherPassword = "enter"
' Subscriber (SQL Server CE) Info. That is, SQL Server CE
' database info.
refRepl.SubscriberConnectionString = "data source=\testabc.sdf"
refRepl.Subscriber = "SQLCESubscr"
' Resynch the subscription by calling
' the Initialize, Run, Terminate methods
refRepl.Initialize
refRepl.Run
refRepl.Terminate
response.write "Sychronize"
Set refRepl = Nothing
%>
Send me reply as soon as Possible...
Thank in advance...
-- Message posted via http://www.sqlmonster.com
- Next message: Arif: "SQL Server CE Server Tools installation Error ..."
- Previous message: Manuel Lopez: "Re: Seek method, table-direct, and sql server2005"
- Next in thread: Darren Shaffer: "Re: Problem in Synchronization PocketPC with SQL Server"
- Reply: Darren Shaffer: "Re: Problem in Synchronization PocketPC with SQL Server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|