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

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

Sharepoint Worflow in MOSS 2007 and Visual studio EventHandlingScopeActivity in a while loop

Posted By:      Posted Date: September 14, 2010    Points: 0   Category :SharePoint
Hi I'm building a sequencial approval Workflow  exactly the same than the one in the Sharepoint SDK collect feed back workflow. But the thing is that I put all the activities in a while activity and nothing is working any more. My EnableWorkflowModification bugs, and event if I remove it the onTaskUpdated event doesn,t fires. My Workflow look like this. WhileActivity   EventHandlingScopeActivity       Replicator                EnableWorkflowModification                       createTask                       whileLoop                             onTaskUpdated                       CompleteTask   If I remove the global while activity everything is fine. When I add it nothing works.   Can someone help. I dont understand why I cannot put a EventHandlingScopeActivity in while. Thabk youIch bin eine Beignet

View Complete Post

More Related Resource Links

[Sharepoint 2007] How to loop few tasks/activities in Visual studio workflow designer ?


Hi all,

I would like to create a workflow which have 3 tasks.

First the workflow create a task and assigned this task to a user. The user has to choose 4 dates in the year.

For each date chosen of the year two tasks will be created. The first task will ask the user to arrange a meeting.

When the first task has been completed a second task is assigned to the user asking for some feedback of the meeting.


How can i loop these 4 dates easily ?




How to use SharePoint 2007 list data in Reporting Service (Visual Studio) 2008?

Jeez - I have been googling left and right, and tried all the suggestions. No luck in getting it to work. I am using Reporting Service 2008 tools in my VS2008, trying to create a simple report using SharePoint 2007 data (from a simple list). Here is what I've been doing: Created a simple SharePoint list in a test site - only one column (Title) with one record of data. Started Visual Studio 2008 and created a new Report Server Project Wizard project. I named the data source "dsTest". Type: "XML". As connection string I used: http://site/subsite/subsite/_vti_bin/lists.asmx. Credentials: "Use Windows Authentication (Integrated Security)". Clicked Next and arrived at the "Design the Query" form. I entered this in the Query string box: <Query> <Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems" /> <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction> </Query> Clicking Next I get this error: An error occurred while the query design method was being saved. Failed to execute web request for the specified URL. Soap Fault: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown. Now if I view the Details when trying it inside the Query Builder I get this: <errorstring xmlns="http://schemas.mi

Visual studio 2010 extensions for MOSS 2007/2010?

I know we need Visual Studio 2005/2008 extensions for WSS 3.0/MOSS 2007.  If we upgrate to Visual Studio 2010, do we still need to install a Visual Stidio 2010 extenstion for MOSS 2007?  For MOSS2010?

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.

Visual Studio 2010 will not open my MOSS 2007 Site


I am using VS 2010 premium, Win Server 2008 R2, MOSS 2007 and are all installed on the same machine.

First, I when I try to connect with the server explorer...I get A SharePoint server is not installed on this computer which is not true.

Second, When I try to open a website through > open website > local IIS and click on my sharepoint portal site I get.....Unable to open website, Visual Web Dveloper does not support opening sharepoint sites. Why am I getting this? I am not using Visual web Devloper. I am using VS 2010 premium.

Why is it so hard to open adn/or connect to our sharepoint sites with VS 2010? I have no problem at all using Sharepoint designer to connect but I want to use visual stuidio.  I hate the designer. I think microsoft dropped the ball on this one.    Anybody know of a good article/tutorial on this?

SharePoint 2007 Sequential Workflow in Visual Studio



I've got a problem of creating Sharepoint 2007 Sequential Workflow via Visual Studio 2008.

I have a Visual Studio 2008 on my machine which is not the server machine (Window XP) and a server which has SharePoint Server. I had been assigned task to work on Sharepoint Workflow. So, I have decided to create a project on my Visual Studio 2008, Sharepoint 2007 Sequential Workflow. But, I got the problem down here which blocked me. 

"32-bit version of SharePoint Server is not installed. Please install a 32-bit version of SharePoint Server"

and following error in other system:

"Could not load file or assembly 'Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies"

- I am also not allowed to install Visual Studio 2008 on the server.

- I could not install Sharepoint Service 3.0 or SharePoint Server on my machine.

I hope you some body could help me with this matter.


moving from Visual Studio 2005 to visual studio 2010. Will be on MOSS 2007 for next year at least.


Most of my web servers are 64 bit.

At this new shop I don't have any custom visual Studio 2005 compiled workflows or sharePoint solutions.  What I do have is a few DLLs we've deployed manually to the Web front ends in the 12 hive,  And a few low volume non-sharepoint websites I've deployed with the source - because I knew I'd be moving to 2010 very soon.

What's the risk of moving my development client to 2010? Can I have 2005 and 2010 on the same client? Does 2010 have an option for compiling to 2005 compatibility?

What happens if I compile those solutions (as is) in vs 2010 and deploy?  Does something special need to be installed in SharePoint or my web servers to support VS2010 compiled solutions?

BTW, how smooth is the 2005 to 2005 code coversion (if any) process. Can I open 2005 projects/solutions in 2010?




sharepoint 2007 and visual studio 2008


Hello everybody,

I am kind of starting with sharepoint 2007 application development. I've windows 2008 server with share point 2007 server. The machine i will be developing the app is windows xp with VS2008.

1 -  How can I open/connect to a website in sharepoint from vs2008
2- Once connected, how can i debug my app it under vs2008
3- How can I upload my app to sharepoint site.

All I am trying to do is, write own custom web app for share point 
Thank for taking time to answer this questions.  

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

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

Utilizing Entity Framework 4.0 in MOSS 2007 with Visual Studio 2008



I am trying to create a webpart using VSeWSS 1.3 in VS 2008 and utilize Entity Framework 4.0 .

I am able to do it in .NET 3.5 but i am unable to create a 4.0 solution in VS 2008 to replicate steps for 4.0 .

Can this be done, if yes then how?

Your help will be really appreciated.


how to change the layout of the blog or create custom blog in visual studio for sharepoint 2007


i want to change the layout of the blog display in the following  layout of display

<TABLE border=0 rules=none cellspacing=0 cellpadding=2>

    <TR vAlign=top>

      <TD height=95 rowspan=2 width=95 align=middle><A href="<SOURCE URL>" target=”_blank”><IMG border=0 src="<PICTURE URL>"></A></TD>

      <TD><STRONG>Source: <A href="<SOURCE URL>" target=”_blank”><SOURCE NAME></A> | </strong><A href="<SOURCE URL>" target=”_blank”>Rea

Short Overview of SharePoint Features in Visual Studio 2010

As you probably know, Visual Studio 2010 was announced earlier this week and it contains a lot of cool features and project templates for SharePoint developers. Below is a short overview for some of the SharePoint development related features and project templates.

First Look: Visual Studio 2010 Tools for SharePoint Development


This article provides a first look at tools in Visual Studio 2010 designed to support development and deployment of SharePoint 2010 solutions. The article provides an example of designing and deploying a visual Web part.

Steve Fox

MSDN Magazine October 2009

MOSS 2007: Automate Web App Deployment with the SharePoint API


Learn how to automate custom SharePoint application deployments, use the SharePoint API, and avoid the hassle of custom site definitions.

E. Wilansky, P. Olszewski, and R. Sneddon

MSDN Magazine May 2008

Cannot locate Tsneu.xml to Configure SharePoint Treasure (Synonym) In MOSS 2007


Hi all,

I wanna follow this article -> http://www.codeproject.com/Articles/36203/How-to-Configure-SharePoint-Treasure-Synonym-In-MO.aspx?msg=3038555 

to figure SharePoint Treasure (Synonym) In MOSS 2007.


I created the SSP for searching file, and my SSP guid is 7xxxxxx-xx etc., but in my MOSS 2007 server,  

I have this folder -> "Drive:\Program Files\Microsoft Office Servers\12.0\Data",

but no I haven't "Drive:\Program Files\Microsoft Office Servers\12.0\Data\Applications\" folder, so I cannot locate Tsneu.xml as above article.


I can find "tsneu.xml" file in following 4 folders, I don't know which file I should modify... 


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

Visual Studio 2005 Extension for Sharepoint Workflow.


Hi All,

I want to develop sequential workflow using visual studio 2005. I have development server with Windows Server 2003 x86 installed.

Could anyone advise will i need to install Sharepoint first to have workflow feature in visual studio.

Also what all extension component i need to install to develop Sequential Workflow for Sharepoint 2007 document library.


Many Thanks


-- Regards Sandeep
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