Solved

Infopath 2007 submitting to SQL

Posted on 2011-09-14
2
296 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will show you how to use shortcut menus in the Access run-time environment.
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

749 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