web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Object reference not s...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 6

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!

Categories:
I have the same question (0)
  • szona Profile Picture
    6 on at

    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.

  • v-yamao-msft Profile Picture
    on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard