<?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; IT</title>
	<atom:link href="http://troyscott.ca/category/it/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>P12 file format for iOS Development in Flash Builder</title>
		<link>http://troyscott.ca/2011/10/17/p12-file-format-for-ios-development-in-flash-builder/</link>
		<comments>http://troyscott.ca/2011/10/17/p12-file-format-for-ios-development-in-flash-builder/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 22:30:38 +0000</pubDate>
		<dc:creator>Troy</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://troyscott.ca/2011/10/17/p12-file-format-for-ios-development-in-flash-builder/</guid>
		<description><![CDATA[&#160; This post assumes that you are a member of the iOS Developer Program and that you are familiar with creating a Mobile Project in Flash Builder for Windows.&#160;&#160;&#160;&#160; In this scenario you have created your first iPad2 application (HelloApple) and now you want to deploy and test it on the device: When you first [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>This post assumes that you are a member of the iOS Developer Program and that you are familiar with creating a Mobile Project in Flash Builder for Windows.&#160;&#160;&#160;&#160; In this scenario you have created your first iPad2 application (HelloApple) and now you want to deploy and test it on the device:</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2011/10/image3.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2011/10/image_thumb3.png" width="244" height="132" /></a></p>
<p>When you first go to run the application you right-click the project and select Run As Mobile Application:</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2011/10/image4.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2011/10/image_thumb4.png" width="244" height="185" /></a></p>
<p>The first time you do this the “Launch method” needs to be configured.&#160; In our case we want to create a package so that it can be installed on the iPad2 device.&#160; I selected Standard Packaging method which takes awhile to compile but is useful for performance testing the application (release build).&#160; Click “Configure package settings” </p>
<p><a href="http://troyscott.ca/wp-content/uploads/2011/10/image5.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2011/10/image_thumb5.png" width="244" height="154" /></a></p>
<p>At first the configuration for the Digital Signature looks fairly straightforward.&#160; You just need to provide a Certificate and Provisioning file.&#160;&#160; These file can be downloaded from the iOS Developer Center but you must first setup these files.&#160;&#160; </p>
<p><a href="http://stallons.com/" target="_blank">Jeanette Stallons</a> has a great post on how to get the required certificates (<em>the post covers Windows and Mac</em>):</p>
<p><a href="http://www.adobe.com/devnet/air/articles/packaging-air-apps-ios.html">http://www.adobe.com/devnet/air/articles/packaging-air-apps-ios.html</a></p>
<p>Below is a summary of the steps outlined in the article:</p>
<ol>
<li>Enroll in the <a href="http://developer.apple.com/" target="_blank">iOS Developer Program</a> </li>
<li>Log into the <a href="http://developer.apple.com/ios/manage/overview/index.action" target="_blank">iOS Provisioning Portal</a> </li>
<li>Create an <a href="http://developer.apple.com/ios/manage/bundles/index.action" target="_blank">App ID</a> on the iOS Provisioning Portal </li>
<li>Use iTunes to get iOS device IDs </li>
<li><a href="http://developer.apple.com/ios/manage/devices/index.action" target="_blank">Register</a> your iOS device </li>
<li>Create a certificate signing request (CSR) file (<em><font color="#0000ff">Generate a CSR on Windows</font></em>) </li>
<li>Create <a href="http://developer.apple.com/ios/manage/certificates/team/index.action" target="_blank">developer certificate</a> (CER) on iOS Provisioning Portal </li>
<li>Convert iOS developer certificate to <a href="http://help.adobe.com/en_US/as3/iphone/WS144092a96ffef7cc-371badff126abc17b1f-7fff.html" target="_blank">P12 format</a> (<em><font color="#0000ff">Create P12 on Win</font></em>d<font color="#0000ff">ows</font>) </li>
</ol>
<p>Steps 1 to 5 are straight forward.&#160; But steps 6 to 8 can be confusing depending on the current state of your provisioning portal.&#160; If this is your first time setting everything up then I recommend reading Jeanette Stallions post with the exception of the Mac sections.&#160; </p>
<p>If you have followed Jeanette’s post but are still having trouble generating the P12 files then review the notes below.&#160;&#160; </p>
<p>In order to perform steps 6 to 8 on windows you need to have OpenSSL installed on your Windows Machine.&#160; You can download OpenSSL for Windows from here:</p>
<p><a href="http://gnuwin32.sourceforge.net/packages/openssl.htm">http://gnuwin32.sourceforge.net/packages/openssl.htm</a></p>
<p>Another option for OpenSSL especially if you are looking for a Source Control tool is to download and install <a href="http://code.google.com/p/msysgit/" target="_blank">msysgit</a> (Git for Windows).&#160;&#160; Git integrates well with Flash Builder but that is a topic for another post.&#160; When installing msysgit make sure to install Git Bash:</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2011/10/image6.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2011/10/image_thumb6.png" width="244" height="144" /></a></p>
<p>If you have <a href="http://www.cygwin.com/" target="_blank">Cygwin</a> installed on&#160; your system it can also be configured to support OpenSSL but it is probably overkill to install it just for the purpose of using the tool.&#160; </p>
<p>The first thing we need to do using OpenSSL is to create a private key with a password:</p>
<div id="codeSnippetWrapper">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">openssl genrsa -out mykey.key -passout pass:mypassword 2048</pre>
<p></div>
<p>Next (see Step 6) create the Certificate Signing Request (CSR) using the private key created in the previous step (mykey.key).&#160; The signing request contains important pieces of information that you must provide:</p>
<ul>
<li>emailAdress=<em>email@domain.com</em> </li>
<li>CN=<em>Your Name</em> </li>
<li><em>C=Your Country (two character code:&#160; United States: US, Canada: CA)</em> </li>
</ul>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">openssl req -new -key mykey.key -out CertificateSigningRequest.certSigningReqest -subj <a>/emailAddress=mymail@gmail.com, CN=Troy Scott, C=CA</a></pre>
<p></div>
<p>Step 7, is creating a new developer certificate.&#160; This is done by making a certificate request using the certificate created in Step 6.&#160; Click the “Request Certificate” button and upload the CertificateSigningRequest.certSigningRequest file.</p>
<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/2011/10/image7.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2011/10/image_thumb7.png" width="244" height="111" /></a></td>
<td valign="top" width="200"><a href="http://troyscott.ca/wp-content/uploads/2011/10/image8.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2011/10/image_thumb8.png" width="244" height="129" /></a></td>
</tr>
<tr>
<td valign="top" width="200">Request Certificate</td>
<td valign="top" width="200">Choose File and then Submit</td>
</tr>
</tbody>
</table>
<p>If the process was successful you will have a new developer certificate with a status of “Approved”.&#160; </p>
<p><a href="http://troyscott.ca/wp-content/uploads/2011/10/image9.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2011/10/image_thumb9.png" width="244" height="112" /></a></p>
<p>Refresh the Certificates screen and you will have the option to download it.&#160; Download the certificate file (developer_identity.cer) and convert it to pem format using OpenSSL utility:</p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">openssl x509 -in developer_identity.cer -inform DER -out developer_identity.pem -outform PEM</pre>
<p></div>
<p>This will generate the developer_identity.pem file which will be used with the mykey.key file to generate the P12 file (Step 8):</p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">openssl pkcs12 -export -inkey mykey.key -in developer_identity.pem -out ipad_dev.p12</pre>
<p></div>
<p>When you run this command you will be prompted for the private key password which was “mypassword” in this example.&#160;&#160; Below is an example of running the command using the Git Bash prompt (openssl):</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2011/10/image10.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2011/10/image_thumb10.png" width="244" height="80" /></a></p>
<p>Next we need to configure the Provisioning File.&#160; The developer certificate must be configured and “Approved” before this file can be downloaded.&#160; Currently the Status of my Provisioning File is Invalid:</p>
<p>&#160;<a href="http://troyscott.ca/wp-content/uploads/2011/10/image11.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2011/10/image_thumb11.png" width="244" height="122" /></a></p>
<p>Select Modify and you should be able to see the Developer Certificate that was created and approved.&#160; Check the checkbox by the Certificate and click Submit:</p>
<p><a href="http://troyscott.ca/wp-content/uploads/2011/10/image12.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2011/10/image_thumb12.png" width="244" height="150" /></a></p>
<p>Once the status is “Active” the Provisioning file can be downloaded.&#160;&#160;&#160; Now we can configure the Digital Signatures with the following files:</p>
<ul>
<li>Certificate: ipad_dev.p12&#160;&#160; (<em>full path to the file</em>) </li>
<li>Provisioning File: AppDev.mobileprovision&#160; (<em>full path to the file</em>) </li>
</ul>
<p>When you select “Run” in the Run Configuration, Flash Builder will prompt you for the private key password (mypassword).&#160;&#160;&#160; Once you enter the password it may take several minutes for the compilation to complete.&#160; </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/2011/10/image13.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2011/10/image_thumb13.png" width="244" height="96" /></a></td>
<td valign="top" width="200"><a href="http://troyscott.ca/wp-content/uploads/2011/10/image14.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://troyscott.ca/wp-content/uploads/2011/10/image_thumb14.png" width="244" height="91" /></a></td>
</tr>
<tr>
<td valign="top" width="200">Private Key Password</td>
<td valign="top" width="200">Packaging</td>
</tr>
</tbody>
</table>
<p>Once packaging is complete follow the instructions to install ipa package on the iOS device.&#160;&#160; Refer to the <a href="http://www.adobe.com/devnet/air/articles/packaging-air-apps-ios.html" target="_blank">Using Flash Builder 4.5 to package applications for Apple iOS devices</a> post for the remaining details.&#160; </p>
<p>Troy</p>
]]></content:encoded>
			<wfw:commentRss>http://troyscott.ca/2011/10/17/p12-file-format-for-ios-development-in-flash-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Being Linux</title>
		<link>http://troyscott.ca/2011/10/05/being-linux/</link>
		<comments>http://troyscott.ca/2011/10/05/being-linux/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 21:06:37 +0000</pubDate>
		<dc:creator>Troy</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://troyscott.ca/2011/10/05/being-linux/</guid>
		<description><![CDATA[I first got my introduction to Linux working in the IT Department of a Local Food Chain.&#160; My background was in Finance but I moved to the IT department to become part of the Business Intelligence Department.&#160; One of the DBA’s would talk about Linux during coffee breaks and so I decided to check it [...]]]></description>
			<content:encoded><![CDATA[<p>I first got my introduction to Linux working in the IT Department of a Local Food Chain.&#160; My background was in Finance but I moved to the IT department to become part of the Business Intelligence Department.&#160; One of the DBA’s would talk about Linux during coffee breaks and so I decided to check it out.</p>
<p>The first Distro that I setup and installed on my 800 Mhz in 2000 was Red Hat Linux 6.1.&#160;&#160; Linux became more of a hobby than anything else.&#160; But over the years I have found the Linux is a great development environment.&#160;&#160;&#160; Sure you can run most open source software today in Windows like Apache and MySql&#160; but a client /server model is valuable when learning how to deploy and troubleshoot your solution.</p>
<p>Secondly, if you are developing for the internet or web applications most of today’s servers run on some distro of Linux.&#160;&#160; With today’s virtualization software like Virtual Box it is very easy to setup and install a Linux Virtual Machine</p>
<p>I recommend Ubuntu, especially the Ubuntu Server edition.&#160; It is lightweight, easy to configure and you can create a virtual machine in 10 to 15 minutes with the latest PC hardware.&#160; Although Ubuntu does provide a solid desktop environment comparable to Windows 7 and Mac, I am afraid it just does not have the software required for most end users (Microsoft Office, iTunes, Flash Builder).&#160; Sure if you are technically savvy or don’t mind taking a moment to read the <a href="http://ubuntuforums.org/">Ubunutu online forms</a> (excellent source of information) then Ubuntu is a great choice.&#160;&#160;&#160; In my opinion,&#160; I don’t think it comes down to picking one of the three operating systems (Microsoft, Apple, Linux).&#160;&#160; I run all three environments on my network and they all have their pro’s and con’s and different uses.</p>
<p>If you want to get started with Linux I recommend installing some Virtualization software like Virtual Box on your main computer (Windows, Mac):</p>
<ul>
<li><a href="https://www.virtualbox.org/" target="_blank">https://www.virtualbox.org/</a></li>
<li><a href="http://www.psychocats.net/ubuntu/virtualbox" target="_blank">http://www.psychocats.net/ubuntu/virtualbox</a></li>
</ul>
<p>A virtual Ubuntu Desktop will require at least 1 GHz processor , 512 MB RAM and 5 GB hard drive space.&#160; Whereas the Ubuntu Server can run on any Intel or AMD x86/AMD_64 processor with 192 MB of RAM and 1 GB of disk space.&#160; I currently run a&#160; small Ubuntu Server (no GUI) for my source control and it is configured to use 256 MB of RAM.&#160; I never have any performance issues.</p>
<ul>
<li><a href="http://www.ubuntu.com/download/ubuntu/download" target="_blank">Ubuntu Desktop</a></li>
<li><a href="http://www.ubuntu.com/download/server/download" target="_blank">Ubuntu Server</a></li>
</ul>
<p>If you don’t enjoy reading online documentation but are interested in setting up the Ubuntu Server, I recommend the following book:</p>
<p><a href="http://www.informit.com/store/product.aspx?isbn=0137021186" target="_blank">Official Ubuntu Server Book</a></p>
<p>Troy</p>
]]></content:encoded>
			<wfw:commentRss>http://troyscott.ca/2011/10/05/being-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>Facebook Page</title>
		<link>http://troyscott.ca/2010/08/07/facebook-page/</link>
		<comments>http://troyscott.ca/2010/08/07/facebook-page/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 00:51:20 +0000</pubDate>
		<dc:creator>Troy</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Performance Management]]></category>
		<category><![CDATA[Social Networking]]></category>

		<guid isPermaLink="false">http://troyscott.ca/2010/08/07/facebook-page/</guid>
		<description><![CDATA[Well I am not sure how much sense it makes for a Blog to have a Facebook Page but I though I would try it out.&#160; I am always looking for new topics or issues to write about especially in the area of Business Intelligence or even day to day question on how to use [...]]]></description>
			<content:encoded><![CDATA[<p>Well I am not sure how much sense it makes for a Blog to have a Facebook Page but I though I would try it out.&#160; I am always looking for new topics or issues to write about especially in the area of Business Intelligence or even day to day question on how to use Microsoft Office and SharePoint to enhance business activities.&#160; Feel free to post ideas or comments.&#160; </p>
<p> <iframe style="border-bottom-style: none; border-right-style: none; width: 250px; border-top-style: none; height: 21px; border-left-style: none; overflow: hidden" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftroyscott.ca&amp;layout=button_count&amp;show_faces=true&amp;width=250&amp;action=like&amp;font=tahoma&amp;colorscheme=light&amp;height=21" frameborder="0" allowtransparency="allowtransparency" scrolling="no"></iframe>
<p>&#160;</p>
<p> <!-- Facebook Badge START --><a style="font-variant: normal; font-style: normal; font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; color: #3b5998; font-size: 11px; font-weight: normal; text-decoration: none" title="Troy Scott - Blog" href="http://www.facebook.com/pages/Troy-Scott-Blog/133042983398036" target="_TOP">Troy Scott &#8211; Blog</a>   <br /><a title="Troy Scott - Blog" href="http://www.facebook.com/pages/Troy-Scott-Blog/133042983398036" target="_TOP"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" src="http://badge.facebook.com/badge/133042983398036.1072.459073025.png" width="120" height="170" /></a>   <br /><a style="font-variant: normal; font-style: normal; font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; color: #3b5998; font-size: 11px; font-weight: normal; text-decoration: none" title="Make your own badge!" href="http://www.facebook.com/business/dashboard/" target="_TOP">Promote Your Page Too</a><!-- Facebook Badge END --></p>
]]></content:encoded>
			<wfw:commentRss>http://troyscott.ca/2010/08/07/facebook-page/feed/</wfw:commentRss>
		<slash:comments>0</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>
	</channel>
</rss>

