Connection to sql table

A

andyoye

IP2007
Browser form
Moss 2007

I have a drop-down that recieve data from a sql table's column. If I preview
the form, I do see the entries.

When I publish the form to a sharepoint form library, I get

" The form could not retrieve data from http://server/...... because it
would violate cross-domain restrictions. To allow this connection for
administrator-approved form templates, enable full trust for the form
template, or add the connection to a Data Connection Library. For user form
templates, cross-domain connections must be enabled in SharePoint Central
Administration, and all connections must be in a Data Connection Library.
For more information, please see the security documentation for InfoPath
Forms Services. (User: DOMAIN\User, Form Name: Leave Application...... "

Now when I convert the data connection to a DCL ( data connection library)
or/and full trust the form, I get

" The following query failed: tblUser (User: Domain\user1, Form Name: sql
testing, IP: , Request:
http://server1/_layouts/FormServer....testing/Forms/AllItems.aspx&DefaultItemOpen=1,
Form ID:
urn:schemas-microsoft-com:eek:ffice:infopath:sql-testing:-myXSD-2008-12-17T16-21-39,
Type: DataAdapterException, Exception Message: The form cannot connect to
the data source. Login failed for user '(null)'. Reason: Not associated with
a trusted SQL Server connection.)"

Any help would be great.

Thanks
 
A

andyoye

Even if I supply user/password while creating the data connection to the
sql server to recieve data, its still not working
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top