I'm trying to extract the data from http://reports.office.com/pbi/v1.0/#tennantID/TenantClientUsage using odata connection in SSIS
I'm able to connect to reports.office.com/pbi/v1.0/#tennantID and put the list of reports into a collection. However, when I select the report I want I get the following error
Unable to cast object of type 'Microsoft.Data.DataFeedClient.DataFeedODataEdmWrapper' to type 'Microsoft.Data.DataFeedClient.DataFeedODataEdmWrapperV3'.
It seems like an authentication issue?
If its not possible to connect to this data using SSIS, what is the best method to pull this data into a SQL server?
Related
I have the following problem when I want to display an image in a column of type "Hyperlink or Picture" of Sharepoint List, the image comes from a column in a SQL Server table of data type "Image". To give more context to the problem that I am presenting, I will explain the process in detail.
I have an application developed in PowerApps which is connected to SQL Server, this application stores information in a table and among that information that I save is an image, which is the one I mentioned above and I save in the SQL Server table.
As I mentioned, the image is saved in an "Image" data type with the following information "0xFFD8FFE000104A46494600010101004800480000FFE…" something like that, since the information chain is very long, I do not add it completely.
In the same application I have a display screen of the image which I can see without any problem after saving the record.
In addition to this application, I have a workflow developed with Power Automate which is a scheduled flow that runs at a certain time of the day. What this flow does is get the rows from my table in SQL Server and then create an element in a Sharepoint list, I do this to export the information from SQL Server to a Sharepoint list.
Among that information that I export, the "Image" column does not appear, as I show it in the flow below.
For this reason after the flow ends, I go to the Sharepoint list and the image is not stored.
It is for this reason that I request help to correctly display the image from SQL Server in the Sharepoint list.
Is there something wrong that I'm doing in my workflow in Power
Automate?
Why is the image not displayed in the Sharepoint list?
Any other solution to store the image and then be displayed correctly
in the Sharepoint list?
Or do you think I have to change the data type with which I am
storing the image in the SQL Server table?
Conditions to take into account.
It is not possible to connect the PowerApps application to the Sharepoint list directly, since the SQL Server table will be used by other external applications and that information is required to be in a SQL Server table.
Update 1:
I am currently getting an error when running the flow.
The error is in a particular record and it is in one of the records which has an image in SQL Server, this image must be stored in the Sharepoin list. But the flow throws the following error:
OpenApiOperationParameterTypeConversionFailed. The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/Image' is required to be of type 'String/uri'.
I am trying to export data from a table in a server to another server that has the same table. The table contains about 500 Million records, Generating a script requires memory that our server doesnt seem to have since it gives us an error midway. I was trying to use the export data wizard tool. I chose native client 11.0 as the source and specified the server. But when i specify the the destination server it gives me an error.
Login timeout expired: A network related or instance specific error has occured while establishing a connection to the server. Server is not found or accessible...
I am also worried I might have to deal with duplicate data if I use this tool.
Is there a way I can copy/backup/restore a specific table in SQL server and simply restore it on the other server?
I am looking for the most efficient solution to this.
Thank you for your help.
I'm trying to import data from a csv file on my local machine into an SSRS report. I have used this connection string
and when I try to execute the query in the query desigener window I get the required data.
but when I come to run the report I get the error that ssrs cannot connect to the datasource. When I hit test connection in the datasource properties window I get this error.
I don't understand why it would work in the query editor but not in the general report. Can anyone point me in the right direction as to what I'm doing wrong?
I am fairly familiar with retrieving data from SQL Servers into Excel 2010. Recently I read the following article on allowing users to submit parameters to a stored procedure and was trying it out:
Data from SQL server
I am able to walk though all the steps of connecting to the server using the SQL Server Native Client 11.0 driver. I can call the stored procedure and return data in the Microsoft Query window (through step 8 of the instructions in the above link).
I can move through all 14 steps with ease. However, after linking the parameters to specific cells and defining the location for the data, hitting "OK" to return the data to the spreadsheet I receive the following error:
Some searching suggested that it may be a permission issue with the Stored Proc so I tried several variations of GRANT EXEC ON [dbo].[uspGLDetail_ItemNumber] TO PUBLIC. The proc I am attempting to execute is [uspGLDetail_ItemNumber].
You can see I am returning data in the Microsoft Query window:
I am not sure why the error is referencing that specific object. I attempted to check the permissions on the listed object, but do not find that procedure on our Server. Perhaps, part of the solution could be how to find the listed object in the error.
I am thinking this is perhaps more of an issues with Excel communicating to the server than a permission issue on the stored proc so was trying a few different drivers with no luck. However, I have successfully been retrieving data into excel From SQL Server with no issue for a long time.
I am trying to use the SqlDataConnection type provider to connect to a SQL database on Azure.
type dbSchema = SqlDataConnection<"Server=tcp:123456.database.windows.net,1433;Database={database};User ID={user};Password={password};Trusted_Connection=False;Encrypt=True;Connection Timeout=30;">
When I try to connect to the database with the associated connection string I get the following error:
Invalid object name 'syscomments'.
I cannot seem to find a solution to this problem other that using a different method to connect to the database (such as FSharp.Data.SqlClient). I believe this is related to the Azure implementation of Sql Server however I am unable to find any information on how to solve this problem. Any help is much appreciated.
I was having the same problem with the Microsoft Sql Type Provider. I started using this Sql Type Provider to better results: http://fsprojects.github.io/SQLProvider/
Thanks to Ross McKinley for pointing me to it.