Good day guys, i have been struggling for days to connect to excel as a data source, i kept getting this error message while trying to select sheet name. At first i found a solution that told me to install the 32bit ace oledb drive which i did and it worked, but then i tried running another project and it started to give the same error message, i have tried almost every fix i have come across on the internet but still yet it keeps failing, i even uninstalled my ssdt to see if it would help but still same error message, i have changed run64bitruntime to false still not working. i need help guys, thanks.
"TITLE: Microsoft Visual Studio
Could not retrieve the table information for the connection manager 'Excel Connection Manager'.
Object reference not set to an instance of an object.
BUTTONS:
OK
error message
Related
I have used the TFS to Excel functionality for several years. Last Friday it suddenly stopped working. I get the error TF84021 Can't create the work item list. If I try again it will spin and then bring up the same error. This usually happens 2 or 3 times then Excel will open as a read-only which removes the link to TFS. I have tried to configure the server connection and get error TF400324. Services not available from server. The underlying connection was closed.
This is impacting a small group of people with the same job function (Scrum Masters and BAs). Management and developers can use it just fine.
My help desk remoted into my machine and tried it with his creds and it didn't work. We ran it through Fiddler and the log showed an error but it didn't have any information.
I am using TFS2017 Version 15.117.27414.0 which I believe is update 3, Visual Studio 2017 and Excel 2016. As well as ADO in the cloud (not on prem).
I have gone into Excel to verify the com add-in is present and checked. I have reinstalled the add-in just in case it was corrupted. I have tried to remove my TFS server and re-add although I knew that couldn't be the problem as it occurs on ADO as well.
I'm at a loss. Any thoughts as to what to try next?
I've been working with Powerapps for about 3 to 4 months now, and this particular app I've created connects to 3 tables in an Azure SQL Server Database. It's been working great until today. This morning I logged in to edit a feature on the app and my galleries were empty with an error message saying: "Bad Data source Inner exception, Not a valid data Source".
My first thought was, something is off on the database, some planned work possibly during the night, but that's not the case, and the DB is working perfectly as I also use it in PowerBI.
I googled for the error and found several people with a similar issue, and most of them reported that deleting the Data Source connections from power apps and adding them again would fix the issue, as well as deleting and creating the Galleries again. I've performed both actions, and the same error returns. I tried creating a fresh new canvas app, with a gallery and a brand new connection to the Azure Sql DB and still got the same error. I've also tried to restore one of the oldest versions of the app, and I still got the same error. This to me all indicates there's a problem with the DB, but...when I publish the APP, and run the app after publishing, It works perfectly, and I have full usability of the app, which means the connection to the DB is actually working.
It feels like a bug to me. I'll share the screenshot of the error:
Error Message
I'm worried I will lose all my work, so if someone could help me, that would be great.
Finally, I got the solution for this issue. This are the steps I followed to solve the issue.
Remove all the Database connectors from your app.
Go to File -> Settings -> Advanced Settings -> Disable enhanced Microsoft SQL Server Connector.
Add all your Database connectors back again.
While running Macros, i am encountering this error - 'Method RegisterAsBrowser of object IWebBrowser2 failed'. Initially for past few months, Macros was working fine but yesterday I got a new laptop, and I was trying to run Macros. But it is displaying this error. When the macros executes successfully, it redirects to the first page of our organization's tool in Internet Explorer browser.
Please help me in fixing this issue. Since I am not technically sound, I have no idea what this error is about. My work is stuck due to the same.
I have created a report in Visual Studio, deployed this using SSDT to a remote desktop where our SSRS service is running. This has deployed without any errors and I can see my data source and report on remote desktop.
However when I go to test the connection on the data source I get the following error: 'Value does not fall within the expected range'
I am using an OLE DB connection but am completely stumped as to why this is an issue. I have looked through previous questions and see the majority of the questions revolve around share point which i'm not using.
Any help much appreciated.
Kind regards
I just moved my ssis package from my desktop to my server.The package exports data from sqlserver to an excel sheet. I see the following error when I try to run the package. The error occurs in the excel destination of the dataflow task.
Error at Package [Connection manager "Excel Connection Manager"]: SSIS Error Code DTS_E_OLEDB_NOPROVIDER_ERROR. The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. Error code: 0x00000000.
An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered".
Error at Data Flow Task [Excel Destination [16]]: SSIS Error Code
[Excel Destination [16]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC020 9302. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
I also made the following changes as I had errors before and the package wouldnt even run .
Set the delay validation to false on the data flow task.
set the Run64bitruntime under the project properties to true
Can anyone tell me what I need to do ?
PS : I am running the package on the server and MS excel is not installed on it . Could that be causing the error ?
PS : I am running the package on the server and MS excel is not
installed on it . Could that be causing the error ?
Yes
I did also find another thread describing a solution:
HOW TO: FIX ERROR - "the 'microsoft.ace.oledb.12.0' provider is not registered on the local machine
Which does not involve installing the full version of Office:
NOTE: this DOES work for office 2010 even though it is for 2007
office, dont ask me why it just does :)
download and install this: http://www.microsoft.com/download/en/confirmation.aspx?id=23734
in VS click add data source, follow the wizard and enjoy! :)
They are using Visual Studio but I imagine you should be able to run your SSIS package without having to "add a data source" as it's looking for the COM componetmicrosoft.ace.oledb.12.0 which should now be registered.
I ran into this once and had to save the excel sheets as .csv and use a flat file connection manager:
http://msdn.microsoft.com/en-us/library/ms140266.aspx
an alternative is using 32bit option in SSIS project.
Right Click on Solution and select Properties > Select Debugging and specify FALSE for option Run64Bitruntime