Click here to Skip to main content
16,011,849 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: DataAdaptor Update Error Pin
Wendelius30-Sep-08 9:48
mentorWendelius30-Sep-08 9:48 
QuestionProblems with Flash content viewing in Web Browser Control Pin
Falcon12330-Sep-08 3:15
Falcon12330-Sep-08 3:15 
QuestionNeed Crystal x64 msm Pin
Anoop Brijmohun30-Sep-08 2:32
Anoop Brijmohun30-Sep-08 2:32 
QuestionUser Authentication on the server Pin
kmathebula30-Sep-08 2:07
kmathebula30-Sep-08 2:07 
Questiondial phone no or send sms th mobile modem Pin
Vikash Yadav30-Sep-08 0:23
Vikash Yadav30-Sep-08 0:23 
AnswerRe: dial phone no or send sms th mobile modem Pin
ChandraRam30-Sep-08 1:26
ChandraRam30-Sep-08 1:26 
AnswerRe: dial phone no or send sms th mobile modem Pin
Rajesh Anuhya30-Sep-08 1:42
professionalRajesh Anuhya30-Sep-08 1:42 
QuestionProblems with MS Sync Framework in VB.NET Pin
IgorKuchaev29-Sep-08 22:04
IgorKuchaev29-Sep-08 22:04 
Hello to everyone.
I have the problem with my experimental, tutorial project (made in VB.NET) of syncing Microsoft SQL Server Standard Database (it is server) and MS SQL Compact DB (it is client). The synchronizer is based on MS Sync Framework (MSF) API classes.
The problem happens with SyncAgent Class. I created the class mySyncAgent which inherits the SyncAgent class. In the mySyncAgent I just gave settings for Local and Remote Providers (connection strings, sync type, direction etc - everything like it was described in MSDN tutorial example).
Now I try to make synchronization by using the method: statistics = myAgent.Synchronize where statistics is the instance of SyncStatistics class, and myAgent is the instance of SyncAgent class.
When I do it, the program stops to run and VB.NET compiler shows me the following error>: Method not found: 'Microsoft.Synchronization.Data.SyncException Microsoft.Synchronization.Data.SyncExpt.AnotherSyncInProgressError(System.String, System.String)'.


It is very strange error and I don't understand what causes it. First, there is no synchronization.data.syncexception library - it exists in another, older version of that class - but I can say for 100% sure that there is no conflict of versions generally in this project - so this is not a cause, not a reason. Anyway, the problem is not because of the missing method (there is a new one, in a new version), but the fact that Another Sync is in Progress. But I didn't call synchronization anywhere else except this method "statistics = myAgent.Synchronize" (I checked if there are other callings of .synchronize - there are no calls; neither in constructors nor anywhere else). I was doing debugging with tracing of variables, parameters of objects. This is the content of this variables at the run-time error.
myAgent:
*RemoteProvider: Everything is OK (like I set) - i.e. Connection Strings, SyncAdapters etc
*LocalProvider: Here is the most interesting stuff that (maybe) calls this error. There is subproperty "ClientID" which contains 2 properties called "Message" with the same content:
"Method not found: 'Microsoft.Synchronization.Data.SyncException Microsoft.Synchronization.Data.SyncExpt.AnotherSyncInProgressError(System.String, System.String)".

And property StackTrace of ClientID contains " at Microsoft.Synchronization.Data.SqlServerCe.SqlCeClientSyncProvider.BeginTransaction(SyncSession syncSession)
at Microsoft.Synchronization.Data.SqlServerCe.SqlCeClientSyncProvider.get_ClientId()"



What could be the cause of this problem? Could it happen because the connection to localProvider (based on MSSQL Compact 2005) is not open (by some reason)?
If anyone could just tell me where the possible mistake could be???

Thank You



Igor
QuestionSearching Inside the .zip Pin
Amit Kushwaha29-Sep-08 21:19
Amit Kushwaha29-Sep-08 21:19 
AnswerRe: Searching Inside the .zip Pin
jzonthemtn30-Sep-08 1:39
jzonthemtn30-Sep-08 1:39 
QuestionHide the enable parameter field prompt in crystal report Pin
member2729-Sep-08 20:53
member2729-Sep-08 20:53 
QuestionExcel cell reference in other sheet vb.net Pin
~Khatri Mitesh~29-Sep-08 20:25
~Khatri Mitesh~29-Sep-08 20:25 
Questionweb service issue Pin
Tauseef A29-Sep-08 18:27
Tauseef A29-Sep-08 18:27 
AnswerRe: web service issue Pin
jzonthemtn30-Sep-08 1:33
jzonthemtn30-Sep-08 1:33 
AnswerRe: web service issue Pin
Rajesh Anuhya30-Sep-08 1:36
professionalRajesh Anuhya30-Sep-08 1:36 
AnswerRe: web service issue Pin
Dave Kreskowiak30-Sep-08 1:44
mveDave Kreskowiak30-Sep-08 1:44 
QuestionUSB Com emulator Port Misbehaves Pin
rfrank535629-Sep-08 14:22
rfrank535629-Sep-08 14:22 
QuestionRaw Joystick data in vb.net Pin
bfeike29-Sep-08 13:26
bfeike29-Sep-08 13:26 
AnswerRe: Raw Joystick data in vb.net Pin
bfeike6-Oct-08 20:21
bfeike6-Oct-08 20:21 
QuestionIs it really possible: No access to bitmap in VB? Pin
Sonhospa29-Sep-08 11:42
Sonhospa29-Sep-08 11:42 
AnswerRe: Is it really possible: No access to bitmap in VB? [modified] Pin
Dave Kreskowiak29-Sep-08 11:58
mveDave Kreskowiak29-Sep-08 11:58 
GeneralRe: Is it really possible: No access to bitmap in VB? Pin
Sonhospa29-Sep-08 12:20
Sonhospa29-Sep-08 12:20 
GeneralRe: Is it really possible: No access to bitmap in VB? Pin
Dave Kreskowiak29-Sep-08 14:13
mveDave Kreskowiak29-Sep-08 14:13 
Questionxds Pin
postonoh29-Sep-08 11:35
postonoh29-Sep-08 11:35 
AnswerRe: xds Pin
Dave Kreskowiak29-Sep-08 11:55
mveDave Kreskowiak29-Sep-08 11:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.