<feed version="0.3" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns="http://purl.org/atom/ns#" xml:lang="en-US"><title>Roy Tore Gurskevik's weblog</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/default.aspx" /><tagline type="text/html">&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-1194899303785477";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "image";
google_ad_channel ="";
google_color_border = "9999CC";
google_color_bg = "FFFFFF";
google_color_link = "333333";
google_color_url = "0033FF";
google_color_text = "000000";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;
&lt;a href="http://www.xobni.com/friend/Njk3Njc=" target="_blank"&gt;&lt;img src="http://www.xobni.com/images/banners/formyinbox.gif" alt="Xobni outlook add-in for your inbox" border="0"/&gt;&lt;/a&gt;</tagline><id>http://www.dotnetjunkies.com/WebLog/rtgurskevik/default.aspx</id><author><url>http://www.dotnetjunkies.com/WebLog/rtgurskevik/default.aspx</url></author><generator url="http://communityserver.org" version="1.0.1.50214">Community Server</generator><modified>2004-11-11T12:27:00Z</modified><entry><title>DataBinding with Nullable types</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2006/05/16/DataBinding_with_Nullable_types.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:138465</id><created>2006-05-15T19:53:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;One of the new thrilling features in .NET 2.0 is the introduction of generics, and as an consequence we also got the Nullable type.&lt;BR&gt;Nullable makes it possible to&amp;nbsp;set value types (Integer, DateTime) to null.&lt;/P&gt;
&lt;P&gt;When using Windows Forms Data Binding in combination with Business Objects with members of type Nullable, you soon run into problems when you whant to set the DataMember to null. There is no buildt-in way to do this. At the P&amp;amp;P Summit in Oslo last week I discusses this problem with &lt;SPAN&gt;&lt;A href="http://www.lhotka.net/WeBlog/default.aspx"&gt;Rockford Lhotka&lt;/A&gt;,&amp;nbsp;we came up with&amp;nbsp; a solution&amp;nbsp;using the&amp;nbsp;ProviderExtension modell in Windows Forms.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;A colleague of mine Thomas Bruusgaard wrote this blogpost about how&amp;nbsp;to implement the &lt;A href="http://www.thejoyofcode.com/Databinding_and_Nullable_types_in_WinForms.NET.aspx"&gt;NullableExtension&lt;/A&gt;.&amp;nbsp;&amp;nbsp;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN&gt;You can aslo read&lt;A href="http://www.lhotka.net/WeBlog/ExtendingControlsToHandleNullableTypes.aspx"&gt; what Rocky wrote about this&lt;/A&gt;. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=138465" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=138465</wfw:commentRss></entry><entry><title>26105 error while installing Team Foundation Server.</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2005/11/28/134027.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:134027</id><created>2005-11-27T19:50:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;&lt;STRONG&gt;Setup:&lt;/STRONG&gt;&lt;BR&gt;I installed Microsoft Visual Studio Team System, with a single server Team Foundation Server (TFS) configuration. The configuration are using domain users as setup, service and reportings useres. &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Problem:&lt;BR&gt;&lt;/STRONG&gt;During installation of Team Foundation Server, the 26105 error occured, after the installation Wizzard validated system requirements and the installation process started. &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Solution:&lt;BR&gt;&lt;/STRONG&gt;After investigating the installation log, it seams like the problem is related to creating the TFS SharePoint site. Even though I followed the installation&amp;nbsp;guidance it seams the&amp;nbsp;setup user doesn't have&amp;nbsp;the&amp;nbsp;enough privileges to create the TFS site.&amp;nbsp;The setup user was created as a domain user with local&amp;nbsp;administration privileges.&amp;nbsp;To correct the problem I added the TFSSETUP user to the STS_WPG group on the local machine. &lt;/P&gt;&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=134027" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=134027</wfw:commentRss></entry><entry><title>VB vs. C#  what is it all about? Religion?</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2005/11/04/133559.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:133559</id><created>2005-11-03T20:43:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;I am an experienced&amp;nbsp;C# developer myselve, and I can of couse come up with tons of reasons why it makes sence for me to write code in C# instead of VB.NET. But when i comes to the end, what are the real reasons why you should choose one above the other? Wy should we advice customers to choose C# instead of VB or opposite. &lt;/P&gt;
&lt;P&gt;Are there any reasons why we should advice a company with several VB programmers to choose C# when migrating to .NET? &lt;BR&gt;Are there any business sectors where C# are suitable? Are there any solutions to complex for writing in VB.NET? &lt;/P&gt;
&lt;P&gt;There are so many questions, but are there really an correct answer when i comes to the end, or is it all about religion.&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=133559" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=133559</wfw:commentRss></entry><entry><title>Mads Nissen, MVP Awarded.</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2005/07/11/131237.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:131237</id><created>2005-07-10T23:49:00Z</created><content type="text/html" mode="escaped">Mr. Mads Nissen, a very clever colleague of mine, have just become a MVP. Congratulations Mads, keep up the good work. 
&lt;a&gt;http://weblogs.asp.net/mnissen/archive/2005/07/07/418360.aspx&lt;/a&gt;&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=131237" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=131237</wfw:commentRss></entry><entry><title>Where are the comments..</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2005/07/07/131199.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:131199</id><created>2005-07-07T15:09:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;First of all I will say thank you donetjunkies for upgrading to the Community Server, it was about time to do something about it. &amp;nbsp;The new system seems to be better than the old and hopefully reliable as well. But!! When upgrading to the new system, what have you done with the comments to my postings.. They are all gone. :( &lt;/P&gt;&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=131199" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=131199</wfw:commentRss></entry><entry><title>Posting comments on my weblog.</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2005/05/30/100262.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:100262</id><created>2005-05-30T06:56:00Z</created><content type="text/html" mode="escaped">To all of you, reading my weblog. I have during the last months, been hassled by evil persons posting rubbish comments on my weblog.&amp;nbsp; Suppose I am not the only one, been hassled by these persons. Because of this, I have decided to disable comments on my old postings. If you still want to comment on my postings, please do by sending me an email and I post them for you.&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=100262" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=100262</wfw:commentRss></entry><entry><title>Path Helland is leaving Microsoft.</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2005/03/04/58688.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:58688</id><created>2005-03-04T13:14:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;It must be a big loss for Microsoft when Path Helland starts working for Amazone March &lt;FONT face=Arial size=2&gt;7&lt;SUP&gt;th&lt;/SUP&gt;&lt;/FONT&gt;. Path, how you keep up the brilliant&amp;nbsp;work at Amazone.com and keep on blogging. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/pathelland/archive/2005/03/03/384636.aspx"&gt;http://blogs.msdn.com/pathelland/archive/2005/03/03/384636.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=58688" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=58688</wfw:commentRss></entry><entry><title>Calling the postback function of the parent form a child window. (ASP.NET)</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2005/03/04/58679.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:58679</id><created>2005-03-04T12:43:00Z</created><content type="text/html" mode="escaped">I needed a way to refresh a ASP.NET page from a child window, without loosing the current state of server controls. I used the child window to retrieve som values from an ASP page, who posted the values back to an ASP.NET page, who stored them in session state on page load. Then I wanted to refresh the parent form to load the selected values into the form and close the child window. I wrote this magic javascript code inside the form tag of the aspx page after storing the values in session state..
&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT&gt;window.opener.execScript("__doPostBack('someButton','')","JavaScript");
window.close();&lt;/FONT&gt;&lt;/PRE&gt;It works..&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=58679" width="1" height="1"&gt;</content><slash:comments>2</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=58679</wfw:commentRss></entry><entry><title>SqlException: General network error. Check your network documentation.</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2005/03/03/58301.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:58301</id><created>2005-03-03T11:05:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;There is a lot of people out there complaining about SQL Server returning a General network error while executing a command form ADO.NET version 1.1 or 1.0. Since it is a General network error, it seems to me that there are as many reasons for this error as there are people having it. I found several postings and articles about this strange error message, and finnaly&amp;nbsp;I also found a workaround that fixed the problem for me...&lt;/P&gt;
&lt;P&gt;What i did was to append: &lt;STRONG&gt;max pool size = 7500, &lt;/STRONG&gt;to my connection string. &lt;BR&gt;This fixed the problem, but didn't explain why the problem occured in the first place.. What I discovered later on was that Norton Internet Security was blocking requests to my SQL server, causing some strange errors while pooling connections. When disabling Norton Internet Security,&amp;nbsp;SQL Server works perfect again.. Even without the &lt;STRONG&gt;max pool size &lt;/STRONG&gt;setting in the connection string. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=58301" width="1" height="1"&gt;</content><slash:comments>1</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=58301</wfw:commentRss></entry><entry><title>System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2005/01/19/45958.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:45958</id><created>2005-01-19T08:03:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;BR&gt;When usign System.Data.OracleClient with Oracle9i client, i got the following message while connecting to the Oracle database from and ASP.NET application. &lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;STRONG&gt;Cause&lt;/STRONG&gt;&lt;BR&gt;Security permissions were not properly set when the Oracle 9i Release 2 client was installed on Windows with NTFS. The result of this is that content of the ORACLE_HOME directory is not visible to Authenticated Users on the machine; this again causes an error while the System.Data.OracleClient is communicating with the Oracle Connectivity software from an ASP.NET using Authenticated User privileges. &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Solution&lt;BR&gt;&lt;/STRONG&gt;To fix the problem you have to give the Authenticated Users group privilege to the Oracle Home directory. &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Log on to Windwos as a user with Administrator privileges. &lt;/LI&gt;
&lt;LI&gt;Start Window Explorer and navigate to the ORACLE_HOME folder.&lt;/LI&gt;
&lt;LI&gt;Choose properties on the ORACLE_HOME folder.&lt;/LI&gt;
&lt;LI&gt;Click the “Security” tab of the “Properties” window.&lt;/LI&gt;
&lt;LI&gt;Click on “Authenticated Users” item in the “Name” list.&lt;/LI&gt;
&lt;LI&gt;Uncheck the “Read and Execute” box in the “Permissions” list under the “Allow” column.&lt;/LI&gt;
&lt;LI&gt;Re-check the “Read and Execute” box under the “Allow” column&lt;/LI&gt;
&lt;LI&gt;Click the “Advanced” button and in the “Permission Entries” verify that “Authenticated Users” are listed with permission = “Read &amp; Execute”, and Apply To = “This folder, subfolders and files”. If not, edit that line and make sure that “Apply To” drop-down box is set to “This folder, subfolders and files”. This should already be set properly but it is important that you verify it.&lt;/LI&gt;
&lt;LI&gt;Click the “Ok” button until you close out all of the security properties windows. The cursor may present the hour glass for a few seconds as it applies the permissions you just changed to all subfolders and files.&lt;/LI&gt;
&lt;LI&gt;Reboot, to assure that the changes have taken effect.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Try your application again.&lt;/P&gt;&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=45958" width="1" height="1"&gt;</content><slash:comments>2</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=45958</wfw:commentRss></entry><entry><title>Team Development with Visual Studio .NET and Visual SourceSafe</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2005/01/06/41873.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:41873</id><created>2005-01-06T06:26:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;I found this very usefull article on MSDN about Team Development with Visual Studio. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/tdlg_rm.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/tdlg_rm.asp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The article among other things explains how to use Visual Source Safe with ASP.NET project.&lt;/P&gt;&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=41873" width="1" height="1"&gt;</content><slash:comments>2</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=41873</wfw:commentRss></entry><entry><title>Commerce Server 2006.</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2004/12/06/35185.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:35185</id><created>2004-12-06T06:14:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;Microsoft are planing a new release of Microsoft Commerce Server in early 2006. They have now released a overview of the upcomming release...&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.microsoft.com/commerceserver/2006preview/"&gt;http://www.microsoft.com/commerceserver/2006preview/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=35185" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=35185</wfw:commentRss></entry><entry><title>Oracle 8.1.7 and Stored procedures from ADO.NET</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2004/12/03/34843.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:34843</id><created>2004-12-03T12:24:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;How hard can it be? I'm trying to create stored procedures i PL/SQL and call these from the new GotDotNet Data Access Application Block. But it doesn't work. &lt;/P&gt;
&lt;P&gt;I have also tryed to do the same thing from OracleClient in System.Data.OracleClient.&lt;BR&gt;My stored procedure are declared with a output parameter of type T_CURSUR, but i wont work.....I'm currently using Oracle 8.1.7.... &lt;/P&gt;
&lt;P&gt;Anyone&amp;nbsp;who knows how to do this?&lt;/P&gt;&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=34843" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=34843</wfw:commentRss></entry><entry><title>Old Oracle databases and Enterprice Library</title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2004/12/03/34798.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:34798</id><created>2004-12-03T07:59:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;From the documentation of the upcoming Enterprice Library, I can see that the Application Block included only supports Oracle 9i or newer. I was planning to use Enterprice Library to build a solution framework for one of my customers, one of the requirements was compability with Oracle 8.1.7... So it seems like I have to use the Community developed Application Block 3.1 insted. Hopefully this will work.&lt;/P&gt;&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=34798" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=34798</wfw:commentRss></entry><entry><title>The solution: Problems with Whitehorse and the Distributed System Designer </title><link rel="alternate" type="text/html" href="http://www.dotnetjunkies.com/WebLog/rtgurskevik/archive/2004/11/11/31668.aspx" /><id>58df7014-fd75-437c-9641-150997716d1c:31668</id><created>2004-11-11T12:27:00Z</created><content type="text/html" mode="escaped">&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt; The Distributed System Designer in Whitehorse failed when I tryed to add a Web Service, Web Application or other components to the designer. The error message was "Language".&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Reason:&lt;/STRONG&gt; The release I am using of Visual Studio 2005, requires to have all programming languages installed. I only had C# installed.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Solution:&lt;/STRONG&gt; Install all VS languages. &lt;BR&gt;&lt;/P&gt;&lt;img src="http://www.dotnetjunkies.com/WebLog/aggbug.aspx?PostID=31668" width="1" height="1"&gt;</content><slash:comments>0</slash:comments><wfw:commentRss>http://www.dotnetjunkies.com/WebLog/rtgurskevik/commentrss.aspx?PostID=31668</wfw:commentRss></entry></feed>