Solved

Infopath 2007 submitting to SQL

Posted on 2011-09-14
2
297 Views
Last Modified: 2012-05-12
We have several Infopath forms published to a Sharepoint 2010 server.  The Infopath forms submit data to a SQL 2008 R2 database, and this works fine for client PCs that are members of the domain.

When a user VPN's in and connects to Sharepoint from their home PC or laptop, however, the form loads in Infopath but fails to submit to SQL.  All field sales people have their own laptops that almost never are connected to the domain, and more than half of these laptops aren't even members of the domain.

I'm not sure where to start looking for where this is breaking.  The Infopath form has all of the data connections defined and submits data correctly for users that connect from a PC that is on the domain, but through VPN, I get the following error:

"Infopath cannot connect to the data source, access is denied."

Is this permissions submitting to SQL?  Is there a way to embed credentials to submit to SQL into the infopath form?  The latter sounds like a bad idea from a security standpoint, but how do others work it so that VPN users can connect to a Sharepoint intranet and fill out Infopath forms that submit to a database?  I can't be the first person to try to do this.

Any help is appreciated.
0
Comment
Question by:jkeegan123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
arduk earned 500 total points
ID: 36540205
I am not sure if this will help, but it may be worth having a look at your alternate access mapping settings - I have seen this cause issues with data connections before, but it was generally when users were connecting using different urls, which may not be the case for you.

Also, check what zone the site is coming up in when users try to connect using the VPN.

You need to try to establish where the access denied message is coming from - is it on the SQL server (the sql logs should show you if it is), or is it before this?

May be worth doing a network trace (using something like wireshark) to check what traffic is coming and going, and particularly what urls are being used

Not really an answer, but may help get you on the right track?
0
 
LVL 5

Author Closing Comment

by:jkeegan123
ID: 36895757
Issue was the SQL server not getting resolved by VPN clients, a host file entry fixed this.
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Outlook Free & Paid Tools
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question