cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
szona
Level: Powered On

Object reference not set to an instance of an object when connecting to on prem SQL

Hi All,

 

First time poster/Flow newb.  I'm trying to use a SQL execute stored procedure action against an on-prem SQL server via the gateway.  I believe the gateway configuration is fine; when I select the server the list of available stored procedures populates.  However, when I select one I get the error message: Unknown Mashup Exception. inner exception: Object reference not set to an instance of an object.

I am trying to execute sp_start_job

 

thanks!

2 REPLIES 2
szona
Level: Powered On

Re: Object reference not set to an instance of an object when connecting to on prem SQL

ugh well just found this tidbit in the release notes, so I guess it isn't going to happen!

 

SQL Stored Procedures cannot be run on On-premises SQL Servers. Only SQL Azure supports Stored Procedures at this time.

Community Support Team
Community Support Team

Re: Object reference not set to an instance of an object when connecting to on prem SQL

Hi Szona,

 

Thanks for your understanding. I have also seen another thread which says that Stored procedures are unfortunately not supported while using a Gateway. Please check the thread for a reference:
https://powerusers.microsoft.com/t5/Flow-Forum/Unable-to-Execute-Stored-procedure/td-p/7764

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,372)