Connecting to SQL Database - Data Source will not connect - InfoPath Dev
in

InfoPath Dev

Connecting to SQL Database - Data Source will not connect

Last post 11-11-2008 05:42 AM by bladah29. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 11-10-2008 12:53 PM

    Connecting to SQL Database - Data Source will not connect

    Hi, I have a form that connects to a backend SQL database via a ODC connection configured on a windows 2003 server. The connection works when the form is opened on the server. However, when connecting to the form via a VPN connection on a client machine that is not a member of the domain, the connection fails, giving the following error:

    The query cannot be run for the following DataObject: CONNECTNAME
    InfoPath cannot run the specified query.
    InfoPath cannot connect to the data source.
    InfoPath has encountered an error. The operation failed.

    I have hit the forums hard over the past couple of days and have not found a resolution for this. Here are some things I have enabled or verified:

    Digital signature are enabled.

    Form is configured to Full Trust.

    Template has been signed and has a valid Certificate.

    Domain under preview section is configured as http://domaincontroller

     Any help would be greatly appreciated

  • 11-10-2008 06:49 PM In reply to

    Re: Connecting to SQL Database - Data Source will not connect

    Have you verified the IE security settings?

    They would need to have domaincontroller set in their Local Intranet or trusted sites zone for data conenctions to work correctly.

     Have you looked at Database Accelerator (DBXL)?  Sounds like you have a fairly complex solution and DBXL web services make things so much easier and performant, especially with VPN and remote users.

  • 11-11-2008 05:42 AM In reply to

    Re: Connecting to SQL Database - Data Source will not connect

    I had the domain controller set as a trusted site, so I moved it to Local Intranet and I had the same results. 

    You are right, I need to test the database accelerator. I've read some of the documentation and I can use it's features in many ways.

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.