<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to configure WIT OM on a web application?</title><link>http://blogs.msdn.com/narend/archive/2006/07/29/how-to-configure-wit-om-on-a-web-application.aspx</link><description>I see various questions on configuration difficulties in using Workitem OM in web application. Unfortunately workitem object model is not yet optimized for web scenarios and it still uses a cache per user. So implementing security gets tricky. I wrote</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Displaying Work Items on a Web Page</title><link>http://blogs.msdn.com/narend/archive/2006/07/29/how-to-configure-wit-om-on-a-web-application.aspx#699848</link><pubDate>Mon, 14 Aug 2006 20:40:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:699848</guid><dc:creator>Jean-Luc David</dc:creator><description>A lot of the people I've met in the past year have requested code&amp;amp;amp;nbsp;that&amp;amp;amp;nbsp;demonstrates how to&amp;amp;amp;nbsp;display...</description></item><item><title>TFS API documentation is now on the MSDN web site</title><link>http://blogs.msdn.com/narend/archive/2006/07/29/how-to-configure-wit-om-on-a-web-application.aspx#747199</link><pubDate>Sat, 09 Sep 2006 04:33:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:747199</guid><dc:creator>Buck Hodges</dc:creator><description>Rob Caron mentioned that the SDK documentation is now on the MSDN web site.&amp;amp;nbsp; That SDK documentation...</description></item><item><title>TFS API documentation is now on the MSDN web site</title><link>http://blogs.msdn.com/narend/archive/2006/07/29/how-to-configure-wit-om-on-a-web-application.aspx#747206</link><pubDate>Sat, 09 Sep 2006 04:37:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:747206</guid><dc:creator>Buck Hodges</dc:creator><description>Rob Caron mentioned that the SDK documentation is now on the MSDN web site.&amp;amp;amp;nbsp; That SDK documentation...</description></item><item><title>Continuous Integration with Team Foundation Server</title><link>http://blogs.msdn.com/narend/archive/2006/07/29/how-to-configure-wit-om-on-a-web-application.aspx#750141</link><pubDate>Tue, 12 Sep 2006 06:04:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:750141</guid><dc:creator>Javier G. Lozano</dc:creator><description /></item><item><title>Continuous Integration with Team Foundation Server</title><link>http://blogs.msdn.com/narend/archive/2006/07/29/how-to-configure-wit-om-on-a-web-application.aspx#755149</link><pubDate>Fri, 15 Sep 2006 06:10:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:755149</guid><dc:creator>Javier G. Lozano</dc:creator><description /></item><item><title>re: How to configure WIT OM on a web application?</title><link>http://blogs.msdn.com/narend/archive/2006/07/29/how-to-configure-wit-om-on-a-web-application.aspx#4174487</link><pubDate>Wed, 01 Aug 2007 21:29:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4174487</guid><dc:creator>palak jain</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i have followed your code and some other code. &amp;nbsp;I got to the points where i am able to make connection with server when i execute server.authenticate code. &amp;nbsp;After that when i try to define workitemstore, i am able to do it, but i can't define to perticular one out of multimple workitemstore. &amp;nbsp;I have total of three workitemstore. &amp;nbsp;One is main and other two are for testing purpose.&lt;/p&gt;
&lt;p&gt;Note: i am using vb.net&lt;/p&gt;
&lt;p&gt;If you write me a code in c#.net, i know how to covert that from c#.net to vb.net. &amp;nbsp;so please help me in any language you can.&lt;/p&gt;
&lt;p&gt;My code is below:&lt;/p&gt;
&lt;p&gt;-----------------&lt;/p&gt;
&lt;p&gt;Dim username As String = &amp;quot;username&amp;quot;&lt;/p&gt;
&lt;p&gt;Dim password As String = &amp;quot;password&amp;quot;&lt;/p&gt;
&lt;p&gt;Dim servername As String = &amp;quot;&lt;a rel="nofollow" target="_new" href="http://servername:8080&amp;quot;"&gt;http://servername:8080&amp;quot;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Dim domain As String = &amp;quot;servername&amp;quot;&lt;/p&gt;
&lt;p&gt;Dim project as project&lt;/p&gt;
&lt;p&gt;Dim account As New NetworkCredential(username, password, domain)&lt;/p&gt;
&lt;p&gt;Dim credentials As ICredentials = CType(account, ICredentials)&lt;/p&gt;
&lt;p&gt;Dim server As New TeamFoundationServer(servername, credentials)&lt;/p&gt;
&lt;p&gt;server.Authenticate() 'I am able to make connection till here.&lt;/p&gt;
&lt;p&gt;'Dim store As WorkItemStore = New WorkItemStore(server)&lt;/p&gt;
&lt;p&gt;Dim store As WorkItemStore = CType(server.GetService(GetType(WorkItemStore)), WorkItemStore)&lt;/p&gt;
&lt;p&gt;' I have tried both of above lines one bye one in order to define 'store' variable as 'workitemstore' type, but i get store = nothing. &amp;nbsp;Actually i have three workitemstore. &amp;nbsp;One regualr and other two are for testing purpose. &amp;nbsp;So I am tring to find a way to define 'store' to one of the workitemstore out of three.&lt;/p&gt;
&lt;p&gt;'Can you help me with this?&lt;/p&gt;
&lt;p&gt;project = store.Projects(&amp;quot;ProjectName&amp;quot;)&lt;/p&gt;
</description></item><item><title>re: How to configure WIT OM on a web application?</title><link>http://blogs.msdn.com/narend/archive/2006/07/29/how-to-configure-wit-om-on-a-web-application.aspx#7288824</link><pubDate>Mon, 28 Jan 2008 18:16:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7288824</guid><dc:creator>Fredrik</dc:creator><description>&lt;p&gt;Thanks alot! This article helped me avioding the TF26212 error when creating work items programatically. The thing that I had missed was &amp;quot;Enable read/write access to Temporary ASP.NET files for Authenticated Users&amp;quot;. Thanks again!&lt;/p&gt;
</description></item><item><title>re: How to configure WIT OM on a web application?</title><link>http://blogs.msdn.com/narend/archive/2006/07/29/how-to-configure-wit-om-on-a-web-application.aspx#7750603</link><pubDate>Sun, 17 Feb 2008 14:41:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7750603</guid><dc:creator>Roy</dc:creator><description>&lt;p&gt;With Ipersonate=true, I had the same TF30063 problem in this code:&lt;/p&gt;
&lt;p&gt;TeamFoundationServer tfs = new TeamFoundationServer(&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;tfsServer&amp;quot;, credentials);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tfs.Authenticate(); //EXCEPTION HERE&lt;/p&gt;
&lt;p&gt;When I use other overloaded ctor of TeamFoundationServer:&lt;/p&gt;
&lt;p&gt;TeamFoundationServer tfs = new TeamFoundationServer(&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;tfsServer&amp;quot;);&lt;/p&gt;
&lt;p&gt;I could tfs.Authenticate() after...&lt;/p&gt;
</description></item><item><title>re: How to configure WIT OM on a web application?</title><link>http://blogs.msdn.com/narend/archive/2006/07/29/how-to-configure-wit-om-on-a-web-application.aspx#7777703</link><pubDate>Mon, 18 Feb 2008 21:14:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7777703</guid><dc:creator>narend</dc:creator><description>&lt;p&gt;Roy, try posting this in our forums at &lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/Forums/default.aspx?ForumGroupID=5&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/Forums/default.aspx?ForumGroupID=5&amp;amp;SiteID=1&lt;/a&gt; and someone would reply. I am not sure why you are getting this. We need more details on how to repro.&lt;/p&gt;
</description></item><item><title>re: How to configure WIT OM on a web application?</title><link>http://blogs.msdn.com/narend/archive/2006/07/29/how-to-configure-wit-om-on-a-web-application.aspx#9010360</link><pubDate>Wed, 22 Oct 2008 00:00:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9010360</guid><dc:creator>binuk</dc:creator><description>&lt;p&gt;Hi Guys,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I have an issue with registry access error that i am getting when i am trying to access a work item store. The Details of the steps that we have tried to resolve the issue are described in the following link&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://social.msdn.microsoft.com/Forums/en-US/tfsworkitemtracking/thread/d9bd8518-43aa-4207-bded-db4a1b89f7eb"&gt;http://social.msdn.microsoft.com/Forums/en-US/tfsworkitemtracking/thread/d9bd8518-43aa-4207-bded-db4a1b89f7eb&lt;/a&gt;. I am not have a&lt;/p&gt;
&lt;p&gt;An Help is appreciated. Thanks a lot in advance&lt;/p&gt;
</description></item><item><title>re: How to configure WIT OM on a web application?</title><link>http://blogs.msdn.com/narend/archive/2006/07/29/how-to-configure-wit-om-on-a-web-application.aspx#9635849</link><pubDate>Fri, 22 May 2009 22:59:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9635849</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;	I am getting this exception after I deployed the code on the web server&lt;/p&gt;
&lt;p&gt;	The webpage basically grabs information on from Form -- connects to TFS and creates a bug.&lt;/p&gt;
&lt;p&gt;The web application is runnig under dedicated apppool, Integrated windows – Disabled Anonymous&lt;/p&gt;
&lt;p&gt;Web.config was set to&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;identity impersonate=&amp;quot;true&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;authentication mode=&amp;quot;Windows&amp;quot;/&amp;gt;&lt;/p&gt;
&lt;p&gt;Exception information: &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Exception type: TeamFoundationServerUnauthorizedException &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Exception message: TF30063: You are not authorized to access TFSserver.&lt;/p&gt;
&lt;p&gt;Please let me know how can I fix this..&lt;/p&gt;
&lt;p&gt;thnx in advance.&lt;/p&gt;
</description></item><item><title>re: How to configure WIT OM on a web application?</title><link>http://blogs.msdn.com/narend/archive/2006/07/29/how-to-configure-wit-om-on-a-web-application.aspx#9635893</link><pubDate>Fri, 22 May 2009 23:25:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9635893</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;In addition to the above issue::&lt;/p&gt;
&lt;p&gt;The app pool account is already a member of &lt;/p&gt;
&lt;p&gt;	[server]\Team Foundation Valid Users&lt;/p&gt;
&lt;p&gt;		[Team Project]\Contributors&lt;/p&gt;
</description></item></channel></rss>