.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

Problems with InfoPath form with code to deploy in SharePoint 2010

Posted By:      Posted Date: October 26, 2010    Points: 0   Category :SharePoint
 

 

I try to deploy a form in sharepoint 2010 that will be used by the workflow as Task form. The form is deploy with the feature (in the folder of the feature). This form has strong assembly and it is installed in the GAC. However looks like the form look the assembly in the folder of the features how Can I make teh form to look the assembly in the GAC??

I use infoPath 2010, VS 2010 and SharePoint 2010.

Thanks for your help!!

 

Could not load file or assembly 'file:///C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Features\[FeatureName]_Feature1\Forms\[AssemblyName].dll' or one of its dependencies. The system cannot find the file specified.




View Complete Post


More Related Resource Links

Problems with InfoPath form with code to deploy in SharePoint 2010

  

 

I try to deploy a form in sharepoint 2010 that will be used by the workflow as Task form. The form is deploy with the feature (in the folder of the feature). This form has strong assembly and it is installed in the GAC. However looks like the form look the assembly in the folder of the features how Can I make teh form to look the assembly in the GAC??

I use infoPath 2010, VS 2010 and SharePoint 2010.

Thanks for your help!!

 

Could not load file or assembly 'file:///C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Features\[FeatureName]_Feature1\Forms\[AssemblyName].dll' or one of its dependencies. The system cannot find the file specified.


Problems when deploying sequential workflow with association Infopath form of sharepoint 2010 using

  

I’ve create a workflow project with infopath in it. And I get the error

 “Error occurred in deployment step 'Activate Features': Unable to locate the workflow's association data. To restore the association data to the workflow, restart the workflow settings wizard by selecting the workflow node in Solution Explorer and then clicking the ellipsis button (…) on one of the properties in the Properties window that has an ellipsis button.”

I'd really appreciate of any help.


Deploying Infopath 2010 form with code to sharepoint 2010

  
I have created infopath 2010 forms with custom code and I want to publish these forms as the web browser form. I can preview these forms and everything is working fine.  But when I try to upload  (full trust option) these form templates in the central administration I get the error Object Instance is set to null. Does anyone have an idea what can be the cause of it?

Changing fields while updating an InfoPath Form to a SharePoint 2010 Document library

  
My document library has following EventReceiver: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Receivers ListTemplateId="101"> <Receiver> <Name>EventReceiverDocumentLibraryItemUpdating</Name> <Type>ItemUpdating</Type> <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly> <Class>EventHandling.EventReceiverDocumentLibrary</Class> <SequenceNumber>10000</SequenceNumber> </Receiver> </Receivers> </Elements> Updating a browser enabled InfoPath form in the document library fires following event: Public Overrides Sub ItemUpdated(ByVal properties As SPItemEventProperties) Try Me.EventFiringEnabled = False properties.ListItem("Lastname") = "Testperson" properties.ListItem.ParentList.ParentWeb.AllowUnsafeUpdates = True properties.ListItem.SystemUpdate(False) ' solution 1 properties.ListItem.Update() ' solution 2 properties.ListItem.UpdateOverwriteVersion() ' solution 3 properties.ListItem.ParentList.ParentWeb.AllowUnsafeUpdates = False Me.EventFiringEnabled = True MyBase.ItemUpdated(properties) Catch ex As Exception Me.EventFiringEnabled = True E

Best way to Deploy InfoPath form with connection information and managed code

  
Hi, Whats the best way to deploy an InfoPath form with connection information and managed code. Is there way I can create a deployment package for this? Thanks in advance, San

Cannot publish InfoPath 2010 form template to SharePoint Server 2010 RC

  
Hi all, I am MSFT in Vietnam. I created a SharePoint list using InfoPath 2010 RTM 64bit. After publishing it to SharePoint 2010 RC, I see an error message:  Click on button "Show Details" the message is The list schema does not match the schema of this form. Refresh the data source and publish the form again. When I create new item based on published SharePoint list, I can see plain form not browser enabled InfoPath form. I checked InfoPath Form Services, everything seems to be good. What should I do to publish SharePoint list from InfoPath 2010 to SharePoint 2010 as browser enabled form?

Infopath Form Data submitting to Sharepoint 2010 List

  
Making a Client intake form that once submitted will send data to  a sharepoint 2010 List called contacts. Short Summary the form will have repeating fields and alot of information to submit. I have looked and read all over but I cannot find an easy step by step guild on how to submit the form data like that. Long Summary on the sharepoint site a button will open a form for adding a new client.  once the form has been filled out and the user hits submit sharepoint will then create a User File, in clients file, and take the data and put it into contacts list. I am trying to make use of Sharepoint as I would with access, meaning the more information I have on a client the easier it will be to mail merge letters, motions, basicly any file prepaired stuff. So once I have css designed forsharepoint to make it look the way I want then the forms should intergrate perfect

How can i have form used by infopath with workflow sharepoint 2010 ?

  
Hi all, I have sharepoint 2010 and infopath 2010. I would like to create a workflow which sends a task to a user every week. The task should be done in infopath 2010. How can i do that ?   Thanks

Commit Variable from SharePoint Designer 2010 to an InfoPath Form 2010

  
Hi,

I saved a string into a SP Workflow 2010 variable, and want to pass this variable to an InfoPath 2010 Form, so that I can display/use this string in the Form.
Please tell me how to commit that.

Thank you in adnavce!

Kind regards,
Milan Stojadinovic

Deploy infopath 2010 form template to MOSS (saved as Infopath2007 format)

  
I saw this post on another site and this happened to me as well.  I am trying to create a web form with controls, chose WebForms for Infopath2007 and changed the code to C# for Infopath 2007 and tried to deploy the form to the Infopath forms solution in Central Admin and was unable to do so.  any suggestions? 

 

I have an interesting issue while deploying a VSTO enabled form today. For

some odd reason while performing stsadm -o verifyformtemplate -filename

foobar.xsn, it returned a "FatalError : The form cannot be converted because

it was designed for a later version of InfoPath Forms Services.".



Has anyone else tried deploying a InfoPath 2010 form with managed code in a

MOSS environment?? I'd hate to go back to InfoPath 2007, I love the new

ribbon. :D
 

 


Problem opening an attachment from Infopath 2007 form in SharePoint 2010

  
I have an InfoPath 2007 form that is opened as a web based form in SharePoint 2010 that has an attachment control.  In Windows XP with IE 7 when you double click the attachment there is a warning message presented and after you click OK you get a prompt that asks if you want to open or save the file or cancel.  In Windows 7 with IE 8 when you double click the attachment there is a warning message presented and after you click OK you get a prompt that asks if you want to save the file or cancel, no open option.  I already set the SharePoint browser permission to permissive for the site and it doesn't help.  How can I get this to work in Windows 7 and IE 8?

publishing an InfoPath form to SharePoint 2010

  

I have an InfoPath 2010 form that needs to have a repeating table so when I developed it as a SharePoint Form Library.  When i attempt to publish the form to a SharePoint 2010 site i constantly get an error stating "The following URL is not valid".

I know that the URL is correct and I do have different forms on the site.  The main difference between this form and others on the site are the repeating tables, and the other forms were created as SharePoint Lists.  

Any ideas?


publishing an InfoPath form to SharePoint 2010

  

I have an InfoPath 2010 form that needs to have a repeating table so when I developed it as a SharePoint Form Library.  When i attempt to publish the form to a SharePoint 2010 site i constantly get an error stating "The following URL is not valid".

I know that the URL is correct and I do have different forms on the site.  The main difference between this form and others on the site are the repeating tables, and the other forms were created as SharePoint Lists.  

Any ideas?


Publishing the Infopath form to SharePoint 2010 with a unique name

  

This may be a very basic question. But i was not able to figure out the same. I have published an infopath form to a form library. If a user fills out a form and saves submit, the form should get saved automatically to the form library with a unique name. For example, the submitted form should automatically get saved to the form library with the name Form1, form2, form3 and so on. Please help as how this can be accomplished. As of now I am getting the error below,

"The form cannot be submitted to the specified SharePoint document library. The document library already contains a file with the same name. A value in the form may be used to specify the file name. If you know what that value is, modify it and try submitting the form again."

Thanks in advance,

Sivai.

 


Building InfoPath forms against Sharepoint 2010 Data Connection Library and Form Services...

  

Hi Sharepoint Experrts,

I'm trying to develop InfoPath 2010 forms that use External Lists that have been created in Sharepoint Server 2010.  I have problems when testing the forms because access is denied to the external lists.

When I try deploying the forms to the sharepoint site, I cannot upload the form template because it says I have to be a member of the local administrators group.  However, I'm running the administrator account used to install and setup sharepoint on the Windows 7 development machine I'm using.

I also tried loading the InfoPath Data Connections to a data connection library on my Sharepoint site... I can see the files when I login to the site but when I try creating a New form from a Data Connection File, I get an error message "This location does not contain any data connection files with the appropriate settings".  What ARE the appropriate settings?

I'm just really confused about this because I cannot seem to be able to build forms that use data connection files loaded onto a Sharepoint site or central server....

I appreciate any help I can get!

 

Thanks,

KBW


Thanks, KBW

Formatting problem with Email from an Browser Enabled InfoPath 2010 Form in SharePoint 2010

  

I'm creating a form in InfoPath 2010 to be filled out in the browser within our SharePoint 2010 instance. It's pretty simple, four columns with total table width of about 650 pixels, textboxes, checkboxes, datepicker and one multiselect list box. The form is working fine up to the point where I invoke a data connection which emails the form to myself. When it arrives in my inbox, the format of the form included in the body of the email is funky. When I open the email and set it to a full screen viewing window (1440X900) the area that takes up the form exceeds the width of my viewing window and requires scroll bars to see all the fields on the form.

When printing the form from my email the area is so large that no data will show up in the printable area (it appears to be centered on the form and it is cutting off the "extra content" to the left and right which contains the form data as the user entered it). I'm using Outlook 2007. I also forwarded the email to a person who's using Outlook 2010 and they experienced the same problems as myself.

Things I've tried to fix it: Setting each column width, setting each control width to a pixel length (instead of using %). I added some code behind to switch the view to a two column view with a table width of 400px before it sends out the email. It's closer to being at a state where it's

InfoPath 2010 cannot connect to SharePoint 2010

  
You have installed Office 2010 beta and you are trying to connect to SharePoint 2010 from InfoPath but you get an error
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend