Groups | Blog | Home
all groups > sql server dts > april 2007 >

sql server dts : 2 problems with SSIS DTS when trying to add record to entity lead of MS CRM Dynamics 3.0



Alex
4/3/2007 12:00:00 AM
Hello,

we need to execute a DTS in SQL Server 2005 that allows to migrate data from
Excel to the entity lead by CRM 3.0

there are a lot of records and columns so we don't want to use web services,

i have done 2 ssis dts with the purpose to insert records filling firstname
and lastname to lead entity,

First Option LeadBase table

i have created a DTS that access directly with the LeadBase table but when i
execute the DTS i got an error that says leadid can't be filled with NULL


Second Option Lead View

i have created a DTS that access directly with the Lead view but when i
execute the DTS i got an error that says the view is not updatable because
affects to other base tables and gets in conflict with the SystemUserBase,

What can I do?

Alex

Allan Mitchell
4/3/2007 7:39:26 PM
Hello Alex,


In the LeadBase table it sounds as though it will not allow NULLs and you
are trying to load it with NULLs. Is this the case? Use a Data Viewer to
find out what the data looks like before insertion

--

Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com

[quoted text, click to view]

Alex
4/4/2007 12:00:00 AM
Hello Allan,

it just tryes to load NULL in the leadid field because the field leadid it
has the identity property set (in the database CRM of SQL Server) to No

this property is disabled in the database for the security of CRM, so you
can't change the identity to Yes in a directly way,

so we have choised to forget the DTS SSIS way, because it seems so
complicated to get it work completly,

we'll keep loading CRM data with web services of the CRM SDK, although is
slower in their execution,

thanks for your help,

Alex

"Allan Mitchell" <allan@no-spam.sqldts.com> escribió en el mensaje
news:b067a62514fe8c944474e19ac5c@news.microsoft.com...
[quoted text, click to view]

dotnetfellow
4/23/2007 1:00:03 PM
Isn't there a way to interface to CRM from SSIS? Has anyone written an SSIS
CRM destination object?

[quoted text, click to view]
Allan Mitchell
4/23/2007 8:07:26 PM
Hello dotnetfellow,

So you need to generate a value for the key of each row as you insert then
right? The DB does not generate it for you through the Identity property
on the column.

Is that what you need to do?

How do the keys look? Are they integer? Are they sequential?


--

Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com

[quoted text, click to view]

dotnetfellow NO[at]SPAM yahoo.com
4/30/2007 2:09:27 PM
Hi Allan,

Thank you for your reply.

I suppose my question is a little more high level than that. I am
trying to determine the best tool suite and skillset necessary to
support adequately importing data from external sources into MS CRM.

I was hoping SSIS would serve this purpose, but from all I have read,
unless you are very savy in MS CRM, there is no silver bullet for
using Integration Services as the ETL to import data into MS CRM.

I cannot seem to find anything on the web that addresses the
utilization of Ssis for importing into MS CRM. Everything is very
cursory. No how to's, or example code anywhere.

It appears that Scribe is the tool of choice by many. That is too bad
because it means yet another purchase of yet another tool to do
something very specific. It perplexes me that MS does not promote
SSIS as the tool of choice for interfacing with their own CRM.




Sincerely, -Dotnet Fellow
dotnetfellow NO[at]SPAM yahoo.com
5/1/2007 9:28:31 AM
Someone please correct me if I am wrong, but the following appears to
be the approach that many are taking to load data into CRM.

Use Ssis, Dts, etc., to get the data into the DMF CDF database. Use
DMF to get the data into CRM.

Is this correct?
dotnetfellow NO[at]SPAM yahoo.com
5/6/2007 5:22:23 PM
It is too bad because nobody seems to know why the Ssis team and Crm
team are silent when it comes to creating an Ssis Crm adaptor.
AddThis Social Bookmark Button