<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="http://feedproxy.google.com/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feedproxy.google.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Norkevicius</title>
	
	<link>http://are.ehibou.com</link>
	<description>Aurimas Norkevicius Web Log</description>
	<pubDate>Tue, 18 Nov 2008 13:04:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feedproxy.google.com/are-ehibou" type="application/rss+xml" /><item>
		<title>MDX complement operator problem</title>
		<link>http://feedproxy.google.com/~r/are-ehibou/~3/1pNXPpRuqo0/</link>
		<comments>http://are.ehibou.com/mdx-complement-operator-problem/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 13:02:49 +0000</pubDate>
		<dc:creator>aurimas.norkevicius</dc:creator>
		
		<category><![CDATA[MDX]]></category>

		<category><![CDATA[Microsoft SQL Server Analysis Services 2005]]></category>

		<category><![CDATA[Side Notes]]></category>

		<guid isPermaLink="false">http://are.ehibou.com/?p=76</guid>
		<description>Playing with Microsoft SQL Server Analysis services 2005 and MDX language. Could not find many resources or error reference on the internet.
The following MDX query was created using query painter:
Select (-({[My Dimension].[My Hierarchy].[My Level].&amp;#38;[Not existing member]})) ON COLUMNS FROM [My Cube]
Executing this query results in an error:
Set used with the complement operator must have all [...]
&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~a/pmLUUOIpkFLNnXp62KLxoWwrInQ/a"&gt;&lt;img src="http://feedads.googleadservices.com/~a/pmLUUOIpkFLNnXp62KLxoWwrInQ/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feedproxy.google.com/~r/are-ehibou/~4/1pNXPpRuqo0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://are.ehibou.com/mdx-complement-operator-problem/feed/</wfw:commentRss>
		<feedburner:origLink>http://are.ehibou.com/mdx-complement-operator-problem/</feedburner:origLink></item>
		<item>
		<title>anonymous, dynamic, variable classes and methods</title>
		<link>http://feedproxy.google.com/~r/are-ehibou/~3/9amrapH3mag/</link>
		<comments>http://are.ehibou.com/anonymous-dynamic-variable-classes-and-methods/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 12:53:56 +0000</pubDate>
		<dc:creator>aurimas.norkevicius</dc:creator>
		
		<category><![CDATA[Side Notes]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://are.ehibou.com/?p=74</guid>
		<description>To call a method by dynamic name you can do this:
$methodName=&amp;#34;MyMethod&amp;#34;;
$result=$methodName();
To create a class by dynamic name you can do this:
$className=&amp;#34;MyClass&amp;#34;;
$classVar=new $className;
To call any method by dynamic name in previously initialized class you can do this:
$methodName=&amp;#34;MyMethod&amp;#34;;
$result=$classVar-&amp;#38;gt;$methodName();
&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~a/sb_fqiuw7MR0p0bmqtjWtSH1XQ4/a"&gt;&lt;img src="http://feedads.googleadservices.com/~a/sb_fqiuw7MR0p0bmqtjWtSH1XQ4/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feedproxy.google.com/~r/are-ehibou/~4/9amrapH3mag" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://are.ehibou.com/anonymous-dynamic-variable-classes-and-methods/feed/</wfw:commentRss>
		<feedburner:origLink>http://are.ehibou.com/anonymous-dynamic-variable-classes-and-methods/</feedburner:origLink></item>
		<item>
		<title>Generic Configuration Section Handler</title>
		<link>http://feedproxy.google.com/~r/are-ehibou/~3/MMpzOgm1Xqg/</link>
		<comments>http://are.ehibou.com/generic-configuration-section-handler/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 10:55:41 +0000</pubDate>
		<dc:creator>aurimas.norkevicius</dc:creator>
		
		<category><![CDATA[C#.NET]]></category>

		<guid isPermaLink="false">http://are.ehibou.com/?p=73</guid>
		<description>Check this link. It is a good way to deal with configuration sections in .NET environment.
&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~a/QH4BKSD8KVvW93uN1gQdec9FFBs/a"&gt;&lt;img src="http://feedads.googleadservices.com/~a/QH4BKSD8KVvW93uN1gQdec9FFBs/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feedproxy.google.com/~r/are-ehibou/~4/MMpzOgm1Xqg" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://are.ehibou.com/generic-configuration-section-handler/feed/</wfw:commentRss>
		<feedburner:origLink>http://are.ehibou.com/generic-configuration-section-handler/</feedburner:origLink></item>
		<item>
		<title>C# .NET project fails to compile because of System.Data.SqlClient SortOrder data type.</title>
		<link>http://feedproxy.google.com/~r/are-ehibou/~3/WLZArrM7Opo/</link>
		<comments>http://are.ehibou.com/c-net-project-fails-to-compole-because-of-systemdatasqlclient-sortorder-data-type/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 11:29:06 +0000</pubDate>
		<dc:creator>aurimas.norkevicius</dc:creator>
		
		<category><![CDATA[C#.NET]]></category>

		<category><![CDATA[Side Notes]]></category>

		<guid isPermaLink="false">http://are.ehibou.com/?p=71</guid>
		<description>Had a headache because of compilation of project which was using System.Data.SqlClient SortOrder data type. After some hours of investigations we found out that Microsoft .NET framework 2.0 SP1 was not installed on the machine. .NET 2.0 contains system.Data.SqlClient namespace but not SortOrder type in it. SP1 adds this data type to the namespace mentioned [...]
&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~a/vtmregsdp0qd8vfmu1gqpirgr4/a"&gt;&lt;img src="http://feedads.googleadservices.com/~a/vtmregsdp0qd8vfmu1gqpirgr4/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feedproxy.google.com/~r/are-ehibou/~4/WLZArrM7Opo" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://are.ehibou.com/c-net-project-fails-to-compole-because-of-systemdatasqlclient-sortorder-data-type/feed/</wfw:commentRss>
		<feedburner:origLink>http://are.ehibou.com/c-net-project-fails-to-compole-because-of-systemdatasqlclient-sortorder-data-type/</feedburner:origLink></item>
		<item>
		<title>asp.net wizard control sidebar template customization</title>
		<link>http://feedproxy.google.com/~r/are-ehibou/~3/vDUw4YP-GsU/</link>
		<comments>http://are.ehibou.com/aspnet-wizard-control-sidebar-template-customization/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 16:33:42 +0000</pubDate>
		<dc:creator>aurimas.norkevicius</dc:creator>
		
		<category><![CDATA[Side Notes]]></category>

		<guid isPermaLink="false">http://are.ehibou.com/?p=70</guid>
		<description>Question: How to change sidebar template of the wizard control so that only previous wizard steps would be enabled?
Answer:Create something like this in your *.aspx file:
			&amp;#60;asp:Wizard ID="Wizard1" runat="server"&amp;#62;
				&amp;#60;WizardSteps&amp;#62;
					&amp;#60;asp:WizardStep ID="WizardStep1" runat="server" Title="Step 1"&amp;#62;
					&amp;#60;/asp:WizardStep&amp;#62;
					&amp;#60;asp:WizardStep ID="WizardStep2" runat="server" Title="Step 2"&amp;#62;
					&amp;#60;/asp:WizardStep&amp;#62;
				&amp;#60;/WizardSteps&amp;#62;
				&amp;#60;SideBarTemplate&amp;#62;
					&amp;#60;asp:DataList runat="server" ID="SideBarList" OnItemDataBound="SideBarList_ItemDataBound"&amp;#62;
						&amp;#60;ItemTemplate&amp;#62;
							&amp;#60;asp:LinkButton runat="server" ID="SideBarButton" Font-Bold="true" /&amp;#62;
						&amp;#60;/ItemTemplate&amp;#62;
					&amp;#60;/asp:DataList&amp;#62;
				&amp;#60;/SideBarTemplate&amp;#62;
			&amp;#60;/asp:Wizard&amp;#62;
And create something like this in your *.aspx.cs file:
protected void SideBarList_ItemDataBound(object sender, DataListItemEventArgs [...]
&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~a/45hh82jlsvnplk06dkdig5lso0/a"&gt;&lt;img src="http://feedads.googleadservices.com/~a/45hh82jlsvnplk06dkdig5lso0/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feedproxy.google.com/~r/are-ehibou/~4/vDUw4YP-GsU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://are.ehibou.com/aspnet-wizard-control-sidebar-template-customization/feed/</wfw:commentRss>
		<feedburner:origLink>http://are.ehibou.com/aspnet-wizard-control-sidebar-template-customization/</feedburner:origLink></item>
		<item>
		<title>Microsoft SQL Server: How to find not partitioned tables</title>
		<link>http://feedproxy.google.com/~r/are-ehibou/~3/m4onX77RbSU/</link>
		<comments>http://are.ehibou.com/microsoft-sql-server-how-to-find-not-partitioned-tables/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 08:17:53 +0000</pubDate>
		<dc:creator>aurimas.norkevicius</dc:creator>
		
		<category><![CDATA[Side Notes]]></category>

		<guid isPermaLink="false">http://are.ehibou.com/?p=69</guid>
		<description>Script to find not partitioned tables containing some particular column
SELECT o2.NAME FROM sys.objects o
INNER JOIN sys.indexes i ON o.OBJECT_ID=i.OBJECT_ID
INNER JOIN sys.partition_schemes ps ON ps.data_space_id=i.data_space_id
RIGHT OUTER JOIN sys.Objects o2 ON o2.OBJECT_ID=o.OBJECT_ID
INNER JOIN sys.columns c ON c.OBJECT_ID=o2.OBJECT_ID
WHERE o2.TYPE_DESC='USER_TABLE' AND c.NAME='mycolumnname' AND o.OBJECT_ID IS null
&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~a/1u8gqkks9ekb11ibardodn79qk/a"&gt;&lt;img src="http://feedads.googleadservices.com/~a/1u8gqkks9ekb11ibardodn79qk/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feedproxy.google.com/~r/are-ehibou/~4/m4onX77RbSU" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://are.ehibou.com/microsoft-sql-server-how-to-find-not-partitioned-tables/feed/</wfw:commentRss>
		<feedburner:origLink>http://are.ehibou.com/microsoft-sql-server-how-to-find-not-partitioned-tables/</feedburner:origLink></item>
		<item>
		<title>Microsoft SQL server 2005:SQL Script to check if an object contains fulltext index specified</title>
		<link>http://feedproxy.google.com/~r/are-ehibou/~3/1QA5lLyPDxA/</link>
		<comments>http://are.ehibou.com/microsoft-sql-server-2005sql-script-to-check-if-an-object-contains-fulltext-index-specified/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 15:06:47 +0000</pubDate>
		<dc:creator>aurimas.norkevicius</dc:creator>
		
		<category><![CDATA[SQL]]></category>

		<category><![CDATA[Side Notes]]></category>

		<guid isPermaLink="false">http://are.ehibou.com/?p=68</guid>
		<description>IF EXISTS(
SELECT * FROM
sys.objects o
INNER JOIN sys.fulltext_indexes fti ON o.object_id=fti.object_id
WHERE o.name='Your table or view name'
)
BEGIN
--Your Code Here
END
&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~a/d4mgio2o35cdkmjb5rk6l7rp8o/a"&gt;&lt;img src="http://feedads.googleadservices.com/~a/d4mgio2o35cdkmjb5rk6l7rp8o/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feedproxy.google.com/~r/are-ehibou/~4/1QA5lLyPDxA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://are.ehibou.com/microsoft-sql-server-2005sql-script-to-check-if-an-object-contains-fulltext-index-specified/feed/</wfw:commentRss>
		<feedburner:origLink>http://are.ehibou.com/microsoft-sql-server-2005sql-script-to-check-if-an-object-contains-fulltext-index-specified/</feedburner:origLink></item>
		<item>
		<title>Data Dude and Visual Studio 2005: Full Text Indexes on Views With Schema Binding are Ignored During Deployment</title>
		<link>http://feedproxy.google.com/~r/are-ehibou/~3/UftndSkkFKY/</link>
		<comments>http://are.ehibou.com/data-dude-and-visual-studio-2005-full-text-indexes-on-views-with-schema-binding-are-ignored-during-deployment/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 02:54:09 +0000</pubDate>
		<dc:creator>aurimas.norkevicius</dc:creator>
		
		<category><![CDATA[C#.NET]]></category>

		<guid isPermaLink="false">http://are.ehibou.com/?p=67</guid>
		<description>Data Dude and Visual Studio 2005: Full Text Indexes on Views With Schema Binding are Ignored During Deployment. SQL Script import works. *.fulltextindex.sql files are created, but indexes are ignored to deploy &amp;#8230;  This  is  solved in visual studio 2008.  In case you are using  2005  put these scripts to your post deployment scripts &amp;#8230;.
&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~a/8m5hfpa8q3p0ghgdva6nnklul0/a"&gt;&lt;img src="http://feedads.googleadservices.com/~a/8m5hfpa8q3p0ghgdva6nnklul0/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feedproxy.google.com/~r/are-ehibou/~4/UftndSkkFKY" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://are.ehibou.com/data-dude-and-visual-studio-2005-full-text-indexes-on-views-with-schema-binding-are-ignored-during-deployment/feed/</wfw:commentRss>
		<feedburner:origLink>http://are.ehibou.com/data-dude-and-visual-studio-2005-full-text-indexes-on-views-with-schema-binding-are-ignored-during-deployment/</feedburner:origLink></item>
		<item>
		<title>Boinc Wraper-Worker Solution</title>
		<link>http://feedproxy.google.com/~r/are-ehibou/~3/xS3L_EEFuus/</link>
		<comments>http://are.ehibou.com/boinc-wraper-worker-solution/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 15:50:47 +0000</pubDate>
		<dc:creator>aurimas.norkevicius</dc:creator>
		
		<category><![CDATA[BOINC]]></category>

		<guid isPermaLink="false">http://are.ehibou.com/boinc-wraper-worker-solution/</guid>
		<description>Just started to look at it. And deployed &amp;#8220;first try&amp;#8221; on http://boinc.vgtu.lt. I&amp;#8217;ll try to move the complete project to use this scheme. If everything will go fine the first non test application will be deployed soon&amp;#8230;
&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~a/7544sp764m2tn9qdet3mk15qe8/a"&gt;&lt;img src="http://feedads.googleadservices.com/~a/7544sp764m2tn9qdet3mk15qe8/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feedproxy.google.com/~r/are-ehibou/~4/xS3L_EEFuus" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://are.ehibou.com/boinc-wraper-worker-solution/feed/</wfw:commentRss>
		<feedburner:origLink>http://are.ehibou.com/boinc-wraper-worker-solution/</feedburner:origLink></item>
		<item>
		<title>Php Script To Detect And Verify Googlebot</title>
		<link>http://feedproxy.google.com/~r/are-ehibou/~3/FCByyfT_Oxk/</link>
		<comments>http://are.ehibou.com/php-script-to-detect-and-verify-googlebot/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 20:37:19 +0000</pubDate>
		<dc:creator>aurimas.norkevicius</dc:creator>
		
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://are.ehibou.com/php-script-to-detect-and-verify-googlebot/</guid>
		<description>function IsGooglebot(){
// check if user agent contains googlebt
if(eregi(&amp;#34;Googlebot&amp;#34;,$_SERVER['HTTP_USER_AGENT'])){
$ip = $_SERVER['REMOTE_ADDR'];
//server name e.g. crawl-66-249-66-1.googlebot.com
$name = gethostbyaddr($ip);
//check if name ciontains googlebot
if(eregi(&amp;#34;Googlebot&amp;#34;,$name)){
//list of IP's
$hosts = gethostbynamel($name);
foreach($hosts as $host){
if ($host == $ip){
return true;
}
}
return false; // Pretender, take some action if needed
}else{
return false; // Pretender, take some action if needed
}
}else{
// Not googlebot, take some action if needed
}
return false;
}
&lt;p&gt;&lt;a href="http://feedads.googleadservices.com/~a/3rsroufojpeb77ri174m9bjmc8/a"&gt;&lt;img src="http://feedads.googleadservices.com/~a/3rsroufojpeb77ri174m9bjmc8/i" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feedproxy.google.com/~r/are-ehibou/~4/FCByyfT_Oxk" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://are.ehibou.com/php-script-to-detect-and-verify-googlebot/feed/</wfw:commentRss>
		<feedburner:origLink>http://are.ehibou.com/php-script-to-detect-and-verify-googlebot/</feedburner:origLink></item>
	</channel>
</rss>
