Login / Register  search  syndication  about

          Kris Halsrud's Blog

Kris Halsrud on development and Integration with CRM and Development

SalesLogix Provider Post 6.2 -Problems with Insert Syntax

I recently had a client that was using the SalesLogix LAN client and had upgraded from 6.2 to 7.5.2  During the upgrade a problem arose that exhibited itself by crashing the SalesLogix client with no error messages of any kind.  After looking into it I discovered the problem was a custom form they had was issuing a SQL INSERT statement against the database.  Specifically they were using a format of:

 INSERT INTO MYTABLE VALUES (‘1’,’2’,’3’)

 Apparently after 6.2 there was a change to the provider that made it incompatible with this INSERT statement format.  The bad thing is that the user is not presented with an error.  One would think you would get a error similar to other statements that fail to execute through the provider of “Failed to Parse SQL”.  Instead, using this insert format the application simply crashes without any errors.

The fix for this particular problem was pretty straight forward.  We simply needed to add the columns to insert into in the INSERT statement, like so:

 INSERT INTO MYTABLE (COL1, COL2, COL3) VALUES (‘1’,’2’,’3’)

Again not a big deal but things like this are a prime example of why it is so important to upgrade your system in a test environment first so that breaking changes like this do not rear their head while in production.
What's This?
  
Bookmark and Share

About Kris Halsrud

   Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.


Related Content
   Fixing the SalesLogix Phone web control to handle extensions using "ext"
In the SalesLogix web client there is code to handle parsing phone numbers in the SalesLogix phone web co
Posted on Jan 11, 2013 by Kris Halsrud to Kris Halsrud's Blog
 
   SalesLogix v8 web client no longer displays curreny symbols
 In the SalesLogix web client, there is a SalesLogix currency control that can be used to enter and
Posted on Dec 31, 2012 by Kris Halsrud to Kris Halsrud's Blog
 
   SalesLogix connection string format has changed within Connection.Config file from 7.5x to 8.x
 Just a heads up on something I ran into that was causing me some problems.  The format of the
Posted on Dec 20, 2012 by Kris Halsrud to Kris Halsrud's Blog
 
   The Top 9 Ways to Optimize Your SalesLogix Web and Cloud Video
Watch this video to learn multiple ways to improve the performance of your SalesLogix on-premise Web and
Posted on Oct 17, 2012 by Scott Weber to SalesLogix Product Blog
 
   Correcting a Failed Build in SalesLogix Application Architect
On one of our test servers I received the following message when attempting to build the SalesLogix web p
Posted on Sep 20, 2012 by Mark Duthoy to SalesLogix Support
 
Comments

 

Provider post | Rapidrefillwashington said:

Pingback from  Provider post | Rapidrefillwashington

June 12, 2011 1:43 PM

Leave a Comment

(required)  
(optional)
(required)  
Add
All contents Copyright © 2013 Customer FX Corporation
Customer FX Corporation
2324 University Avenue West, Suite 115
Saint Paul, Minnesota 55114
Tel: 800.728.5783

  Follow @CustomerFX on twitter
Follow the best news, tips, and articles
  Subscribe to Customer FX on youtube
Watch SalesLogix tutorial videos from Customer FX
Login / Register