Submit Button error - Data Connection failing

I am the form designer and am currently testing a new form I have created, however there is an error with my submit button which Saves the form to SharePoint, I receive the following error message:
InfoPath cannot submit the form.
An error occurred while the form was being submitted.
The form cannot be submitted to the following location: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml
The file: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml" is checked out for editing by DOMAIN\MyUserName.
The operation completed successfully.
The form is not checked out to me, or open by anybody else, also check out functionality is not forced on this SharePoint library.
On searching forums I have read about using friendly server names and I am using the server's name in the URL, i.e.
http://servername instead of the alias
http://intranet - this had solved the problem in other forms, but not this one.
Looking closely at the rules on my submit button, the following actions occur:
1st rule checks the selection of certain fields, if the conditions are right it will set the values of 3 different fields.
The 2nd rule saves to SharePoint using a data connection (please note this data connection works fine on different submit buttons in different views). The second rule also closes the form.
To test where the error occurs I added a series of actions to display messages, and the problem is definitely on the data connection rule.
The data connection is to save to a Sharepoint library, using a field called "filename" as the file name. The data connection allows overwrites. The file name is set the first time a file is saved (it has a condition which checks a field which
gets set upon any save event - if this field is set to 0 filename gets set and this field gets set to 1 - because this field is now equal to 1, the filename field will nwever get set again).
I have 2 views on the form, one named phase 1, the other named phase 2. When the custom submit button is pressed on the phase 1 view, my data connection works, but on the save 2 view, the exact same data connection fails with the error message above.
I am using Windows 7, InfoPath 2010, SharePoint 2010, InfoPath filler form).
In Windows XP, for a different user, the error messaeg is a little different, and the form does actually save:
InfoPath cannot submit the form
An error occurred while the form was being submitted
The form cannot be submitted to the following location: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml
The file is in use by another application or user.
As I said the form does actually save its changes but still throws up this error message which will be very confusing to end users.
I've exhausted all avenues that I know of to find the cause of the error messages and I'm at a loss, please help!
Thanks,
Ben

bgvball14. I found that the error was down to the friendly name / server name issue. I have made sure that everything uses the friendly name e.g.
http://intranet instead of the servername e.g.
http://servername. I made sure the data connection and all options in the publishing wizard are set to the friendly name. There were still some forms that didn't work though - this was because when trying to fix this problem I had switched several times
between using the friendly /server names and some forms were looking for the template with the server name (these didn't work), other forms looked for the friendly name (these did work).
What I did was open my form library in windows explorer view and then drag each form into Notepad so I could see the source code. On the top two lines I could see the reference to the template and in some cases the template weas referenced using the server
aname, which I changed to the friendly name and this worked. I did have to check every form in the library. Basically, everything should reference the friendly name (e.g.
http://intranet.
Ben

Similar Messages

  • Creating new Data Source Error - Database connection Failed

    Successfully installed and configured 11.1.1.3.0. Planning and Essbase dev.
    Went to Workspace > Administer > Classing Planning Administration > Manage Data Sources > Create Data Source.
    Entered all info about the application database , etc. Getting error "The database connection failed" (I was able to connect with no problem during the install)
    SQL server 2005 is on the same physical server.
    The diagnostic tool shows database connection passed for planning. A new database was created for the new application.
    The server event viewer shows these errors.
    "Login failed for user 'xxx-hyperion'. The user is not associated with a trusted SQL Server connection."
    Group Policy Error "The client-side extension could not apply computer policy settings for 'Default Domain Policy {xxx}' because it failed with error code '0x80070003 The system cannot find the path specified.' See trace file for more details. "
    The Group Policy client-side extension Group Policy Services failed to execute. Please look for any errors reported earlier by that extension.
    Any help is appreciated.

    Datasource for the application.
    I have created a sql db for this planning application (my datasource). See my first message for more details.
    When you create a new planning application, you need to associate it with a data source. Since this is a new install, I don't have any data sources available yet.
    So, "To create, edit or delete data sources, click Manage Data Source."
    This page lets you validate your connection to the database and essbase server. My essbase server connection validates! The database connection does not validate after I enter all the relevant information.
    SCREEN INFO BELOW
    Fields displayed with an asterisk (*) are mandatory.
    Data Source Name *:
    Data Source Description:
    Select Database Platform
    Microsoft SQL Server
    Application Database
    Server * :
    Port * :
    Database *:
    User *:
    Password *:
    Click "Validate Database Connection"
    ERROR ---> Database connection failed.
    So it does not let me create a data source for my new planning application, so I cannot create a new planning application.
    Thanks in advance.

  • Error "NetAuthSysAgent: ERROR: AFP_GetServerInfo - connect failed 64"

    Error ”NetAuthSysAgent: ERROR: AFP_GetServerInfo - connect failed 64”
    Some years ago I stopped to use my external network hard disc. Then I updated to Mac OS X 10.6. I guess from that time on, always at startup I had following error pop-up window:
    “There was a problem connecting to the server “networkspace.local”. The server may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again.”
    The console has this log lines:
    “NetAuthSysAgent: ERROR: AFP_GetServerInfo - connect failed 64”
    My file com.apple.AppleShareClient.plist look that way:
    What is wrong? How can I get rid of this error pop-up window.
    I moved now to Mavericks, but the same error occurs.
    Regards,
    M.

    Hi! I had the same problem. But I was faced with it just in a few days after first setup a new mac. And I needed to solve it .
    My problem was in mac firewall. One of my apps needed connection to my remote mac via afp. And it was added to firewall rules. Like a skype on this screeenshot (sorry for russian language, it is firewall settings window):
    I removed the app from this list and the problem was sold.

  • Passing values to subreport in SSRS throwing an error - Data Retrieval failed for the report, please check the log for more details.

    Hi,
    I have the subreport calling from the main report. The subreport is based on MDX query agianst the SSAS cube. some dimensions in cube has values 0 and 1.
    when I try to pass '0' to the sub report as the parameter value, it gives an error "Data Retrieval failed for the report, please check the log for more details".
    Actually I am using table for storing these parameter values. In the main report I am calling this table (dataset) and passing these values to subreport.
    so I have given like [0],[1] and this works fine. when I give only either [0] or [1] then it is throwing an error.
    Could you please advise on this.
    Appreciate all and any help.
    Thanks,
    Divya

    Hi Divya,
    Based on the current description, I understand that there is no issue if you pass two values from main report to subreport, while the issue occurs when passing one value to subreport.
    To narrow down the issue, I want to confirm whether the subreport can run if there is only [0] or [1] in the subreport. If so, it indicates the query statements exist error in the subreport. If it’s not the case, this shows the issue occurs during passing
    values from main report to subreport. To make further analysis, please post the details of query statements of the subreport to the forum.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Mifi 2200 - Error 691: Connection Failed - Access was denied ...

    I have set up a Mifi 2200. It CAN work great. Intermittently though, I can't get connected wheen using the device as a USB modem. It will ALWAYS connect fine when I connect through Wifi.
    The error I get: Mifi 2200 - Error 691: Connection Failed - Access was denied because the username and/or password was invalid in the domain.
    I have done all the usual things:
    1. Reinstalled the VZAccess Manager software including latest update. I am at 7.3.13.1 (2635a)
    2. Obtained all latest Windows updates (XP SP2).
    3. Removed, replaced, manually, auto-configured a Dial Up Connection many times.
    4. Replaced the USB to microUSB cable.
    I found the VZAccess Managers diagnostic tool where you press CTRL-D and enter the password diagvzw and see some additional settings.
    There I had a minor break through. There is a setting where I can force the modem to only use 1X. If I do that, I connect every time without fail. No problems, no errors. The moment I put that setting back to Auto or forced EVDO, I fail again, or only work every 20th try or so after a reboot of the device etc.
    Is anyone else seeing this, or getting this error? It can't be an account issue since it works sometimes on EVDO and ALWAYS fine on 1X.
    Thanks for any help or ideas.
    PN

    I think I have an update that might be a clue that it IS an Verizon issue either with the device itself or at the towers.
    I have determined that when I connect to it through WiFi where I mentioned it seems to ALWAYS work. Well, it always works in 1X mode there. It fails in EVDO mode.
    Something up at the towers? Although multiple towers have been tried.
    Anyone any ideas?

  • Please Help: Error! Connection failed to MaxDB (Linux)

    Hello,
    our current situation is, that we copied manually (after a system crash) all files under /sapdb from an old backup into the our (empty) Live system. Only the database files under sapdb/KRT/sapdata comes from the chrashed SAP system. These files are not lost.
    If we start the Sap System following messages appears:
    Checking ADA db Database
    ABAP Database is not available via R3trans
    Starting SAP-Collector Daemon
    09:04:34 27.04.2010   LOG: Effective User Id is root
    This is Saposcol Version COLL 20.95 700 - v2.12, AMD/Intel x86_64 with Linux, 2008/01/02
    Usage:  saposcol -l: Start OS Collector
            saposcol -k: Stop  OS Collector
            saposcol -d: OS Collector Dialog Mode
            saposcol -s: OS Collector Status
    The OS Collector (PID 5469) is already running .....
    saposcol already running
    Running /usr/sap/EC6/SYS/exe/run/startdb
    Trying to start database ...
    Log file: /home/ec6adm/startdb.log
    Database start failed
    DB startup failed
    Our system administrator is ill and i'm not a system administrator.
    Could you help me ?
    Thank's lot
    Franz

    Some additional informations:
    /home/ec6adm/startdb.log:
    Di Apr 27 09:04:34 CEST 2010
    LOGFILE FOR STARTING DATABASE
    Trying to start database ...
    Di Apr 27 09:04:34 CEST 2010
    Checking required environment variables
    SAPSYSTEMNAME is >EC6<
    Start database with xuserkey >c<
    Di Apr 27 09:04:34 CEST 2010
    Connect to the database to check the database state
    dbmcli: connect check finished with return code: 0
    Database not available
    Di Apr 27 09:04:34 CEST 2010
    Starting XServer
        12916  XSERVER  Found other running x_server with version 'X64/LIX86 7.6.03   Build 009-123-163-622'
        12902  XSERVER  started, 'already...'
    Di Apr 27 09:04:34 CEST 2010
    Starting database
    Starting Database Instance...
    Error! Connection failed to node kurt for database KRT:
    database not found                    
    Opening Database...
    Error! Connection failed to node kurt for database KRT:
    database not found                    
    Di Apr 27 09:04:34 CEST 2010
    Connect to the database to verify the database is now open
    dbmcli check finished with return code: 0
    Database start failed

  • "Sync encountered an error while connecting: Failed to connect to the server. Please try again."

    "Sync encountered an error while connecting: Failed to connect to the server. Please try again." message has appeared on both my desktop (OS 10.6.8, FF 6.0.2) and laptop (same).
    This error is not covered in your help documentation.
    I have an active internet connection.
    I have tried resetting the Sync on the laptop several times over the last few weeks.
    Please advise.
    Thanks

    Hi!
    It seems that you are not using the latest version of Firefox. Please, update and try again: http://www.mozilla.org/firefox

  • I keep getting this message "Sync encountered an error while connecting: Failed to connect to the server. Please try again" What's the problem in English

    I keep getting this message "Sync encountered an error while connecting: Failed to connect to the server. Please try again" What's the problem in English

    Hi,
    Sometimes the server is not available and you can get an error like this one. Usually it works if you try to sync later. If this doesn't work, take a look to [https://philikon.wordpress.com/2011/06/13/how-to-file-a-good-sync-bug/ this post] to learn how to report a bug.
    Let me know if this is helpful.

  • Cisco Show and Share Error: NetConnection.Connect.Failed

    Hi
    I installed Cisco DMM 5.2.0.25 and also CVP. I can able to view videos from the browser of certain PCs . But if i open the same link from another Laptop or PC( which are in same network and domain), I cant able to view the video. It shows an error "NetConnection.Connect.Failed". Am opening through Mozilla Firefox.
    Prasanth Abraham

    Hi Prasanth,
    This looks to be an error of the flash plugin. Could you check if affected PCs have a supported version of Flash or of the Browser, as documented at:
    http://www.cisco.com/en/US/prod/collateral/video/ps9339/ps6681/data_sheet_c78-565776_ps6682_Products_Data_Sheet.html
    Mozilla Firefox 3.5.3 / 3.6.3
    Adobe Flash v.10 recommended
    Regards,
    Marco

  • Sync encountered an error while connecting.Failed to connect to server.

    Cannot connect to server. "Sync encountered an error while connecting: Failed to connect to the server."
    Help!
    This happened yesterday 1/20 after my daughter was in her e-mail account. Had trouble with the screen also.

    I started having this problem after the download of the new Firefox 5.0. No solutions posted have worked so far. FIPS is already disabled.

  • Error "The Connection Failed" in Time Machine, Migration Assistant and Restore From DVD

    I am receiving this error when trying to connect to my Time Machine Backup in my Time capsule. I input the proper password to access my Time Capsule and It returns me to the screen with the caption "The connection failed" under the Time Capsule name in the "Select your Disk" screen. What would cause this error. I am connecting via WIFI (AirPort) and have full signal. I am using Mac OSX 10.6.8
    I recently had my 1TB hard drive replaced and I am attempting to restore using Time Machine, migration assistant or from the startup dvd (tried multiple ways, no success). The initial setup of mac OSX 10.6 would not let me connect or other attempts after erasing hard drive and reinstalling OSX from disk.
    Worked on it all weekend and don't have enough beer to drown the frustration, any help is appreciated.

    You are correct TM is not at all easy to do a full restore.
    To answer your question: Yes TM disk does show up in finder.
    After my initial startup setup I was able to start TM and access all my previous backups. I migrated some files and was able grab the data from finder. Not satisfied with that I tried to do a restore to that previous date, to no success. I then erased the HD and reinstalled OSx and tried again from the setup screen. That didn't work, sulked over some beers. I then tired with Migration assistant...same result (more beer).
    In starting TM after trying MA, only one backup was showing in the Star screen (today). None of my previous backups were showing. Since exiting TM it has been "Making Backup Disk Available" ( xGB of 6.29GB). Considering the size, I can only assume that these are my previous backups.
    I have reviewed Pondini's posts, FAQs, and tutorials. I am a little scared to try and locate the drives through Terminal as in Pondini's TS #6 guide. If I can get my previous backups to show up, I will be happy with dragging files from Finder to restore my data and slowly work at restoring my settings/applications.

  • 10.1.3 ADF -- How to prevent "submit" button submits data?

    Hi,
    In an Edit JSP page, there are several inputText fields that the users can modify data. And a "submit" button they can click when they are done with modification. I also add a validator for a inputText field to check whether the input is valid.
    When the users click "submit", I can see the error msg on top of the page if the data is invalid. Because I change the navigation string to "null" if the input is invalid, the page does not get forwarded. But here comes the problem, if I cancel this page and navigate to the next, I see the invalid data I just input.
    In another word, even with the validator and error msg, the data still gets submitted to the database.
    I haven't registered the validator in the face-config.xml. Will that help solve the problem? Any other idea? Any help is appreciated.
    Annie

    Hi Annie,
    If the input is invalid the current page is redisplayed by default.
    if you want to cancel this page and want to go to another page without
    displaying error messages, specify immediate="true" attribute
    with cancel button.
    Shakir

  • ALC-WKS-007-074 - submit button error

    Hi Everyone, We are also experiencing problems submitting a form in Workspace.  The error is: ALC-WKS-007-074.  There is a submit button on the form that I think is the culprit of the error.  It's submitting as XDP and the data coding is UTF-8.    Are there any examples of submit buttons like this?  thanks in advance!

    Hi,
    this is the wrong forum to ask about Workspace.
    But, here's my little help.
    Check the Error Reference, it explains what the error means.
    http://help.adobe.com/en_US/livecycle/9.0/errorCodeRef/general_errors_frame.html
    You alos may check if there are all service packs installed in your LC enviroment.
    Otherwise you should goto the Workspace forums.
    http://forums.adobe.com/community/livecycle/livecycle_modules_and_development_tools/livecy cle_workspace

  • Submit button - XML DATA

    Hi!
    I'm working with Adobe LiveCycle Designer 7.x to create forms..
    I need to "catch" the XML Data from a form using a perl script!
    At this moment I don't know how works the submit button internally.
    I figure out that when I create a Submit Button in a form with the XML Data option in the submit format list, and I put one http adress in the Submit to URL field, this is the target that LC Designer needs to know where put the data (in this case, just XML Data).
    Now, to complete the job, I need a script that "catch" the XML Data and in my case, save the XML file in my ISP Server..
    I'm learning perl but I don't know how do this task; could anyone help me?

    Trying some tests related to this Chris and I'm not sure I understand what I'm seeing.
    I wrote some code that takes the form you submit and dumps it back to the browser. I created a form that has three fields:
    TextField1
    Subform1
    TextField2
    TextField3
    So TextField2 is in a subform, TextField1 is on the page. When I type into each field and submit, what I get is:
    TextField1=aa&TextField3=cc
    This is the application/x-www-form-urlencoded body of the POST, which decodes to two fields, TextField1 and TextField3. I'm not sure why TextField2 didn't show up. Any ideas?
    SteveX
    Adobe Systems

  • BI services error "Data parsing failed, premature end of file".

    Hi all,
    we are facing issue while using BI services whenever we are trying to drill data its showing the error as "Data parsing failed contact your system administrator,premature end of file".
    please share with me if anyone has faced the same error anytime.
    thank in advance for your valuable suggestions.
    Thanks,
    karan.

    Hi,
    Please check whether the RFC imported by you contain the exact elements of XML.  I feel the RFC generated does not contain proper XML schema.
    Regards
    Krish

Maybe you are looking for

  • Questions on reading a file...

    Hi All, I have a few questions on reading a file... 1st of all ... if I have BufferedReader inFile = new BufferedReader (new FileReader("tickets.txt"));and I do inFile.readLine(); will it read the next line everytime I do that? ... say I had a file t

  • Custom tags & re-creating jar file

    Question from a novice! How, when I have made changes to a custom tag library tld file, do I get the deployment JAR file to re-zip the new files? The ones in that I have in the JAR file are out of date compared with the new files that I have edited a

  • Hard drive mounting bracket missing...

    The hard drive of our 17month old mac has died, and when I opened it to replace I discovered the mounting bracket was missing. Could this have played a part in its death? Anybody else find this part missing? Thanks Sophie

  • URGENT! Please help - package use

    Question about the use of packages: I have a third party package set up at /location1/mypackage I have a file at /location2/myfile.java In myfile.java I need to "import mypackage". Is this possible to import a package stored in a different location t

  • GR value is less than PO value

    Hi, PO has been created for  150000 l qty and gross price is 31.81. GR made for 21202 qty amount is 671034 but manual calculation it is 674435. 3000 rs price difference is their. How find find the difference