<?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>Elven Soft Blog</title>
	<atom:link href="http://blog.elvensoft.ro/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.elvensoft.ro</link>
	<description>Microsoft.net, marketing, software and internet solutions</description>
	<lastBuildDate>Thu, 22 Jul 2010 13:29:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The server principal is not able to access the database under the current security context</title>
		<link>http://blog.elvensoft.ro/2010/07/the-server-principal-is-not-able-to-access-the-database-under-the-current-security-context/</link>
		<comments>http://blog.elvensoft.ro/2010/07/the-server-principal-is-not-able-to-access-the-database-under-the-current-security-context/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 13:24:21 +0000</pubDate>
		<dc:creator>Puiu</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[sql server 2008]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://blog.elvensoft.ro/?p=93</guid>
		<description><![CDATA[If this error message appears when trying to expand the databases node in SQL Server Management Studio and the x64 version of SQL Server 2008 is installed, follow the steps below:
1) Bring Object Explorer Details window by selecting View &#8211;&#62; Object Explorer Details in menu (or hitting F7)
2) In Object Explorer window click at Databases [...]]]></description>
			<content:encoded><![CDATA[<p>If this error message appears when trying to expand the databases node in SQL Server Management Studio and the x64 version of SQL Server 2008 is installed, follow the steps below:</p>
<p>1) Bring Object Explorer Details window by selecting View &#8211;&gt; Object Explorer Details in menu (or hitting F7)<br />
2) In Object Explorer window click at Databases folder<br />
3) In Object Explorer Details window right-click at the column header and deselect Collation<br />
4) Refresh Databases folder.</p>
<p>For more details click <a href="https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=354291&amp;wa=wsignin1.0" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elvensoft.ro/2010/07/the-server-principal-is-not-able-to-access-the-database-under-the-current-security-context/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unpivot transformation</title>
		<link>http://blog.elvensoft.ro/2010/05/unpivot-transformation/</link>
		<comments>http://blog.elvensoft.ro/2010/05/unpivot-transformation/#comments</comments>
		<pubDate>Tue, 04 May 2010 18:05:10 +0000</pubDate>
		<dc:creator>Puiu</dc:creator>
				<category><![CDATA[SSIS]]></category>
		<category><![CDATA[unpivot]]></category>

		<guid isPermaLink="false">http://blog.elvensoft.ro/?p=72</guid>
		<description><![CDATA[We have the following excel file that has﻿ a pivot table in it:

The first column represents the age (A) while in the columns starting from B to D is the pivoted data. The column names are 10, 11 and 12. In order for SSIS to recognize the numbers as column names you must put a &#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>We have the following excel file that has﻿ a pivot table in it:</p>
<p><img src="http://blog.elvensoft.ro/wp-content/uploads/2010/05/Capture2.jpg" alt="Excel Pivot table" width="311" height="138" /></p>
<p>The first column represents the age (A) while in the columns starting from B to D is the pivoted data. The column names are 10, 11 and 12. In order for SSIS to recognize the numbers as column names you must put a &#8221; &#8216; &#8221; in front of the number, like this: &#8216;10.</p>
<p>Next we open SSIS and create a new project. We add a Data Flow task and in the data flow area we add an Excel source and a unpivot transformation like below:</p>
<p><img src="http://blog.elvensoft.ro/wp-content/uploads/2010/05/Data_flow.jpg" alt="" width="215" height="189" /></p>
<p><span id="more-72"></span></p>
<p>The red x appears because we have not edited the transformation yet. Let&#8217;s do that:</p>
<p style="text-align: center;"><img class="aligncenter" src="http://blog.elvensoft.ro/wp-content/uploads/2010/05/Unpivot-transformation.jpg" alt="" width="447" height="432" /></p>
<p>In the Available Input Columns we do not check the columns that we want to remain unchanged. Here we do not want the first column, &#8220;Age&#8221;, to be changed (unpivoted).</p>
<p>The <strong>destination column</strong> in the table reprezents the new column where the pivoted values will be stored.</p>
<p>The pivot key column name is the column where the name of the columns will be stored, in our case 10, 11, 12.</p>
<p>After we&#8217;ve done all this we can have another excel file or table as a destination for our results.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elvensoft.ro/2010/05/unpivot-transformation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet in numbers</title>
		<link>http://blog.elvensoft.ro/2010/03/internet-in-numbers/</link>
		<comments>http://blog.elvensoft.ro/2010/03/internet-in-numbers/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 13:15:50 +0000</pubDate>
		<dc:creator>Catalin Radoi</dc:creator>
				<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://blog.elvensoft.ro/?p=69</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=9641036&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=ffffff&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=9641036&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elvensoft.ro/2010/03/internet-in-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Filter tables and matrix in reporting services</title>
		<link>http://blog.elvensoft.ro/2009/12/filter-tables-and-matrix-in-reporting-services/</link>
		<comments>http://blog.elvensoft.ro/2009/12/filter-tables-and-matrix-in-reporting-services/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 10:45:00 +0000</pubDate>
		<dc:creator>Puiu</dc:creator>
				<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[rdlc]]></category>

		<guid isPermaLink="false">http://blog.elvensoft.ro/?p=57</guid>
		<description><![CDATA[When filtering a table or a matrix in reporting services you might encounter the following error:
Cannot compare data types of System.Int32 and System.String. Please check the data type returned by the filter expression.

This happens when the column to be filtered is of type numeric (integer in our case) and you try to compare it with [...]]]></description>
			<content:encoded><![CDATA[<p>When filtering a table or a matrix in reporting services you might encounter the following error:</p>
<p><strong>Cannot compare data types of System.Int32 and System.String. Please check the data type returned by the filter expression.<br />
</strong></p>
<p>This happens when the column to be filtered is of type numeric (integer in our case) and you try to compare it with a number. The correct way to do it is like in the picture below:</p>
<p><img class="aligncenter size-full wp-image-63" title="rezolvare" src="http://blog.elvensoft.ro/wp-content/uploads/2009/12/rezolvare1.JPG" alt="rezolvare" width="528" height="170" /></p>
<p>In the value field put another &#8220;=&#8221; sign otherwise the number will be interpreted as a string and not as a number.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elvensoft.ro/2009/12/filter-tables-and-matrix-in-reporting-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dependencies on a table column &#8211; SQL Server</title>
		<link>http://blog.elvensoft.ro/2009/10/dependencies-table-column-sql-server/</link>
		<comments>http://blog.elvensoft.ro/2009/10/dependencies-table-column-sql-server/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 10:54:07 +0000</pubDate>
		<dc:creator>Catalin Radoi</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://blog.elvensoft.ro/?p=54</guid>
		<description><![CDATA[Find all views, stored procedures etc that use a table column

SELECT OBJECT_NAME(sd.id) Dependent_Object,
(SELECT xtype FROM sysobjects so WHERE so.id = sd.id) Object_Type
FROM sysobjects so
INNER JOIN syscolumns sc ON so.id = sc.id
INNER JOIN sysdepends sd  ON so.id = sd.depid AND sc.colid = sd.depnumber
WHERE so.id = OBJECT_ID('TABLE_NAME')
AND sc.name = 'TABLE_COLUMN'

]]></description>
			<content:encoded><![CDATA[<p>Find all views, stored procedures etc that use a table column</p>
<p><code><br />
SELECT OBJECT_NAME(sd.id) Dependent_Object,<br />
(SELECT xtype FROM sysobjects so WHERE so.id = sd.id) Object_Type<br />
FROM sysobjects so<br />
INNER JOIN syscolumns sc ON so.id = sc.id<br />
INNER JOIN sysdepends sd  ON so.id = sd.depid AND sc.colid = sd.depnumber<br />
WHERE so.id = OBJECT_ID('<span style="color: #ff0000;">TABLE_NAME</span>')<br />
AND sc.name = '<span style="color: #ff0000;">TABLE_COLUMN</span>'<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elvensoft.ro/2009/10/dependencies-table-column-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bug: Requested Registry Access is not allowed Visual Studio 2008</title>
		<link>http://blog.elvensoft.ro/2009/08/bug-requested-registry-access-is-not-allowed-visual-studio-2008/</link>
		<comments>http://blog.elvensoft.ro/2009/08/bug-requested-registry-access-is-not-allowed-visual-studio-2008/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 14:36:17 +0000</pubDate>
		<dc:creator>Catalin Radoi</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://blog.elvensoft.ro/?p=47</guid>
		<description><![CDATA[After uninstalling Visual Studio 2010 BETA, one of the bugs I received in Visual Studio 2008 was
Requested Registry Access is not allowed while trying to add a class to my solution.
To fix this, download and install SubInACL which is a command line tool.  After installing this, create a .bat file and put this lines in [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_48" class="wp-caption aligncenter" style="width: 306px"><img class="size-full wp-image-48" title="Requested registry access is not allowed" src="http://blog.elvensoft.ro/wp-content/uploads/2009/08/error.JPG" alt="Requested registry access is not allowed" width="296" height="145" /><p class="wp-caption-text">Requested registry access is not allowed</p></div>
<p>After uninstalling Visual Studio 2010 BETA, one of the bugs I received in Visual Studio 2008 was<br />
<code><strong>Requested Registry Access is not allowed</strong></code> while trying to add a class to my solution.</p>
<p>To fix this, download and install <a title="SubInACL" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=E8BA3E56-D8FE-4A91-93CF-ED6985E3927B&amp;displaylang=en" target="_blank"><strong><span style="font-size: large;">SubInACL</span></strong></a><strong><span style="font-size: large;"> </span></strong>which is a command line tool.  After installing this, create a .bat file and put this lines in it:</p>
<p><em><span style="color: #808080;">subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=administrators=f<br />
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=users=f<br />
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=system=f<br />
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=administrators=f<br />
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=users=f<br />
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=system=f</span></em></p>
<p>Save the bat file into <strong>C:\Program Files\Windows Resource Kits\Tools</strong> or Program Files (x86) depending on your system, and run it.</p>
<p>problem fixed!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elvensoft.ro/2009/08/bug-requested-registry-access-is-not-allowed-visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS Media Services</title>
		<link>http://blog.elvensoft.ro/2009/07/iis-media-services/</link>
		<comments>http://blog.elvensoft.ro/2009/07/iis-media-services/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 22:05:40 +0000</pubDate>
		<dc:creator>Catalin Radoi</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://blog.elvensoft.ro/?p=45</guid>
		<description><![CDATA[IIS Media Services inseamna o platforma HTTP care poate face streaming True HD (720p+). Se instaleaza peste IIS 7.
Vezi filmulet de test.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.iis.net/media" target="_blank">IIS Media Services</a> inseamna o platforma HTTP care poate face streaming True HD (720p+). Se instaleaza peste IIS 7.</p>
<p><a href="http://www.iis.net/media/experiencesmoothstreaming" target="_blank">Vezi filmulet de test.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elvensoft.ro/2009/07/iis-media-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mailto link in GridView</title>
		<link>http://blog.elvensoft.ro/2009/06/mailto-link-in-gridview/</link>
		<comments>http://blog.elvensoft.ro/2009/06/mailto-link-in-gridview/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 09:24:23 +0000</pubDate>
		<dc:creator>Catalin Radoi</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[GridView]]></category>
		<category><![CDATA[TemplateField]]></category>

		<guid isPermaLink="false">http://blog.elvensoft.ro/?p=39</guid>
		<description><![CDATA[If you add a HyperLinkField to a Grid View and you set the DataNavigateUrlFields to &#8220;Email&#8221; (the field coming from the database) and the DataNavigateUrlFormat to &#8220;mailto:{0}&#8221; it wont work, because asp.net does some extra validation and the output is no link.

The only way to have an email link inside a GridView is by using [...]]]></description>
			<content:encoded><![CDATA[<p>If you add a <strong>HyperLinkField</strong> to a Grid View and you set the <strong>DataNavigateUrlFields</strong> to &#8220;Email&#8221; (the field coming from the database) and the <strong>DataNavigateUrlFormat</strong> to &#8220;mailto:{0}&#8221; it wont work, because asp.net does some extra validation and the output is no link.<br />
<span id="more-39"></span><br />
<span style="font-size: medium;"><span style="color: #800000;"><span style="text-decoration: underline;">The only way to have an email link inside a GridView is by using a TemplateField</span> </span></span></p>
<p>Use this code to generate the TemplateField:</p>
<p> </p>
<p><span style="color: #0000ff;">&lt;</span><span style="color: #400080;">asp</span><span style="color: #8020ff;">:</span><span style="color: #400080;">TemplateField</span> <span style="color: #305fb6;">HeaderText</span><span style="color: #8020ff;">=</span><strong><span style="color: #259241;">&#8220;Email&#8221;</span></strong><span style="color: #0000ff;">&gt;<br />
</span><span style="color: #0000ff;">&lt;</span><span style="color: #400080;">ItemTemplate</span><span style="color: #0000ff;">&gt;<br />
</span><span style="color: #0000ff;">&lt;</span><span style="color: #400080;">asp</span><span style="color: #8020ff;">:</span><span style="color: #400080;">HyperLink</span> <span style="color: #305fb6;">ID</span><span style="color: #8020ff;">=</span><strong><span style="color: #259241;">&#8220;emailHyperLink&#8221;</span></strong> <span style="color: #305fb6;">runat</span><span style="color: #8020ff;">=</span><strong><span style="color: #259241;">&#8220;server&#8221;</span></strong> <span style="color: #305fb6;">NavigateUrl</span><span style="color: #8020ff;">=</span><strong><span style="color: #259241;">&#8216;</span></strong>&lt;%# Eval(&#8220;Email&#8221;, &#8220;mailto:{0}&#8221;) %&gt;<strong><span style="color: #259241;">&#8216;<br />
</span></strong><span style="color: #305fb6;">Text</span><span style="color: #8020ff;">=</span><strong><span style="color: #259241;">&#8216;</span></strong>&lt;%# Eval(&#8220;Email&#8221;) %&gt;<strong><span style="color: #259241;">&#8216;</span></strong> <span style="color: #305fb6;">Target</span><span style="color: #8020ff;">=</span><strong><span style="color: #259241;">&#8220;_blank&#8221;</span></strong><span style="color: #0000ff;">&gt;&lt;/</span><span style="color: #400080;">asp</span><span style="color: #8020ff;">:</span><span style="color: #400080;">HyperLink</span><span style="color: #0000ff;">&gt;<br />
</span><span style="color: #0000ff;">&lt;/</span><span style="color: #400080;">ItemTemplate</span><span style="color: #0000ff;">&gt;<br />
</span><span style="color: #0000ff;">&lt;/</span><span style="color: #400080;">asp</span><span style="color: #8020ff;">:</span><span style="color: #400080;">TemplateField</span><span style="color: #0000ff;">&gt;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elvensoft.ro/2009/06/mailto-link-in-gridview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2010 BETA</title>
		<link>http://blog.elvensoft.ro/2009/05/visual-studio-2010-beta/</link>
		<comments>http://blog.elvensoft.ro/2009/05/visual-studio-2010-beta/#comments</comments>
		<pubDate>Thu, 21 May 2009 11:41:51 +0000</pubDate>
		<dc:creator>Catalin Radoi</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[vb.net]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://blog.elvensoft.ro/?p=12</guid>
		<description><![CDATA[De astazi puteti descarca Visual Studio 2010 BETA. F# face acum parte oficial din pachet.


Descarca Visual Studio 2010 Professional BETA
Descarca Visual Studio 2010 Team System BETA
Mai multe optiuni de descarcare


Un filmulet interesant pentru instalare puteti urmari aici
Visual Studio 2010 and .NET Framework 4 Training Kit
]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 352px"><a href="http://go.microsoft.com/fwlink/?LinkId=147408"><img title="Visual Studio 2010 Beta" src="http://www.microsoft.com/visualstudio/en-us/content/images/hero_2010_v4.png" alt="Visual Studio 2010" width="342" height="223" /></a><p class="wp-caption-text">Visual Studio 2010</p></div>
<p>De astazi puteti descarca Visual Studio 2010 BETA. F# face acum parte oficial din pachet.<br />
<span id="more-12"></span></p>
<ul>
<li><a href="http://go.microsoft.com/fwlink/?LinkId=147408">Descarca Visual Studio 2010 Professional BETA</a></li>
<li><a href="http://go.microsoft.com/fwlink/?LinkId=147407">Descarca Visual Studio 2010 Team System BETA</a></li>
<li><a href="http://blogs.msdn.com/onoj/archive/2009/05/19/visual-studio-2010-beta-1-download-options.aspx">Mai multe optiuni de descarcare</a></li>
</ul>
<p>
Un filmulet interesant pentru instalare puteti urmari <a href="http://channel9.msdn.com/shows/10-4/10-4-Episode-20-Downloading-and-Installing-Visual-Studio-2010-Beta-1/">aici</a></p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=752CB725-969B-4732-A383-ED5740F02E93&#038;displaylang=en">Visual Studio 2010 and .NET Framework 4 Training Kit</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elvensoft.ro/2009/05/visual-studio-2010-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2008 Gratuit</title>
		<link>http://blog.elvensoft.ro/2009/05/visual-studio-2008-gratuit/</link>
		<comments>http://blog.elvensoft.ro/2009/05/visual-studio-2008-gratuit/#comments</comments>
		<pubDate>Wed, 20 May 2009 16:59:41 +0000</pubDate>
		<dc:creator>Catalin Radoi</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://blog.elvensoft.ro/?p=5</guid>
		<description><![CDATA[Puteti descarca varianta gratuita pentru Visual Studio 2008 (.NET Framework 3.5) accesand acest link. Tot pe aceasta pagina puteti descarca si o varianta light pentru MSDN Library.
]]></description>
			<content:encoded><![CDATA[<div id="attachment_8" class="wp-caption aligncenter" style="width: 560px"><a href="http://www.microsoft.com/express/download"><img src="http://blog.elvensoft.ro/wp-content/uploads/2009/05/vstudio.jpg" alt="Visual Studio 2008 Express" title="Visual Studio 2008 Express" width="550" height="240" class="size-full wp-image-8" /></a><p class="wp-caption-text">Visual Studio 2008 Express</p></div>
<p>Puteti descarca varianta gratuita pentru Visual Studio 2008 (.NET Framework 3.5) accesand <a href="http://www.microsoft.com/express/download/" target="_blank">acest link</a>. Tot pe aceasta pagina puteti descarca si o varianta light pentru MSDN Library.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.elvensoft.ro/2009/05/visual-studio-2008-gratuit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
