Data adapter failed during OnLoad: The UDC file contains errors: '=' is an unexpected token. The expected token is ';'.

I am working on SharePoint 2010 Infopath form, i have created one secondary connection to SharePoint List view using XML Connection it works fine.
For the deployment from DEV to PROD i converted this connection to universal data connection (UDC) and tested this before deploying to PROD but i m getting below error.
An error occurred querying a data source.
i checked ULS logs and found below details
Data adapter failed during OnLoad: The UDC file contains errors: '=' is an unexpected token. The expected token is ';'. Line 17, position 108.
UDC file is below
<?xml version="1.0" encoding="UTF-8"?>
<?MicrosoftWindowsSharePointServices ContentTypeID="0x010100B4CBD48E029A4ad8B62CB0E41868F2B0"?>
<udc:DataSource MajorVersion="2" MinorVersion="0" xmlns:udc="http://schemas.microsoft.com/office/infopath/2006/udc">
<udc:Name>LastItemID</udc:Name>
<udc:Description>Format: UDC V2; Connection Type: XmlQuery; Purpose: ReadOnly; Generated by Microsoft InfoPath 2010 on 2014-04-25 at 16:49:31 by DOMAIN\username.</udc:Description>
<udc:Type MajorVersion="2" MinorVersion="0" Type="XmlQuery">
<udc:SubType MajorVersion="0" MinorVersion="0" Type=""/>
</udc:Type>
<udc:ConnectionInfo Purpose="ReadOnly" AltDataSource="">
<udc:WsdlUrl/>
<udc:SelectCommand>
<udc:ListId/>
<udc:WebUrl/>
<udc:ConnectionString/>
<udc:ServiceUrl UseFormsServiceProxy="false"/>
<udc:SoapAction/>
<udc:Query>https://contoso/_vti_bin/owssvr.dll?Cmd=Display&List={32364DED-7FE3-4276-837C-F2AC62C04B81}&View={804CC528-34B2-4473-89DB-C4E766CACC95}&XMLDATA=TRUE&NOREDIRECT=TRUE</udc:Query>
</udc:SelectCommand>
<udc:UpdateCommand>
<udc:ServiceUrl UseFormsServiceProxy="false"/>
<udc:SoapAction/>
<udc:Submit/>
<udc:FileName>Specify a filename or formula</udc:FileName>
<udc:FolderName AllowOverwrite=""/>
</udc:UpdateCommand>
<!--udc:Authentication><udc:SSO AppId='' CredentialType='' /></udc:Authentication-->
</udc:ConnectionInfo>
</udc:DataSource>
w: sandippatilblog.blogspot.com/

Hi  Sandip ,
How about escape “&” to “&amp;” as below:
<udc:Query>https://contoso/_vti_bin/owssvr.dll?Cmd=Display&amp;List={32364DED-7FE3-4276-837C-F2AC62C04B81}&amp;View={804CC528-34B2-4473-89DB-C4E766CACC95}&amp;XMLDATA=TRUE&amp;NOREDIRECT=TRUE</udc:Query>
Reference:
http://social.technet.microsoft.com/Forums/en-US/534fae6b-2cef-4947-86e2-4869cb291cfe/the-form-cannot-be-opened-because-it-requires-the-domain-permission-level-log-id-5566-error?forum=sharepointcustomizationlegacy 
http://stackoverflow.com/questions/3493405/do-i-really-need-to-encode-as-amp
Best Regards,
Eric
Eric Tao
TechNet Community Support

Similar Messages

  • File adapter fails to pickup the complete file

    Hi Guys,
    I have a file to idoc scenario configured.
    Sender is an FTP server and the file type is XML
    Here are the details of my file adapter
    FTP Connection parameters,
    Connect Mode      : Permanently
    Transfer Mode     : Binary
    Processing parameters,
    QoS     : Exactly Once
    Poll Interval     : 15 secs
    Processing Mode     : Archive
    Most of the time my scenario works perfectly fine.
    And sometimes my file adapter fails to pickup the complete xml file and my scenario fails.
    The file is read partially and my mapping throws an error.
    Am i missing any parameter to be set in File adapter???
    Thanks in Advance,
    BBnu

    >>The file is read partially and my mapping throws an error.
    Thats the normal behaviour of XI,if you get a partial file,you will get a error message.
    There are several work arounds for this,first of all have a script independant of XI which is running on FTP server,this script will keep on checking for modifications in file and once the file is completely written,it will rename the file to some other extension(for e.g .dat) and XI file adapter will only pick .dat file,this will make sure that only complete files are picked up.
    Second option is to have a tag all the way in the end of XML which says EOF(of any other character),in your mesage mappin create the root node of target only if this last tag is EOF.Since in incomplete file you will not have this last tag,message processing will stop.
    Thanx
    Aamir

  • SMS_DISCOVERY_DATA_MANAGER Message ID 2636 and 620. Discovery Data Manager failed to process the discovery data record (DDR)

    Hi
    I'm seeing this critical error on my primary.
    SMS_DISCOVERY_DATA_MANAGER Message ID 2636 and 620. 
    Discovery data manager failed to process the discovery data record (DDR)"D:\Prog.....\inboxes\auth\ddm.box\userddrsonly\adu650dh.DDR", because it cannot update the data source.
    Where these ddr's are actually under ddm.box\userddrsonly\BAD_DDRS folder
    I see a ton of DDR files in that folder. Not sure if I can delete them, so I moved them to a temp folder. AD User discovery keeps generating them.
    Any help ?
    Thanks
    UK
    

    Check the ddm.log file for more information.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • When MAIL adapter failed to send the mail to recever, how does it handle XI

    Hi Experts,
            I used dynamic mail adapter, how do we track whether the mail has been successfully received by receiver,  if it is failed to send the mail by mail adapter how do we handle in XI. Please help me out.
    thanks
    siva

    Siva:
    There is one option in Mail Adapter (Receiver) "Send Delivery Status Notification". I think, it will help you to get the status. When you fill the above option, you are required to fill a recipient email id to whom, the status of the email will be emailed. From there, you can get the status. Please dig little more into this.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

  • Why would a JSP output all data but fail to end the request?

    Hi all,
    I have a JSP which outputs some data, includes a servlet in the same application which outputs table rows, and then outputs the end of the page. I'm running iAS 6 SP4 on Solaris with iWS 6.0.
    My problem is that requests complete successfully and output all data but the page continues to "load": it renders in the browser window, says Opening .... in the progress bar, but never finishes. When I stop the request and view the HTML, everything is there, right down to the last tag. So both the JSP and servlet are running to completion, but somewhere the request is not being terminated.
    This is a problem because iAS will not serve any further requests to that specific application until the server is restarted. It will continue to serve pages to other applications on the same server. When shutting down the following errors are put to the log file:
    [30/Jan/2002:09:52:17] info (12980): GXConn::GetNextBuffer() reports: invalid reply type received in GetNextBuffer (conn 0x3c38f48, sock 0, host 0x0, port 0)
    [30/Jan/2002:09:52:17] info (12980): GXConn::GetNextBuffer() reports: invalid reply type received in GetNextBuffer (conn 0x3c38f48, sock 0, host 0x0, port 0)
    [30/Jan/2002:09:52:17] info (12980): gxrequest.cpp:gxrequest() reports: End req /NASApp/pricing/
    [30/Jan/2002:09:52:17] info (12980): gxrequest.cpp:gxrequest() reports: End req /NASApp/pricing/results.jsp
    I have many other JSPs which include servlets in the same application which work perfectly, and I am unable to reproduce the error on any other pages.
    Any help would be appreciated.
    Thanks,
    Scott

    Things are always clearer in the light of morning. Passing false for the inline argument to PDEContainerCreate() is the cause.

  • Failed to open source schema file:null Error Xform File Creation - CustomerPartyEBM

    Hi All,
        We are creating a Provider ABCS which is generated by AIA Service Constructor with SyncCustomerPartyList Operation in CustomerPartyEBM, We are able to compile the process susccesfully but when we create a Trasformation file with source as CustomerPartyEBM and Target has Siebel ABM, then the xsl file in design view pops up a error message saying - "Failed to open source schema file:null". When tried with other EBM's its working fine its only for CustomerPartyEBM.
    Do anyone had idea on this?
    Thanks a lot,
    RR.

    Thank you both for your responses.
    You were on the right track.
    I was attempting to use a 'dodgy' brand (SKY-Silver) of DVD-R for the creation of the disk set.
    On changing over to TDK disks, the problem did NOT repeat.
    Strangely enough, the dodgy ones worked great for creating copies of the set once it was completed.
    Again, thanks to you both.

  • Failed to find/read tar file:02 error loging in to my mobile bank

    Hello
    When I try to log into my online account on DNBNor bank (Norwegian Bank) using BankID Mobile I get this error for the last week:
    "Failed to find/read tar file:02"
    I have iPhone 3GS with iOs 4.2.1, and I have tried restore twice, same error.
    This have worked earlier, and I'm sure it have worked after I upgraded to iOS 4.2.1.
    Anyone have any ideas what can be wrong, where to look?
    Thanks
    Kjell Arne

    What is the path and start page that you have specified on
    the first page of the FlashHelp layout dialog?
    --Ben

  • FTP adapter fail to move 10 MB file

    Hi ,
       I am trying to move a file.
    1. Size 10MB, FTP adapter.
    2. No Mapping
    3.Options tried
    ---3.1  With out having and repositary objects and using  a dummy interface.
    ---3.2  Using the same message type for outbound and inbound with out any mapping.Reading entire row in to one field.
    4. Result
       4.1 Good with small file with 1000 records(or)
       4.2 Success 1 in 4 times for 10MB file.
       4.3  Error like this when eror occurs
    <SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED><BR>
    </SAP:Code><BR>
    <SAP:P1>405</SAP:P1>
    <SAP:P2>ICM_HTTP_INTERNAL_ERROR</SAP:P2> <BR>
    <SAP:Stack><BR>
    Error when receiving by HTTP <BR>
    (error code: 405, error text: ICM_HTTP_INTERNAL_ERROR)<BR></SAP:Stack>
      Any help would be Appreciated.
    Thank you
    Ganges Leaves

    Hi Ganges~
    If huge load of messages are coming it happens.
    Refer SAP Note - 906435
    Check this thread~
    Performance issue and Error in ICM in case of a lot of messages
    error code: 400, error text: ICM_HTTP_CONNECTION_FAILED
    Hope this helps,
    Regards,
    Moorthy

  • Vritual Fibel adapter failed to start the Virtual Machine

    Hi All,
    I have installed windows server 2012 R2 RTM with Hyper-V. I have created virtual machine with virtual fiber channel adapter connected to physical one. When I start the virtual machine it gets failed to start and the following error occurs.
    Thanks,

    take a lool on that
    http://social.technet.microsoft.com/wiki/contents/articles/18698.hyper-v-virtual-fibre-channel-troubleshooting-guide.aspx
    I guess also that some Part of the Chain do not Support all needed Settings like NPIV.
    dealing with vFC inside a Guest ist really tricky and following Support Matrix is really key, it starts on the FCP SAN Array and Ends up having the latest Hotfixes regarding vFC Problems. Between you need to have all Setup right and supported Drivers,
    FW and so on.
    In my view using this Feature you loss the my most Importent Sexy Thing why i do Virtualisation ? beeing seperate from the HW Layer.
    Udo

  • Error message in iPAD 3 = Request X-Date header is outside of the expected range

    I see the above error message for all requests in the Sky go app. For other devices on the same network there is no error and the service works ok. The ipad is running all other apps ok and I can see other on-line provders fine  - such as ITV, BBC, etc. I have tried changing the date and time, deleting and re-installing, running with / without a VPN service, etc. I think this is a deep HTTP  / XML level error, but as there's been no ios upgrade recently I can only assume that there's been some other change maybe in the app itself. 

    To overcome this error follow the below instructions: Click Into general settings,Time and dateMake sure the set automatically tab in on. This worked for me.Trace011179 wrote:
    I see the above error message for all requests in the Sky go app. For other devices on the same network there is no error and the service works ok. The ipad is running all other apps ok and I can see other on-line provders fine  - such as ITV, BBC, etc. I have tried changing the date and time, deleting and re-installing, running with / without a VPN service, etc. I think this is a deep HTTP  / XML level error, but as there's been no ios upgrade recently I can only assume that there's been some other change maybe in the app itself.  

  • Failed export to Excel PDF files contain XFA forms cannot save in specified format

    Has this excercise been a waste in time and money. Like my car I will put petrol oil water and air where they need to go but don't care how they make the car work as long as it goes

    Converting forms to fill them in is never a good idea; if they are official forms it can be a catastrophe. Keep the forms as PDF, don't convert.
    XFA forms are ALREADY FILLABLE. If you can't fill it there is a fault.

  • Udev update: udev.rules file contains errors [was: dbus+hal update]

    I am aware of the fact that there are already a few topics and a bug report (http://bugs.archlinux.org/task/6351) concerning the recent dbus & hal upgrades. However, my case seems different and more complex. I am not even sure if this is directly related to the others' issues.
    Since the update to dbus-1.0.2-2 my system does not follow some dbus rules any more. The recent follow-up update to dbus-1.0.2-3 did not remedy my problems, either.
    I think that this is due to the /etc/udev/rules.d/udev.rules file having become corrupted with the recent updates. Under the sections
    #pty and tty legacy devices
    and
    #vc devices
    several KERNEL=[...] lines have errors, at least the final double quotation marks are missing!
    So far my problems are as follows:
    - Intel i810 video driver fails to load: "No matching device [...] found".
    - Thinkpad's nvram is not get created in /dev
    - no pty devices / no ttyp devices are created in /dev. Therefore, none of my X-based consoles will start. Konsole, for example, exits with "Konsole is unable to open a PTY [...]".
    I will investigate further and report. Anyone eslse experiencing similar problems?
    Btw., contrary to the experience of others, removable devices are recognized and mounted.
    Last edited by mutlu_inek (2007-02-07 02:52:34)

    Those errors I found were actually introduced a few days ago by udev-105-1! The /etc/udev/rules.d/udev.rules provided by that package has errors!
    Correcting those errors brought back my beloved pseudo teletypes in /dev/pts/X. But the nvram device is still not created.
    Update:
    Here is the diff output of udev-105-1's udev.rules compared with what it should be:
    --- udev.rules 2007-02-06 21:20:06.000000000 -0500
    +++ udev.rules_corrected 2007-02-06 21:16:36.000000000 -0500
    @@ -143,8 +143,8 @@
    SUBSYSTEMS=="scsi", KERNEL=="sg[0-9]*", ATTRS{type}=="6", GROUP="scanner"
    # pty and tty legacy devices
    -KERNEL=="pty[a-z][a-z,0-9]*", NAME="legacy/%k", OPTIONS="last_rule
    -KERNEL=="tty[a-z][a-z,0-9]*", NAME="legacy/%k", OPTIONS="last_rule
    +KERNEL=="pty[a-z][a-z,0-9]*", NAME="legacy/%k", OPTIONS="last_rule"
    +KERNEL=="tty[a-z][a-z,0-9]*", NAME="legacy/%k", OPTIONS="last_rule"
    # md block devices
    KERNEL=="md[0-9]*", NAME="md%n", SYMLINK+="md/%n"
    @@ -166,8 +166,8 @@
    KERNEL=="vcs[0-9]*", NAME="vcc/%n", OPTIONS="last_rule"
    KERNEL=="vcsa", NAME="vcc/a0", OPTIONS="last_rule"
    KERNEL=="vcsa[0-9]*", NAME="vcc/a%n", OPTIONS="last_rule"
    -KERNEL=="ptmx", MODE="0666", OPTIONS="last_rule
    -KERNEL=="tty", MODE="0666", OPTIONS="last_rule
    +KERNEL=="ptmx", MODE="0666", OPTIONS="last_rule"
    +KERNEL=="tty", MODE="0666", OPTIONS="last_rule"
    # video devices
    SUBSYSTEM=="video4linux", GROUP="video"
    Last edited by mutlu_inek (2007-02-07 02:44:24)

  • Disconnected Application Cache .CSV file contains error Code 4

    Dear All,
    Recently we are facing an issue in our BI application . We have implemented Disconnected Application Cache via ibots in our application . We have used preprocessed sync and according to the process what it does is , it saves the data in .csv files into server by making folders of disconnected users.
    Currently , we fould and issue that particular report does not contain data in disconnected mode. Whne we backtraced the issue we found that , the underlying table for the report is empty and when we further investigate we found that , the .csv file kept in server against Uset folder contains an error code , which is :
    <error><error Code>4</error Code></error>TS
    For this reason no data is there in csv files and the disconnected report is also showing emmpty columns for that.
    Can anybody please help me solving this issue . I am not sure why this error happens and what this kind of error code signifies.
    As it is a production issue, it becomes very urgent to solve this . Can anybody please give me some idea how to resolve this one.
    Thanks and Regards,
    TG

    Are you sure that the input file (e.g. "Downloads/filetoberead.CSV") is in UTF-8 character set? You can also check it using some text editor having a view in hex mode. If each Cyrillic character in your input file occupies a single byte (instead of two), then the file is not in UTF-8. Most probably it is in Cyrillic for Windows (CP1251).
    If this is the case, you should modify the line
    BufferedReader br = new BufferedReader(new InputStreamReader(in,"UTF-8"));toBufferedReader br = new BufferedReader(new InputStreamReader(in,"windows-1251"));Dimitar

  • Mofcomp.exe failed, delete the classes and retry compiling, 0x8004400a unexpected token at file scope, Primary DP will not validate

    I have SCCM 2012 R2 CU3. Before when I've had DP problems it was always with secondary DPs. Now I've got an issue with my primary DP. Content will not validate on the main DP, called DP1. In Monitoring Distribution Point Configuration Status there are repeated
    errors about "Failed to validate package ABC12345\\fqdn". On the site server in distmgr.log this entry repeats over and over:
    "Mofcomp.exe failed, delete the classes and retry compiling E:\program files\microsoft configuration manager\bin\64\smsdpprov.mof
    Failed to compile MOF file. Error code 2."
    The problem is I don't know what classes it's talking about, nor how to delete them, nor can I find anything directly applicable about this error. I did run "mofcomp.exe smsdpprov.mof" anyway but I get the error "error syntax 0x8004400a: unexpected
    token at file scope. Compiler returned error 0x8004400a."
    This DP1 was working fine until a few days ago. We haven't made any upgrades/changes to the server either.
    We sent a package just to DP1 and it did deploy the content, so it appears that it just can't validate.
    Thanks for any help.
    Ben JohnsonWY

    Hi,
    About the error in Mpcontrol.log, you could try to uninstall the MP, reinstall IIS components, then install MP to see if it can resolve this issue.
    If not, please have a look at the following blogs.
    Support Tip: ConfigMgr 2012 Management Point fails
    with a 500 error after working fine for a short period of time
    SCCM MP Internal Server Error ISS Call to HttpSendRequestSync
    failed for port 80 with status code 500
    From you description above, you reinstalled the DP. Did you reinstall the IIS components during the DP reinstallation? If not, please try to reinstall the IIS components.
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • The data source control failed to execute the insert command

    Hi,
      We have installed SharePoint 2010 on Windows Server 2008 Enterprise Edition. We've started using the "Employee Training Scheduling and Materials" template that is available at
    http://www.microsoft.com/government/en-us/campaigns/Pages/SharePoint-Templates.aspx. Till last friday (17th Oct,2013) everything was working fine, but after that we are getting an error "The data source failed to execute the insert command"
    when I click on the "Save" button available on the Registrations.aspx. Could any one help me resolve this issue?
    Kinldy revert if you need more details.
    Though I see many posts regarding this, most of them are associated with Windows Server 2008 R2. So, most of the hot fixes mentioned there could not help me.
    Your help me is greatly appreciated. Thanks for taking time to go through this post.
    Thanks and Regards
    Praveen.
    Thanks and Regards Praveen.

    I have the exact same problem. I updated the 2007 Employee training template to the 2010 version and then 2 months ago, presumably when our Sharepoint had the July 10th patch 14.0.7102.5004 applied, it all broke. An attempt to register for a class always
    comes back with "Failure to execute insert command".
    I tried changing the DateSourceMode from "ListItem" to "List"  that gets rid of the error but does NOT update the registrations list.
    Anyone have any success fixing this?

Maybe you are looking for