I'm still trying to fully understand. Please review the following 3 scenarios and let me know if I am close on any of them.
Scenario 1:
1. You have Server A which you are using to design and test your form.
2. The database resides on Server A.
3. You publish your form to another location on Server A where users have access.
4. Users access the form on Server A in the published location.
5. The database connection no longer works.
Scenario 1 should just work.
Scenario 2:
1. You have Server A which you are using to design and test your form.
2. The database resides on Server A.
3. You publish your form to Server B where users have access.
4. Users access the form on Server B in the published location.
5. The database connection to Server A no longer works.
Scenario 2 may require you to fix your data connection in the manifest.xsf file if it wasn't given a full network path to the database to begin with.
Scenario 3:
1. You have Server A which you are using to design and test your form.
2. The database resides on Server A.
3. You distribute your form as an .msi file that is installed on each users local machine.
4. Users access the form from their local installation.
5. The database connection to Server A no longer works.
Scenario 3 may require you to fix your data connection in the manifest.xsf file if it wasn't given a full network path to the database to begin with.
--
Greg Collins [InfoPath MVP]
Please visit:
http://www.InfoPathDev.com
No... the database is local to the server!
Consider the scenario in which the infopath form and the database reside on
the server... i design n test the form on server and it works fine... now
when I want to publish it and give access to other users so that they can
open the form from there own machines obviously the database would not be on
his local machines... Infopath searches the database on the users machine
rather than updating database on the server...
There must be some setting to that since if it can ony connect to local
databases and ODBCs... it kind of defeats the whole purpose... so can you
help me now?
Thanks for the earlier response aswell
Regards,
UMehmood
Greg Collins said:
It sounds as though when you published to the remote server, you did not also update the data connection to use the remote database instead of the local one. Was this the case?
--
Greg Collins [InfoPath MVP]
Please visit:
http://www.InfoPathDev.com
I am developing Infopath forms for my company, which are
supposed to be linked to database at the backend (SQL or
Access) and are published on a sharepoint server.
It seems to work fine on the local machine when i query
and update the forms, but when I open the forms from the
remote machine (which is how it is actually going to be
used) it asks for the login and password for the SQL
server trusted connection or the path for the MDB file
incase of Access from the LOCAL MACHINE!?
The ODBC connections and mdb files are ofcourse on the
server, I am probably missing some setting or something
like that..
Can anyone help me with that?