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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Info Path form when modified by using UTF-8 encoding having issues with existing 'iso-8859-1' char

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


I am modifying the infio path form 2007 from my state machine workflow to constantly update the status fields in the request form.

below is the method i created for the same..

private void updateInfoPathRequestForm(string xpathNode, string nodeValue)
            SPUserToken token = workflowProperties.Web.CurrentUser.UserToken;
            using (SPSite _site = new SPSite(workflowProperties.Site.ID, token))
                _site.AllowUnsafeUpdates = true;
                using (SPWeb _web = _site.OpenWeb(workflowProperties.Web.ID))
                    SPListItem item = _web.Lists[workflowProperties.List.ID].Items[workflowProperties.Item.UniqueId];

View Complete Post

More Related Resource Links

Uploading Files with Info Path Form




we'd like to provide an Info Path Forms Services based form to give users an easy web based ability to upload new documents with some metada and doeing some plausability tests to check if the metadata do make sense. The form will be presented to external users to provide documents in a structured and qualified way.


So we created the InfoPath form and added a repeating "File-Attachment" control to the form. But with this control the files are attached to the InfoPath form itself and not uploaded to a document library. And so the internal users can not easyly work with the documents.


So what would options do we have to customize InfoPath to provide an possiblility to upload documents to a document library?




Info Path Form Problem; the form is closed


Hi All

I am facing an error in info path form web enabled.


When i open a new form, it opens and saved. Even the sendingemail is also working.

But when i try to open the already saved form. The form is not opening it is displaying the error that the form has been closed. Or it is not getting the form from the location..

how to specify file name and close the info path form on custom submit button?

i have submit button in the form once i click it must ask to enter the file name and once i given it it must close the particular browser tab.

how to specify file name and close the info path form on custom submit button?

i have submit button in the form once i click it must ask to enter the file name and once i given it it must close the particular browser tab.

how to set read only properties to the particular info path form control based on user logged in?

how to set read only properties to the  particular info path form control based on user logged in?

File Attachments from info-path forms to Sharepoint document library


Hi Experts,

How to upload file attachements from info-path forms to Sharepoint document library?

I need to add attachement from local-PC/Any User to Sharepoint Document Library.


Any help please?? Appreciated




WCF issues sending large data - "An existing connection was forcibly closed by the remote host"

Hi Guys I have posted the following on www.asp.net but thought it might be productive posting here too.I have been pulling my hair out trying to fix an issue with sending data over WCF, I have read pretty much every THREAD on this forum regarding or similar to this issue without any successful solution.  I have a simple data object which has a [DataMember] with a data type of byte[]. I use this to send binary data from my web app as follows: Asp.net MVC website --> WCF Client (Has my Service References) --> My Services (MyServices.svc) --> Business/Data Tier Everything is being executed from within VS 2008 Pro.   Now I have successfully sent data up to 2.2MB, however it fails if i try and send a file such as 2.3MB or larger i get the following exceptions: General Exception Exception rethrown at [0]:    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)   at SoftApp.WCFClient.MyServiceReference.IMyService.Document_Save(DtoDocument dtoDocument, Int32 usercode)   at SoftApp.WCFClient.MyServiceReference.MyServiceClient.Document_Save(DtoDocument dtoDocument, Int32 usercode) in c:\dev\softapp\softapp.wcfclient\service references\myservicereference\refe

Attachements on a modified form for Help Desk Tempate

I changed some labels of the form of capture the Help Desk template, but the attachments functionality does not work as before to change it, it generates the following message when click on the OK button after you attach a file: Message: Object required, Line: 5797, Char: 3 Code: 0 URI: https: / / volaris01.temp.hostedexchange.mx/_layouts/1033/form.js? rev = df60y6YolDjUVbi91% 2BZw% 2FG% 3D% 3D. This only happens when I edit some labels or hide some fields from the SharePoint Designer, someone show me if I need any patch, or maybe I doing something wrong with this template? Thank you all.

Contact Form Issues

I was hoping someone could assist with this issue I am experiencing.  I have a contact form on my ASP.net page.  Everything works great, but I keep getting blank messages sent to my email address.  It seems to be some sort of SPAM?  Could someone please tell me why this is happening, and what I would need to do to prevent it from happening in the future?

SQL CE + MSVS 2010 + The path is not of the legal form

Hi,My problem is the same as the one described here. http://social.msdn.microsoft.com/Forums/en/sqlce/thread/8226ea79-6182-4319-b335-9665f822bf2bI see it is marked as answered, but it has nothing to do with forms and designers for us. Please drop more advice for me to solve the irritating problem please?For us, we also have SQL CE under server explorer. Besides changing the schema, after each debug run, the database will also be rendered as "The Path is not of the legal form" and the only way to proceed is to close MSVS and then reopen it again.This error message is quite useles to solve anything.... perhaps it should at least say what which component is trying to access which path?Thanks for your attention.Jake See

The path is not of a legal form - SSCE 3.5 and VS 2008 Server Explorer

Hi, I am facing one issue continuously whenever I try to open LocalDatabaseCache(.sdf files) in VS 2008. It says,"The path is not of a legal form". Even if test connection is succeeded. When I restart VS 2008 and DatabaseEngine service then only it opens the Database. Also sometimes I face problem of memory corrupt. May I know what could be the reason for this issue?  How can I permanently resolve it? Regards, Nandkishore    

create task edit form issues for sharepoint 2010 workflow using visual studio 2010

I use infopath 2007 created a task edit form and I use VS 2010 to create a sequential workflow.I want to use the custom tash edit form in the workflow.The problem I got is the InfoPath form doesn't get deployed to sharepoint. I'm able to upload the infopath form to sharepoint though central admin app. here is the element.xml :<Elements xmlns="http://schemas.microsoft.com/sharepoint/">  <Workflow     Name="WorkflowProject4 - Workflow1"     Description="My SharePoint Workflow"     Id="e6aa6cdb-667f-456a-b216-7639a1dcd3c7"     CodeBesideClass="WorkflowProject4.Workflow1.Workflow1"     CodeBesideAssembly="$assemblyname$">    <Categories/>    <MetaData>      <AssociationCategories>List</AssociationCategories>            <Task0_FormURN>urn:schemas-microsoft-com:office:infopath:TaskForm:-myXSD-2009-12-10T22-33-23</Task0_FormURN>      <StatusPageUrl>_layouts/WrkStat.aspx</StatusPageUrl>    </MetaData>  </Workflow></Elements>and here is the feature1.template.xml<Feature xmlns="http://schemas.microsoft.com/sharepoint/">  <Properties>    <Property Key="GloballyAvailable" Value="true" />    <Property Key="RegisterForms" Value="*.xsn"/>  </Properties></Feature>anything

Reg passing info from aspx page to New form.aspx page of list in sharepoint



Initially i have Newform.aspx in the list.In that when i am clicking an icon that is available in Rich Text Box Editor it is taking me to another aspx page.In that page i have custom web part with One Field Control to upload  and one Button to upload the files.Now my requirement is as soon as after uploading these file from web part i should display the file names in the Rich Text Box.Please share your ideas of capturing file names in the web part and getting those file names in the rich text box in the newform.aspx of the list please let me know

Thanks & Regards,


Sending form content info constantly



I need to send the options set in my window to another app I made. Basically my WPF works as a control application for another app, which will be run in another computer. Info is sent via sockets.

The problem is, I need to constantly send the info through the net, so I would be needing something like a Refresh or Update function that is run "every frame". Is there anything similar in WPF?

Thanks in advance.

Developer options not available in Info path 2010...


Hi all,

I installed InfoPath 2010 with ".NET Programmability Support" & "Visual Studio Tools for Applications" the installation was a success. but the developer tools options are disabled....

Also if i create form and place a button so that i can write a custom code even the code editor button is disabled.

also the "Programming" section is missing in "Form options"

Please let me know if u have faced the same problem and have rectified it...

Thanks and Regards

Arun kumar

Getting the values of drop down repeating table in info path

HI how can i get all the values of a drop down repeating table, using XPathNavigator please reply me!

Data Grid and HTML Encoding Issues, Need Urgent Help


Hi All,

I am facing an issue. I have a datagrid in aspx page. I am binding a dataset data to this datagrid [simple binding]. It works with out any issues. However whenever the data contains any Html tags like 'Test Data With <HTML> tags'
the data in the datagrid cell will show only 'Test Data With <> tags'. The contents inside <> tag will disappear.

My code will look like this.

DataGrid.DataSource = SomeDataSet

I am using C# as the code behind language. Also the data population to the grid is dynamic and depends on the SQL Query used for it. Hence my columns are not predefined. The DataGrid's AutoGeneratedColumns property is True [Number of columns and columns header will change dynamically depending on the query which pulls the data from the DB]

Kindly help with this.

Thanks in advance

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