Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

InfoPath Forms - Cannot access SQL DataConnection

$
0
0

Hi everyone!

I have a InfoPath form published in my SharePoint portal and now I need to add a new DataConnection that returns data from a query, so, I created a new DataConnection to receive data with SQL server method. Then, I writed my query and convert it to udcx file. But when I clicked in "Preview" button. It works very fine, but when I published it to my SharePoint site, i got this error: "Erro while querying data source, you don't have permissions to access the DB". But, the user that is set to access SQL Server has the "dbowner" security level. 

I think that the error is because my DataSource is local, but I have no idea how can I publish it! 

Does anyone kno how resolve it?

Thanks in advance!

Best Regards.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>