.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 Publishing Help

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

I am very new to InfoPath. So I purchase book InfoPath® with SharePoint® 2010 HOW-TO and Started Reading. I am on Chapter 2 where they show how to design InfoPath form, then  they show submitting form then they show Publishing Form. Here I am got stuck. I can submit form from InfoPath itself and it will submit to document library but when I go to document library form will not open and it gives errors. Then as per book when I click on add new document infopath form should open but it is not opening form that I created.


I forget to tell u that my SharePoint is installed on remote PC which is on my network only.  


Kindly somebody help me to solve my problem.  

View Complete Post

More Related Resource Links

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




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



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];

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

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?




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!

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..

Publishing website changes path on images in the staging area


We are using SharePoint MOSS for our Internet site. We have a staging area where we arrange our content before we use content deployment to push it out to production. We put pictures along with text in CEWs and use relative paths on the pictures. The thing gets published and deployed to production and life is good. But if you have to make an edit to the text or anything other thing on one of those web parts with pictures in them, as soon as you open that web part up in the rich text editor, it puts the full path back on all of the pictures contained in it. If you are not paying attention this gets deployed to production pointing back to the staging area for those pictures that were in that web part, although they were never edited or changed in any way.

Has anyone seen this before? Is there a setting or something that can be changed to stop this from happening?


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?

Regarding Info path view


Hi Geeks,

Thanks for the help in advance.

Guys, I have a Info path form in which when a new form is made there is a field in that called DO reffered.In this the name of the user came to which that form is submitted.

We want that when that user opens that form he only sees the form in the submission mode else every one else see in read only mode.

We want this condition to be also to be followed that

But we want this condition to be follow as

I don’t what to compare with the share point users group but to check whether the logged in user has “Full Control”,”Design”,”Contribute”,”Read only rights”.

Please let me know if we can do this by some other method.

Please send me the link of the help also .

I need this help urgently.

info path problem on another web front end




I have a info path form which is working fine in environment (1 Web Front End and 1 Application Server). But now i have added a new web front end. Now the same form is if open through new Web Front End, it is not opening. I change the dll file but still it is giving the same error.


Can any body tell me what configuration is needed for this about info path form?

Publishing SQL Server Database using Publishing Wizard : Tips & Tricks

We can use SQL Server Publishing Wizard to deploy our local Database to remote hosting server/production server.This feature is available in SQL Server 2008/VWD 2008.

Below is the complete step by step guide of this process.

Like Celebrities - info about all celebrities

Like Celebrities - info about all celebrities

Virtual Path Problem


 I get the following error on last line below (working on remote host): 'E:\web\sfcascom\ls_admin/uploads/images/001.JPG' is not a valid virtual path,

Note that the slashes go in different directions

I've tried a number of things but nothing seems to work. Thanks-


Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Drawing.Imaging
Imports System.Web.UI.WebControls

Imports System.Drawing.Imaging.ImageCodecInfo
Partial Class Protected_imageupload
    Inherits System.Web.UI.Page
    Private Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
        ' Initialize variables
        Dim sSavePath As String
        Dim sThumbExtension As String
        Dim intThumbWidth As Integer
        Dim intThumbHeight As Integer
        Dim sFilename As String = ""
        ' Set constant values
        'sSavePath = "images/"
        sSavePath = Server.MapPath("~/") + "ls_admin/uploads/images/"

        sThumbExtension = "_thumb"
        intThumbWidth = 160
        intThumbHeight = 120

        ' If file field isn?t empty
        If FilUpload.PostedFile IsNot Nothing Then
            ' Check file size (mustn?t be 0)
            Dim myFile As Http

Creating a user friendly alias for the website path


 Hello mates,

I am hosting my ASP.NET application on a Windows 2003 Server.

To browse to my application one has to type the path :http://serverName/applicationName

I want users to only type  applicationName on the web adress area.I believe there is something to do with alias and CNAME on DNS records that can adress this.

Any help on how to go about doing this will be highly appreciated.

"Type ASP.x is not defined" error for dynamic user control when publishing updateable


I have a user control (ContainerCtrl) which programmatically instantiates another user control (SimpleCtrl) in OnLoad. It builds and runs fine, but when I publish it I get the error "error BC30002: Type 'ASP.SimpleCtrl' is not defined." (If I publish without the "updateable" option there's no error, but I need the site to be updateable.)

I assume this has to do with the particulars of how the assembly(ies) are built for the different compiler options. My question is, how can I get it to work properly for "updateable" publishing?

VS 2008 / .NET 3.5 sp1

The code follows (web.config is the default from Visual Studio).

Many thanks, Dave


<%@ Control Language="VB" ClassName="SimpleCtrl" CodeFile="SimpleCtrl.ascx.vb" Inherits="_SimpleCtrl" %>

    Simple control


Partial Class _SimpleCtrl
    Inherits UserControl

    'Nothing to see here.

End Class


<%@ Control Language="VB" CodeFile="ContainerCtrl.ascx.vb" Inherits="_ContainerCtrl"

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