Customize list using Info-path - Data Connection Error

We have an issue while customizing list using Info-path, we are configured a data connection inside the info-path the connects to SQL and it works fine.
then we decided to migrate it to another site under another web application on the same server, but it does not work, it fires an error as below:
A query to retrieve form data cannot be completed because this action would violate cross-domain restrictions.
If this form template is published to a SharePoint document library, cross-domain access for user form templates must be enabled under InfoPath Forms Services in SharePoint Central Administration, and the data connection settings must be stored in a
UDC file in a data connection library in the same site collection.
If this is an administrator-approved form template, the security level of the form must be set to full trust, or the data connection settings must be stored in a UDC file by using the Manage data connection files option under InfoPath Forms Services
in SharePoint Central Administration.
An entry has been added to the Windows event log of the server.
Thanks & Regards Ahmed Amin

Under General Applications in Central Admin, go to the InfoPath Settings and Configure InfoPath to allow cross domain connections.
Regards<br/> <br/> Sergio Giusti<br/>
http://sergioblogs.blog.co.uk<br/> <br/> Whenever you see a reply and if you think is helpful, click &quot; <img alt="Alternate Text" src="http://social.technet.microsoft.com/Forums/getfile/179394" style="width:12px;
height:12px"> <span style="color:#00b050">Vote As Helpful</span>&quot;. And whenever you see a reply being an answer to the question of the thread, click &quot; <span style="color:#00b050"><img alt="Alternate
Text" src="http://social.technet.microsoft.com/Forums/getfile/179395" style="width:12px; height:12px"> Mark As Answer</span>&quot;.

Similar Messages

  • How to create software request form using Info path functionality?

    Hi All,
    i am trying to create a Software Request Form using Info path functionality. Following are the steps:
    1. Users will fill out the form with all necessary fields.
    2. once they click on Submit button, it will send an email to two specific groups with a link so that they can see the form and Approve/Deny or can put comments on that.
    Thanks in advanced!

    Hi Rakib,
    There are many ways you can achieve this.
    Either by Creating a SharePoint list and then modify it using InfoPath to get all your required fields added
     or
    Use InfoPath application and select any template or blank form template to get all your required fields added and then publish it to SharePoint site
    For the second step you can create an OOTB workflow which can send email to view an approve items using Approval workflow feature
    For the advance notification you can use SPD workflows as well.
    Refer this article for more on InfoPath and SPD integration - http://gallery.technet.microsoft.com/office/Step-By-Step-build-30f84363
    Let us know if this helps, thanks
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • Disable/Hide Data connection error pop ups in InfoPath 2010

    Hi All , 
    I am trying to hide/Disable Error Messages Shown by data connection error. I do not want user to see the error , rather I would check through rules and query the Data source again.
    Is this scenario possible at all. 
    For ex: I have a data connection to user profile server , if it gives and error on form load , I do not want to see the error popup instead i will query the data connection again.
    Thanks and Regards,
    Nandini

    Hello,
    what would you expect to change between the first call to the data connection and the second call? 
    How would you "check through rules"?  
    I don't think the error message can be suppressed. If you don't want to query the data connection on form load, untick the box in the data connection settings. 
    cheers, teylyn

  • Data connection error to analysis services via unattended account after configure kerberos

    Hi, I setup connection to SASS from dashboard designer using Unattended Account, and everything was fine. Then I started to configure connection with Kerberos using Per-user Identity authentication, and after long customization it started to work. But in
    the same time Unattended Account authentication stopped working.
    From dashboard designer I got error:
    PerformancePoint Services was unable to connect to "dbserver\instance". Verify that the server name is correct and that the Unattended Service Account has permission to connect to the server.
    Additional details have been logged for the administrator.
    And in SharePoint server in application log:
    The Unattended Service Account "dom\unaccount" does not have access to the following data source server.
    Data source location: http://testit/sites/adrian/Data Connections Library for PP/35_.000
    Data source name: New Data Source
    Server name: dbserver\instance
    Exception details:
    Microsoft.AnalysisServices.AdomdClient.AdomdConnectionException: Authentication failed. ---> System.ComponentModel.Win32Exception: The target principal name is incorrect
       at Microsoft.AnalysisServices.AdomdClient.NTAuthentication.GetOutgoingBlob(Byte[] incomingBlob, Boolean& handshakeComplete)
       at Microsoft.AnalysisServices.AdomdClient.XmlaClient.Authenticate(ConnectionInfo connectionInfo, DateTime startTime)
       --- End of inner exception stack trace ---
       at Microsoft.AnalysisServices.AdomdClient.XmlaClient.Authenticate(ConnectionInfo connectionInfo, DateTime startTime)
       at Microsoft.AnalysisServices.AdomdClient.XmlaClient.OpenTcpConnection(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.AdomdClient.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
       at Microsoft.AnalysisServices.AdomdClient.XmlaClient.GetInstancePort(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.AdomdClient.XmlaClient.GetTcpClient(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.AdomdClient.XmlaClient.OpenTcpConnection(ConnectionInfo connectionInfo)
       at Microsoft.AnalysisServices.AdomdClient.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
       at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Connect(Boolean toIXMLA)
       at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.ConnectToXMLA(Boolean createSession, Boolean isHTTP)
       at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.Open()
       at Microsoft.PerformancePoint.Scorecards.DataSourceProviders.AdomdConnectionPool`1.<>c__DisplayClass4.<GetConnection>b__2()
       at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()
       at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
       at Microsoft.PerformancePoint.Scorecards.DataSourceProviders.AdomdConnectionPool`1.GetConnection(String connectionString, ConnectionContext connectionCtx, String effectiveUserName, CultureInfo culture, NewConnectionHandler newConnectionHandler,
    TestConnectionHandler testConnectionHandler, String targetAppId)

    Hi Adrian,
    Sorry for misunderstanding and thanks for the additional information.
    As I searched, there are tips for your situation:
    1. of the great new features of PerformancePoint Services is that you can now select different authentication options for each data source you create rather than having to decide on one authentication model to use for each web application. 
    2.If SharePoint is configured in standalone mode Per-user Identity authentication is only supported if the data source and the application server are located on the same machine.  Kerberos constrained delegation is required to connect to a data source
    located on a separate machine from the application server in a farm deployment.
    3.Per-user Identity is only supported with Windows credentials, neither anonymous or forms login are supported.
    For more information:
    http://blogs.msdn.com/b/performancepoint/archive/2010/05/06/data-source-authentication-in-performancepoint-services-for-sharepoint-2010.aspx
    http://blogs.technet.com/b/tothesharepoint/archive/2010/06/23/performancepoint-services-troubleshooting.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Info path form gives error on submitting "The StateManager is disposing and calling ReleaseLockedStates() (Count=0)"

    Hi,
       I have created a very simple form which has 2 data connections all together. One connection is for a drop down which gets populated from a list within that site itself and the other data connection is used when I am submitting that form. But
    it is giving this error when I am submitting the form
    Error:
    The StateManager is disposing and calling ReleaseLockedStates() (Count=0)
    So, I have created a data connection library and uploaded the 2 udcx file in it and approved them but still the error is there.
    Please assist me on this. It is very urgent.

    Resolved the issue by changing the button type to "Submit"

  • Opening an Excel 2003 file in Office 2010 Universal Data Connection error when opening the file from a domain.

    Hi.
    One of my users are having  problem with old accounting files in Excel 2003 when opening Excel 2010.
    The user experience that linked information is not being updated properly.
    And suspects that it something do with Universal Data Connection .
    How can an Excel 2003 spread sheet be converted to Excel 2010 spread sheet and still contain active links?
    When the user is opening and converting the file as mention in your suggestion, on the common share on a common domain, the links "breaks".
    we are not using SharePoint on our domain.
    But when doing it on a local machine, the links does not "breaks".
    Looking forward to get solved to this problem.
    Thank you in advance.
    Rgds

    it sounds link, the links changed from relative paths to absolute path. You need to use absolute path in original file.
    KR

  • Error in using BAPI_CONFEC_CREATE : Interface data contains Errors

    Hi,
    I am using this BAPI BAPI_CONFEC_CREATE to create confirmations locally in SRM for a PO. I am following Documentation available for this BAPI.  But when I excuted with below data getting error " INTERFACE DATA CONTAINS ERRORS"
    I am passing these data:
    Hedaer: Ref_doc_no - PO Number
                  Description:
                 Process Type: "CONF"
    Header_cust:  parent_guid : PO GUID
    Item: Parent: PO Header GUID
            PO Number: PO number
            PO GUID: PO HEDAER GUD
            PO ITEM Number: PO item Number
           PO_ITEM_GUID: po item guid
    Account:
                   Parent_GUID : PO Item GUID
                   G/L acct : Po G/l acct
                   cost center : PO cost center
    what are the data sholud be passed to this BAPI?
    Am I missing any input data to this BAPI? Please let me know.
    Am I using correct Function Module to create a confirmation for a PO in Stand alone scenario?
    Thanks.
    Shears
    Edited by: Shears80 on Sep 10, 2010 1:39 AM

    Hi Matt
    I'm using the same FM but it's not working. Can you please share what data you are passing in the FM.
    After debugging I found that my confirmation is getting created but it's not getting saved.
    Please enlighten me.
    Thanks
    Ankit

  • WSDL data connection error after Form Server xdp render

    Hi
    I have a wsdl data connection inside an xdp after I render the xdp as pdf and reader extend the form when I click on the button to execute the web service method a pop up box appears saying the data connection has no properties. I am using LiveCycle Forms and Reader Extensions 8.1.
    Thanks

    Hi Paul
    Thanks for the reply.
    Reader extensions wasn't the problem, it was how I was manipulating the xdp before rendering.
    Thanks

  • Using Crystal Report Data Connection in Xcelcius 2008

    The documentation does not explain how data to populate row, column and details is passed to SWF.
    Can some-one please point how CR Data Connection when created in Xcelcius 2008 is used in Crystal Report Design time ? Is it through Flash variables? Basically more details are needed for "when setup properly" clause. How to map Crystal Reports Fields to Xcelcius Definitions.
    Thanks
    Harish Tejwani
    From Doc:
    "With the release of Crystal Reports 2008, it is now possible to embed an Xcelsius-generated SWF file into a Crystal Report and have the SWF consume data from that report. When set up properly, refreshing the data in your Crystal Report will update the embedded SWF.
    To configure your Xcelsius SWF to consume data from its Crystal Rport source data, you must open the Data Manager in Xcelsius and add a new Crystal Report Data Consumer connection. After adding the connection, bind the following ranges to your spreadsheet:  Row Headers, Column Headers, Data"
    "Using Crystal Reports 2008, embed the SWF file into the Crystal Report source data file. When designing your Crystal Report, you will determine what fields/data populate the Row Headers, Comumn Headers, and Data ranges that were designated in your Xcelsius SWF. When set up properly, refereshing your Crystal Report will also refresh the data being sent to and consumed by the embedded SWF. See"

    <div class="content">
    <p>
    Please check the following post to see if there is a solution to the issue you are experiencing:
    </p>
    <p>
    <a href="/node/19014"><span style="color: #0063af">http://diamond.businessobjects.com/node/19014</span></a>
    </p>
    </div>

  • Data Binding using XML as data connection

    I'm using an XML as my data connection. It has several order fields in various sections that have unique field identifiers. I have created a random order # script that runs fine inside of the form that occurs on the first order number field but I need that same number to populate into each of the additional order fields, again that have unique identifiers. Is there a way to combine data fields?
    Thanks!

    usually you can make the binding global and all same named fields will end up with the same value. You may not be able to do that if you have bound your field to a data node in your XML. If that is the case then you will have to do it programatically. Lets assume you have Order_Number on Page 1 and Order_Number2 on Page 2. You would code on the calculate event of the 1st Order_Number field (the one where the number is calculated) - form1.Page2.Order_Number2.rawValue = form1.Page1.Order_Number.rawValue;
    You can add multiple statements to equate that value to other instances of the field as you see fit. Now when any one of those values changes all of the others will be updated auto-magically!

  • Does GPS use the internet data connection?

    Hi everyone,
    I'll be using a German iPhone while traveling all over the world. The data connection is free within Germany (in other words, flat-rate internet) but quite expensive out of the country, 49 euro cents per 50kb block when I'm in the US, for example... I was hoping to use the GPS/map function a lot, but I'm afraid this will be expensive...
    Does the GPS/map function actually use the internet connection, for which I'll be charged per 50kb block?
    Or is GPS a separate kind of connection?
    I was hoping to just casually surf the web while traveling on trains across the globe, but I guess that would be a very expensive pastime...
    Thanks!
    Alexandra

    There is no charge for accessing GPS, but maps data is not stored locally on the iPhone. When using the Maps application, all maps data is downloaded from the internet - via an available wi-fi network you have access to, or via the cellular network. You can access GPS alone without a wi-fi or cellular connection, but it won't do you much good without any maps data.

  • Infopath 2013 SOAP Web Service Data Connection - Error: The file is not a valid XML file

    Here are the steps to replicate the issue I’m having when adding lists.asmx or any other SharePoint web service in InfoPath 2013. This web service opens fine in the browser from my desktop. My account is a farm administrator and is added to the
    web application’s User Policy.  I can use these services just fine using Nintex 2013 Workflow.
    Open InfoPath Designer 2013.
    Select Blank Form and click Design Form button.
    Click “Data” tab.
    Click “From Web Service” and select “From SOAP Web Service”
    Enter https://mysiteurl.com/_vti_bin/lists.asmx?WSDL for the web service definition.
    Click Next.
    Windows Security window pops up.
    Enter a credential. I tried both my account and the farm account. My account is a farm admin and is added to the web application’s User Policy with Full Control.
    Click OK. It prompts for credential multiple times.
    I get below this error messages: 
    Sorry, we couldn't open https://mysiteurl.com/_vti_bin/lists.asmx?WSDL
    InfoPath cannot find or cannot access the specified Web Service description.
    The file is not a valid XML file.
    Not enough storage is available to process this command.
    We have a project that is in need of these services using InfoPath so any help is greatly appreciated.

    Hi Brian_TX,
    For your issue, try to the following methods:
    Change your service binding in web.config to:binding="basicHttpBinding". It seems in VS it defaults to wsHttpBinding.
    Replace all instances of "parameters" from the web service wsdl with the name "parameter"
    There are some similar articles about the issue, you can have a look at them:
    http://www.infopathdev.com/forums/t/23239.aspx
    https://social.msdn.microsoft.com/Forums/office/en-US/621929c3-0335-40af-8332-5a0b430901ab/problems-with-infopath-web-service-connection?forum=sharepointcustomizationprevious
    https://social.msdn.microsoft.com/Forums/en-US/5fa5eca8-f8d7-4a2e-81ba-a3b4bdcfe5af/infopath-cannot-find-or-cannot-access-the-specified-web-service-description?forum=sharepointcustomizationlegacy
    Best Regards
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • Sharepoint 2010 Remote Development using Visual Studio 2013 Connection Errors

    I have a customer who is using a custom skinned site developed in Sharepoint 2010.
    I am trying to debug a webpart that is not loading on a page.
    My Environment:
    Local Laptop running Win 7 64 Enterprise, Visual Studio 2013, and Sharepoint Designer 2010.
    I connect to the customers network via VPN and use RDP to access the server. I have Admin rights to the server.
    Everything that I have read indicates that Web Part dev has to be done in VS. When I try to connect using server explorer, VS kicks back a 'Server Can not be found' error.
    I have tried using the computer name, the app url listed in SP Central Admin, the IP address of the box, and the actual URL of the site. However, VS can not connect to the server.
    I have done some homework on connecting VS to a remote machine:
    Adding New Servers in Server Explorer
    http://msdn.microsoft.com/en-us/library/edfcxas2%28v=vs.71%29.ASPX
    Add Server Dialog Box
    http://msdn.microsoft.com/en-us/library/107b72aa%28v=vs.71%29.ASPX
    SharePoint -how to connect remotely to production server
    http://stackoverflow.com/questions/3188364/sharepoint-how-to-connect-remotely-to-production-server
    SharePoint 2010 Development with Visual Studio
    http://stackoverflow.com/questions/10529917/sharepoint-2010-development-with-visual-studio
    Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008
    http://msdn.microsoft.com/en-us/library/ee554869%28office.14%29.aspx
    Using SharePoint Designer 2010 to Work with Web Parts
    http://msdn.microsoft.com/en-us/library/ff630941%28v=office.14%29.aspx#odc_sp14_qn_UsingSharePointDesigner2010WorkwithWebParts_CreateXSLTListView
    The last connection article is confusing because one of the SO answers indicates that you do not need to have SP2010 installed.
    I have been doing lots of reading on SP structure, and it seems to jump all over the place. (Or at least my research does). I have been reading this Ebook:
    SharePoint 2010 Development with Visual Studio 2010
    http://books.google.com/books/about/SharePoint_2010_Development_with_Visual.html?id=TVKICs4vHTcC
    My questions are:
    Why cant I connect to the Server if I connected through VPN which would inherently make the server a local network computer?
    Do I need to have VS installed on the actual server? I read that I can install Sharepoint Foundation locally and this will give me access to the server in VS.
    Do I need to have the full version of VS installed in order to use Remote Tools?
    For the Web Parts:
    Why cant I see the web parts in Sharepoint Designer? I take it they are exclusively designed in VS, which brings me back to the questions above.
    In Sharepoint Designer, I can see a custom view that was created from a custom list. I want to add that list to the page where the web part isnt working. When I open up the Edit Interface, and try to find that list, it does not display in the 'Lists and Libraries'
    menu

    Hello,
    As per your description, remote deployment is not possible for server side code in sharepoint so if you are using server object model then you won't be able to debug or deploy your solution from visual studio.
    VS is not required to installed on UAT/prod server but you need sharepoint along with visual studio in same development machine to develop any custom webpart.
    Once you deploy your custom webpart on site then you will be able to see that webpart in webpart gallery and that gallery is also available in designer so it means you can also add your custom webpart from designer to any page.
    Correct me if i misunderstood you
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Object Reference / Data Connection Error may be due to web.config

    i am just a beginner in webpart and facing error in my webpart when connecting to database,
    error is: object reference not set to an instance of an object.
    troubleshooting tips is
    check to determine if the object is null before calling the method
    error occur on this line:
    SqlDataAdapter dba = new SqlDataAdapter(QryString, ConfigurationManager.ConnectionStrings["QString"].ConnectionString);
    where QString is reference to my web.config file which contains
    <connectionStrings>
    <add name="QString" connectionString="Data Source=(local)\SP2013;Initial Catalog=SPUserAuthWP;Integrated Security=True;" providerName="System.Data.SqlClient"/>
    </connectionStrings>
    As in webpart solution explorer, web.config not automaticaly add so i add it maunally.
    kindly guide how to overcome this problem

    Hello,
    Just find "</SharePoint>" web.config and paste below tag just below of   "</SharePoint>". You also need to pass userId, password and DB server name/IP in below connection string.
    </SharePoint>
    <connectionStrings>
    <add connectionString="user id=username; password=password; Data Source=your DB server name;Initial Catalog=SPUserAuthWP" name="QString" />
    </connectionStrings>
    Then use below code:
    string strcon = System.Configuration.ConfigurationManager.AppSettings["QString"];
    using (SqlConnection con = new SqlConnection(strcon))
    {//your code goes here}
    Let us know your result
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Write to SharePoint 2007 list using Web Services, getting Soap error

    Hello! I have never worked with XML or SharePoint's Web Services but am not facing a need to use it. I am attempting to write to my SharePoint 2007 list with the following code and am getting the following error :
    Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
    Here is my code I copied from Phil on StackOverflow
    Dim lists As New BofaListWebReference.Lists() lists.Credentials = System.Net.CredentialCache.DefaultCredentials
    Dim listguid As String = "{my list guid}"
    'Get Name attribute values (GUIDs) for list and view.
    Dim ndListView As System.Xml.XmlNode = lists.GetListAndView(listguid, "")
    Dim strListID As String = ndListView.ChildNodes(0).Attributes("Name").Value
    Dim strViewID As String = ndListView.ChildNodes(1).Attributes("Name").Value
    'Create an XmlDocument object and construct a Batch element and its 'attributes. Empty string as view means use the default view.
    Dim doc As New System.Xml.XmlDocument()
    Dim batchElement As System.Xml.XmlElement = doc.CreateElement("Batch") batchElement.SetAttribute("OnError", "Continue") batchElement.SetAttribute("ListVersion", "1") batchElement.SetAttribute("ViewName",
    strViewID)
    batchElement.InnerXml = "<Method ID='1' Cmd='New'>" + "<Field Name='Title'>test</Field>" Try
    lists.UpdateListItems(strListID, batchElement) Label1.Text = "Call Escalated to sharepoint, ok." Catch ex As Exception
    Label1.Text = ex.ToString
    End Try
    Sorry, the pasting of the code didn't work as expected.
    Any help on getting me the ability to write to my list will be greatly appreciated.

    Hi Manzutto,
    Not sure if you have attached the whole code in the post.
    If so, it contains errors in the Batch Element file, <Method> tab should have </Method> in the end.
    batchElement.InnerXml = "<Method ID='1' Cmd='New'>" + "<Field Name='Title'>test</Field></Method>"
    And the element in the batch element xml is case sensitive. Please make sure you have the xml file with correct format.
    More information, How to: Update List Items:
    http://msdn.microsoft.com/en-us/library/office/ms440289(v=office.14).aspx
    Thanks,
    Qiao Wei
    TechNet Community Support

Maybe you are looking for

  • Old domain was removed and Unable to login as domain administrator account in windows 7 laptop

    I have a problem with a laptop which is in old domain, due to some issue I need to uninstall some of the programs on that machine for that it is asking administrator password, so when I was entering old domain's administrator account password it is n

  • Server 2012: Enabling Hyper-V Replica Site to Site Failure

    We recently installed Server 2012 Data Center with Hyper-V on a two servers at two different sites: Main Site and DR Site. Hyper-V is enabled and working great at both sites on these servers and now trying to configure Hyper-V replica gets us this re

  • SM 58 error urgent

    hi , i am doing idoc to file . in sm 58 I getting this error"No service for system SAP<sid>, client 220 in Integr ation Directory " . i have configure r/3  & 3 rd party  systems  as bussines system . please can anyone tell me where i need mention sap

  • SharePoint 2013 Infopath Web Service Get File within list permissions

    Hello, I am looking for a web service to pull a form within a form libraries permissions.  So a user creates a form and requests access for him/herself and whomever he/she wants to have access to the form, I then go to file share with and grant only

  • Shutdown from LXDE

    I followed the wiki to enable shutdown on LXDE, but it is not working. I endabled HAL and DBUS. This makes the options appear, but when I press the buttons I get back the desktop. The wiki says to edit /etc/PolicyKit/PolicyKit.conf, but I can't see t