I'm trying to create batch process from SalesForce Lead table to my sql server database using the flow shown below. For some reason I keep getting the error: That the message payload is of type: HashMap. I tried using Transform Message but I kept getting the same error. How can I take a JSON Object from sales force and convert it into something that the sql server could use?
Which output directive should I use if I use Transform Message to avoid the sql server getting hash map?
Flow:
Error:
Related
I am using the SSAS to develop the tabular model. I am able to extract the data from the database. However, when I try to deploy I keep on getting this error.
Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: [DataSource.Error] An error happened while reading data from the provider: 'Object reference not set to an instance of an object.'. '.
I have tried many solution like:
Check my database connection
Check the datatype in the table
However, none of the solution works.
Is there a way to find the issue with the Object reference not set to an instance of an object error?
I am able to run the extract successfully in Tableau Desktop, over the Tableau server intermittently I am getting errors with the message
"java.lang.RuntimeException: [Snowflake][Support] (50311) Error converting invalid input with source encoding UTF-8 using ICU. Rejected bytes began with: ACFF."**.
Are there any settings over the Tableau server that I can enable to get rid of this error. Kindly assist.
Based on error code I assume you're using Snowflake ODBC driver. If that is the case, check if the result set is set to 'ARROW' (by default it is):
SHOW PARAMETERS LIKE 'ODBC_QUERY_RESULT_FORMAT';
Change result set format to 'JSON' and see if you're still getting the error (should not happen):
ALTER USER <user> SET ODBC_QUERY_RESULT_FORMAT='JSON';
I need to poll an Oracle database in BizTalk. In the postPollStatement I need to add the package that has been created for me in the Oracle DB. Can anyone assist me with this?
I have created the schema in Visual Studio, the port is created and I have configured everything except the postPollStatement.
EDIT1:
I have done some research and followed Microsoft Docs but still not managed to get the postPollStatement working.
https://learn.microsoft.com/en-us/biztalk/adapters-and-accelerators/adapter-oracle-database/poll-oracle-db-using-stored-procedures-functions-or-packaged-procedures
This is the error I receive: System.TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
To get this working you need to do the following:
polledDataAvailableStatement: SQL Statement that returns '1' or '0'.
SELECT COUNT (*) FROM TABLE
pollingAction: Retrieve the polling action from the schema generated for the inbound message.
pollingStatement: For this binding property, specify the entire XML request message that you generate from the schema in Visual Studio.
(No parameter needed if not specified in schema).
I am new to SSIS, I have developed a simple solution that takes data from a FLAT FILE SOURCE, does some data conversions and Inserts this data into a database table using OLEDB Destination Task.
My problem is it works fine on my test database, When I change the database connection, it gets stuck forever in the the Control Flow task and never gets into data flow task(The Data Flow Task continues to remain yellow instead of turning Green).
After around 30 minutes, it goes forward and gives me an error at OLEDB destination block saying "Out Of Memory" as shown below.
[OLE DB Destination [589]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x8007000E.
An OLE DB record is available. Source: "Microsoft Cursor Engine" Hresult: 0x8007000E Description: "Out of memory.".
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "OLE DB Destination" (589) failed with error code 0xC0202009 while processing input "OLE DB Destination Input" (602). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.
Please Help me with this.
Afternoon Folks,
We are using Visual Studio 2013 and have an SSIS package that we are creating. We have a simple Data Flow Task that essentially takes some data from SQL and Pushes through to an Access Database. It has three DFD flow items:
I have a OLE DB Source (obtains the SQL via a select statement) --> Data Conversion (Convert SQL Data Types to Access) --> OLE DB Destination (Access Database)
The steps selecting the SQL and converting it works fine.
The issue we have is the SQL command that we are using to update the Access 2010 database.
We have tried to run and create a simple UPDATE statement to update a couple of fields with hardcoded data, but this doesn't update. We have also tried creating a stored procedure and then executing this within the SQL Command line in the OLE Destination Editor.
We can see from posts on the net that we can create a procedure in access 2010 and use this. We are also using Native OLE DB\Microsoft Office 12.0 access Database Engine OLE DB Provider. This connection tests successfully.
We can write a SELECT statement within the SQL Command line and this does pull back data. We just seem to have a problem with the UPDATE and or Create Procedure. In turn we are unable to populate the Mappings. the mappings display the destination box but no fields are displayed within here.
We have had a good look around on the internet but we are struggling to find a solution.
Here is a sample of the code in the form of the update statement we are trying to get working.
UPDATE ReferenceFields
INNER JOIN Addresses
ON ReferenceFields.ID = Addresses.ID
SET ReferenceFields.Reference2 =CustomerName,
ReferenceFields.Reference3 = telephone
WHERE Addresses.UPRN = 12345678910
If I Parse the query it is successful but when I select Mappings a warning is displayed....
Error at Data Flow Task [OLE DB Destination [136]]: No column
information was returned by the SQL command
https://msdn.microsoft.com/EN-US/library/office/ff845861.aspx
https://msdn.microsoft.com/en-us/library/ms141044.aspx
SSIS OLEDB destination with SQL command (Insert if not exists)
After some time I have managed to answer this question myself.
I have added unique parameters to each field I need to update and used the # char to set this.
UPDATE ReferenceFields
INNER JOIN Addresses
ON ReferenceFields.ID = Addresses.ID
SET ReferenceFields.Reference2 = #CustomerName,
ReferenceFields.Reference3 = #telephone
WHERE UPRN = #UPRN
This runs through the code and updates the MS Access database.