<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Troy Scott's Web Blog &#187; Web</title>
	<atom:link href="http://troyscott.ca/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://troyscott.ca</link>
	<description></description>
	<lastBuildDate>Mon, 17 Oct 2011 22:30:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Joomla! Configuration Error &#8211; JFTP::write: Bad response</title>
		<link>http://troyscott.ca/2010/11/19/joomla-configuration-error-jftpwrite-bad-response/</link>
		<comments>http://troyscott.ca/2010/11/19/joomla-configuration-error-jftpwrite-bad-response/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 07:47:00 +0000</pubDate>
		<dc:creator>Troy</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Social Networking]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://troyscott.ca/2010/11/19/joomla-configuration-error-jftpwrite-bad-response/</guid>
		<description><![CDATA[&#160; I just installed Joomla! version 1.5.22 the other day for a Not-For-Profit organization.&#160;&#160; I tried to change the Color Variation and Background Variation property from Black to Blue in the Template Manager: When I applied the change I received the following errors: JFTP::write: Bad Response Operation Failed!: failed to open /home/user/public_html/imagearts/…/params.ini for writing Many [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>I just installed Joomla! version 1.5.22 the other day for a Not-For-Profit organization.&#160;&#160; I tried to change the Color Variation and Background Variation property from Black to Blue in the Template Manager:</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/11/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/11/image_thumb.png" width="244" height="167" /></a></p>
<p>When I applied the change I received the following errors:</p>
<ul>
<li><font size="1">JFTP::write: Bad Response</font></li>
<li><font size="1">Operation Failed!: failed to open /home/<font color="#0000ff"><em>user/</em></font><font color="#000000">public_html/imagearts/…/params.ini for writing</font></font></li>
</ul>
<p>Many time when there is a problem with file write permissions people have a tendency to perform a chmod 777.&#160;&#160; Sure this approach works but it allows any to have access to the file.&#160;&#160; So I took a conservative approach and started by looking at the existing permissions which was 555 and change it to 755 which gives the Owner Write access.&#160; </p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/11/image1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/11/image_thumb1.png" width="244" height="236" /></a></p>
<p>I used Filezilla to modify the file permissions.&#160; Once the permissions were modified to 755 the changes were applied successfully:</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/11/image2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/11/image_thumb2.png" width="244" height="170" /></a></p>
<p>I also experienced a similar situation with the configuration.php file but in this case it was the Group that required Write permissions (the Owner already had Write).&#160; You need to set the permissions to chmod 664 :</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/11/image3.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/11/image_thumb3.png" width="236" height="244" /></a></p>
<p>The web server is hosted by Host Papa and it is a Linux/Apache server.&#160; </p>
<p>Troy</p>
]]></content:encoded>
			<wfw:commentRss>http://troyscott.ca/2010/11/19/joomla-configuration-error-jftpwrite-bad-response/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BDC Models in Visual Studio 2010 for SharePoint Foundation Server 2010</title>
		<link>http://troyscott.ca/2010/08/07/bdc-models-in-visual-studio-2010-for-sharepoint-foundation-server-2010/</link>
		<comments>http://troyscott.ca/2010/08/07/bdc-models-in-visual-studio-2010-for-sharepoint-foundation-server-2010/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 00:34:36 +0000</pubDate>
		<dc:creator>Troy</dc:creator>
				<category><![CDATA[csharp]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://troyscott.ca/2010/08/07/bdc-models-in-visual-studio-2010-for-sharepoint-foundation-server-2010/</guid>
		<description><![CDATA[When I first started building External Content Types in (ECT) SharePoint Foundation Server I used SharePoint Designer.&#160;&#160; SharePoint Designer is a good place to start if you are learning how build ECT’s.&#160; It does not require any .NET code and you can build a fairly decent application in little time especially if you have a [...]]]></description>
			<content:encoded><![CDATA[<p>When I first started building External Content Types in (ECT) SharePoint Foundation Server I used SharePoint Designer.&#160;&#160; SharePoint Designer is a good place to start if you are learning how build ECT’s.&#160; It does not require any .NET code and you can build a fairly decent application in little time especially if you have a solid relational database background.&#160; But I wanted to try build an External Content Type using Visual Studio 2010.&#160;&#160; In this case I am going to build a simple BDS Model based on the SalesLT.Customer table in the AdventureWorksLT2008R2 database.</p>
<p>First, lets start by creating an empty SharePoint 2010 Solution (C#)&#160; in Visual Studio 2010.&#160; Select File &gt; New &gt; Project from the file menu.&#160; In the Installed Template section under Visual C# &gt; SharePoint &gt; 2010 select the Empty SharePoint Project and name the project SPDev1.&#160; This will create an empty SharePoint project which we can add multiple projects to.</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/08/image7.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb7.png" width="244" height="169" /></a> </p>
<p>When you select Ok the SharePoint Customization will be displayed.&#160; Enter the the site you want to use for debugging the project and make sure you select “Deploy as a farm” solution:</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/08/image8.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb8.png" width="244" height="177" /></a> </p>
<p>Right-click on the SPDev1 project and select Add New Item:</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/08/image9.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb9.png" width="202" height="244" /></a> </p>
<p>Now Select Business Data Connectivity Model from the Add New Item list and name it AWLTCustomer.&#160; Once you enter the name of the model click Add:</p>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="200"><a href="http://troyscott.ca/wp-content/uploads/2010/08/image10.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb10.png" width="244" height="171" /></a></td>
<td valign="top" width="200"><a href="http://troyscott.ca/wp-content/uploads/2010/08/image11.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb11.png" width="244" height="147" /></a></td>
</tr>
<tr>
<td valign="top" width="200"><strong>Add BDC Item</strong></td>
<td valign="top" width="200"><strong>BDC Solution</strong></td>
</tr>
</tbody>
</table>
<p>When the BDC Model is added it is fully functional.&#160; If you Build the project it will compile without any errors.&#160; </p>
<p>You will notice that I named the Blog Post <em>“BDC Models in Visual Studio 2010 for<strong> SharePoint Foundation Server 2010</strong>”&#160; </em>and not <em>“BDC Models in Visual Studio 2010 for<strong> SharePoint Server 2010</strong>”&#160; .&#160; </em>If you created this project using SharePoint Server 2010 you can actually deploy this project to the debug site and it will create an BDC Model with an entity called Entity1.&#160; But if you are using SharePoint Foundation Server 2010 you will receive the following error when the project is deployed (Right-click the project and click Deploy):</p>
<p><em><font color="#ff0000">Error&#160;&#160;&#160; 1&#160;&#160;&#160; Error occurred in deployment step &#8216;Add Solution&#8217;: Failed to load receiver assembly &quot;Microsoft.Office.SharePoint.ClientExtensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&quot; for feature &quot;SPDev1_Feature1&quot; (ID: 1a75169a-e716-4d4b-a43c-3c0cf032fc40).: System.IO.FileNotFoundException: …</font></em></p>
<p>In order to deploy a BDC Model to Foundation Server a Feature Event Receiver is required to publish the mode to the site:</p>
<p><a href="http://code.msdn.microsoft.com/BDCSPFoundation" target="_blank">Publish BDC Model project to SharePoint Foundation 2010 with Visual Studio 2010</a></p>
<p>The following post on one of the Microsoft Blog sites provides details on how create the Feature Event Receiver.&#160; </p>
<p><a href="http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/04/02/deploy-a-bdc-model-project-to-sharepoint-foundation-2010-using-visual-studio-2010.aspx"></a><a href="http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/04/02/deploy-a-bdc-model-project-to-sharepoint-foundation-2010-using-visual-studio-2010.aspx" target="_blank">Deploy a BDC Model project to SharePoint Foundation 2010 using Visual Studio 2010</a></a></p>
<p>Basically you need to download the following file from the first link: </p>
<p><a href="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=BDCSPFoundation&amp;DownloadId=9352" target="_blank">Feature Event Receiver (C#)</a>&#160;</p>
<p>In the current project, add an Event Receiver to Feature1 by right-clicking Feature1 and select Add Event Receiver:</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/08/image12.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb12.png" width="244" height="225" /></a>&#160;</p>
<p>First copy the existing content of Feature1.EventReceiver.cs to a file using notepad.&#160; Next, replace the contents of Feature1.EventReceiver.cs with the contents of the file downloaded from the Microsoft site (FeatureEventReceiver.cs) (Ctrl-C, Ctrl-V).&#160;&#160; The details from this point on can be found in the Microsoft Blog post mentioned above (<a href="http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/04/02/deploy-a-bdc-model-project-to-sharepoint-foundation-2010-using-visual-studio-2010.aspx"></a><a href="http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/04/02/deploy-a-bdc-model-project-to-sharepoint-foundation-2010-using-visual-studio-2010.aspx" target="_blank">Deploy a BDC Model project to SharePoint Foundation 2010 using Visual Studio 2010</a></a>), but I will provide some additional screenshots along with the steps.</p>
<p>We need to Add a reference to the MicrosoftBusinessData.dll. In order to do this you have to copy the dll from the GAC.&#160;&#160;&#160; Click Start &gt; Run and enter the following:</p>
<ul>
<li>C:\Windows\assembly\gac_msil </li>
</ul>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="200"><a href="http://troyscott.ca/wp-content/uploads/2010/08/image13.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb13.png" width="244" height="128" /></a></td>
<td valign="top" width="200"><a href="http://troyscott.ca/wp-content/uploads/2010/08/image14.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb14.png" width="244" height="136" /></a></td>
</tr>
</tbody>
</table>
<p>&#160;</p>
<p>Find the Microsoft.BusinessData folder and copy the Microsoft.BusinessData.dll to the following folder:</p>
<ul>
<li>C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI </li>
</ul>
<p>Next add the following references to the project:</p>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="200"><a href="http://troyscott.ca/wp-content/uploads/2010/08/image15.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb15.png" width="244" height="202" /></a> </td>
<td valign="top" width="200"><a href="http://troyscott.ca/wp-content/uploads/2010/08/image16.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb16.png" width="244" height="207" /></a> </td>
</tr>
<tr>
<td valign="top" width="200"><strong><font size="1">System.Web</font></strong></td>
<td valign="top" width="200"><strong>Microsoft.BusinessData.dll</strong></td>
</tr>
</tbody>
</table>
<p>Set the BDC (SharePoint item property) which in our case is located in the AWLTCustomer model and set the following properties located under Feature Receiver Category:</p>
<ul>
<li><strong>Assembly</strong> = Assembly = $SharePoint.Project.AssemblyFullName$ </li>
<li><b>Class Name</b> = SPDev1.Features.Feature1.ImportModelReceiver </li>
</ul>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="200"><a href="http://troyscott.ca/wp-content/uploads/2010/08/image17.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb17.png" width="244" height="240" /></a> </td>
<td valign="top" width="200"><a href="http://troyscott.ca/wp-content/uploads/2010/08/image18.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb18.png" width="244" height="221" /></a> </td>
</tr>
<tr>
<td valign="top" width="200"><strong>Properties Before</strong></td>
<td valign="top" width="200"><strong>Properties After</strong></td>
</tr>
</tbody>
</table>
<p>Set the Feature property by double clicking on Feature1.Feature and update the following property:</p>
<ul>
<li><strong>Receiver Class</strong> = SPDev1.Features.Feature1.ImportModelReceiver </li>
</ul>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="200"><a href="http://troyscott.ca/wp-content/uploads/2010/08/image19.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb19.png" width="244" height="219" /></a> </td>
<td valign="top" width="200"><a href="http://troyscott.ca/wp-content/uploads/2010/08/image20.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb20.png" width="244" height="221" /></a> </td>
</tr>
<tr>
<td valign="top" width="200"><strong>Properties Before</strong></td>
<td valign="top" width="200"><strong>Properties After</strong></td>
</tr>
</tbody>
</table>
<p>One last thing, we need to change the Namespace of the code that was copied into Feature1.EventReceiver.cs from BDCModelReceiver to SPDev1:</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/08/image21.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb21.png" width="244" height="79" /></a>&#160;</p>
<p>I have been writing this post while following&#160; Microsoft Blog.&#160; So, here is the moment of truth.&#160; After the last step we should be able to deploy the BDC model.&#160; Right-click on the project and click deploy or click F5 if you want to debug the solution.&#160; To view the content type you can open SharePoint Designer and navigate to the External Content Type sit object:</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/08/image22.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb22.png" width="244" height="174" /></a> </p>
<p> Before you can create an External list based on the new External Content Type the permissions must be set.&#160; Check out this post for setting the permissions using the SharePoint Central Administration site:</p>
<p><a href="http://troyscott.ca/2010/07/09/setting-permissions-for-an-external-content-type/" target="_blank">Setting Permissions for an External Content Type</a></p>
<p>Once the permissions have been set an External List can be created.&#160; In this example the External List is very basic and in fact the model has not been connected to the External table in the Adventure Works.&#160;&#160; But that is a topic for another post.</p>
<p>For more information on BCS check the Microsoft BCS Team Blog:</p>
<p><a href="http://blogs.msdn.com/b/bcs/">http://blogs.msdn.com/b/bcs/</a></p>
<p>&#160;</p>
<p>Troy</p>
]]></content:encoded>
			<wfw:commentRss>http://troyscott.ca/2010/08/07/bdc-models-in-visual-studio-2010-for-sharepoint-foundation-server-2010/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Cannot start service SPUserCodeV4 on computer</title>
		<link>http://troyscott.ca/2010/08/06/cannot-start-service-spusercodev4-on-computer/</link>
		<comments>http://troyscott.ca/2010/08/06/cannot-start-service-spusercodev4-on-computer/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 07:27:17 +0000</pubDate>
		<dc:creator>Troy</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://troyscott.ca/2010/08/06/cannot-start-service-spusercodev4-on-computer/</guid>
		<description><![CDATA[This week I was creating my first SharePoint 2010 Sandboxed solution using Visual Studio 2010.&#160; I have successfully built and deployed other SharePoint projects on the server but I always used Farm based solution due to the requirements. When I built the Sandboxed solution the project would build and package without any errors but when [...]]]></description>
			<content:encoded><![CDATA[<p>This week I was creating my first SharePoint 2010 Sandboxed solution using Visual Studio 2010.&#160; I have successfully built and deployed other SharePoint projects on the server but I always used Farm based solution due to the requirements.</p>
<p>When I built the Sandboxed solution the project would build and package without any errors but when I tried to deploy it to the SharePoint site the following error occurred:</p>
<p><em>Error&#160;&#160;&#160; 1&#160;&#160;&#160; Error occurred in deployment step &#8216;Activate Features&#8217;: Cannot start service SPUserCodeV4 on computer &#8216;SERVERNAME&#8217; 0&#160;&#160;&#160; 0&#160;&#160;&#160; SP2010Dev1</em></p>
<p>The error can be easily resolved by starting the <em>Microsoft SharePoint Foundation Sandboxed Code Service </em>which can be accessed through the Central Administration site in SharePoint.&#160;&#160; Open the Central Administration site and go to System Settings and click on <em>Manage Service on server:</em></p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/08/image5.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb5.png" width="244" height="114" /></a> </p>
<p>Check to see if <em>Microsoft SharePoint Foundation Sandboxed Code Service</em>&#160; is running, it should be stopped :</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/08/image6.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/08/image_thumb6.png" width="244" height="135" /></a> </p>
<p>Start the service and try deploying the Sandboxed solution.</p>
<p>Thanks to <a href="http://social.msdn.microsoft.com/profile/sergey%20hyper%20kravchenko/?type=forum&amp;referrer=http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/2af4352a-7379-44c8-99e3-0a33ed1a1db1">Sergey Hyper Kravchenko</a> for his post on the MSDN SharePoint discussion forum:</p>
<p><a href="http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/2af4352a-7379-44c8-99e3-0a33ed1a1db1" target="_blank"><em>error occurred in deployment step &#8216;retract solution&#8217; cannot start service SPUserCodeV4 on this computer</em></a></p>
<p>Troy</p>
]]></content:encoded>
			<wfw:commentRss>http://troyscott.ca/2010/08/06/cannot-start-service-spusercodev4-on-computer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Running Eclipse Helios on Windows 7 (64 bit)</title>
		<link>http://troyscott.ca/2010/07/04/running-eclipse-helios-on-windows-7-64-bit/</link>
		<comments>http://troyscott.ca/2010/07/04/running-eclipse-helios-on-windows-7-64-bit/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 01:22:47 +0000</pubDate>
		<dc:creator>Troy</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://troyscott.ca/2010/07/04/running-eclipse-helios-on-windows-7-64-bit/</guid>
		<description><![CDATA[&#160; If you have installed Eclipse Helios (64-bit) on Windows 7 (64-bit), make sure the correct version of java (64-bit) is installed on the computer: http://www.java.com/en/download/manual.jsp If you have java installed and you get the error shown below when you try to run Eclipse chances are you have the 32-bit version of Java installed: &#34;Failed [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>If you have installed Eclipse Helios (64-bit) on Windows 7 (64-bit), make sure the correct version of java (64-bit) is installed on the computer:</p>
<p><a title="http://www.java.com/en/download/manual.jsp" href="http://www.java.com/en/download/manual.jsp">http://www.java.com/en/download/manual.jsp</a></p>
<p>If you have java installed and you get the error shown below when you try to run Eclipse chances are you have the 32-bit version of Java installed:</p>
<p><em>&quot;Failed to load the JNI shared library &quot;C:\Program Files(x86)…”</em></p>
<p>Thanks to this post from the Eclipse Community Forums</p>
<p><a title="http://www.eclipse.org/forums/index.php?t=msg&amp;goto=542940&amp;#msg_542940" href="http://www.eclipse.org/forums/index.php?t=msg&amp;goto=542940&amp;#msg_542940">http://www.eclipse.org/forums/index.php?t=msg&amp;goto=542940&amp;#msg_542940</a></p>
<p>&#160;</p>
<p>Troy</p>
]]></content:encoded>
			<wfw:commentRss>http://troyscott.ca/2010/07/04/running-eclipse-helios-on-windows-7-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building BI Application&#8217;s with SharePoint 2010</title>
		<link>http://troyscott.ca/2010/07/01/building-bi-application-with-sharepoint-2010/</link>
		<comments>http://troyscott.ca/2010/07/01/building-bi-application-with-sharepoint-2010/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 00:37:52 +0000</pubDate>
		<dc:creator>Troy</dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://troyscott.ca/2010/07/01/building-bi-application-with-sharepoint-2010/</guid>
		<description><![CDATA[&#160; SharePoint 2010 is an excellent Platform for creating enterprise applications that leverage your current Business Intelligence infrastructure and operational systems.&#160; Of course your not going to build mission critical applications like POS or Supply Chain Ordering system but what about tracking weekly sales and expenses or building a pricing model that requires data from [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>SharePoint 2010 is an excellent Platform for creating enterprise applications that leverage your current Business Intelligence infrastructure and operational systems.&#160; Of course your not going to build mission critical applications like POS or Supply Chain Ordering system but what about tracking weekly sales and expenses or building a pricing model that requires data from multiple data sources.&#160;&#160;&#160; Using a combination of SharePoint 2010 and the Office 2010 products it is possible to create robust enterprise applications with a reasonable amount of effort.</p>
<p>Business Connectivity Services (BCS) in SharePoint 2010 and SharePoint Designer 2010 is what makes these applications possible.&#160; Sure you could build your application using native SharePoint list but this approach is limited and does not allow you to leverage existing systems like your corporate data warehouse.&#160;&#160;&#160; Below is a simple diagram which show how BCS allows business user’s to access external data:</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/07/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/07/image-thumb.png" width="244" height="173" /></a> </p>
<p>The best way to learn about how these tools work is to work through a practical example.&#160;&#160;&#160; Over the next few blog posts I will walk through how to create a simple sales forecasting application.&#160;&#160; I am assuming that you have access to a desktop machine or server with at least the following software:</p>
<ul>
<li>SQL Server Express 2008 R2
<ul>
<li>Adventure Works DW R2 </li>
</ul>
</li>
<li>SharePoint 2010 Foundation Server </li>
<li>SharePoint 2010 Designer </li>
</ul>
<p>In this scenario the business users want to create a weekly forecasting model which will forecast Internet Sales by Territory by Product Category.&#160; Execute the following to create a forecasting table in the Adventure Works DW R2 database:</p>
<p><code>select fcst.* into dbo.WeeklySalesForecast from ( select dt.CalendarYear,'Week ' + convert(nvarchar(2),dt.WeekNumberOfYear) WeekNumber , dt.MonthNumberOfYear, dt.EnglishMonthName, ter.SalesTerritoryGroup, ter.SalesTerritoryRegion, cat.EnglishProductCategoryName Category, sum(fct.OrderQuantity) LastYearQuantity, sum(fct.SalesAmount) LastYearAmount, null ForecastQuantity, null ForecastAmount from dbo.FactInternetSales fct inner join dbo.DimDate dt on fct.OrderDateKey = dt.DateKey inner join dbo.DimProduct prd on fct.ProductKey = prd.ProductKey inner join dbo.DimSalesTerritory ter on fct.SalesTerritoryKey = ter.SalesTerritoryKey inner join dbo.DimProductSubcategory sub on prd.ProductSubcategoryKey = sub.ProductSubcategoryKey inner join dbo.DimProductCategory cat on sub.ProductCategoryKey = cat.ProductCategoryKey where dt.CalendarYear = 2008 group by dt.CalendarYear,dt.WeekNumberOfYear, dt.MonthNumberOfYear, dt.EnglishMonthName, ter.SalesTerritoryGroup, ter.SalesTerritoryRegion, cat.EnglishProductCategoryName) fcst</code></p>
<p>This will create a table that can be used for building the BCS.&#160;&#160; In this post we are going to simply create a SharePoint site using SharePoint Designer to host our SharePoint application using SharePoint Designer 2010.&#160;&#160; Open SharePoint Designer 2010 and open the Main Site.&#160; In my case my main site is on my laptop and can be accessed at <a href="http://localhost">http://localhost</a>.&#160; From the Site Actions menu select “New Site”:</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/07/image1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/07/image-thumb1.png" width="244" height="149" /></a> </p>
<p>&#160;</p>
<p>We are now going to create a new Site called Ops Forecast (<a href="http://localhost/opsforecast">http://localhost/opsforecast</a>) use the Team Site template:</p>
<ul>
<li>Title: Ops Forecast </li>
<li>Url Name:&#160; opsforecast </li>
</ul>
<p><a href="http://troyscott.ca/wp-content/uploads/2010/07/image2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2010/07/image-thumb2.png" width="244" height="129" /></a> </p>
<p>Now click Create and the site will be created.&#160; In the next post we will build 2 stored procedures and create an External Content Type which will be used as a list to view the forecast data in SharePoint.</p>
<p>&#160;</p>
<p>Troy</p>
]]></content:encoded>
			<wfw:commentRss>http://troyscott.ca/2010/07/01/building-bi-application-with-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

