Unable to publish a Infopath Form

Hi All,
I have edited an infopath form by following this below link
http://www.bizsupportonline.net/blog/2010/03/open-infopath-form-template-moved-copied-different-location-computer/
I saved it in my desktop and open it in design mode than, after doing my small changes i am going to publish it it says "Getting Content types" message for long time...i canceled it and it asked for credentials , but it didnt get published..  Any
help

Hello,
Is there any promoted field in infopath form? Please verify from files--> form options-->click on property promotion from left hand. If you see any field then it seems problem with column.
Another thing is, if your form is deploy as content type earlier then you need to verify this first. Because template.xsn is indicate that you had published your form directly to library.
Also tell if you have backup of earlier template in network location or not.
Refer this link for more info:
http://sharepoint.stackexchange.com/questions/29787/cannot-publish-my-infopath-form-in-sharepoint-2007-any-more
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

Similar Messages

  • How to programmatically publish an Infopath form to sharepoint form library

    Hi all,
    I am in trouble because i am trying to find out a solution in C# by which i can publish my infopath form (without any help of publishing wizard in InfoPath form).
    For this i seen that when we publish it through the publishing wizard it creates a new form library on the sharepoint site and then publish the form in this form library, so as same i want to do this by code.
    I have created a code which creates a form library on sharepoint site but i am unable to publish my infopath form in it because i didn't find any method for publish in C#.for this I searched on google(blogs and forums etc..).I have found only upload method
    but i want publish method.
    Thanks in advance.
    Vishal

    Hi Mike,
    Thanks for your reply, I have uploaded the infopath from in form library by code as:
    uploaddoc();
    public
    static
    void uploaddoc()
    using
    (SPSite
    site = new
    SPSite("http://sharepoint
    site/"))
    using (SPWeb
    myWeb = site.OpenWeb())
    //Test3 is library's name, in which we want to upload the InfoPath form
    SPList docLib = myWeb.Lists["Test3"];Stream
    fileStream = System.IO.File.Open(@"c:\desktop\Testform.xsn",System.IO.FileMode.Open);
    myWeb.Files.Add("test3/testform.xsn",
    fileStream);
    docLib.Update();
    could you please describe that how can I associate my uploaded form to this form library
    Regards
    Vishal

  • Unable to change and re-publish existing InfoPath forms on External SharePoint lists (SharePoint 2013 Enterprise Online and On Premise)

    Hi everybody,
    I really reached the limit of my diagnostic ability... ...please help me!!!!
    I subscribed an Online Sharepoint 2013 Development site to try Business Connectivity Services and InfoPath forms. Using SharePoint Designer 2013 I successfully created an external content type
    and an external list, including InfoPath forms.
    When I use InfoPath Designer 2013 to customize the forms I can open and change them without any problems, but when I try to publish the changes I made I get the following error:
    "An error has occurred. The form template has been published to the server but it can only be opened using InfoPath filler"
    (please note that I changed just an existing label, without adding any new control or new fields).
    If I try to do exactly the same things but with an normal SharePoint list everything works like a charm!
    I noted that the main difference between the internal/external list is that with the internal list the publishing path in InfoPath 2013 is something like:
    https://<sharepointsite>/lists/<listname>
     whereas for the external list is something like the following:
     https://<sharepointsite>/lists/<listname>/item/template.xsn
    Trying to overcome the problem I installed SharePoint 2013 Enterprise on premise using the VM from the Windows Azure Gallery. In this case the error I get when I try to publish with InfoPath
    Designer 2013 is the following:
     The following URL is not valid:
    http://<sharepointsite>/lists/<listname>/item/template.xsn
    and of course everything works fine with InfoPath Designer 2013 and regular SharePoint lists.
    Even if I believe the problem is in general with external list and InfoPath, my external list is based on a the "Product" table from the "AdventureWorks2012" sample database
    installed on SQL Azure and connected to SharePoint via Business Connectivity Services.
    A big
    thanks in advance to anyone who is able to
    provide useful information to solve the problem!!!
    Regards,
    Fabio

    Hi Folks,
    Same issue here for any external list. We've migrated from 2010 to 2013 - it used to be fine on 2010. 2013 seems hang after 'getting site column information' then nothing. All effected users can quick publish to regular sharepoint lists, but cannot to external
    lists.
    In our situation we are trying to quick publish to sites using the 2010 look and feel in a 2013 environment. using SharePoint Designer 2013 and InfoPath 2013.
    Rich
    Rich Burdes

  • Error when trying to pulish an InfoPath form to SharePoint 2010 list

    I am getting this error:
    The SOAP response indicates that an error occurred on the server:
    Server was unable to process request.--->  Object reference not set to an instance of an object.
    Any ideas on why I can't publish form and how I might fix this?
    Laura

    Hi Laura,
    According to your description, my understanding is that you got an error when you published your InfoPath form.
    I aggreed with Sangha said, please check the "Design Checker" to check if there are any errors in the form.
    If yes, I suggest you remove the related fields and check if the form can be published successfully.
    There are two similar posts, please check if they are useful for you:
    https://kerdirks.wordpress.com/2012/10/18/infopath-2010-form-soap-response-error-on-server/
    http://sharepoint.stackexchange.com/questions/61464/what-does-nullreferenceexception-mean-in-my-sharepoint-log-my-infopath-form-wo
    If this issue still exists, please feel free to reply.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Infopath Form Web Part not showing form

    Hello,
    I recently edited a list form in a InfoPath 2010 and published it to my site.  When clicking on "Add new item" it works fine.  The new form shows up and all is well.  The idea though was to enable the form from a separate page by using
    the InfoPath Form Web Part.  We have other forms setup this way on our site that work fine, but for some reason, when I added the web part to the page, pointed it at the list and set the custom content types (only single option anyways as the list is
    built on a custom content type) nothing is displayed within the web part.
    I can't find any difference between my form and the already created forms, but as I didn't create the ones that are working I may have missed some setting.  There is no error, no message, just a blank web part... Actually, that's not true.  When I
    check in the page I see nothing.  But when I publish it, I see only a close link and a bit of a header div. 
    If anyone would happen to have seen this before, know what it is or know how to fix it I would be greatly appreciative.
    Thank you.

    Hi David,
    From your description, you published an InfoPath form to SharePoint list, and it worked well in the list. However, when you added an InfoPath form web part to another page, it displayed as image.
    I could not reproduce the issue, I just selected list and content type, left all other settings as default, it displayed as expected. Did I miss anything during reproducing your issue? Did you make any customization to web part or InfoPath form?
    Regards,
    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] .
    Rebecca Tu
    TechNet Community Support

  • How to save infopath form in XML file

    How to save InfoPath form in XML file.
    I want every new record in InfoPath form save in XML file and also retrieve these records from XML like databases

    Hi,
    Based on your description, my understanding is that you want to save InfoPath form in XML file.
    I have done a test in my SharePoint, Do the following steps:
    Create an form library and publish an InfoPath form into it, Then when we create new document into the form library, it is by default that InfoPath form is saved in XML file.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • How can I re-use an InfoPath form in several site collections?

    I have built an InfoPath 2013 form and published it to a SharePoint site. I want to use the same form, but publish it to various other site collections. I do not need the lists to interact with each other, but I would like to save the time of re-creating
    the same form over and over with the only difference being where they're published to. I attempted to change the main data connection of the form, but the modify button is greyed out. Is there a way to do this?

    Hi,
    If you want to publish one InfoPath form template for multiple site collections, you can publish it as Administrator-approved form template, then you can manage this template form from Central Administration site, and thenactivate it in required site
    collections as site collection feature.
    For more information you can see the following posts.
    http://office.microsoft.com/en-001/infopath-help/publish-a-form-HA101783381.aspx#_Toc262226390
    http://www.infopathdev.com/blogs/janice/archive/2009/03/03/administrator-approved-form-templates.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • Unable to publish InfoPath Form on managed path site.

    Hi,
    We are unable to publish InfoPath Form on managed path example
    https://testsite.com/ac/marketing/dept/
    Managed Path= /ac/marketing
    dept is site where we are publishing InfoPath Form.
    Error: The Following URL is not valid
    https://testsite.com/ac/marketing/dept/

    Hi Imran,
    I understand you got invalid url error when publish InfoPath form to managed path. Could you test if the issue occurs to other sites?
    Here is a similar issue which is solved by creating an Explicit inclusion type of path on for managed path url, please refer detailed information via:
    https://social.technet.microsoft.com/Forums/en-US/9856491d-4e8c-4c37-bdb6-ce593bb5b475/infopath-publish-and-managed-path-issue?forum=sharepointgeneralprevious
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Unable to publish infopath form

    When i click on Quick publish, i get a prompt message saying: "Communicating with the SharePoint site" followed by the URL of the site.
    This prompt message screen keeps on for long time and then i get the below screen:
    Can anyone please guide me on this error.
    thank you !

    Make sure you have the 'SharePoint Server Enterprise Site Collection features' activated. Under Site Features
    Make sure you have 'SharePoint Server Enterprise Site features' activated.
    This can cause when there are large numbers of item in the list you connecting. You need to increase
    executionTimeout in such scenario.
    Follow:
    http://www.mysharepointadventures.com/2012/08/infopath-form-publish-soap/

  • Publishing Content Type InfoPath Form in different Forest

    Hello,
    I created new SharePoint Farm in new Forest in our organization. (We are moving current SharePoint Farm to a different Forest. ) I restored Site collections in new farm.
    I have custom InfoPath Forms published as a Content Type. I carried data connections to a new farm.
    When I'm re-publishing as a content type (update or new), I'm seeing messages below. My InfoPath works without issues, but I'm not happy with these messages. What is the best solution to carry Content Type InfoPath Form to another SP Farm in another Forest?
    How can I fix this issue?
    Thank You
    Unable to locate the xml-definition for FieldName with FieldId '1c41556d-d252-4abf-adf8-02863dc8c0e0', exception: Microsoft.SharePoint.SPException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) ---> System.Runtime.InteropServices.COMException
    (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))    
     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)    
     at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)     -
     -- End of inner exception stack trace ---    
     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)    
     at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)    
     at Microsoft.SharePoint.SPFieldCollection.FetchFieldsFromWeb()
    Unable to locate the xml-definition for CType with SPContentTypeId '0x0108000F14551F35854DE7B72671CB134FBCF9', exception: Microsoft.SharePoint.SPException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) ---> System.Runtime.InteropServices.COMException
    (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))    
     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)    
     at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)     -
     -- End of inner exception stack trace ---    
     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)    
     at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)    
     at Microsoft.SharePoint.SPContentTypeCollection.FillCollection(SPRequest req, SqlDataReader rdr, Boolean openWeb)
    Unable to locate the ghosted xml-definition for field template, exception: Microsoft.SharePoint.SPException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) ---> System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic
    failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))    
     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)    
     at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)     -
     -- End of inner exception stack trace ---    
     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)    
     at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)    
     at Microsoft.SharePoint.SPContentType.FetchFieldsXmlFromWeb(SPChunkedStringBuffer csb)

    I understand that you cannot publish a form to a form library as the form template is checked out. You can open the site in SharePoint designer. Open the form library in All Files folder. The template is stored in the Forms folder. You need to check whether
    this file is checked out. If yes, you need to check it in. If not, you can try to edit the form template in this way:
    Open the form library in browser and open library settings.
    Click on the form content type and modify the Advanced Settings for the content type.
    Here you can click Edit Template link to edit the form template in InfoPath designer. Try to publish the form back to the library again to see whether the issue persists.
    Courtesy: Entan
    Ming
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Unable to submit any item in the form library through InfoPath form

    I had created a form and link to a form library, but when i click on new document  it show me this dialog box with URL
    ms-infopath:nft|u|.....|s|......
    and then it open InfoPath form after submitting it does't not insert any value in the Form library.
    In my case
    1.I want to remove ms-infopath:nft|u|.....|s|......
    2. Form should open in web browser.

    Hi
    ank89 ,
    Please take steps as below:
    Create a Form using SharePoint Form Library template.
    After customizing the form , click  File ->Publish -> SharePoint Server -> save the form -> in the Publishing Wizard page input your site URL -> provide your authentication account.
    Check “Enable this form to be filled out by using a browser” and Form Library.
    Select your Form Library and edit the Form Library field , then Publish it and you will get what you want.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • No search result using managed property from a column of a published infopath form

    Hi,
    I'm trying to use a managed property in the advanced search to retrieve only words from a column of a published InfoPath form. We are using FAST Search and verify that the column are being crawled by checking the crawled property in Central Admin but still
    cannot retrieve search result for the managed property. We also do a full crawl before testing the search. Thank you..

    Hi Rommel,
    When we create a column from a list (not site column), then we need create list item with this column value, then we need to full crawl, then the the crawled propery ows_listColumnName will be generated, then create a managed property to map this
    crawled property(start a full crawl again if needed), then add the custom managed property in advance search web part property, then check again.
    Here is an article about how to add the custom managed proerpty in advanced search web part, you can take a look.
    http://waelmohamed.wordpress.com/2011/05/31/add-custom-search-properties-in-your-advanced-search-sharepoint-2010/
    Thanks
    Daniel Yang
    TechNet Community Support

  • Incorrect Infopath content type update in form library after modifying Infopath form and publish it

    I have an admin approved InfoPath form. I added new fields to that form and mapped those new fields with site columns. After uploading updated published form through CA, I noticed InfoPath Site content type for that form got updated (with newly added fields)
    under Microsoft_Infopath group. This content type is also added in form library but somehow the new fields are updated incorrectly for this content type existing in form library (it doesn't show new fields, and shows one new field which is incorrectly
    mapped with other column this is happening only in library). 
    Things I tried:
    - Activate/Deactivate that content type feature
    - Deactivated feature, removed form from CA, re uploaded and activated feature
    - Removed those new fields and published and uploaded InfoPath form and then added those new fields and published and uploaded again.
    -Deleted those fields from InfoPath and readded new fields and published and uploaded form but still the problem persists.
    Any help will be appreciated.
    Dhaval Raval

    Hi Thanks for the response,
    But Update all content types inheriting from this type is already checked.
    That form library has multiple content types associated with it , different infopath forms get submitted there. What I noticed is that when I change the form and publish it, its corresponding site content type gets updated but the same content type used
    in form library doesn't get updated properly. I went to form library and checked that erroneous content type, there were some columns missing and one column was mapped incorrectly. When I clicked on "Parent" content type, it was showing all the new Infopath
    fields(updated content type). So I figured that Infopath site content type was getting updated correctly but it was not able to propagate those updates (in a correct way) to the form library. I also tried to edit that content type and tried adding existing
    site columns which were missing but surprisingly it was not showing those site columns either, which were mapped from Infopath publishing.
    The cause for this behavior is : changes/updates to the Infopath content type are not getting propagated to the form library and this is happening for only one infopath content type but other Infopath content types are getting updated.
    I had to delete all the forms using that erroneous content type and then had to delete that content type from the library and then re-added that Infopath content type to the library and this time it was having correct content type (updated columns).
    This is not a perfect solution for the production environment, sounds like it is a bug.
    Dhaval Raval

  • How to publish infopath forms to open new and old form templates in sharepoint2007

    Hi All,
    My requirement is , we are having a form library with the Infopath form templated(V1) published.
    Then we have added about 300 items using template(v1) into the sharepoint library.
     Then client asked for the changes in form and we deveploped infopath template (V2) and published, able to create the items using the new template(v2).
    But ,the issue is when we open item from the 300 items which are created with template(v1), its is opening using template(v2) and we are loosing the functionality of template(v1).
    Can i know ,how to publish the form template to use both template versions and it should open the form with  wahatever the  template it used for creation.
    Thanks in Advance.
    Anil Kumar K

    Hi,
    If you want the InfoPath forms for displaying the items in the list, then I recommend to click Customize Form button in the ribbon of the list to edit the form in InfoPath and then publish the form back to SharePoint.
    After that, you will see there are three new forms(displayifs.aspx, editifs.aspx, newifs.aspx) when you view the list in SharePoint Designer.
    Then you can create the custom action to navigate to the custom InfoPath form:
    Thanks,
    Victoria
    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]
    Victoria Xia
    TechNet Community Support

  • Creating Infopath forms programmatically - unable to update promoted columns in the library

    I referred to the following article and was able to create the forms successfully.
    http://www.codeproject.com/Articles/33228/Programmatically-create-a-browser-enabled-InfoPath
    But, I noticed that the generated Xml looks a bit different than if I'm creating the document through Sharepoint directly,
    for example, a snippet of the generated Xml (through Sharepoint) looks like:
    <my:Employee>
              <my:LastName>Test</my:LastName>
              <my:GivenName>Test</my:GivenName>
              <my:EmployeeNumber>1</my:EmployeeNumber>
    </my:Employee>
    but it looks like the following when I create the document from my C# code:
    <Employee>
          <LastName>Test</LastName>
          <GivenName>Test</GivenName>
          <EmployeeNumber>1</EmployeeNumber>
    </Employee>
    The issue that I'm noticing is that if I chose to publish some of columns (when I publish the form to the sharepoint site) then
    the columns will not show the values (I'm guessing that is due to the missing "my" before the fields).
    Is there a way to work-around that? or am I doing something incorrect on my side?
    Thank you,

    Here is a complete method for creating a new infopath form and updating some columns of the new form using sharepoint client object model:
            public string AddNewForm(string WebUrl, string NewTitle)
                string strMsg = "";
                if (string.IsNullOrEmpty(WebUrl))
                    return "Empty URL!";
                try
                    // Starting with ClientContext, the constructor requires a URL to the server running SharePoint.
                    using (ClientContext client = new ClientContext(WebUrl))
                        //client.Credentials = System.Net.CredentialCache.DefaultCredentials;
                        // Assume that the web site has a library named "FormLibrary".
                        var formLib = client.Web.Lists.GetByTitle("FormLibrary");
                        client.Load(formLib.RootFolder);
                        client.ExecuteQuery();
                        // FormTemplate path, The path should be on the local machine/server !
                        string fileName = @"D:\Projects\FormTemplate.xml";
                        var fileUrl = "";
                        //Craete FormTemplate and save in the library.
                        using (var fs = new FileStream(fileName, FileMode.Open))
                            var fi = new FileInfo("newForm.xml");
                            fileUrl = String.Format("{0}/{1}", formLib.RootFolder.ServerRelativeUrl, fi.Name);
                            Microsoft.SharePoint.Client.File.SaveBinaryDirect(client, fileUrl, fs, true);
                            client.ExecuteQuery();
                        // Now we are going to update new form fields.
                        // Get library columns collection.
                        var libFields = formLib.Fields;
                        client.Load(libFields);
                        client.ExecuteQuery();
                        Microsoft.SharePoint.Client.File newFile = client.Web.GetFileByServerRelativeUrl(fileUrl);
                        ListItem item = newFile.ListItemAllFields;
                        // Here the index of Title column is 9, you may use this form to update any column (even promoted fields).
                        // To find the index of interested column you should inspect libFields at debug mode, look in the libFields.Fields collection to find the index!
                        item[libFields[9].StaticName] = NewTitle ;
                        item.Update();
                        client.ExecuteQuery();
                catch (Exception ex)
                    strMsg = ex.Message;
                return strMsg;

Maybe you are looking for

  • Won't boot and CD is stuck in drive

    Ok, so I've searched as best as I could so I do appologise if this is semi repeated. The other day I came home and my ibook wouldn't boot up. I've had hardrive failure before which is what i figured it was. I had a friend run the hardware diagnostic

  • Problem in saving the ½, ¼, ¾ values in database using xml

    Hi I am developing a java swing based application. In which I send data in xml format and save it on a online webstore through API calls. When I send the data in following format 3½, 3¼, 3¾. It saves only 3 not the whole value means It is ignoring th

  • Re-compile Oracle 11i Internet Expenses Java Classes

    Due to business requirement, we are required to re-compile Oracle 11i Internet Expenses java classes. Fortunately all files are fine, except of one for "Expense Details" screen. Under directory */comn/java/oracle/apps/ap/oie/server/, there is a JAVA

  • USNG DESKTOP NTEGRATON FOR LOAD

    hELLO ALL,When I try to load my metatoutline & model into Essbase OLAP using mULTIDIMENSIONAL STORAGE EVERYTHING WORKS FINE. But if I use the Relational Storage Manager (DB2STORAGETYPE DB2)I get:[Fri Sep 27 16:30:30 2002]Local/ESSBASE0///Error(105400

  • Most popular api for modifying excel spreadsheets?

    I googled a bit and it seems like POI and jexcel are the most popular ? I'm interested in hearing your opinions... I've tried POI and I find it OK, but I wish I had more features like copying a row and "pasting/inserting" it into another row and copy