locked
Deploying InfoPath with Code Behind as WSP Package RRS feed

  • Question

  • My solution deploys; however, when I click on the InfoPath form in the site collection the error is "There has been an error while loading the form.

    The manifest file is

    <Feature xmlns="http://schemas.microsoft.com/sharepoint/" Title="Ybbest.InfoPathForm.ContactUS Feature" Id="1075953f-a422-48e2-9806-1340487ad5c8" ReceiverAssembly="Microsoft.Office.InfoPath.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" ReceiverClass="Microsoft.Office.InfoPath.Server.Administration.XsnFeatureReceiver" Scope="Site">
      <ElementManifests>
        <ElementFile Location="ContactUSForm\ContactUs.dll" />
        <ElementFile Location="ContactUS.xsn" />
        <ElementManifest Location="Elements.xml" />
      </ElementManifests>
    </Feature>

    The element file is

    <?

    xmlversion="1.0"encoding="utf-8"?>

    <

    Elementsxmlns="http://schemas.microsoft.com/sharepoint/">

      <

    ModuleName="XSN"Url="FormServerTemplates"RootWebOnly="TRUE">

        <

    FileUrl="ContactUS.xsn"Name="ContactUS.xsn"Type="GhostableInLibrary"/>

      </

    Module>

    </

    Elements>

     
    Thursday, December 13, 2012 5:02 AM

Answers