Tech Support > Microsoft Windows > Windows CRM > Server-client configuration for Offline client
Server-client configuration for Offline client
Posted by Alexander N. Treyner on November 27th, 2007


Hello,

We have Ms SQL Server 2005 serving our Ms CRM 3.0.
When we try to install/sync Offline Client, we sometimes get error:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
saInsert failed for entity 'entity_name', batchRows=1 with exception
System.Data.SqlClient.SqlException: Could not find row in sysindexes for
database ID 2, object ID 553769030, index ID 255. Run DBCC CHECKTABLE on
sysindexes.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~

I have investigated the problem with CrmTrace and have found that
{guid}.bcp file, produced by our server and delivered by sync process to
the client's folder, can not be inserted into MSDE.
Here the sql statements, that should be executed by sync process (taken
from CrmTrace log):

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
create table #tempNew_AlertBase (CreatedBy uniqueidentifier, CreatedOn
datetime, DeletionStateCode int, ModifiedBy uniqueidentifier, ModifiedOn
datetime, New_AlertId uniqueidentifier NOT NULL, OwningBusinessUnit
uniqueidentifier, StateCode int NOT NULL, StatusCode int, VersionNumber
timestamp, OwningUser uniqueidentifier)

BULK INSERT #tempNew_AlertBase FROM 'C:\Documents and
Settings\username\Application
Data\Microsoft\MSCRM\BCP\{76172936-6288-DC11-9E8A-001708576EFC}.bcp'
WITH (DATAFILETYPE = 'native', FORMATFILE = 'C:\Documents and
Settings\username\Application
Data\Microsoft\MSCRM\BCP\FMT\New_AlertBase.fmt')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

These statements fails with error "Could not find row in sysindexes for
database ID 2, object ID 553769030, index ID 255. Run DBCC CHECKTABLE on
sysindexes."

But these statements has been executed well on another SQL 2005 server.

Is there any chance to run offline client against Ms SQL 2005 server?

Thanks,

Alex.

Posted by Imran on November 28th, 2007


First install rollup update on server.. It is trying to get the index
--
Regards,

MS CRM Certified Professional

http://microsoftcrm3.blogspot.com

Chat with me on MSN / Gmail / Skype : ID Is :.. mscrmexpert@gmail.com



"Alexander N. Treyner" wrote:

Posted by Alexander N. Treyner on November 28th, 2007


Imran wrote:

Posted by Gareth on January 2nd, 2008


Apart from the 2 CRM patches kb 918108 and kb 923327 and also reducing the
value of the key
"HKEY_CURRENT_USER\Software\Microsoft\MSCRMClient\ OfflineRowsBatchSize" to
something like 100. If those still don't work, check the size of the Database
- SQL 2005 Express (comes with the V3C version) has a size limit of 4 GB and
the MSDE SQL 2000 (comes with the V 3.0 client) has a DB size limit of 2 GB.
(see:
http://www.microsoft.com/technet/pro...qlexpress.mspx ).
This can and has caused the saInsert error for us. I hope this helps someone.

"Alexander N. Treyner" wrote: