|
| |||||||||
| Tags: denied, infopath, infopath access denied, preview, security level infopath, test infopath |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
|
Hello Everyone, This is the first time I am using Infopath and I got stuck with "Access Denied" error. I created a data connection (to receive data from SQL Server) and then I simply took one drop down and bind the dropdown value from external data source column value. When I click on the preview button, I am getting three button : 1. Work Offline 2. Try to Connect (When I clicked ion this button, I got one popup saying that, Infopath connected to data source but failed to receive data) 3. Show Details -> when I clicked on this button it shows : The query cannot be run for the following DataObject: OEE_Data InfoPath cannot run the specified query. InfoPath cannot connect to the data source. Access is denied. Access is denied. Can anyone please help me as I dont know why I am getting this Access Denied error. Any help would be appreciated......Thanks |
|
#2
| |||
| |||
| Re: Getting Access Denied error while preview infopath form
is anyone there to help me on this regard............. |
|
#3
| ||||
| ||||
| Re: Getting Access Denied error while preview infopath form
You may check security level of the form in info path. May be this is the reason for error access is denied in infopath. You can also check from following method : Design a new blank form template in infopath and save the template as a test123.xsn to a network share that you should write access to. Then go to the file menu and click on that form then fill out that form task pane and select test. click save on the file menu as a c:\test123form.xml and close infopath. Then start a notepad and then write a script on that : objIP = new ActiveXObject("InfoPath.ExternalApplication") objIP.Open ("C:\\test123form.xml") and save the file name Test123.js. Then double click on that java script file. May be this will help you. ![]()
__________________ The FIFA Manager 2009 PC Game |
|
#4
| |||
| |||
| Re: Getting Access Denied error while preview infopath form
Yar, I din't get the sol. Can you please explain in easy way.......... That will be really helpful............ Thanks in advance.... |
|
#5
| ||||
| ||||
| Re: Getting Access Denied error while preview infopath form
Are you able to connect to the server? When you create the data connection, are you using Windows Authentication? Or SQL? If you are using SQL, are you saving the connection string? You are this error possibly because your template.xml file does not match your form schema. Look at your template.xml file and compare it with your schema and checout if you are missing anything in it. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Getting Access Denied error while preview infopath form" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problems with publishing an InfoPath 2010 form | MindFu@er | MS Office Support | 3 | 24-01-2011 05:21 AM |
| Not Importing form templates in InfoPath 07 | AlexisSoft | Windows Software | 5 | 19-11-2010 11:48 PM |
| How to import form templates from other programs in InfoPath 2007? | Devabrata | Windows Software | 4 | 11-08-2010 03:46 PM |
| Part of the text of an InfoPath form does not Print! | desilva | Windows Software | 5 | 16-03-2010 02:45 AM |
| InfoPath Form MSI fails to Install | Manoj | Office Setup | 0 | 19-12-2008 05:34 PM |