I'm trying to build worflow (on Sharepoint 2007 ) which contains a WhileActivity ,The workflow works successfully without WhileActivity ,When i added WhileActivity to workflow designer , the workflow stops after InitializeComponent() method.
Is There any idea to solve this issue?
I found a wrokaround this issue by swicth condition from declarative to code.
Related
I would like to send my coworkers a link directly to a line number in a file in our TFS repo. Is this possible? If so, how? We are using TFS 2015.
Currently, the best way I have found is to link to the file like so:
http[s]://{TFS-SERVER}[:{PORT}]/tfs/{PROJECT-COLLECTION}/_versionControl#path={PATH-TO-FILE}
Then, Ctrl+G to manually enter the line number. Before I dig through the JavaScript to find how Ctrl+G works, I am hoping someone can help me out.
I have tried variations on this theme, but without sucecss:
http[s]://{TFS-SERVER}[:{PORT}]/tfs/{PROJECT-COLLECTION}/_versionControl#path={PATH-TO-FILE}#line={LINE}
P.S. My issue is similar to this issue but rather than for Visual Studio, I am looking for a link via the TFS web portal.
Once you select a piece of code in VSO code editor, it is possible to copy a link to that section (see picture below). It looks like TFS has pretty similar url structure, maybe it will work.
Generated link structure
https://{PROJECT_URL}/_versionControl?path={FILE_PATH}&line={SELECTION_START_LINE}&lineEnd={SELECTION_END_LINE}&lineStartColumn={SELECTION_START_COLUMN}&lineEndColumn={SELECTION_END_COLUMN}
Just heard from a guy inside of Microsoft that adding &line=5should work. My local tests show it only works for Visual Studio team Services and doesn't work on TFS 2015 update 2. You'll probably have to wait until update 3 for this feature to hit TFS.
In the mean time, the JavaScript simply looks for a div with the right linenumber attribute:
<div linenumber="5">...</div>
The Application Data folder for Visual Studio could not be created, this is the problem showing in my Jenkins. Before it works, all of sudden it is not working now after restarting the machine. I tried all the ways given in on-line and given in the below document too.
http://saurabharorablog.blogspot.ca/2012/06/solution-application-data-folder-for.html
Could anyone help me. Thanks in advance.
We solved this issue by simply running Visual Studio as an Administrator. This created the necessary folders and we were able to use it normally n all scenarios after that, including in Jenkins.
Key is: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
Entry inside this is ‘AppData’ which had the value %APPDATA%.
Then I changed it to this value %USERPROFILE%\AppData\Roaming
Then all the applications started working as usual. I wish any of you who find similar error message could use this solution to fix it.
[NOTE: The following link is broken from the US. Perhaps other locations as well. It should not be clicked as the site it reaches does not appear safe.]
Ref:http://tutewall[do not use]com/application-data-folder-for-visual-studio-could-not-be-created/
I am new to Microsoft TFS, (I am used to Perforce - a similar tool).
How can we trigger or run a user script automatically when ever a particular event occurs
in TFS?
For instance, I want to run my java file when ever a change to any file has been saved through TFS.
(In perforce I used "Change-commit triggers" to achieve this)
Please help me out.
EDIT: After some research,
I figured that we need to "Use the InvokeProcess activity to start a process (run a program) on the build server" from the following source.
But How do I use it?? I am using a "Microsoft Team Explorer for Visual Studio 2012". Not able to figure out how to use InvokeProcess.. Please help me out..
you can't use the default template for invoke process. you need a custom template to set up invoke process.
http://msdn.microsoft.com/en-us/library/ff805001(v=vs.100).aspx ( check the invokeprocess part in this link )
Did you try with Build option available in Team explorer?
We recently upgraded our TFS 2010 to the TFS 2012 RC release. Everything upgraded easily with the exception of our Builds. Does anyone know where to find any logs that show why the build controllers/agents are running?
We have a Single Server configuration where TFS, SharePoint, SQL2008 R2, Build Controller, and Build Agent are all on the same box.
All of the new features appear to be working with the exception of builds. When the build component is started, it initially shows the Controller and Agent as "Green Arrow" status, but after 30 seconds goes to the "Red Box" status.
Then if you click the "Details" link to see what the error is, I receive a popup with a 500 error:
Any help on how to diagnose or find error logs, etc. would be appreciated.
Just fixed the problem.
We had added an additional port binding to the Web Site to make our Bug Tracker available via another port. This created a scenerio where multiple bindings for the same protocol prevent the services from working correctly.
We added the following to the web.config file for the TFS site and everything started working again.
<system.serviceModel>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
</system.serviceModel>
Try changing the account that runs the controller/agent with a typical TFSService account.
In case anyone has the same problem, this is the path to the web.config file:
Microsoft Team Foundation Server 11.0\Version Control Proxy\Web Services
I'm working in a project and I'm trying to optimize testing process so, when I execute a test case and I found a bug, I would like to associate this bug to the current build.
The builds are created automatically but when I try to select the built in the droplist there are not builds to select, so... How can I do it to get all the builds that I've made automatically?
Maybe is there any issue with Global List?
Im using VS 2010 and I have installed TFS 2010 Power Tools.
Thanks in advance!!
The global list is normally updated by an event subscription on the server that handles the BuildCompleted event. On your TFS server, there should be an executable named BisSubscribe.exe. You can use that to verify or fix the subscription. For more details, check out Jason Prickett's blog post on How to filter the Build Completion Event.