<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>The System Center Platform in Service Manager Part 3: The Data Access Service – Try It!</title><link>http://blogs.technet.com/b/servicemanager/archive/2009/08/09/the-system-center-platform-in-service-manager-part-3-the-data-access-service-try-it.aspx</link><description>This post is a continuation in the series which describes the System Center common platform components implemented in Service Manager. Previous posts: 
 The System Center Platform in Service Manager Part 1: Introduction 
 The System Center Platform</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: The System Center Platform in Service Manager Part 3: The Data Access Service – Try It!</title><link>http://blogs.technet.com/b/servicemanager/archive/2009/08/09/the-system-center-platform-in-service-manager-part-3-the-data-access-service-try-it.aspx#3556648</link><pubDate>Tue, 05 Mar 2013 22:15:46 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3556648</guid><dc:creator>Aleem Qureshi</dc:creator><description>&lt;p&gt;FYI, (just sharing for others)&lt;/p&gt;
&lt;p&gt;I was able to follow sample code in this link and made good progress. &lt;/p&gt;
&lt;p&gt;&amp;quot;Create Service Request from Request Offer meet Exception&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://social.technet.microsoft.com/Forums/pl/customization/thread/461a4e29-2f77-4702-a008-3ab105bf1afe"&gt;social.technet.microsoft.com/.../461a4e29-2f77-4702-a008-3ab105bf1afe&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3556648" width="1" height="1"&gt;</description></item><item><title>re: The System Center Platform in Service Manager Part 3: The Data Access Service – Try It!</title><link>http://blogs.technet.com/b/servicemanager/archive/2009/08/09/the-system-center-platform-in-service-manager-part-3-the-data-access-service-try-it.aspx#3556562</link><pubDate>Tue, 05 Mar 2013 17:01:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3556562</guid><dc:creator>Aleem</dc:creator><description>&lt;p&gt;Thanks for the input Travis.&lt;/p&gt;
&lt;p&gt;I was able to pull &amp;quot;ConnectedUser&amp;quot; names from my ServiceManager server yesterday. I notice the version and keytoken you were using for &amp;quot;System.WorkItem.Incident.Library&amp;quot; are of SystemManagementPack.System.&lt;/p&gt;
&lt;p&gt;My question is what are the best practices to call GetManagementPack to get (lets say) a list of all ServiceReuqests in SM CMDB?&lt;/p&gt;
&lt;p&gt;any url link will be helpful.&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Aleem&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3556562" width="1" height="1"&gt;</description></item><item><title>re: The System Center Platform in Service Manager Part 3: The Data Access Service – Try It!</title><link>http://blogs.technet.com/b/servicemanager/archive/2009/08/09/the-system-center-platform-in-service-manager-part-3-the-data-access-service-try-it.aspx#3556387</link><pubDate>Mon, 04 Mar 2013 22:36:41 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3556387</guid><dc:creator>Travis Wright MSFT</dc:creator><description>&lt;p&gt;@Aleem - &lt;/p&gt;
&lt;p&gt;This error message you are getting is not about a failed connection. &amp;nbsp;It is telling you that there is no MP with the identity of Microsoft.WorkItem.Incident.Library with the same public key token and version that you are passing in. &amp;nbsp;This is because the code that I wrote here is not particularly good. &amp;nbsp;It assumes that the Microsoft.WorkItem.Incident.Library version would always be the same as the system library MP version. &amp;nbsp;Since the time of writing this blog post the version numbers have become different.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3556387" width="1" height="1"&gt;</description></item><item><title>re: The System Center Platform in Service Manager Part 3: The Data Access Service – Try It!</title><link>http://blogs.technet.com/b/servicemanager/archive/2009/08/09/the-system-center-platform-in-service-manager-part-3-the-data-access-service-try-it.aspx#3556325</link><pubDate>Mon, 04 Mar 2013 17:54:49 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3556325</guid><dc:creator>Aleem Qureshi</dc:creator><description>&lt;p&gt;BTW,&lt;/p&gt;
&lt;p&gt;I am running System Center 2012 Service Manager Service Pack 1.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3556325" width="1" height="1"&gt;</description></item><item><title>re: The System Center Platform in Service Manager Part 3: The Data Access Service – Try It!</title><link>http://blogs.technet.com/b/servicemanager/archive/2009/08/09/the-system-center-platform-in-service-manager-part-3-the-data-access-service-try-it.aspx#3556321</link><pubDate>Mon, 04 Mar 2013 17:51:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3556321</guid><dc:creator>Aleem Qureshi</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I tried to execute the code on our Service Manager server. I am getting the following error:&lt;/p&gt;
&lt;p&gt;Microsoft.EnterpriseManagement.Common.ObjectNotFoundException: An object of class ManagementPack with name System.WorkItem.Incident.Library was not found.&lt;/p&gt;
&lt;p&gt;I even tried replacing &amp;#39;localhost&amp;#39; with FQDN Server Name in line &lt;/p&gt;
&lt;p&gt;EnterpriseManagementGroup mg = new EnterpriseManagementGroup(&amp;quot;localhost&amp;quot;);&lt;/p&gt;
&lt;p&gt;still no luck.&lt;/p&gt;
&lt;p&gt;System Center Data Access Service is running on Service Manager Server.&lt;/p&gt;
&lt;p&gt;Service Manager Console is working properly.&lt;/p&gt;
&lt;p&gt;Why can&amp;#39;t the above code connect to the Data Access Service?&lt;/p&gt;
&lt;p&gt;Where can i start looking for bugs?&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;Aleem&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3556321" width="1" height="1"&gt;</description></item><item><title>re: The System Center Platform in Service Manager Part 3: The Data Access Service – Try It!</title><link>http://blogs.technet.com/b/servicemanager/archive/2009/08/09/the-system-center-platform-in-service-manager-part-3-the-data-access-service-try-it.aspx#3346686</link><pubDate>Sun, 25 Jul 2010 01:20:15 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3346686</guid><dc:creator>Travis Wright MSFT</dc:creator><description>&lt;p&gt;There are two ways to create/set relationships:&lt;/p&gt;
&lt;p&gt;1) Using type projections - more information here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/jakuboleksy/archive/2009/01/20/getting-started-with-type-projections.aspx"&gt;blogs.msdn.com/.../getting-started-with-type-projections.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/jakuboleksy/archive/2009/02/04/more-with-type-projections.aspx"&gt;blogs.msdn.com/.../more-with-type-projections.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/jakuboleksy/archive/2009/03/04/getting-and-working-with-type-projections-basic.aspx"&gt;blogs.msdn.com/.../getting-and-working-with-type-projections-basic.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll also be doing a big blog post on working programmatically with type projections on this blog soon. &amp;nbsp;Watch for that.&lt;/p&gt;
&lt;p&gt;2) Creating relationships manually - do this by getting the relationship object, the source object and the target object. &amp;nbsp;Then set the source and target property of the relationship object and .Submit() it.&lt;/p&gt;
&lt;p&gt;To set the Source of the incident you would do the same as for Impact or Urgency above. &amp;nbsp;Get the correct enumeration value and set the projectionIncident.Object[classIncident, &amp;quot;Source&amp;quot;].Value = someSource.Id &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3346686" width="1" height="1"&gt;</description></item><item><title>re: The System Center Platform in Service Manager Part 3: The Data Access Service – Try It!</title><link>http://blogs.technet.com/b/servicemanager/archive/2009/08/09/the-system-center-platform-in-service-manager-part-3-the-data-access-service-try-it.aspx#3346296</link><pubDate>Fri, 23 Jul 2010 13:22:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3346296</guid><dc:creator>Jeremy</dc:creator><description>&lt;p&gt;Thanks for the example - using this example what code could I use to set the affected user, and the source of the incident?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3346296" width="1" height="1"&gt;</description></item></channel></rss>