Error: Occasionally Connected Smart Device Application

P

Paul G. Tobey [eMVP]

It sounds to me like you didn't carefully follow the instructions when
changing the names of things after you created the database cache, perhaps
in "Configuring and Starting the WCF Service" or "To split synchronization
components between the server and client projects". I've gone through that
walk-through probably five times. The instructions are correct, but you
have to be extraordinarily careful not to skip any steps, rename any of the
wrong objects, misspell anything, etc. Once you do, it's very difficult to
find the error and figure out what to do about it. Certanly, you should
NEVER stop at just reading the output window to find out about errors during
execution of the application. Catch any exceptions that are thrown and read
them. There is often much more detail in a given exception than in just the
message output from it.

Paul T.
 
S

Simon Hart [MVP]

Sync Services is a little bit unforgiving. With that example it does work. I
found the following things seem to give a TargetInvocationException or
ArgumentException:

1. WCF endpoint wrongly configured in app.config
2. Wrongly configured SQL server connection string in the sync cache files.
You can use the wizard to ensure this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top