Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 External Development Forums - SalesLogix OLEDB Provider
Forum to discuss using the SalesLogix OLE DB Provider from external applications (including usage of built-in provider procedures). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix OLEDB Provider | New ThreadView:  Search:  
 Author  Thread: Synching to remotes
Sara
Posts: 10
 
Synching to remotesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Aug 08 1:38 AM
I'm using the provider to insert an activity, it does so successfully, but it does not sync to remotes.
Is there any other table I should be writing to so that it syncs?

Is there an issue when using a parameterized query as opposed to a sql query string? I'm using Datasets and performing the insert/updates through the adapter.

Thanks.
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Synching to remotesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Aug 08 2:14 AM
Hi Sara

Does your INSERT populate USER_ACTIVITY as well? Have you logged in to the host db as a remote user and verified that all is well on the host?

Your parameterised query should be fine. Are you using a .NET application to perform the update? There are sometimes issues with date formats ...

Phil





[Reply][Quote]
Sara
Posts: 10
 
Re: Synching to remotesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Aug 08 9:57 PM
It's not adding to USER_ACTIVITY. Does it need to update INDEXUPDATES as well?

It is a .NET app. Dates are saved fine as far as I can tell.
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Synching to remotesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Aug 08 11:18 PM
That looks like a Speedsearch table to me - the Speedsearch service will take care of updates here - so 'no' is your answer.

Phil
[Reply][Quote]
Sara
Posts: 10
 
Re: Synching to remotesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Aug 08 11:24 AM
It now adds to the USER_ACTIVITY table but still, the sync doesn't happen. Anybody have the same issue?
[Reply][Quote]
Carla Tillman
Posts: 290
 
Re: Synching to remotesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Aug 08 12:59 PM
If you are only utilizing the SLXOLEDB in a third party app: Does you connection string have logging =ON ?

c
[Reply][Quote]
Sara
Posts: 10
 
Re: Synching to remotesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Aug 08 8:02 PM
Yes. It has LOG=ON in the extended properties. I have Extended Properties="PORT=1706;LOG=ON"

Here is what my connection string looks like:

Provider=SLXOLEDB.1;Data Source=SERVERNAME;User ID=UserId;Initial Catalog=CatalogName;Extended Properties="PORT=1706;LOG=ON"

I am really running out of things to try, any ideas?
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: Synching to remotesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Sep 08 7:29 AM
Are you using an "INSERT" Sql statement(s) to do the work?

If so, is the format of the datetime strings exactly:
YYYYMMDD hh:mm:ss (20080901 08:27:00)

If not, chage them to be so.. In 99% of all cases where everything is right.. data goes into local db fine (main or remote) but does not sync.. it's the datetime string format that's wrong.
[Reply][Quote]
Sara
Posts: 10
 
Re: Synching to remotesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Sep 08 12:36 PM
I'm handling that using Datasets and the insert and update through a DataAdapter. Dates are handled with DBType as DateTime with ProviderType as DBTimeStamp.
Should I treat them like strings instead and just format them that way?

The dates are displayed correctly when browsing the tables using SQL Server Management Studio.
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Synching to remotesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Sep 08 6:05 PM
It sounds like you're doing it right, but this thread may be of interest:

http://www.slxdeveloper.com/forum.aspx?forumid=2002&postid=30

so maybe check your Event Logs and see whether there is anything suspicious there.

You might also consider using SLXProfiler to capture the exact SQL that is being generated and then post it here ...

Phil
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/22/2024 9:31:05 PM