<?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>where&#039;s the fire?</title>
	<atom:link href="http://blog.dreamfactory.se/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.dreamfactory.se</link>
	<description>Blog about Fire Rescue Services &#38; IT</description>
	<lastBuildDate>Thu, 11 Apr 2013 22:06:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Add local users with PowerShell</title>
		<link>http://blog.dreamfactory.se/2012/10/31/add-local-users-with-powershell/</link>
		<comments>http://blog.dreamfactory.se/2012/10/31/add-local-users-with-powershell/#comments</comments>
		<pubDate>Wed, 31 Oct 2012 09:45:45 +0000</pubDate>
		<dc:creator>Jenz</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows server 2008]]></category>

		<guid isPermaLink="false">http://blog.dreamfactory.se/?p=294</guid>
		<description><![CDATA[Recently I needed a quick way to add local users to my Windows Servers running 2008 R2. Previously I have been using the &#8220;net&#8221; command for this, but I lacked some features....]]></description>
			<content:encoded><![CDATA[<p>Recently I needed a quick way to add local users to my Windows Servers running 2008 R2. Previously I have been using the &#8220;net&#8221; command for this, but I lacked some features. So, I took a look into PowerShell to find out what I could do. After some trial and error I finally got it to work as desired:</p>
<p>function create-account ([string]$accountName, [string]$accountDescription) {<br />
$hostname = hostname<br />
$comp = [adsi]&#8220;WinNT://$hostname&#8221;<br />
$user = $comp.Create(&#8220;User&#8221;, $accountName)<br />
$user.SetPassword(&#8220;change,password.10&#8243;)<br />
$user.SetInfo()<br />
$user.description = $accountDescription<br />
$user.SetInfo()<br />
$User.UserFlags[0] = $User.UserFlags[0] -bor 0&#215;10000 #ADS_UF_DONT_EXPIRE_PASSWD flag is 0&#215;10000<br />
$user.SetInfo()</p>
<p>$objOU = [ADSI]&#8220;WinNT://$hostname/Administrators,group&#8221;<br />
$objOU.add(&#8220;WinNT://$hostname/$accountName&#8221;)</p>
<p>$objOU = [ADSI]&#8220;WinNT://$hostname/Remote Desktop Users,group&#8221;<br />
$objOU.add(&#8220;WinNT://$hostname/$accountName&#8221;)<br />
}</p>
<p>create-account &#8220;testuser2&#8243; &#8220;Some Description&#8221;</p>
<p>The above function adds a local user to Windows, and sets the following properties:</p>
<ul>
<li>Added to local Administrator group</li>
<li>Added to local Remove Desktop Users group (enables the users to use Remote Desktop)</li>
<li>Set the password to Never Expire</li>
</ul>
<div>Tip: You can run the above script in Windows PowerShell ISE (Windows PowerShell Integrated Scripting Environment) if you need to tweak it for your own needs. Then you get more readable feedback than in the PowerShell command prompt.</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.dreamfactory.se/2012/10/31/add-local-users-with-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dataset .ReadXml() does not import all rows</title>
		<link>http://blog.dreamfactory.se/2012/08/22/dataset-readxml-does-not-import-all-rows/</link>
		<comments>http://blog.dreamfactory.se/2012/08/22/dataset-readxml-does-not-import-all-rows/#comments</comments>
		<pubDate>Wed, 22 Aug 2012 14:42:05 +0000</pubDate>
		<dc:creator>Jenz</dc:creator>
				<category><![CDATA[IT]]></category>

		<guid isPermaLink="false">http://blog.dreamfactory.se/?p=272</guid>
		<description><![CDATA[Just encountered a strange problem when working with a web project. I had an jQuery data object that I converted to XML structure using the library json2xml by Stefan Goessner....]]></description>
			<content:encoded><![CDATA[<p>Just encountered a strange problem when working with a web project. I had an jQuery data object that I converted to XML structure using the library <strong>json2xml</strong> by Stefan Goessner. Later down the chain i had a WebMethod (aspx) to receive an ajax call from the HTML page done by jQuery, to save down the object data (now transferred to XML). In the WebMethod-function I use a standard non-typed dataset to read in the XML, as:</p>
<pre class="brush: csharp; title: ; notranslate">
public static string SearchInformationContent(string xmlAppliedFilters)
{
dsAppliedFilters.ReadXml(new System.Xml.XmlTextReader(xmlAppliedFilters, System.Xml.XmlNodeType.Element, null));
}
</pre>
<p>xmlAppliedFilters contains the xml converted by the <strong>json2xml</strong> library. The XML looks like:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;AppliedFilters&gt;&lt;InformationCategoryID&gt;3&lt;/InformationCategoryID&gt;&lt;Description&gt;Fuel quality, Ppm sulfur limit for diesel fuel&lt;/Description&gt;&lt;AppliedFilter&gt;40&lt;/AppliedFilter&gt;&lt;IsNumeric&gt;True&lt;/IsNumeric&gt;&lt;/AppliedFilters&gt;&lt;AppliedFilters&gt;&lt;InformationCategoryID&gt;64&lt;/InformationCategoryID&gt;&lt;Description&gt;Max. total weight (ton), Articulated vehicle 5 axles and more&lt;/Description&gt;&lt;AppliedFilter&gt;38&lt;/AppliedFilter&gt;&lt;IsNumeric&gt;False&lt;/IsNumeric&gt;&lt;/AppliedFilters&gt;
</pre>
<p>The above xml is not well formed xml, but we overlook that at the moment. If you do ds.ReadXml() on the above XML structure, only the first row will get imported into the DataSet. If you step to the .ReadXml() again and re-run it, your DataSet will contain 3 rows. My conclusion is that the .ReadXML() function does not import the second row the first time, as the XML lacks a root element. The function of the DataSet to read in the XML does not at that point know how to handle the XML data, as it has no reference on how the XML structure is supposed to look like. If a root element exists, on the other hand, I <span style="text-decoration: underline;">does</span> know how the strucure looks like, and then willingly imports all rows.</p>
<p>Applying a simple root element around the XML data, solved the problem:</p>
<pre class="brush: csharp; title: ; notranslate">
dsAppliedFilters.ReadXml(new System.Xml.XmlTextReader(&quot;&lt;Root&gt;&quot; + AppliedFilters + &quot;&lt;/Root&gt;&quot;, System.Xml.XmlNodeType.Element, null));
</pre>
<p>Obviously the right thing in the first place would be to supply a valid XML structure to the .ReadXML() function, &#8211; but still it does produce a strange result, as it does not complain about the XML source <img src='http://blog.dreamfactory.se/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dreamfactory.se/2012/08/22/dataset-readxml-does-not-import-all-rows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Expiring Office 365 Passwords</title>
		<link>http://blog.dreamfactory.se/2012/04/24/expiring-office-365-passwords/</link>
		<comments>http://blog.dreamfactory.se/2012/04/24/expiring-office-365-passwords/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 14:38:02 +0000</pubDate>
		<dc:creator>Jenz</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Office 365]]></category>

		<guid isPermaLink="false">http://blog.dreamfactory.se/?p=263</guid>
		<description><![CDATA[I was travelling the other day, when I suddenly stopped receiving e-mails on my Office 365 account (Plan P). This was the main administrator account, and the other accounts was...]]></description>
			<content:encoded><![CDATA[<p>I was travelling the other day, when I suddenly stopped receiving e-mails on my Office 365 account (Plan P). This was the main administrator account, and the other accounts was not affected. I got a message on the iPhone that the account was unavailable. My first thought was that there was an error with the mail servers at Microsoft, but discarded that thought after a while. When I had a computer at hand again, I tried to log onto the Office 365 Outlook Web Access (OWA). After log in, I was prompted to change my password as it had expired.</p>
<p>This issue can cause quite some problems if you are on the run and don&#8217;t have a computer at hand to run the OWA. My solution to this problem was to set all accounts to not expire, by the use of Power Shell. Here is a quick how-to:</p>
<p>1. Install the Office 365 cmdlets (<span style="color: #3366ff;"><a href="http://onlinehelp.microsoft.com/office365-enterprises/hh124998.aspx" target="_blank"><span style="color: #3366ff;">http://onlinehelp.microsoft.com/office365-enterprises/hh124998.aspx</span></a></span>)<br />
- Microsoft Online Services Sign-In Assistant (IDCRL7)<br />
- Microsoft Online Services Module for Windows PowerShell</p>
<p>2. Start application &#8220;Microsoft Online Services Module for Windows PowerShell&#8221;, found in your start menu after above installation</p>
<p>3. Run PowerShell command: Connect-MsOlService</p>
<p>4. Login with your administrator account for Office 365</p>
<p><em>To set all accounts to never expire password, run:</em><br />
5. Get-MsOlUser | Set-MsOlUser -PasswordNeverExpires $True</p>
<p><em>To set individual account to never expire password, run:</em><br />
5. Set-MsOlUser –UserPrincipalName UserID –PasswordNeverExpires $True</p>
<p>(To get the UserPrincipleName, run <em>Get-MsOlUser)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dreamfactory.se/2012/04/24/expiring-office-365-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rättsligt efterspel efter frontalkrock</title>
		<link>http://blog.dreamfactory.se/2012/02/03/rattsligt-efterspel-efter-frontalkrock/</link>
		<comments>http://blog.dreamfactory.se/2012/02/03/rattsligt-efterspel-efter-frontalkrock/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 15:25:24 +0000</pubDate>
		<dc:creator>Jenz</dc:creator>
				<category><![CDATA[Brand / Fire Rescue Services]]></category>

		<guid isPermaLink="false">http://blog.dreamfactory.se/?p=257</guid>
		<description><![CDATA[Vi tog hand om tjejen som gjorde omkörningen, och nu har olyckan fått sitt rättsliga efterspel: http://www.trelleborgsallehanda.se/trelleborg/article1603834/Doms-for-att-ha-orsakat-olycka.html Lyckligtvis överlevde båda förarna krocken, som kunde slutat betydligt värre.]]></description>
			<content:encoded><![CDATA[<p>Vi tog hand om tjejen som gjorde omkörningen, och nu har olyckan fått sitt rättsliga efterspel:<br />
<a href="http://www.trelleborgsallehanda.se/trelleborg/article1603834/Doms-for-att-ha-orsakat-olycka.html" title="http://www.trelleborgsallehanda.se/trelleborg/article1603834/Doms-for-att-ha-orsakat-olycka.html">http://www.trelleborgsallehanda.se/trelleborg/article1603834/Doms-for-att-ha-orsakat-olycka.html</a></p>
<p>Lyckligtvis överlevde båda förarna krocken, som kunde slutat betydligt värre.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dreamfactory.se/2012/02/03/rattsligt-efterspel-efter-frontalkrock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Missing ASP.NET tab in IIS</title>
		<link>http://blog.dreamfactory.se/2011/09/29/missing-asp-net-tab-in-iis/</link>
		<comments>http://blog.dreamfactory.se/2011/09/29/missing-asp-net-tab-in-iis/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 08:55:18 +0000</pubDate>
		<dc:creator>Jenz</dc:creator>
				<category><![CDATA[IT]]></category>

		<guid isPermaLink="false">http://blog.dreamfactory.se/?p=251</guid>
		<description><![CDATA[I ran in this problem today, when configuring IIS for a site running on Windows Server 2003 Enterprise Edition x64 (64 bit). I had .NET Framework 4.0 installed on server and...]]></description>
			<content:encoded><![CDATA[<p>I ran in this problem today, when configuring IIS for a site running on Windows Server 2003 Enterprise Edition x64 (64 bit). I had .NET Framework 4.0 installed on server and allowed ASP.NET v4.0 under Web Service Extensions.</p>
<p>When I entered IIS to change the application to run ASP.NET 4.0 instead of 2.0, I was somewhat confused. I did not find the ASP.NET tab when looking at the properties for the website. After some research on the web, I found many topics regarding this issue. A lot of solutions was to disable 32-bit support in IIS, whitch will bring back the tab. But that is not a solution if you need to run 32-bit applications, fx hosted Visual Basic 6 objects running under MSADC (RDS.DataSpace).</p>
<p>If you do not need to run 32-bit applications, you can simply disable 32-bit support by editing the META file for IIS (C:\WINDOWS\system32\inetsrv\MetaBase.xml). Search for setting Enable32BitAppOnWin64 = &#8220;TRUE&#8221; and set it to Enable32BitAppOnWin64 = &#8220;FALSE&#8221;. Restart IIS, and viola!</p>
<p>So, how if you need this to work for 32-bit then? Well, the only solution I found is to manually run aspnet_regiis for a particular website or virtual directory, specifying which version to run.</p>
<p><strong>Configure a site to run ASP.NET 2.0</strong><br />
1. Open a dos prompt<br />
2. Navigate to the following folder: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727<br />
3. Run the following command:  aspnet_regiis.exe -s W3SVC/{website identifier}/ROOT/{virtual directory}, fx:<br />
<code>aspnet_regiis.exe -s W3SVC/1475504337/ROOT/wsTRX</code></p>
<p>If succeeded, output will read:<br />
<code>Start registering ASP.NET (2.0.50727) recursively at W3SVC/1475504337/ROOT/wsTRX.<br />
Finished registering ASP.NET (2.0.50727) recursively at W3SVC/1475504337/ROOT/wsTRX.</code></p>
<p><strong>Configure a site to run ASP.NET 4.0</strong><br />
1. Open a dos prompt<br />
2. Navigate to the following folder: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319<br />
3. Run the following command:  aspnet_regiis.exe -s W3SVC/{website identifier}/ROOT/{virtual directory}, fx:<br />
<code>aspnet_regiis.exe -s W3SVC/1475504337/ROOT/wsTRX</code></p>
<p>If succeeded, output will read:<br />
<code>Start registering ASP.NET (4.0.30319) recursively at W3SVC/1475504337/ROOT/wsTRX.<br />
Finished registering ASP.NET (4.0.30319) recursively at W3SVC/1475504337/ROOT/wsTRX.</code></p>
<p>Hope this will help anyone having the same issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dreamfactory.se/2011/09/29/missing-asp-net-tab-in-iis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Decode SC SDSHOW result</title>
		<link>http://blog.dreamfactory.se/2011/09/21/decode-sc-sdshow-result/</link>
		<comments>http://blog.dreamfactory.se/2011/09/21/decode-sc-sdshow-result/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 07:28:55 +0000</pubDate>
		<dc:creator>Jenz</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[sc]]></category>
		<category><![CDATA[windows server 2003]]></category>

		<guid isPermaLink="false">http://blog.dreamfactory.se/?p=238</guid>
		<description><![CDATA[Running &#8220;sc sdshow msdtc&#8221; to get the access rights for MS DTC will result in the following somewhat cryptical result: D:(A;;CCLCSWRPRC;;;WD)(A;;CCLCSWRPWPDTLOCRRC;;;PU)(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCLCSWRPLOCRRC;;;S-1-2-0)(A;;CCLCSWRPLORC;;;NS)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD) This is not very useful, so the result has...]]></description>
			<content:encoded><![CDATA[<p>Running &#8220;sc sdshow msdtc&#8221; to get the access rights for MS DTC will result in the following somewhat cryptical result:</p>
<pre>D:(A;;CCLCSWRPRC;;;WD)(A;;CCLCSWRPWPDTLOCRRC;;;PU)(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCLCSWRPLOCRRC;;;S-1-2-0)(A;;CCLCSWRPLORC;;;NS)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)</pre>
<p>This is not very useful, so the result has to be converted to more human readable code. By using <a href="http://blogs.microsoft.co.il/files/folders/guyt/entry70399.aspx" target="_blank">sddlparse.exe</a> this is done in a second:</p>
<pre>C:\&gt;sddlparse.exe D:(A;;CCLCSWRPRC;;;WD)(A;;CCLCSWRPWPDTLOCRRC;;;PU)(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCLCSWRPLOCRRC;;;S-1-2-0)(A;;CCLCSWRPLORC;;;NS)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)</pre>
<pre>SDDL: D:(A;;CCLCSWRPRC;;;WD)(A;;CCLCSWRPWPDTLOCRRC;;;PU)(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCLCSWRPLOCRRC;;;S-1-2-0)(A;;CCLCSWRPLORC;;;NS)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
Ace count: 7
**** ACE 1 of 7 ****
ACE Type: ACCESS_ALLOWED_ACE_TYPE
Trustee: Everyone
AccessMask:
  ADS_RIGHT_READ_CONTROL
  ADS_RIGHT_DS_CREATE_CHILD
  ADS_RIGHT_ACTRL_DS_LIST
  ADS_RIGHT_DS_SELF
  ADS_RIGHT_DS_READ_PROP
Inheritance flags: 0
**** ACE 2 of 7 ****
ACE Type: ACCESS_ALLOWED_ACE_TYPE
Trustee: BUILTIN\Power Users
AccessMask:
  ADS_RIGHT_READ_CONTROL
  ADS_RIGHT_DS_CREATE_CHILD
  ADS_RIGHT_ACTRL_DS_LIST
  ADS_RIGHT_DS_SELF
  ADS_RIGHT_DS_READ_PROP
  ADS_RIGHT_DS_WRITE_PROP
  ADS_RIGHT_DS_DELETE_TREE
  ADS_RIGHT_DS_LIST_OBJECT
  ADS_RIGHT_DS_CONTROL_ACCESS
Inheritance flags: 0
**** ACE 3 of 7 ****
ACE Type: ACCESS_ALLOWED_ACE_TYPE
Trustee: NT AUTHORITY\Authenticated Users
AccessMask:
  ADS_RIGHT_READ_CONTROL
  ADS_RIGHT_DS_CREATE_CHILD
  ADS_RIGHT_ACTRL_DS_LIST
  ADS_RIGHT_DS_SELF
  ADS_RIGHT_DS_LIST_OBJECT
  ADS_RIGHT_DS_CONTROL_ACCESS
Inheritance flags: 0
**** ACE 4 of 7 ****
ACE Type: ACCESS_ALLOWED_ACE_TYPE
Trustee: BUILTIN\Administrators
AccessMask:
  ADS_RIGHT_DELETE
  ADS_RIGHT_READ_CONTROL
  ADS_RIGHT_WRITE_DAC
  ADS_RIGHT_WRITE_OWNER
  ADS_RIGHT_DS_CREATE_CHILD
  ADS_RIGHT_DS_DELETE_CHILD
  ADS_RIGHT_ACTRL_DS_LIST
  ADS_RIGHT_DS_SELF
  ADS_RIGHT_DS_READ_PROP
  ADS_RIGHT_DS_WRITE_PROP
  ADS_RIGHT_DS_DELETE_TREE
  ADS_RIGHT_DS_LIST_OBJECT
  ADS_RIGHT_DS_CONTROL_ACCESS
Inheritance flags: 0
**** ACE 5 of 7 ****
ACE Type: ACCESS_ALLOWED_ACE_TYPE
Trustee: NT AUTHORITY\SYSTEM
AccessMask:
  ADS_RIGHT_READ_CONTROL
  ADS_RIGHT_DS_CREATE_CHILD
  ADS_RIGHT_ACTRL_DS_LIST
  ADS_RIGHT_DS_SELF
  ADS_RIGHT_DS_READ_PROP
  ADS_RIGHT_DS_WRITE_PROP
  ADS_RIGHT_DS_DELETE_TREE
  ADS_RIGHT_DS_LIST_OBJECT
  ADS_RIGHT_DS_CONTROL_ACCESS
Inheritance flags: 0
**** ACE 6 of 7 ****
ACE Type: ACCESS_ALLOWED_ACE_TYPE
Trustee: LOCAL
AccessMask:
  ADS_RIGHT_READ_CONTROL
  ADS_RIGHT_DS_CREATE_CHILD
  ADS_RIGHT_ACTRL_DS_LIST
  ADS_RIGHT_DS_SELF
  ADS_RIGHT_DS_READ_PROP
  ADS_RIGHT_DS_LIST_OBJECT
  ADS_RIGHT_DS_CONTROL_ACCESS
Inheritance flags: 0
**** ACE 7 of 7 ****
ACE Type: ACCESS_ALLOWED_ACE_TYPE
Trustee: NT AUTHORITY\NETWORK SERVICE
AccessMask:
  ADS_RIGHT_READ_CONTROL
  ADS_RIGHT_DS_CREATE_CHILD
  ADS_RIGHT_ACTRL_DS_LIST
  ADS_RIGHT_DS_SELF
  ADS_RIGHT_DS_READ_PROP
  ADS_RIGHT_DS_LIST_OBJECT
Inheritance flags: 0</pre>
<p>Some more in depth explanation about the encoded Security Descriptors <a href="http://msmvps.com/blogs/alunj/archive/2006/02/13/83472.aspx" target="_blank">can be found here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dreamfactory.se/2011/09/21/decode-sc-sdshow-result/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running RDS object call results in Internet Server Error</title>
		<link>http://blog.dreamfactory.se/2011/09/21/running-rds-object-call-results-in-internet-server-error/</link>
		<comments>http://blog.dreamfactory.se/2011/09/21/running-rds-object-call-results-in-internet-server-error/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 06:56:11 +0000</pubDate>
		<dc:creator>Jenz</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[COM+]]></category>
		<category><![CDATA[IIS 6]]></category>
		<category><![CDATA[MSADC]]></category>
		<category><![CDATA[RDS]]></category>

		<guid isPermaLink="false">http://blog.dreamfactory.se/?p=221</guid>
		<description><![CDATA[Have been struggling all day with an error, and finally solved the problem! Description: When you try to access Visual Basic 6 COM objects with RDS.Dataspace proxy, you get the...]]></description>
			<content:encoded><![CDATA[<p>Have been struggling all day with an error, and finally solved the problem!</p>
<p>Description:<br />
When you try to access Visual Basic 6 COM objects with RDS.Dataspace proxy,<br />
you get the following error reported by IIS: <em>Internet Server Error</em>. </p>
<p>Not very descriptive error message, and me and my collegue spent 8 hours tracking<br />
this error down&#8230;</p>
<p>Looking at the IIS logfiles, you only see a 500 error code (Internal Server Error):</p>
<pre>2011-09-20 14:22:52 W3SVC1418426546 000.000.000.000 GET
/msadc/msadcs.dll/ComObject.Class.IsAlive - 80 - 000.000.000.000 Mozilla/4.0+
(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;
+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E)
<span style="color: #ff0000;">500 </span>0 193</pre>
<p>Trying to invoke a COM object locally works fine with the following code:</p>
<pre>Set obj = CreateObject("ComObject.Class")
ret = obj.IsAlive() </pre>
<p>Trying to invoke COM object via RDS, throws &#8220;Internet Server Error&#8221;:</p>
<pre>Set proxy = Server.CreateObject("RDS.DataSpace")
Set obj = proxy.CreateObject("ComObject.Class", "http://localhost")
ret = obj.IsAlive()</pre>
<p>I tried to access the MSADC dll directly (http://&lt;site&gt;/msadc/msadcs.dll) with<br />
the browser to see what happened, and got this error message:</pre>
<pre>%1 not a valid win32 application</pre>
<p>That got me thinking. I tried the same url on an working machine, and there<br />
was the same response:</p>
<pre>Content-Type: application/x-varg Content-Length: 6 W€</pre>
<p>So, something was clearly up with a 32-bit vs a 64-bit dll or program.<br />
After some brainstorming we came up with the following:</p>
<p>The problem was simple enough due to running Windows Server 2003 x64, there is two<br />
catalogs where MSADC could be pointed, one under C:\Program Files\Common Files\System\msadc<br />
and another under C:\Program Files (x86)\Common Files\System\msadc. As we run IIS in<br />
32 bit mode, we had to setup MSADC with the 32-bit dll. That solved the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dreamfactory.se/2011/09/21/running-rds-object-call-results-in-internet-server-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone case Case-Mate reacts with iPhone 3GS plastic</title>
		<link>http://blog.dreamfactory.se/2011/08/31/iphone-bumper-case-mate-reacts-with-iphone-3gs-plastic/</link>
		<comments>http://blog.dreamfactory.se/2011/08/31/iphone-bumper-case-mate-reacts-with-iphone-3gs-plastic/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 06:44:44 +0000</pubDate>
		<dc:creator>Jenz</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[case-mate]]></category>
		<category><![CDATA[cm]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[plastic]]></category>
		<category><![CDATA[reaction]]></category>

		<guid isPermaLink="false">http://blog.dreamfactory.se/?p=189</guid>
		<description><![CDATA[iPhone bumper Case-Mate reacts with iPhone 3GS plastic. I now have a purple colored backside on my iPhone.]]></description>
			<content:encoded><![CDATA[<p>I have now got a purple colored back side on my black 3GS iPhone!</p>
<p>I discovered the other day that my black Case-Mate iPhone 3GS protector case had reacted with the plastic on the back of my black iPhone. I have not discovered this earlier, probably due to the fact it is much more visible in direct sun light. With in door lightning it is just a tint of different color, compared to the purple colored back of my iPhone in sun light.</p>
<p>The Case-Mate was purchased December 2009 in a Swedish Telenor Store. The case is named &#8220;<a href="http://www.case-mate.com/iPhone-3G-Cases/Case-Mate-iPhone-3G-3GS-Barely-There-Cases.asp" target="_blank">iPhone 3G / 3GS Barely There Cases</a>&#8221;</p>
<p>This issue has just been confirmed by a colleague, who has a red Case-Mate case.</p>
<p>Anyone else who have seen this issue on their iPhone?</p>
<p>Below images show the problem. The unaffected area is around the Apple logo, witch is still in original black color. The area outside the circular spot (where the hole is in the CaseMate case) are affected with a purple color tone.</p>

<a href='http://blog.dreamfactory.se/2011/08/31/iphone-bumper-case-mate-reacts-with-iphone-3gs-plastic/cm_react_1/' title='Case-Mate React 1'><img width="150" height="150" src="http://blog.dreamfactory.se/wp-content/uploads/2011/08/cm_react_1-150x150.png" class="attachment-thumbnail" alt="Case-Mate React 1" title="Case-Mate React 1" /></a>
<a href='http://blog.dreamfactory.se/2011/08/31/iphone-bumper-case-mate-reacts-with-iphone-3gs-plastic/cm_react_2/' title='Case-Mate React 2'><img width="150" height="150" src="http://blog.dreamfactory.se/wp-content/uploads/2011/08/cm_react_2-150x150.png" class="attachment-thumbnail" alt="Case-Mate React 2" title="Case-Mate React 2" /></a>
<a href='http://blog.dreamfactory.se/2011/08/31/iphone-bumper-case-mate-reacts-with-iphone-3gs-plastic/cm_react_3/' title='Case-Mate React 3'><img width="150" height="150" src="http://blog.dreamfactory.se/wp-content/uploads/2011/08/cm_react_3-150x150.png" class="attachment-thumbnail" alt="Case-Mate React 3" title="Case-Mate React 3" /></a>

]]></content:encoded>
			<wfw:commentRss>http://blog.dreamfactory.se/2011/08/31/iphone-bumper-case-mate-reacts-with-iphone-3gs-plastic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPeer VPS hosting inget att rekommendera!</title>
		<link>http://blog.dreamfactory.se/2011/08/24/ipeer-vps-hosting-inget-att-rekommendera/</link>
		<comments>http://blog.dreamfactory.se/2011/08/24/ipeer-vps-hosting-inget-att-rekommendera/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 12:28:15 +0000</pubDate>
		<dc:creator>Jenz</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[attacker]]></category>
		<category><![CDATA[ddos]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[ipeer]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://blog.dreamfactory.se/?p=180</guid>
		<description><![CDATA[Jag har kört iPeer VPS hosting under drygt ett halvår nu, men alla problem med detta bolag har fått mig att idag flytta mina VPS'er till annan leverantör.]]></description>
			<content:encoded><![CDATA[<p>Jag har kört <a href="http://www.ipeer.se/">iPeer VPS hosting</a> för mina Windows Server 2008 maskiner under drygt ett halvår nu, men alla problem med detta bolag och deras tjänster har fått mig att idag flytta mina VPS&#8217;er till annan leverantör.</p>
<p>Ni som funderar på iPeer bör tänkta er för<em> ett par gånger extra</em> innan ni signar upp för deras tjänster. Här är lite av det som jag råkat ut för:</p>
<p>* En VPS blev helt obrukbar (med dataförlust till följd) för att jag ändrade &#8220;location&#8221; i kontrollpanelen.<br />
* VPS&#8217;er har förlorat kontakt med omvärlden under längre perioder, upp till en halvtimme på grund av DDOS attacker mot deras nät.<br />
* Senast igår (2011-08-23) gick inte VPS&#8217;en att nå på grund av, jag citerar supporten, &#8220;../..mjukvaran i en uppsamlingsswitch som svajade på grund av en bugg../..&#8221;.<br />
* Idag (2011-08-24) dök min VPS helt oförklarligt och startade senare upp sig själv igen. Ringde in till supporten och fick till svar att det var konstigt, och frågan om jag inte själv startat om den. (Då hade jag väl inte ringt till supporten?). 10 minuter efter telefonsupporten fick jag detta e-post meddekande:</p>
<p>&#8220;<em>Tyvärr har en akut driftstörning orakat en spontanomstart av huvudnoden VZ-0032 där er instans körs. Alla instanser på huvudnoden skall vara uppe och snurra igen om ca 5 minuter.</em>&#8221;</p>
<p>Inte direkt professionell hosting enligt min mening. Sen känns det ju tryggt att supporten säger att man &#8220;inte får pilla för djupt i kontrollpanelen för då kan servern hänga sig och bli obrukbar&#8221;. Hur skall jag vet &#8220;hur djupt&#8221; är?</p>
<p>Uppdatering 2011-09-05; Ett nytt mail kom från iPeer support:</p>
<p>&#8220;<em>Hej, tyvärr har det återigen skett en spontanomstart av huvudnod VZ-0032.<br />
Ärendet ligger sedan den senaste störningen hos leverantören av virtualiseringsverktyget Virtuozzo.  De håller på att undersöka vad det är som orsakar dessa omstarter och vad som måste göras med noden för att lösa problemet.<br />
Omstarten skedde runt 08:20.</em></p>
<p><em> </em></p>
<p><em>Vi återkommer med mer information så fort leverantören återkommit till oss med en plan för att lösa problemet.</em>&#8221;</p>
<p>Som tur är har jag redan flyttat till ny leverantör, som inte kör Virtuozzo utan Microsoft HyperV, som är en betydligt stabilare plattform, utan några konstiga bieffekter som Virtuozzo uppenbarligen lider av.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dreamfactory.se/2011/08/24/ipeer-vps-hosting-inget-att-rekommendera/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Brand Villa Hammarlöv / House fire Hammarlöv</title>
		<link>http://blog.dreamfactory.se/2011/05/05/brand-villa-hammarlov-house-fire-hammarlov/</link>
		<comments>http://blog.dreamfactory.se/2011/05/05/brand-villa-hammarlov-house-fire-hammarlov/#comments</comments>
		<pubDate>Thu, 05 May 2011 10:34:34 +0000</pubDate>
		<dc:creator>Jenz</dc:creator>
				<category><![CDATA[Brand / Fire Rescue Services]]></category>

		<guid isPermaLink="false">http://blog.dreamfactory.se/?p=164</guid>
		<description><![CDATA[Larm om branden kom strax före klockan 22.30 (2011-05-04) på onsdagskvällen. Troligtvis antände en gnista från en svetslåga garaget och en gasbehållare exploderade. Branden spred sig senare till huset. Eftersom...]]></description>
			<content:encoded><![CDATA[<p>Larm om branden kom strax före klockan 22.30 (2011-05-04) på onsdagskvällen. Troligtvis antände en gnista från en svetslåga garaget och en gasbehållare exploderade. Branden spred sig senare till huset.</p>
<p>Eftersom branden tagit sig i mellantaket, var det mycket svårt att komma åt. Trots försök med begränsnings- och dimspik gick det inte att rädda.</p>
<p>[en]<br />
The alarm about the fire came just before 22:30 (2011-05-04) on Wednesday night. Most likely a spark from a welding flame ignited a gas container that exploded witch set the garage on fire. The fire spread later onto the building.</p>

<a href='http://blog.dreamfactory.se/2011/05/05/brand-villa-hammarlov-house-fire-hammarlov/br1_954826a/' title='br1_954826a'><img width="150" height="150" src="http://blog.dreamfactory.se/wp-content/uploads/2011/05/br1_954826a-150x150.jpg" class="attachment-thumbnail" alt="br1_954826a" title="br1_954826a" /></a>
<a href='http://blog.dreamfactory.se/2011/05/05/brand-villa-hammarlov-house-fire-hammarlov/br2_954827a/' title='br2_954827a'><img width="150" height="150" src="http://blog.dreamfactory.se/wp-content/uploads/2011/05/br2_954827a-150x150.jpg" class="attachment-thumbnail" alt="br2_954827a" title="br2_954827a" /></a>
<a href='http://blog.dreamfactory.se/2011/05/05/brand-villa-hammarlov-house-fire-hammarlov/br3_954828a/' title='br3_954828a'><img width="150" height="150" src="http://blog.dreamfactory.se/wp-content/uploads/2011/05/br3_954828a-150x150.jpg" class="attachment-thumbnail" alt="br3_954828a" title="br3_954828a" /></a>
<a href='http://blog.dreamfactory.se/2011/05/05/brand-villa-hammarlov-house-fire-hammarlov/br4_954830a-1/' title='br4_954830a (1)'><img width="150" height="150" src="http://blog.dreamfactory.se/wp-content/uploads/2011/05/br4_954830a-1-150x150.jpg" class="attachment-thumbnail" alt="br4_954830a (1)" title="br4_954830a (1)" /></a>
<a href='http://blog.dreamfactory.se/2011/05/05/brand-villa-hammarlov-house-fire-hammarlov/br4_954830a/' title='br4_954830a'><img width="150" height="150" src="http://blog.dreamfactory.se/wp-content/uploads/2011/05/br4_954830a-150x150.jpg" class="attachment-thumbnail" alt="br4_954830a" title="br4_954830a" /></a>
<a href='http://blog.dreamfactory.se/2011/05/05/brand-villa-hammarlov-house-fire-hammarlov/cnybrand2_4_955056k/' title='CNYbrand2_4_955056k'><img width="150" height="150" src="http://blog.dreamfactory.se/wp-content/uploads/2011/05/CNYbrand2_4_955056k-150x150.jpg" class="attachment-thumbnail" alt="CNYbrand2_4_955056k" title="CNYbrand2_4_955056k" /></a>
<a href='http://blog.dreamfactory.se/2011/05/05/brand-villa-hammarlov-house-fire-hammarlov/ppbra22-20110504/' title='PPBRA22-20110504'><img width="150" height="150" src="http://blog.dreamfactory.se/wp-content/uploads/2011/05/PPBRA22-20110504-150x150.jpg" class="attachment-thumbnail" alt="PPBRA22-20110504" title="PPBRA22-20110504" /></a>

]]></content:encoded>
			<wfw:commentRss>http://blog.dreamfactory.se/2011/05/05/brand-villa-hammarlov-house-fire-hammarlov/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
