.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

Workflow with instantiation form in VS 2008 for MOSS 2007

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

Guys. I have a MOSS 2007 install, using VS 2008.

I am trying to create a workflow in VS that simply does the following:

On Start, goes to an instantiation form. This collects one field of data. When this is submitted, the workflow updates a couple of fields, then finished. Sounds easy huh.... It sure is in SPD, but in VS it isn't so easy. I am also following Robert Shelton's blogs on this (if you have seen them).

So I have my workflow project, and for the pages, am putting them in their own folder  in the LAYOUTS within 12 hive.

I am getting an error of

Object reference not set to an instance of an object. at InstantiationForm_InstantiationForm.serializeInstantiationFormDataToXML() , but I can't debug it (even when attaching to W3WP.exe).

My aspx page code:

<%@ Page Language="C#" AutoEventWireup="true" 
     CodeFile="InstantiationForm.aspx.cs&q


View Complete Post


More Related Resource Links

VS Studio WorkFlow Failed on Start in MOSS 2007 ON Windows Server 2008 64 Bit

  

I have created a sequential sharepoint workflow in WSP Builder in my Sharepoint Server and Deployed it.

But the workflows says Failed on start and retrying ans stops there forever says couldn't start the workflow.

I repaired .NET Framework 3.5sp1 installed

 tried this

 1. I tried again, in C Prompt:  Lodctr "c:\Windows\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\perfcounters.ini"  it says initiation file cannot be found

2   i again tried this C prompt Lodctr /R "c:\Windows\Microsoft.Net\Framework\v3.0\Windows Workflow Foundation\perfcounters.ini"

it says reloaded  from the system restored

i am still getting the same error.

When i manually go to my  C:\Windows\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation i can see a folder for SQL that's it nothing more than that..

I dont know what is happening i am trying it from 2 days and still no solution.

any ideas would be real great help for me.

My system is 64 bit , Window server 2008, MOSS SP2, Visual Studio 2008 Version 9.0.30729.

.Net Framework 3.5 sp1

and WSP builder the one from Codeplex for 64 bit machines


SQL 2008 servers and MOSS 2007 with SSRS

  

I need help figuring out the limitations in a multi-database server environment and MOSS 2007 installation with SSRS.  Here is the run down:

  • I currently have MOSS 2007 server with backend on SQL 2005, which also acts as the SSRS server.  In addition I have another SQL 2005 server where business data resides and against which most of the SSRS reports run.
  • Future plan (over which I don't really have a say) is MOSS 2007 with backend on SQL 2008, which will remain to be the SSRS server.  The second SQL server with business data will be migrated to SQL 2008 R2.

Questions: does this architecture requires SSRS 2008 add-in or SSRS 2008 R2 add-in (integrated mode)?  Will there be an issue of building SSRS 2008 reports that go after SQL 2008 R2 and SQL 2008 data mix?


DOCUMENT WORKFLOW IN MOSS 2007

  

Hi,

We are using Office 2003 standard edition SP3 in our work place in which we are not able to edit documents with workflow .

Any suggestions or alternative option to use this feature is most welcome.

 

Regards,

Garima


Does MOSS 2007 Support SQL Server 2008 R2 RTM version?

  
Hi, We have MOSS 2007 SP1 databases in SQL Server 2005 EE x64 with SP3. Now, we want to upgrade the SQL Server 2005 to SQL server 2008 R2 EE x64 RTM version. Does MOSS 2007 Support SQL Server 2008 R2 RTM version? If yes, please take me to the MS link where I can find this information. Thanks

Contact Selector Failed in MOSS Workflow Modification Infopath Form

  
Hi,   In my proof of concept Moss 2007 WF, I tested an Infopath modification form successfully.  Then the contact selector ActiveX control was added but it failed to open using the modification link of the workflow page.  In a different form for the WF initiation, I similarly created two CS controls and it worked there.  A snippet of the MOSS error is below   Object reference not set to an instance of an object.   at Microsoft.Office.InfoPath.Server.Controls.ContactPicker.RenderClientViewDataLeafContent(XPathNavigator context, IRenderContext renderContext, ControlViewData controlViewData, ScriptWriter writer)    at Microsoft.Office.InfoPath.Server.Controls.LeafControl.RenderClientViewDataContent(XPathNavigator context, IRenderContext renderContext, ScriptWriter writer)    at Microsoft.Office.InfoPath.Server.Controls.BaseControl.RenderClientViewData(XPathNavigator context, IRenderContext renderContext, ScriptWriter writer)    at Microsoft.Office.InfoPath.Server.Controls.ContainerControl.RenderClientViewDataContent(XPathNavigator context, IRenderContext renderContext, ScriptWriter writer)    at Microsoft.Office.InfoPath.Server.Controls.BaseControl.RenderClientViewData(XPathNavigator context, IRenderContext renderContext, ScriptWriter writer)    at Microsoft.Office.InfoPath.Server.Controls.CollectionControl.RenderClientViewDataContent(XPathNavigator context, IRenderContext rend

WebPart Deployment in windows 2008 R2 with Moss 2007

  
Hello, I have build one employee directory webpart that gets necessary information of user from sharepoint site. i have deployed in my testing server "Windows Server 2003 and Moss2007" and it's work fine. When i tried to deploy on my production server "Windows Server 2008 R2 with Moss2007". It give me security error. Request for the permission of type 'Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' failed." I have also created security policy file and added reference to web.config. Still i getting same error please help on this. i am stuck here and not able to find any way to get out of this.

SQL Server 2008/MOSS 2007 Reporting Nightmares

  
I am having issues of the Reporting services kind...I have 2 issues in regards to executing rdl report files (excel reports work fine) when they're read through sharepoint reporting.I'll give you a rundown of the components and layout I'm using first of all. I'm going to put in as much information as I can find, so if you see things that are irrelevant it's just because I want to dump as much as I can incase it tweaks someones brain. FYI I have rebooted the computers and IIS many, many times.Servers:Both of the machines below are VMs on Xenserver. We run on a /23 network for these servers. The domain functional level is Windows 2000 mixed (yeah, I know). Devsp40: devsp40 is a Windows Server 2003 R2 SP2 Enterprise edition x64 server (winver 5.2 R2 Build 3790.srv03_sp2_rtm.070216-1710 : Service Pack 2) running MOSS 2007 Enterprise SP2 and WSS 3.0 sp2 (it recommended I install that) x64. I extracted the install files and put the updates in the update folder for installation. The IP is 10.200.200.66. It's probably worth noting that I am using a trial key for MOSS at the moment until our MSDN license comes through.Devsql40: devsql40 is a Windows Server 2008 R2 Enterprise edition x64 (winver 6.1 build 7600) running SQL Server 2008 R2 SP1 x64. The file version for sqlservr.exe is 2009.100.1352.12. The SQL instance name is default.Devsql40 also has SQL Reporting services installe

The URL is not valid error while publishing InfoPath form to MOSS 2007 server

  
Hi All,   When I try to publish the form onto a SharePoint Team site it throws the error: The following URL is not valid : http://tcs037288:6543/sites/projectmanagement   I have checked the comaptibility, trust and everything looks fine. Also, I tried to upload this template from Central Admin but there it is failing with browser-compatibility errors.       Regards,

Book to learn and Develop enterprise application using InfoPath with workflow in MOSS 2007

  
Hi all, I'm new to infopath forms and i dont find much articles to develop enterprise application (I'm coding for an ERP module). I have sys environement of MOSS 2007, windows 2008 (64 bit), MS SQL 2008  Though it is easy to design and publish form to a site,  devloping the form with more business rules and validation seems to be vague for me. So please refer a good book to find the deveopment procedures to master Infopath with workflow integration. it is quite urgent. Thanks Gomathi Sha   sharepoint development

Add an instantiation form to workflow solution

  
Hi All. I have a VS 2008 Project for a Sharepoint(MOSS) 2007 installation. This project contains a Sharepoint project containing various List Definitions, Content Types and List instances. I also have 2 workflow projects in this solution. For one of my workflow projects, I require an instantiation form. I have 2 queries. 1:- How do I Add an aspx page to my solution. Anywhere I try to add items, I cannot see the aspx option 2:- When referencing the instantiation page in my workflow.xml, what will the path be? Please note that I need to use an aspx page rather than an infopath form for this. This page will only need to have one Multi-Line text field on it. Regards Andrew Berry - Software analyst/Developer

MOSS 2007 Standard installation with SQL Server 2008 EXPRESS Edition server

  
Hello I have installed MOSS 2007 with SQL Server 2008 Express edition. Can anyone tell me what all features will be missing when compared this setup to MOSS 2007 Stanadard with SQL server 2008 lisenced editon? Specifically will I not be getting forms services with "MOSS 2007 with SQL Server 2008 EXPRESS edition"? Thanks in advance.

MOSS 2007 - SharePoint Designer Workflow failing when using group vs individual user

  
I am creating a simple workflow in SharePoint designer that will email a selected user when a list is modified.  I am applying the condition "if modified by" in Designer.  This condition works fine and the email is sent when I select a specific user myDomain\username.  It does not work when I attempt to associate a SharePoint group with the "if modified by" filter. In my example the list has only one SharePoint group associated with it, this is the only group with permissions for the list.  The group contains multiple users. The workflow is successful with the following scenario: if modified by myDomain\user1 or if modified by myDomain\user2 The workflow fails with the follwoing scenario: if modified by mySharePointGroupName  (which includes myDomain\user1 and myDomain\user2) This would be an ungodly if statement with a large membership SharePoint group.  This would also be a nightmare as people leave the organization and their account credentials are left in the large if statement in the workflow.  Looking for the modified condition when associated with a group seems like the logical way of doing this. I also tried "myDomain\domain users" which accounts for all user in my domain, this failed as well. Any advice would be greatly appreciated.

MOSS 2007 Standard installation with SQL Server 2008 EXPRESS Edition server

  
Hello I have installed MOSS 2007 with SQL Server 2008 Express edition. Can anyone tell me what all features will be missing when compared this setup to MOSS 2007 Stanadard with SQL server 2008 lisenced editon? Specifically will I not be getting forms services with "MOSS 2007 with SQL Server 2008 EXPRESS edition"? Thanks in advance.

Moss 2007 and Server 2008 R2 Forest

  

Hello,

I am not sure if this should go to the AD forums but I wanted to verify the compatibility of MOSS 2007 with a Server 2008 R2 forest and domain funtional level. We are looking to upgrade our AD environment to Server 2008 R2.

Any inisght would be greatly appreciated.

Thanks.


Visual Studio 2008 Professional v.s. Standard - support SharePoint 2007 sequential workflow?

  

I would like to ask if VS2008 Standard edition support the project type of SharePoint2007 sequential workflow?

I have a VS2008 Professional edition and it is Ok to create SharePoint2007 sequential workflow project and deply to MOSS2007 successfully.

Is it possible in a VS2008 Standard edition?

Thanks in advance.


Moving to Active Directory to 2008 R2 - any issues with MOSS 2007?

  

Moving to Active Directory to 2008 R2 - any issues with MOSS 2007?

Anybody else running that combination? Any considerations.


How to: include more project in a SharePoint 2007 Workflow solution in Visual Studio 2008

  
Hello!
I just develop  a little bit complex workflow and I want some objects put into an library (simple c# class project) project  in the solution. It is signed, referenced, but when I debug  it send a "System.IO.FileNotFoundException: Could not load file or assembly ..." How to resolve?
Thanks in advance, bts
bts
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