RE: Latest MS Sync Framework?

2011-11-09 Thread Steven Parish
Yeah - I tried that - but I'm not sure if I'm doing it right. I went to the 
configuration manager in VS2010 and changed the platform to be x86 on all three 
projects and also changed the output option on all references to be copy local 
- but I am not sure how to check if this is working correctly (obviously it 
isn't as it still fails).

The Sync download page on MSDN indicates that x86 & x64 SDK's cannot be 
installed side by side - but you can install selected components (ie I assume 
dll's) from the x86 redistributable - maybe I need to do that - but will it 
clobber the x64 dll's ?

Thanks again for any help

Regards,

Steven Parish

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of David Kean
Sent: Thursday, 10 November 2011 1:47 AM
To: ozDotNet
Subject: RE: Latest MS Sync Framework?

If you read the forum, it states that what worked for him was to compile an x86 
version, not a x64 bit version. Can you try that?

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Steven Parish
Sent: Wednesday, November 09, 2011 2:41 AM
To: ozDotNet
Subject: RE: Latest MS Sync Framework?

Is anyone using the Sync Framework 2.1

I am having problems getting the sample project "Sync101 with Remote Change 
Application over WCF" - I am getting the a COM error due to incompatible dll's 
(running on a x64 laptop)

System.Runtime.InteropServices.COMException was unhandled
  Message=Retrieving the COM class factory for component with CLSID 
{F235D316-69DB-4918-8536-B8A008D93057} failed due to the following error: 
80040154.
  Source=Microsoft.Synchronization.MetadataStorage
  ErrorCode=-2147221164
  StackTrace:
   at 
Microsoft.Synchronization.MetadataStorage.SqlMetadataStore.CreateStore(String 
fileName, CultureInfo locale)
   at 
Microsoft.Synchronization.MetadataStorage.SqlMetadataStore.CreateStore(String 
fileName)
   at Sync101.MySyncProvider.InitializeMetadataStore() in 
C:\Data\Downloads\Microsoft\Sync101 with Remote Change Application over 
WCF\C#\Sync101Provider\MySimpleSyncProvider.cs:line 83
   at Sync101.MySyncProvider.ToString() in 
C:\Data\Downloads\Microsoft\Sync101 with Remote Change Application over 
WCF\C#\Sync101Provider\MySimpleSyncProvider.cs:line 570
   at Sync101.MyTestProgram.Main(String[] args) in 
C:\Data\Downloads\Microsoft\Sync101 with Remote Change Application over 
WCF\C#\MyTestProgram\MyTestProgram.cs:line 71
   at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence 
assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
  InnerException:

Google pointed me to MSDN article   
http://social.microsoft.com/Forums/en-US/syncdevdiscussions/thread/fc139787-7c35-45c3-aaf8-57abba03fc68

(Title on the article is "Exception when run Sync Framework on 64-bit Windows 7 
with VS 2010 RC ")

This article explains the exact situation (caused by x86 vs x64 dll mismatch) - 
but I can't seem to fix the problem - any clues?

I have changed all references to be "copy local=true" &  the platform & output 
on the build configuration to all be x64 - still fails, plus have also changed 
to all be x86 and still fails.

In the end what I need is an example application for File & Database Syncing 
over an internet connection - this sample uses WCF Service with custom Sync 
Providers which implement a proxy.

Should I use the Sync 4.0 CTP (which seems to sit on top of the Sync 2.1 anyway)

Thanks for any help.


Regards,

Steven Parish

From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> 
[mailto:ozdotnet-boun...@ozdotnet.com]<mailto:[mailto:ozdotnet-boun...@ozdotnet.com]>
 On Behalf Of Clint Colefax
Sent: Monday, 12 September 2011 2:15 PM
To: ozDotNet
Subject: RE: Latest MS Sync Framework?

Team blog seems to still active, might find more info there?

http://blogs.msdn.com/b/sync/

Thanks
Clint Colefax

From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> 
[mailto:ozdotnet-boun...@ozdotnet.com]<mailto:[mailto:ozdotnet-boun...@ozdotnet.com]>
 On Behalf Of Preet Sangha
Sent: Monday, 12 September 2011 1:38 PM
To: ozDotNet
Subject: Latest MS Sync Framework?

Looking at the sync framework home page 
(http://msdn.microsoft.com/en-us/sync/bb736753) I see that CTP 4.0 (from 
October 2010) is listed. Is this really the last update - that seems pretty 
ancient? Or is there codeplex type releases that I should be looking at 
instead. It look like an interesting technology for off line phone

RE: Latest MS Sync Framework?

2011-11-09 Thread David Kean
If you read the forum, it states that what worked for him was to compile an x86 
version, not a x64 bit version. Can you try that?

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Steven Parish
Sent: Wednesday, November 09, 2011 2:41 AM
To: ozDotNet
Subject: RE: Latest MS Sync Framework?

Is anyone using the Sync Framework 2.1

I am having problems getting the sample project "Sync101 with Remote Change 
Application over WCF" - I am getting the a COM error due to incompatible dll's 
(running on a x64 laptop)

System.Runtime.InteropServices.COMException was unhandled
  Message=Retrieving the COM class factory for component with CLSID 
{F235D316-69DB-4918-8536-B8A008D93057} failed due to the following error: 
80040154.
  Source=Microsoft.Synchronization.MetadataStorage
  ErrorCode=-2147221164
  StackTrace:
   at 
Microsoft.Synchronization.MetadataStorage.SqlMetadataStore.CreateStore(String 
fileName, CultureInfo locale)
   at 
Microsoft.Synchronization.MetadataStorage.SqlMetadataStore.CreateStore(String 
fileName)
   at Sync101.MySyncProvider.InitializeMetadataStore() in 
C:\Data\Downloads\Microsoft\Sync101 with Remote Change Application over 
WCF\C#\Sync101Provider\MySimpleSyncProvider.cs:line 83
   at Sync101.MySyncProvider.ToString() in 
C:\Data\Downloads\Microsoft\Sync101 with Remote Change Application over 
WCF\C#\Sync101Provider\MySimpleSyncProvider.cs:line 570
   at Sync101.MyTestProgram.Main(String[] args) in 
C:\Data\Downloads\Microsoft\Sync101 with Remote Change Application over 
WCF\C#\MyTestProgram\MyTestProgram.cs:line 71
   at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence 
assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
  InnerException:

Google pointed me to MSDN article   
http://social.microsoft.com/Forums/en-US/syncdevdiscussions/thread/fc139787-7c35-45c3-aaf8-57abba03fc68

(Title on the article is "Exception when run Sync Framework on 64-bit Windows 7 
with VS 2010 RC ")

This article explains the exact situation (caused by x86 vs x64 dll mismatch) - 
but I can't seem to fix the problem - any clues?

I have changed all references to be "copy local=true" &  the platform & output 
on the build configuration to all be x64 - still fails, plus have also changed 
to all be x86 and still fails.

In the end what I need is an example application for File & Database Syncing 
over an internet connection - this sample uses WCF Service with custom Sync 
Providers which implement a proxy.

Should I use the Sync 4.0 CTP (which seems to sit on top of the Sync 2.1 anyway)

Thanks for any help.


Regards,

Steven Parish

From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> 
[mailto:ozdotnet-boun...@ozdotnet.com]<mailto:[mailto:ozdotnet-boun...@ozdotnet.com]>
 On Behalf Of Clint Colefax
Sent: Monday, 12 September 2011 2:15 PM
To: ozDotNet
Subject: RE: Latest MS Sync Framework?

Team blog seems to still active, might find more info there?

http://blogs.msdn.com/b/sync/

Thanks
Clint Colefax

From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> 
[mailto:ozdotnet-boun...@ozdotnet.com]<mailto:[mailto:ozdotnet-boun...@ozdotnet.com]>
 On Behalf Of Preet Sangha
Sent: Monday, 12 September 2011 1:38 PM
To: ozDotNet
Subject: Latest MS Sync Framework?

Looking at the sync framework home page 
(http://msdn.microsoft.com/en-us/sync/bb736753) I see that CTP 4.0 (from 
October 2010) is listed. Is this really the last update - that seems pretty 
ancient? Or is there codeplex type releases that I should be looking at 
instead. It look like an interesting technology for off line phone applications.

Also thinking about it, does anyone on the list use it or a competing 
technology?

--
regards,
Preet, Overlooking the Ocean, Auckland


RE: Latest MS Sync Framework?

2011-11-09 Thread Steven Parish
Is anyone using the Sync Framework 2.1

I am having problems getting the sample project "Sync101 with Remote Change 
Application over WCF" - I am getting the a COM error due to incompatible dll's 
(running on a x64 laptop)

System.Runtime.InteropServices.COMException was unhandled
  Message=Retrieving the COM class factory for component with CLSID 
{F235D316-69DB-4918-8536-B8A008D93057} failed due to the following error: 
80040154.
  Source=Microsoft.Synchronization.MetadataStorage
  ErrorCode=-2147221164
  StackTrace:
   at 
Microsoft.Synchronization.MetadataStorage.SqlMetadataStore.CreateStore(String 
fileName, CultureInfo locale)
   at 
Microsoft.Synchronization.MetadataStorage.SqlMetadataStore.CreateStore(String 
fileName)
   at Sync101.MySyncProvider.InitializeMetadataStore() in 
C:\Data\Downloads\Microsoft\Sync101 with Remote Change Application over 
WCF\C#\Sync101Provider\MySimpleSyncProvider.cs:line 83
   at Sync101.MySyncProvider.ToString() in 
C:\Data\Downloads\Microsoft\Sync101 with Remote Change Application over 
WCF\C#\Sync101Provider\MySimpleSyncProvider.cs:line 570
   at Sync101.MyTestProgram.Main(String[] args) in 
C:\Data\Downloads\Microsoft\Sync101 with Remote Change Application over 
WCF\C#\MyTestProgram\MyTestProgram.cs:line 71
   at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence 
assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
  InnerException:

Google pointed me to MSDN article   
http://social.microsoft.com/Forums/en-US/syncdevdiscussions/thread/fc139787-7c35-45c3-aaf8-57abba03fc68

(Title on the article is "Exception when run Sync Framework on 64-bit Windows 7 
with VS 2010 RC ")

This article explains the exact situation (caused by x86 vs x64 dll mismatch) - 
but I can't seem to fix the problem - any clues?

I have changed all references to be "copy local=true" &  the platform & output 
on the build configuration to all be x64 - still fails, plus have also changed 
to all be x86 and still fails.

In the end what I need is an example application for File & Database Syncing 
over an internet connection - this sample uses WCF Service with custom Sync 
Providers which implement a proxy.

Should I use the Sync 4.0 CTP (which seems to sit on top of the Sync 2.1 anyway)

Thanks for any help.


Regards,

Steven Parish

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Clint Colefax
Sent: Monday, 12 September 2011 2:15 PM
To: ozDotNet
Subject: RE: Latest MS Sync Framework?

Team blog seems to still active, might find more info there?

http://blogs.msdn.com/b/sync/

Thanks
Clint Colefax

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Preet Sangha
Sent: Monday, 12 September 2011 1:38 PM
To: ozDotNet
Subject: Latest MS Sync Framework?

Looking at the sync framework home page 
(http://msdn.microsoft.com/en-us/sync/bb736753) I see that CTP 4.0 (from 
October 2010) is listed. Is this really the last update - that seems pretty 
ancient? Or is there codeplex type releases that I should be looking at 
instead. It look like an interesting technology for off line phone applications.

Also thinking about it, does anyone on the list use it or a competing 
technology?

--
regards,
Preet, Overlooking the Ocean, Auckland


RE: Latest MS Sync Framework?

2011-09-11 Thread Nick Randolph
Only just Looks like they've scrapped v4 and just realising the useful bits 
as a toolkit as source code!

Nick Randolph | Built to Roam Pty Ltd | Microsoft MVP - Windows Phone 
Development | +61 412 413 425 | @btroam
The information contained in this email is confidential. If you are not the 
intended recipient, you may not disclose or use the information in this email 
in any way. Built to Roam Pty Ltd does not guarantee the integrity of any 
emails or attached files. The views or opinions expressed are the author's own 
and may not reflect the views or opinions of Built to Roam Pty Ltd.

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Clint Colefax
Sent: Monday, 12 September 2011 2:15 PM
To: ozDotNet
Subject: RE: Latest MS Sync Framework?

Team blog seems to still active, might find more info there?

http://blogs.msdn.com/b/sync/

Thanks
Clint Colefax

From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> 
[mailto:ozdotnet-boun...@ozdotnet.com]<mailto:[mailto:ozdotnet-boun...@ozdotnet.com]>
 On Behalf Of Preet Sangha
Sent: Monday, 12 September 2011 1:38 PM
To: ozDotNet
Subject: Latest MS Sync Framework?

Looking at the sync framework home page 
(http://msdn.microsoft.com/en-us/sync/bb736753) I see that CTP 4.0 (from 
October 2010) is listed. Is this really the last update - that seems pretty 
ancient? Or is there codeplex type releases that I should be looking at 
instead. It look like an interesting technology for off line phone applications.

Also thinking about it, does anyone on the list use it or a competing 
technology?

--
regards,
Preet, Overlooking the Ocean, Auckland


RE: Latest MS Sync Framework?

2011-09-11 Thread Clint Colefax
Team blog seems to still active, might find more info there?

 

http://blogs.msdn.com/b/sync/

 

Thanks

Clint Colefax

 

From: ozdotnet-boun...@ozdotnet.com
[mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Preet Sangha
Sent: Monday, 12 September 2011 1:38 PM
To: ozDotNet
Subject: Latest MS Sync Framework?

 

Looking at the sync framework home page
(http://msdn.microsoft.com/en-us/sync/bb736753) I see that CTP 4.0 (from
October 2010) is listed. Is this really the last update - that seems
pretty ancient? Or is there codeplex type releases that I should be
looking at instead. It look like an interesting technology for off line
phone applications.

 

Also thinking about it, does anyone on the list use it or a competing
technology? 

 

-- 
regards,
Preet, Overlooking the Ocean, Auckland