<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.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:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Blog of Tomas Dabasinskas</title>
	
	<link>http://blog.dabasinskas.net</link>
	<description>Microsoft MVP</description>
	<lastBuildDate>Fri, 27 Jan 2012 10:31:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/dabasinskas" /><feedburner:info uri="dabasinskas" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>dabasinskas</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Installing Udpxy on Synology DS411</title>
		<link>http://feedproxy.google.com/~r/dabasinskas/~3/N9KYAi7lTnA/installing-udpxy-on-synology-ds411</link>
		<comments>http://blog.dabasinskas.net/installing-udpxy-on-synology-ds411#comments</comments>
		<pubDate>Sat, 03 Dec 2011 10:46:36 +0000</pubDate>
		<dc:creator>Tomas Dabasinskas</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[IPTV]]></category>
		<category><![CDATA[Synology]]></category>
		<category><![CDATA[Udpxy]]></category>

		<guid isPermaLink="false">http://blog.dabasinskas.net/?p=324</guid>
		<description><![CDATA[Browsing the Internet I've found nice peace of software called Udpxy. Since I already have IPTV and NAS (Synology DS411), I decided it would be nice to have this software running on my NAS because that would allow me to watch my IPTV from any place, even on slow networks or places where IGMP is unsupported. I you want to have this software running on your NAS, proceed with the following steps: Enable SSH on your Synology NAS. Install ipkg and optware-devel using this tutorial Connect to your NAS via SSH Navigate to temp directory: cd /tmp/ Download udpxy: <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.dabasinskas.net/installing-udpxy-on-synology-ds411">Installing Udpxy on Synology DS411</a></span>]]></description>
			<content:encoded><![CDATA[<p>Browsing the Internet I've found nice peace of software called <a href="http://sourceforge.net/projects/udpxy/ ">Udpxy</a>. Since I already have IPTV and NAS (<a href="http://www.synology.com/us/products/DS411/index.php">Synology DS411</a>), I decided it would be nice to have this software running on my NAS because that would allow me to watch my IPTV from any place, even on slow networks or places where IGMP is unsupported.</p>
<p>I you want to have this software running on your NAS, proceed with the following steps:</p>
<ol>
<li><a href="http://forum.synology.com/wiki/index.php/Enabling_the_Command_Line_Interface">Enable SSH</a> on your Synology NAS.</li>
<li>Install <strong>ipkg</strong> and <strong>optware-devel</strong> using <a href="http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc">this tutorial</a></li>
<li>Connect to your NAS via SSH</li>
<li>Navigate to temp directory:<br />
<blockquote><p>cd /tmp/</p></blockquote>
</li>
<li style="text-align: left !important;">Download udpxy:<br />
<blockquote><p>wget http://sourceforge.net/projects/udpxy/files/udpxy/Chipmunk-1.0/udpxy.1.0-Chipmunk-build21.tgz/download</p></blockquote>
</li>
<li>Extract udpxy:<br />
<blockquote><p>tar -xzvf udpxy.1.0-Chipmunk-build21.tgz</p></blockquote>
</li>
<li>Navigate to udpxy directory:<br />
<blockquote><p>cd udpxy-1.0-Chipmunk-21</p></blockquote>
</li>
<li>Compile udpxy:<br />
<blockquote><p>export CC=gcc &#038;& make</p></blockquote>
</li>
<li>Install udxpy:<br />
<blockquote><p>make install</p></blockquote>
</li>
<li>Install <a href="http://www.nano-editor.org/">Nano</a> (you can use any other editor to create/edit the file):<br />
<blockquote><p>ipkg install nano
</p></blockquote>
</li>
<li>Navigate to start-up scripts directory:<br />
<blockquote><p>cd /usr/local/etc/rc.d/</p></blockquote>
</li>
<li>Create a new file (this script will allow udpxy to automatically start after rebooting the NAS):<br />
<blockquote><p>nano udpxy.sh</p></blockquote>
</li>
<li>Paste the following script (you can set a different port instead of 5555):
<pre class="brush: bash; title: ; notranslate">
#!/bin/sh

start()
{
    udpxy -p 5555
}

stop()
{
    killall udpxy
}

case &quot;$1&quot; in
    start)
    start
    ;;

    stop)
    stop
    ;;

    restart)
    stop
    sleep 1
    start
    ;;
esac
</pre>
</li>
<li>If using Nano, click <code>CTRL</code>+<code>X</code>, <code>Y</code> and <code>ENTER</code> to save the file.</li>
<li>Make the script executable:<br />
<blockquote><p>chmod +x udpxy.sh</p></blockquote>
</li>
<li>Start udpxy:<br />
<blockquote><p>./udpxy.sh start</p></blockquote>
</li>
</ol>
<p>That's it. To watch the IPTV channel use an address in the following format:</p>
<blockquote><p>http://{nas-ip}:{udpxy-port}/udp/{channel-ip}:{channel-port}</p></blockquote>
<p>for example:</p>
<blockquote><p>http://MY-NAS:5555/udp/239.255.1.3:5000</p></blockquote>
<p>I've tested this setup on my DS411 and haven't faced any problems so far but I can't guarantee it would work on other models or different network setups. Feel free to try it and write a comment here if you having issues running it.</p>
<img src="http://feeds.feedburner.com/~r/dabasinskas/~4/N9KYAi7lTnA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.dabasinskas.net/installing-udpxy-on-synology-ds411/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://blog.dabasinskas.net/installing-udpxy-on-synology-ds411</feedburner:origLink></item>
		<item>
		<title>Troubleshooting slow logon issues on domain-joined workstation/server</title>
		<link>http://feedproxy.google.com/~r/dabasinskas/~3/hlHshnZZgYw/troubleshooting-slow-logon-issues-on-domain-joined-workstationserver</link>
		<comments>http://blog.dabasinskas.net/troubleshooting-slow-logon-issues-on-domain-joined-workstationserver#comments</comments>
		<pubDate>Tue, 18 Oct 2011 19:46:37 +0000</pubDate>
		<dc:creator>Tomas Dabasinskas</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[DC]]></category>
		<category><![CDATA[Domain]]></category>
		<category><![CDATA[userenv]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.dabasinskas.net/?p=313</guid>
		<description><![CDATA[Sometimes you may face an issue when logging on to the workstation/server which is joined to the domain, logon process at step “Applying user settings” takes a lot of time. The procedures defined below might help you to locate the cause of this problem. Enable USERENV logging By default logging of domain user actions (apply of group policies, profile loading etc.) are not being logged anywhere in retail builds of “Windows” operating system. Despite that, that log information is essential when troubleshooting slow logons problems, so you can enable the logging doing those steps: Open REGEDIT Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.dabasinskas.net/troubleshooting-slow-logon-issues-on-domain-joined-workstationserver">Troubleshooting slow logon issues on domain-joined workstation/server</a></span>]]></description>
			<content:encoded><![CDATA[<p>Sometimes you may face an issue when logging on to the workstation/server which is joined to the domain, logon process at step “<em>Applying user settings</em>” takes a lot of time. The procedures defined below might help you to locate the cause of this problem.</p>
<h2>Enable USERENV logging</h2>
<p>By default logging of domain user actions (apply of group policies, profile loading etc.) are not being logged anywhere in retail builds of “Windows” operating <a href="http://www.o2.co.uk/tariffs/simplicity">system</a>. Despite that, that log information is essential when troubleshooting slow logons problems, so you can enable the logging doing those steps:</p>
<ol>
<li>Open <em>REGEDIT</em></li>
<li>Navigate to <em>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon</em></li>
<li>Create a DWORD (DWORD (32-bit) on x64 OSes) named <em>UserEnvDebugLevel</em></li>
<li>Enter hex value <em>0x00030002</em>.</li>
<li>Close <em>REGEDIT</em></li>
</ol>
<p>After doing modifications above, NO computer reboot is required. Just navigate to<em> %Systemroot%\Debug\UserMode</em> and look for a file <em>Userenv.log</em>.</p>
<p>There are two important things to notice about USERENV logging:</p>
<ul>
<li>When Userenv.log file reaches 300KB in size, it will be automatically renamed to <em>Userenv.bak</em> so if you want to monitor system for longer period of time you should make file<em> Userenv.bak</em> read-only.</li>
<li>After you found the problem, you should disable the logging (by deleting the registry value or setting its value to zero)</li>
</ul>
<h2>Making use of the Userenv.log file</h2>
<p>When you have the logging enabled, try logoff and logon to the computer again to generate some entries in the log. After successfully logging on, open <em>Userenv.log</em> log file. It should contain all the actions related to your domain (accessing domain controller, getting group policies, applying them, searching for your local user profile, creating it if it’s first time you logged on and so on). I won’t go deep into explanation of everything that is being reported in that log. Just try for some return codes, errors and keyword “<em>failed</em>” in that log. If you find any error codes in the log, you can check them with Microsoft’s <a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=985">ERR.EXE</a> utility (ignore the title saying it’s for <em>Exchange</em>). Of course, you can search the error text, code or some other lines from the log in search engines. The results should be more useful than just searching for “windows slow logon”.</p>
<p>Also, be aware that there’s a timestamp in the log before each event. Using it you can find the exact steps where logging on takes too much time.</p>
<h2>Using PORTQRY to find connectivity issues</h2>
<p>If the <em>USERENV</em> log doesn’t help finding exact problem (for example, bad group policy or permissions problem), you suspect there might be connectivity problems (firewall blocking connections) or you see errors such as “<em>There are no more endpoints available from the endpoint mapper</em>” in the Event Log, you could try using <a href="http://www.microsoft.com/download/en/details.aspx?id=17148">PORTQRY.EXE</a> tool from Microsoft.</p>
<p>Try running the following command:</p>
<blockquote style="text-align: center;"><p>PORTQRY -n %LOGONSERVER:~2% -e 135</p></blockquote>
<p>After running this command, you should see a list of all available mappers. If you any other message (for example that the port is filtered), that means that a firewall (on the computer, domain controller or between them) is blocking this port. This port (both UDP and TCP) should be opened.</p>
<p>When you have a list of those mappers, you should find some ports on the DC that are being used. Those ports are provided between brackets after DC names in the mappings list. Try to check those ports using the same tool:</p>
<blockquote style="text-align: center;"><p>PORTQRY -n %LOGONSERVER:~2% -o PORT1,PORT2</p></blockquote>
<p>You should see status “<em>LISTENING</em>” for all of them. If you get any other status, there’s probably the problem with a firewall. According to Microsoft, TCP ports 1024-65535 should be available for those RPC connections and firewalls shouldn’t block them.</p>
<h2>Final notes</h2>
<p>The problem of slow logon might be cause by many different things. Steps provided above are not definitive solution to fix any slow logon issue. Anyhow, those steps should be the first ones you should try when dealing with that sort of problem. Good luck!</p>
<img src="http://feeds.feedburner.com/~r/dabasinskas/~4/hlHshnZZgYw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.dabasinskas.net/troubleshooting-slow-logon-issues-on-domain-joined-workstationserver/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.dabasinskas.net/troubleshooting-slow-logon-issues-on-domain-joined-workstationserver</feedburner:origLink></item>
		<item>
		<title>Show dynamic distribution groups in "All Groups" address list on Exchange 2010</title>
		<link>http://feedproxy.google.com/~r/dabasinskas/~3/cjXtJdUc5k8/show-dynamic-distribution-groups-in-all-groups-address-list-on-exchange-2010</link>
		<comments>http://blog.dabasinskas.net/show-dynamic-distribution-groups-in-all-groups-address-list-on-exchange-2010#comments</comments>
		<pubDate>Fri, 29 Jul 2011 20:14:12 +0000</pubDate>
		<dc:creator>Tomas Dabasinskas</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[ADSI]]></category>
		<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Exchange 2010]]></category>

		<guid isPermaLink="false">http://blog.dabasinskas.net/?p=300</guid>
		<description><![CDATA[By default on "Microsoft Exchange 2010" server, "All Groups" default address list contains only static distribution groups. That might be misleading for some users: in default "Global Address List" (GAL) user sees more groups then he does when selecting "All groups" because dynamic distribution groups aren't listed here. If we want to both static and dynamic distribution groups be listed in "All Groups" address list, we can achieve it by following these steps: Open "ADSI Edit" Navigate to the: CN=Configuration CN=Services CN=Microsoft Exchange CN=Your Organization CN=Address Lists Container CN=All Address Lists Right click on CN=All Groups and select "Properties" <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.dabasinskas.net/show-dynamic-distribution-groups-in-all-groups-address-list-on-exchange-2010">Show dynamic distribution groups in "All Groups" address list on Exchange 2010</a></span>]]></description>
			<content:encoded><![CDATA[<p>By default on "Microsoft Exchange 2010" server, "All Groups" default address list contains only static distribution groups. That might be misleading for some users: in default "Global Address List" (GAL) user sees more groups then he does when selecting "All groups" because dynamic distribution groups aren't listed here. If we want to both static and dynamic distribution groups be listed in "All Groups" address list, we can achieve it by following these steps:</p>
<ol>
<li>Open "ADSI Edit"</li>
<li>Navigate to the:
<ul>
<li>CN=Configuration</li>
<li>CN=Services</li>
<li>CN=Microsoft Exchange</li>
<li>CN=<em>Your Organization</em></li>
<li>CN=Address Lists Container</li>
<li>CN=All Address Lists</li>
</ul>
</li>
<li>Right click on <em>CN=All Groups</em> and select "Properties"</li>
<li>Find <em>msExchQueryFilter</em> property. It should already contain value:<br />
<code>(Alias -ne $null -and ObjectCategory -like 'group')</code>.</li>
<li>Change the value to:<br />
<code>((Alias -ne $null) -and ((ObjectCategory -like 'group') -or (ObjectClass -eq 'msexchdynamicdistributionlist')))</code>
</li>
<li>Close "ADSI Edit" and wait for a few minutes for changes to replicate</li>
<li>Open "Exchange Management Console"</li>
<li>Navigate to:
<ul>
<li>Organization Configuration</li>
<li>Mailbox</li>
<li>Address Lists</li>
</ul>
</li>
<li>Right click on "All Groups" address list and select "Apply"</li>
<li>In the newly opened wizard window click "Next" and then "Apply"</li>
</ol>
<p>After the update, "All Groups" address list should contain both static and dynamic distribution groups.</p>
<img src="http://feeds.feedburner.com/~r/dabasinskas/~4/cjXtJdUc5k8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.dabasinskas.net/show-dynamic-distribution-groups-in-all-groups-address-list-on-exchange-2010/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://blog.dabasinskas.net/show-dynamic-distribution-groups-in-all-groups-address-list-on-exchange-2010</feedburner:origLink></item>
		<item>
		<title>Creating a workflow for SharePoint Foundation 2010 to automatically copy new documents to organized archive</title>
		<link>http://feedproxy.google.com/~r/dabasinskas/~3/qAIK8B4_dxA/creating-a-workflow-for-sharepoint-foundation-2010-to-automatically-copy-new-documents-to-organized-archive</link>
		<comments>http://blog.dabasinskas.net/creating-a-workflow-for-sharepoint-foundation-2010-to-automatically-copy-new-documents-to-organized-archive#comments</comments>
		<pubDate>Mon, 28 Feb 2011 07:48:35 +0000</pubDate>
		<dc:creator>Tomas Dabasinskas</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Archive]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>
		<category><![CDATA[WorkFlow]]></category>

		<guid isPermaLink="false">http://blog.dabasinskas.net/?p=280</guid>
		<description><![CDATA[As I've mentioned in my previous post, currently I'm doing some work with SharePoint 2010 and SharePoint Learning Kit. One of the tasks I had to do is to create an archive of all documents (reports) learners had submitted. If we were using SharePoint Server, I could use one of the new SharePoint 2010 Server features - Virtual Folders based on metadata. Problem is that this feature isn't supported on Foundation version of SharePoint 2010 therefore I had to implement something similar myself. After doing some searching, I've decided to workflows for that task. After some trying I've saw <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.dabasinskas.net/creating-a-workflow-for-sharepoint-foundation-2010-to-automatically-copy-new-documents-to-organized-archive">Creating a workflow for SharePoint Foundation 2010 to automatically copy new documents to organized archive</a></span>]]></description>
			<content:encoded><![CDATA[<p>As I've mentioned in <a href="http://blog.dabasinskas.net/compiling-and-localizing-sharepoint-learning-kit-for-sharepoint-2010">my previous post</a>, currently I'm doing some work with <a href="http://sharepoint.microsoft.com/en-us/Pages/default.aspx">SharePoint 2010</a> and <a href="http://slk.codeplex.com/">SharePoint Learning Kit</a>. One of the tasks I had to do is to create an archive of all documents (reports) learners had submitted. If we were using SharePoint Server, I could use one of the new SharePoint 2010 Server features - <a href="http://www.khamis.net/blog/Lists/Posts/Post.aspx?ID=45">Virtual Folders based on metadata</a>. Problem is that this feature isn't supported on Foundation version of SharePoint 2010 therefore I had to implement something similar myself.</p>
<p>After doing some searching, I've decided to <a href="http://msdn.microsoft.com/en-us/library/ms549489.aspx">workflows</a> for that task. After some trying I've saw that I won't be able to do that using <a href="http://sharepoint.microsoft.com/en-us/product/related-technologies/pages/sharepoint-designer.aspx">SharePoint Designer</a>. I needed to write a custom workflow using <a href="http://msdn.microsoft.com/en-us/vstudio/default">Visual Studio</a>. </p>
<p>Since this was the first SharePoint extension I've wrote, at first I though that event such small task I wanted to do might be difficult to implement for me. But actually it wasn't so hard. The only place that required a lot of time for me was keeping original "Created", "Modified", "Author" and "Modified By" properties after adding item to the archive. After some searching and experimenting I found out that I should use <em>UpdateOverwriteVersion()</em> method to save those properties. </p>
<p>So this is the source code for my workflow:</p>
<pre class="brush: csharp; title: ; notranslate">
/// &lt;summary&gt;
/// WorkFlow to add documents to archive
/// &lt;/summary&gt;
public sealed partial class Workflow1 : SequentialWorkflowActivity
{
    /// &lt;summary&gt;
    /// Class constructor
    /// &lt;/summary&gt;
    public Workflow1()
    {
        InitializeComponent();
    }

    /// &lt;summary&gt;
    /// Library/list to archive to
    /// &lt;/summary&gt;
    private const string DESTINATION_LIBRARY = &quot;Archive&quot;;

    /// &lt;summary&gt;
    /// Format of the archive
    /// &lt;/summary&gt;
    private const string DESTINATION_FORMAT = &quot;YEAR/MONTH&quot;;

    /// &lt;summary&gt;
    /// Sets if copy or move document. If true, moves a document, if false - copies it only
    /// &lt;/summary&gt;
    private const bool MOVE_DOCUMENT = true;

    /// &lt;summary&gt;
    /// Sets if overwrite a document if it already exists on the library
    /// &lt;/summary&gt;
    private const bool OVERWRITE_DOCUMENT = false;

    // ReSharper disable InconsistentNaming

    /// &lt;summary&gt;
    /// GUID of the workflow
    /// &lt;/summary&gt;
    public Guid workflowId = default(Guid);

    /// &lt;summary&gt;
    /// Properties of the workflow
    /// &lt;/summary&gt;
    public SPWorkflowActivationProperties workflowProperties = new SPWorkflowActivationProperties();

    /// &lt;summary&gt;
    /// Destination path where the file will be archived
    /// &lt;/summary&gt;
    private string destinationPath;

    /// &lt;summary&gt;
    /// Destination library for archive
    /// &lt;/summary&gt;
    private SPDocumentLibrary destinationLibrary;

    // ReSharper restore InconsistentNaming

    /// &lt;summary&gt;
    /// Workflow execution
    /// &lt;/summary&gt;
    /// &lt;param name=&quot;sender&quot;&gt;&lt;/param&gt;
    /// &lt;param name=&quot;e&quot;&gt;&lt;/param&gt;
    private void CodeActivity1ExecuteCode(object sender, EventArgs e)
    {
        // Get current item:
        var currentItem = workflowProperties.Item;
        // Work with the current site only:
        using (var currentSite = SPContext.Current.Web)
        {
            // Get document library:
            destinationLibrary = (SPDocumentLibrary)currentSite.Lists[DESTINATION_LIBRARY];
            // Create folder structure:
            CreateFolders(new Queue(DESTINATION_FORMAT.Split('/')), destinationLibrary.ParentWeb.Site.Url + destinationLibrary.RootFolder.ServerRelativeUrl);
            // Archive the item:
            ArchiveItem(currentItem, destinationPath);
        }
    }

    /// &lt;summary&gt;
    /// Creates folder hierarchy
    /// &lt;/summary&gt;
    /// &lt;param name=&quot;folders&quot;&gt;Stack of folders&lt;/param&gt;
    /// &lt;param name=&quot;location&quot;&gt;Location to create folder to&lt;/param&gt;
    private void CreateFolders(Queue folders, string location)
    {
        // If we already created all folders, we can stop now:
        if (folders.Count == 0)
        {
            destinationPath = location;
            return;
        }
        // Get name of folder to create:
        var currentFolder = GetMetadata(workflowProperties.Item, folders.Dequeue().ToString());
        var newLocation = (location + &quot;/&quot; + currentFolder).Trim('/');
        // Work with the current site only:
        using (var currentSite = SPContext.Current.Web)
        {
            // We only need to create folder if it doesn't exist already
            if (!currentSite.GetFolder(newLocation).Exists)
            {
                // Create the folder:
                var createdFolder = destinationLibrary.Items.Add(location, SPFileSystemObjectType.Folder, currentFolder);
                createdFolder.Update();
            }
        }
        // Go to create next folder:
        CreateFolders(folders, newLocation);
    }

    /// &lt;summary&gt;
    /// Adds item to archive
    /// &lt;/summary&gt;
    /// &lt;param name=&quot;item&quot;&gt;Item to add&lt;/param&gt;
    /// &lt;param name=&quot;destination&quot;&gt;Archive path&lt;/param&gt;
    /// &lt;returns&gt;Result of arhivation process&lt;/returns&gt;
    private static void ArchiveItem(SPListItem item, string destination)
    {
        // Save main meta information for later use:
        var author = item.File.Author;
        var modifiedBy = item.File.ModifiedBy;
        var modified = item.File.TimeLastModified;
        var created = item.File.TimeCreated;

        // Get destination filename:
        var destinationFile = destination + &quot;/&quot; + item.File.Name;

        // Work with the current site only:
        using (var currentSite = SPContext.Current.Web)
        {

            // Copy the item and set properties:
            var coppiedFile = currentSite.GetFolder(destination).Files.Add(destinationFile, item.File.OpenBinary(), new Hashtable(), author, modifiedBy, created, modified, OVERWRITE_DOCUMENT);
            coppiedFile.Item[&quot;Created&quot;] = created;
            coppiedFile.Item[&quot;Modified&quot;] = modified;
            // Save changes:
            coppiedFile.Item.UpdateOverwriteVersion();
            // If moving is enabled, delete original item:
            // ReSharper disable ConditionIsAlwaysTrueOrFalse
            if (MOVE_DOCUMENT)
                item.Delete();
            // ReSharper restore ConditionIsAlwaysTrueOrFalse

        }
    }

    /// &lt;summary&gt;
    /// Get required metadata from the item
    /// &lt;/summary&gt;
    /// &lt;param name=&quot;item&quot;&gt;Item to get metadata from&lt;/param&gt;
    /// &lt;param name=&quot;field&quot;&gt;Field to get&lt;/param&gt;
    /// &lt;returns&gt;MetaData&lt;/returns&gt;
    private static string GetMetadata(SPListItem item, string field)
    {
        string value;
        // Get required field:
        switch (field.ToUpper())
        {
            case &quot;YEAR&quot;:
                value = item.File.TimeCreated.Year.ToString();
                break;
            case &quot;MONTH&quot;:
                value = item.File.TimeCreated.Month.ToString();
                break;
            case &quot;DAY&quot;:
                value = item.File.TimeCreated.Day.ToString();
                break;
            case &quot;USER&quot;:
                value = item.File.Author.Name;
                break;
            default:
                value = &quot;Misc&quot;;
                break;
        }
        return value;
    }
}
</pre>
<p>So what this code does is creating folder structure I define (via <em>DESTINATION_FORMAT</em>) using metadata of the document and them copies or moves (if <em>MOVE_DOCUMENT</em> is set to <em>true</em>) to the specified archive library (<em>DESTINATION_LIBRARY</em>). Currently I've added only year, month, date and user fields as possible library format options just to see how's everything working. I'm planning to extend <em>GetMetadata()</em> method so I could archive learners reports by subject or faculty.</p>
<p>By the way, this workflow should be set "Start at Item Creation" if you want to automatically add every new document to archive. Also, a specific list should be selected for this workflow. It can be done by setting "Target List" property of workflow or set while creating new "Sequential Workflow" project in Visual Studio 2010.</p>
<img src="http://feeds.feedburner.com/~r/dabasinskas/~4/qAIK8B4_dxA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.dabasinskas.net/creating-a-workflow-for-sharepoint-foundation-2010-to-automatically-copy-new-documents-to-organized-archive/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://blog.dabasinskas.net/creating-a-workflow-for-sharepoint-foundation-2010-to-automatically-copy-new-documents-to-organized-archive</feedburner:origLink></item>
		<item>
		<title>Compiling and localizing SharePoint Learning Kit v1.5</title>
		<link>http://feedproxy.google.com/~r/dabasinskas/~3/YT9EMHCrA3A/compiling-and-localizing-sharepoint-learning-kit-for-sharepoint-2010</link>
		<comments>http://blog.dabasinskas.net/compiling-and-localizing-sharepoint-learning-kit-for-sharepoint-2010#comments</comments>
		<pubDate>Wed, 23 Feb 2011 07:00:38 +0000</pubDate>
		<dc:creator>Tomas Dabasinskas</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Localization]]></category>
		<category><![CDATA[SharePoint Learning Kit]]></category>
		<category><![CDATA[SLK]]></category>

		<guid isPermaLink="false">http://blog.dabasinskas.net/?p=229</guid>
		<description><![CDATA[This weak I've started to work with SharePoint Learning Kit (SLK). As it says on the page: SharePoint Learning Kit is a SCORM 2004 certified e-learning delivery and tracking application built as a Windows SharePoint Services 3.0 solution. Since we using "SharePoint 2010 Foundation" for our project, I was lucky, that 1.5 version which is compatible with SharePoint 2010, was released this month. I've managed to install and try SLK but there still were some problems: The Lithuanian language pack I needed was pretty old The documentation wast mostly outdated There was difficult to find any information about SLK <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.dabasinskas.net/compiling-and-localizing-sharepoint-learning-kit-for-sharepoint-2010">Compiling and localizing SharePoint Learning Kit v1.5</a></span>]]></description>
			<content:encoded><![CDATA[<p>This weak I've started to work with <a href="http://slk.codeplex.com/">SharePoint Learning Kit</a> (SLK). As it says on the page:</p>
<blockquote><p>SharePoint Learning Kit is a SCORM 2004 certified e-learning delivery and tracking application built as a Windows SharePoint Services 3.0 solution.</p></blockquote>
<p>Since we using "SharePoint 2010 Foundation" for our project, I was lucky, that 1.5 version which is compatible with SharePoint 2010, was released this month. I've managed to install and try SLK but there still were some problems:</p>
<ul>
<li> The Lithuanian language pack I needed was pretty old</li>
<li> The documentation wast mostly outdated</li>
<li> There was difficult to find any information about SLK on SharePoint 2010</li>
</ul>
<p>After trying for whole day, couple of hours ago I've finally managed to apply updated Lithuanian language pack. I would like to share a complete list of steps I did to accomplish that.</p>
<ol>
<li>Download latest SLK source code from <a href="http://slk.codeplex.com/SourceControl/list/changesets">CodePlex</a>.</li>
<li>Copy downloaded source code to the computer (lets say to <em>C:\SOURCE</em>) where you have both SharePoint 2010 Foundation/Server (I was using Foundation) and Visual Studio 2008/2010 (I was using 2010) installed.</li>
<li>Open file <em>C:\SOURCE\Slk\Dll\SlkDll.csproj</em>, find line:
<pre class="brush: xml; title: ; notranslate">
&lt;Copy SourceFiles=&quot;bin/debug/Microsoft.SharePointLearningKit.dll&quot; DestinationFolder=&quot;\\moss\transfer\slk&quot; SkipUnchangedFiles=&quot;true&quot;/&gt;
</pre>
<p>and delete it.
</li>
<li>
Open "Visual Studio Command Prompt" and navigate to <em>C:\SOURCE\Slk</em>.
</li>
<li>
Type <em>msbuild</em> in the command prompt. You should see progress of compilation. After it completes, you might be informed that there were some warnings. If they are related to missing XML comments, you can ignore them.
</li>
<li>
Copy files <em>ExtractStrings.cmd</em> and <em>localize.exe</em> from <em>C:\SOURCE\Slk\Tools\LocalizationGuide</em> to <em>C:\SOURCE\Slk\Solution\Build</em>.
</li>
<li>Run <em>ExtractStrings.cmd</em>. 4 new XML files should be generated in <em>C:\SOURCE\Slk\Solution\Build</em></li>
<li>
Open each of those files and in the one of the first lines, similar to this:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;assembly culture=&quot;&quot; name=&quot;Microsoft.LearningComponents.resources&quot; version=&quot;1.3.1.0&quot; /&gt;
</pre>
<p>change <em>culture=""</em> to <em>culture="CULTURE-CODE"</em>, where <em>CULTURE-CODE</em> is 2 chars culture code (for Lithuania it was <em>lt</em>). You also need to change <em>version="1.3.1.0"</em> to <em>version="1.1.0.0"</em>, otherwise you see English strings instead of localized ones after deployment.
</li>
<li>
Copy those 4 XML files to the <em>C:\SOURCE\Slk\Tools\LocalizationGuide\TranslatedXMLs\CULTURE-ID</em>, where <em>CULTURE-ID</em> is decimal ID of your culture you defined in those XML files. You can find decimal ID for your locale at <a href="http://msdn.microsoft.com/en-us/library/0h88fahh%28v=vs.85%29.aspx">this MSDN page</a>. </p>
<p>If there are already XML files in the directory you are coping to, you can backup those old files somewhere. They are localized files from the old version but you still can save some time while copying some translated text from those old files to the new ones.
</li>
<li>
Navigate to folder <em>C:\SOURCE\Slk\Tools\LocalizationGuide\Solution</em>. In files <em>AddSolution.cmd</em>, <em>DeleteSolution.cmd</em>, <em>DeploySolution.cmd</em>, <em>EnumSolutions.cmd</em> and <em>RetractSolution.cmd</em> replace text:</p>
<pre class="brush: plain; title: ; notranslate">
c:\program files\common files\microsoft shared\web server extensions\12
</pre>
<p>with:</p>
<pre class="brush: plain; title: ; notranslate">
c:\program files\common files\microsoft shared\web server extensions\14
</pre>
<p>Also, in files <em>DeploySolution.cmd</em> and <em>RetractSolution.cmd</em> replace:<br />
[cmd]<br />
net start spadmin<br />
[/cmd]<br />
with<br />
[cmd]<br />
net start spadminv4<br />
[/cmd]
</li>
<li>
Now run the batch script <em>C:\SOURCE\Slk\Tools\LocalizationGuide\TranslatedXMLs\GenerateLanguagePack.cmd</em> with parameters <em>CULTURE-ID Release</em>. For example, for Lithuanian locale:<br />
[cmd]<br />
GenerateLanguagePack 1063 Release<br />
[/cmd]
</li>
<li>
At this step, before you deploy a language pack, make sure you already have SharePoint Learning Kit installed. If you do not have, you can find instructions how to do that <a href="http://slk.codeplex.com/wikipage?title=Installation%20%26%20Configuration&#038;referringTitle=Documentation">here</a> (section "3.a. For SharePoint 2010 ").
</li>
<li>
Navigate to <em>C:\SOURCE\Slk\Tools\LocalizationGuide\Solution\LanguagePacks</em>. You should see a new folder created there with a short language string as filename, for example <em>lt-LT</em>. Go inside that folder.
</li>
<li>
Run script <em>AddSolution.cmd</em>. After the script completes, run script <em>DeploySolution.cmd</em>. Deploying can take a few minutes. You can check if language pack was successfully deployed at <em>http://SITE:PORT/_admin/Solutions.aspx</em> page. You should see "Deployed" next to <em>sharepointlearningkit.wsp(CULTURE-ID)</em>.
</li>
<li>
Some translatable strings can also be found in file <em>SlkSettings.xml</em>. For SharePoint 2007, you can update this file with <em>UpdateSlkSettings.cmd</em> script, but I was unable to successfully run this script on SharePoint 2010. Anyhow, you can update that file manually: navigate to <em>http://SITE:PORT/_admin/SharePointLearningKit/Configure.aspx</em> page and in the "New SLK Settings file:" select file <em>C:\SOURCE\Slk\Tools\LocalizationGuide\Solution\LanguagePacks\CULTURE-SHORT-STRING\SlkSettings.xml</em>. Click <em>OK</em>.
</li>
<li>
After all those changes, SLK elements should be displayed in your language. If it isn't, make sure that site locale (can be found at <em>http://SITE:PORT/_layouts/regionalsetng.aspx</em>) is same as the one you used in language pack generation process.
</li>
<li>
If anything goes wrong you can remove previous language pack by running <em>RetractSolution.cmd</em> script and then <em>DeleteSolution.cmd</em>.
</li>
<li>
If you would like to update localization once again, remove previous localization (18th step), edit XML files at <em>C:\SOURCE\Slk\Tools\LocalizationGuide\TranslatedXMLs\CULTURE-ID</em> folder and then continue from 12th step.
</li>
</ol>
<p>So, that's it. After doing all the steps above, I've managed to localize SharePoint Learning Kit v1.5 running on SharePoint 2010 to Lithuanian language. I guess this is neither the only nor the best way to get that result, but as I've said in the beginning of the article, the documentation of SLK is outdated so this is the best result I've came up with my small amount of SharePoint knowledge.</p>
<img src="http://feeds.feedburner.com/~r/dabasinskas/~4/YT9EMHCrA3A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.dabasinskas.net/compiling-and-localizing-sharepoint-learning-kit-for-sharepoint-2010/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://blog.dabasinskas.net/compiling-and-localizing-sharepoint-learning-kit-for-sharepoint-2010</feedburner:origLink></item>
		<item>
		<title>Baltic MVP Summit</title>
		<link>http://feedproxy.google.com/~r/dabasinskas/~3/1akQidDxcHs/baltic-mvp-summit</link>
		<comments>http://blog.dabasinskas.net/baltic-mvp-summit#comments</comments>
		<pubDate>Sun, 13 Feb 2011 22:06:40 +0000</pubDate>
		<dc:creator>Tomas Dabasinskas</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Baltic]]></category>
		<category><![CDATA[Estonia]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[Latvia]]></category>
		<category><![CDATA[Lithuania]]></category>
		<category><![CDATA[Summit]]></category>

		<guid isPermaLink="false">http://blog.dabasinskas.net/?p=205</guid>
		<description><![CDATA[On 11th -12th days of February I was able to participate in Baltic MVP Summit which took place at Radisson Blu Hotel Latvija in Riga, Latvia. Me excluded, there also were 3 more MVPs from Lithuania, 3 MVPs from Latvia and 5 MVPs from Estonia. There also were couple of DPEs and Alessandro Teglia, CEE MVP Lead, himself. At the first day of the summit, we started with little introduction. Each of us named our MVP expertise, things we are doing as MVPs and what we expect from this summit. After the launch, we've got nice presentation from Alessandro <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.dabasinskas.net/baltic-mvp-summit">Baltic MVP Summit</a></span>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.dabasinskas.net/wp-content/uploads/2011/02/240141558.jpg"><img class="aligncenter size-large wp-image-206" title="Baltic MVP Summit participants" src="http://blog.dabasinskas.net/wp-content/uploads/2011/02/240141558-510x382.jpg" alt="" width="510" height="382" /></a>On 11th -12th days of February I was able to participate in <strong>Baltic MVP Summit</strong> which took place at <a href="http://www.radissonblu.com/latvijahotel-riga">Radisson Blu Hotel Latvija</a> in Riga, Latvia. Me excluded, there also were 3 more MVPs from Lithuania, 3 MVPs from Latvia and 5 MVPs from Estonia. There also were couple of DPEs and <a href="http://belead.wordpress.com/">Alessandro Teglia</a>, CEE MVP Lead, himself.</p>
<p>At the first day of the summit, we started with little introduction. Each of us named our MVP expertise, things we are doing as MVPs and what we expect from this summit. After the launch, we've got nice presentation from Alessandro about <a href="http://mvp.support.microsoft.com">MVP program</a>. After his presentation, user group presentations took place. I've shortly introduced <a href="http://www.mugit.lt">MugIT</a> community/UG which I am one of the two leaders of. <a href="http://sergejus.blogas.lt">Sergėjus Barinovas</a> showed a presentation about another user group in Lithuania that he is running - <a href="http://dotnetgroup.lt">.NET UG</a>. Estonians talked about the project they have running - <a href="http://www.eneta.ee">Eneta</a>. After a coffee break we had a discussion about <a href="http://www.gitca.org/Pages/default.aspx">GITCA</a>, <a href="http://www.ineta.org/">INETA</a>, <a href="https://www.technicalcommunity.com/Pages/default.aspx">UGSS</a> and value of those organizations for user groups. After all official activities for that day were over, we went to restaurant "Garage" where we had really tasty dinner, some wine and lots of chatting about various things.</p>
<p>On the second day, after the breakfast we had an open discussion. It was mainly about social networks and the ways to promote our user groups and share the content. For the next discussion that was planned after the launch, we decided to talked about speakers exchange between Baltic countries. We also talked about organizing live user group meetings and shared ideas for contests we could organize. </p>
<p>After the discussion there was the final part of the summit: each of us answered what were the best things we've got from the summit, what we would like to change in next year's Baltic MVP Summit, and what we are promising to do after the summit (like sharing the photos, blog about it, do more MVP activities and so on).</p>
<p>Personally, I liked the event very much. Although it was a little short (1.5 day only) I liked to communicate with fellow MVPs from another Baltic countries and find out what are they doing as MVPs in their countries. There also were some technical things, mostly related to social media, that I've learned through this summit. So, this summit was really good expierence for me, especially when I'm not going to participate in the global <a href="mvp.support.microsoft.com/gp/MVPsummit">MVP Summit</a>.</p>
<img src="http://feeds.feedburner.com/~r/dabasinskas/~4/1akQidDxcHs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.dabasinskas.net/baltic-mvp-summit/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.dabasinskas.net/baltic-mvp-summit</feedburner:origLink></item>
		<item>
		<title>"Generate a system health report" tool in "Windows 7" should be updated</title>
		<link>http://feedproxy.google.com/~r/dabasinskas/~3/hMyrAVtssTw/generate-a-system-health-report-tool-in-windows-7-should-be-updated</link>
		<comments>http://blog.dabasinskas.net/generate-a-system-health-report-tool-in-windows-7-should-be-updated#comments</comments>
		<pubDate>Wed, 12 Jan 2011 08:28:18 +0000</pubDate>
		<dc:creator>Tomas Dabasinskas</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Action Center]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Forefront]]></category>
		<category><![CDATA[Forefront Endpoint Security]]></category>
		<category><![CDATA[Resource and Performance Monitor]]></category>
		<category><![CDATA[Security Center]]></category>
		<category><![CDATA[System health report]]></category>

		<guid isPermaLink="false">http://blog.dabasinskas.net/?p=198</guid>
		<description><![CDATA["Windows 7" operating system has an ability to generate a system health report. This function could be invoked by command "perfmon /report" or found at: "Control Panel" -&#62; "Performance Information and Tools" -&#62; "Advanced Tools" (on the right) -&#62; "Generate a system health report" As the description states, this is what the tools does: Generate a report detailing the status of local hardware resources, system response times, and processes on the local computer along with system information and configuration data. This report includes suggestions for ways to maximize performance and streamline system operation. Membership in the local Administrators group, <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.dabasinskas.net/generate-a-system-health-report-tool-in-windows-7-should-be-updated">"Generate a system health report" tool in "Windows 7" should be updated</a></span>]]></description>
			<content:encoded><![CDATA[<p>"Windows 7" operating system has an ability to generate a system health report. This function could be invoked by command "<code>perfmon /report</code>" or found at:</p>
<p><code> "Control Panel" -&gt; "Performance Information and Tools" -&gt; "Advanced Tools" (on the right) -&gt; "Generate a system health report"</code></p>
<p>As the description states, this is what the tools does:</p>
<blockquote><p>Generate a report detailing the status of local hardware resources, system response times, and processes on the local computer along with system information and configuration data. This report includes suggestions for ways to maximize performance and streamline system operation. Membership in the local Administrators group, or equivalent, is the minimum required to run this Data Collector Set.</p></blockquote>
<p>I have to admit that I've never tried this tool before, but today I decided to take a look how well my computer is doing. The report stated that my computer is doing pretty good, but there are two things I noticed after running this tool and seeing the results.</p>
<div id="attachment_199" class="wp-caption aligncenter" style="width: 514px"><a href="http://blog.dabasinskas.net/wp-content/uploads/2011/01/12_01_11_00_19_03.png"><img class="size-large wp-image-199" title="Generated system health report" src="http://blog.dabasinskas.net/wp-content/uploads/2011/01/12_01_11_00_19_03-504x510.png" alt="No antivirus? Use &quot;Security Center&quot;?" width="504" height="510" /></a><p class="wp-caption-text">Screenshot of &quot;Resource and Performance monitor&quot; and &quot;Forefront Endpoint Security&quot;</p></div>
<ol>
<li>"Resource and Performance Monitor" is unable to detect the antivirus running on my computer. As you clearly see in the screenshot above, there is antivirus - "<a href="http://www.microsoft.com/forefront/endpoint-protection/en/us/default.aspx">Microsoft Forefront Endpoint Protection</a>" running. I've also tried on it on my computer, the tool can't detect "<a href="http://www.microsoft.com/security_essentials">Microsoft Security Essentials</a>" too. Strange thing for me is that the result of the "Antivirus Information" query is <em>0x0</em> and it's the same as for "Anti-Spyware Information". Though results (<em>0x0</em>) of both queries are the same, first one is reported as valid (means I do have anti-spyware software) while the second one isn't (I don't have an antivirus software).
</li>
<li>Another small thing I've noticed is in the text of light yellow box. There's phrase "Security Center" mentioned couple times in the text: "The <u>Security Center</u> has not recorder &lt;...&gt;",  "&lt;...&gt; Configure <u>Security Center</u> &lt;...&gt;". The problem is that there's no such thing as "Security Center" in "Windows 7". It was renamed to "<a href="http://windows.microsoft.com/en-US/windows7/What-is-Action-Center">Action Center</a>" in this version of "Windows". Guys probably just forgot to update the text after "Windows Vista" which had a "<a href="http://windows.microsoft.com/en-US/windows-vista/Using-Windows-Security-Center">Security Center</a>".</li>
</ol>
<p>Despite those two tiny problems, "Generate a system health report" and whole "Resource and Performance Monitor" are really great tools to check a state of your computer and operating system.</p>
<img src="http://feeds.feedburner.com/~r/dabasinskas/~4/hMyrAVtssTw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.dabasinskas.net/generate-a-system-health-report-tool-in-windows-7-should-be-updated/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.dabasinskas.net/generate-a-system-health-report-tool-in-windows-7-should-be-updated</feedburner:origLink></item>
		<item>
		<title>Search button on Windows Phone 7 opens Bing WEB page instead of the application</title>
		<link>http://feedproxy.google.com/~r/dabasinskas/~3/qoKtl4dqdww/search-button-on-windows-phone-7-opens-bing-web-page-instead-of-the-application</link>
		<comments>http://blog.dabasinskas.net/search-button-on-windows-phone-7-opens-bing-web-page-instead-of-the-application#comments</comments>
		<pubDate>Fri, 19 Nov 2010 17:06:30 +0000</pubDate>
		<dc:creator>Tomas Dabasinskas</dc:creator>
				<category><![CDATA[WP7]]></category>
		<category><![CDATA[Bing]]></category>
		<category><![CDATA[Lithuania]]></category>
		<category><![CDATA[Search]]></category>

		<guid isPermaLink="false">http://blog.dabasinskas.net/?p=187</guid>
		<description><![CDATA[As I've wrote before, at TechEd Europe 2010 I've got brand new HTC Mozart with Windows Phone 7 OS. After using the phone for the couple of days, I've noticed a strange thing: clicking search button on the phone opens browser with desktop version of Bing, which isn't very comfortable to use. I've tried couple of other windows phones (HTC HD7 and LG E900 Optimus 7) and I remember that the same button on those phones opened Bing application instead of the WEB page (as it is for me). After doing some research, I've found out what the problem <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.dabasinskas.net/search-button-on-windows-phone-7-opens-bing-web-page-instead-of-the-application">Search button on Windows Phone 7 opens Bing WEB page instead of the application</a></span>]]></description>
			<content:encoded><![CDATA[<p>As <a href="http://blog.dabasinskas.net/after-teched-europe-2010">I've wrote before</a>, at TechEd Europe 2010 I've got brand new <a href="http://www.gsmarena.com/htc_7_mozart-3530.php">HTC Mozart</a> with Windows Phone 7 OS. After using the phone for the couple of days, I've noticed a strange thing: clicking search button on the phone opens browser with desktop version of <a href="http://www.bing.com">Bing</a>, which isn't very comfortable to use. I've tried couple of other windows phones (<a href="http://www.gsmarena.com/htc_hd7-3338.php">HTC HD7</a> and <a href="http://www.gsmarena.com/lg_e900_optimus_7-3532.php">LG E900 Optimus 7</a>) and I remember that the same button on those phones opened Bing application instead of the WEB page (as it is for me). After doing some research, I've found out what the problem was.</p>
<p>One of the first things I've done after I've turned on my new phone was going through all the settings and customizing them. There are section called "Region and language" in the settings page. Since I live in <a href="http://en.wikipedia.org/wiki/Lithuania">Lithuania</a>, I change every setting in this section to match my country. And that was the problem. The last setting on this section is "Browser &#038; search language". I guess what Windows Phone 7 OS does when I click search button is reading this setting and then, if the Bing app is available in that language, it opens the app, otherwise it opens the Bing web page in selected language. Since the application isn't available in Lithuania language yet, I've been ending up with WEB page. So, the solution of getting the search button to open that nice application by default was to change "Browser &#038; search language" to "English (United States)" (some other languages/countries, for example "English (United Kingdom)" that already officially support WP7 would be good too).</p>
<p>So I hope this little tip might be useful for someone who doesn't live in the countries, where Windows Phone 7 is officially supported.</p>
<img src="http://feeds.feedburner.com/~r/dabasinskas/~4/qoKtl4dqdww" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.dabasinskas.net/search-button-on-windows-phone-7-opens-bing-web-page-instead-of-the-application/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		<feedburner:origLink>http://blog.dabasinskas.net/search-button-on-windows-phone-7-opens-bing-web-page-instead-of-the-application</feedburner:origLink></item>
		<item>
		<title>After TechEd Europe 2010</title>
		<link>http://feedproxy.google.com/~r/dabasinskas/~3/OBQo8Q3QRd0/after-teched-europe-2010</link>
		<comments>http://blog.dabasinskas.net/after-teched-europe-2010#comments</comments>
		<pubDate>Mon, 15 Nov 2010 14:02:15 +0000</pubDate>
		<dc:creator>Tomas Dabasinskas</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Berlin]]></category>
		<category><![CDATA[MSP Summit]]></category>
		<category><![CDATA[TechEd]]></category>
		<category><![CDATA[TEE10]]></category>
		<category><![CDATA[Windows Phone 7]]></category>

		<guid isPermaLink="false">http://blog.dabasinskas.net/?p=148</guid>
		<description><![CDATA[It's been 3 days already when TechEd Europe 2010 is over, but since I've got home in the late yesterday's evening, I'm going to shortly share my experience now. So, as one of the most active Microsoft Student Partners in Lithuania, I had an opportunity to go TechEd Europe 2010 conference, organized by Microsoft. Since it was the first time I was participating in such a big event, it was very nice expierence for me. Sessions Before the TechEd, I've made a great list of sessions to attend. I was thinking of going to every each session and keep <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.dabasinskas.net/after-teched-europe-2010">After TechEd Europe 2010</a></span>]]></description>
			<content:encoded><![CDATA[<p>It's been 3 days already when <a href="www.microsoft.com/europe/teched/">TechEd Europe 2010</a> is over, but since I've got home in the late yesterday's evening, I'm going to shortly share my experience now.</p>
<p>So, as one of the most active <a href="https://www.microsoftstudentpartners.com">Microsoft Student Partners</a> in <a href="http://en.wikipedia.org/wiki/Lithuania">Lithuania</a>, I had an opportunity to go TechEd Europe 2010 conference, organized by Microsoft. Since it was the first time I was participating in such a big event, it was very nice expierence for me.</p>
<h2>Sessions</h2>
<p><a href="http://blog.dabasinskas.net/wp-content/uploads/2010/11/1-4.jpg"><img src="http://blog.dabasinskas.net/wp-content/uploads/2010/11/1-4-510x382.jpg" alt="The Case of the Unexplained 2010...Troubleshooting with Mark Russinovich" title="The Case of the Unexplained 2010...Troubleshooting with Mark Russinovich" width="510" height="382" class="alignleft size-large wp-image-160" /></a><br />
Before the TechEd, I've made a great list of sessions to attend. I was thinking of going to every each session and keep all session slots filled. Despite this effort I was unable to go to all sessions I wanted. Some sessions I've missed because of lack of time, while other ones – just to get some rest. Anyhow, most of the sessions I've attended I really liked. I'm not going to review all of them, but the ones that are worth mentioning are ones by <a href="http://blogs.technet.com/b/markrussinovich/">Mark Russinovich</a>. Damn this guy is amazing. Speaking at such high technical level and being funny and not boring at the same time – that's something not every speaker can do.</p>
<h2>Networking</h2>
<p><a href="http://blog.dabasinskas.net/wp-content/uploads/2010/11/DSCF1070.jpg"><img src="http://blog.dabasinskas.net/wp-content/uploads/2010/11/DSCF1070-510x382.jpg" alt="MSP Dinner" title="MSP Dinner" width="510" height="382" class="alignleft size-large wp-image-165" /></a><br />
One of the best things at the TechEd is networking. At the first day we have MSP meeting. We also had MSP dinner couple of days after. It was nice to talk with fellow MSPs from other Europe countries, such as Estonia, Argentina, Spain etc. We also had couple of local meetings. On Wednesday there was Windows Phone 7 product group party with amazing networking opportunities.  Oh, and being able to discuss with Microsoft product groups (Forefront, Windows Phone, Office, Windows etc) was nice, too.</p>
<h2>Goodies</h2>
<p><a href="http://blog.dabasinskas.net/wp-content/uploads/2010/11/DSCF1091.jpg"><img class="size-large wp-image-150" title="Goodies from TechEd Europe 2010" src="http://blog.dabasinskas.net/wp-content/uploads/2010/11/DSCF1091-510x382.jpg" alt="Goodies from TechEd Europe 2010" width="510" height="382" /></a><br />
There were lots of Microsoft Partners and Microsoft product groups at TechEd presenting their products and giving away various goodies. At the picture above you can see all the stuff I've got on the first day. Most stuff isn't very useful, but there are some nice T-shirts I'm willing to wear next summer. </p>
<p>Despite all those small things I've got, I also was the lucky one who won <a href="http://www.gsmarena.com/htc_7_mozart-3530.php">Windows Phone 7 device</a> at Windows Phone 7 party I've mention before. Thank you guys for this amazing present. As I've promised, I'm going to create an app as soon as I get access to the <a href="http://create.msdn.com/en-US">Marketplace</a>.</p>
<h2>Berlin</h2>
<p><a href="http://blog.dabasinskas.net/wp-content/uploads/2010/11/DSCF1022.jpg"><img src="http://blog.dabasinskas.net/wp-content/uploads/2010/11/DSCF1022-510x382.jpg" alt="Berlin" title="Berlin" width="510" height="382" class="alignleft size-large wp-image-163" /></a><br />
Not only it was my first time at the TechEd, but it also was the first time I visited Germany/Berlin. Despite the fact that we stayed a bit longer (9 days) then most other TechEd attendees we still haven't enough time to visit lot of places. I really wanted to visit <a href="http://www.madametussauds.com/berlin/">Madame Tussauds museum</a>, <a href="http://www.zoo-berlin.de/">zoo</a> and many other places but because of lack of time we ware not able to. But from what I saw, I really liked Berlin. </p>
<p>So, thank you MICROSOFT for this event and opportunity to attend there.</p>
<img src="http://feeds.feedburner.com/~r/dabasinskas/~4/OBQo8Q3QRd0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.dabasinskas.net/after-teched-europe-2010/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.dabasinskas.net/after-teched-europe-2010</feedburner:origLink></item>
		<item>
		<title>Configuring Live@Edu access via POP3/IMAP</title>
		<link>http://feedproxy.google.com/~r/dabasinskas/~3/vTOOS_nHtNY/configuring-liveedu-access-via-pop3imap</link>
		<comments>http://blog.dabasinskas.net/configuring-liveedu-access-via-pop3imap#comments</comments>
		<pubDate>Mon, 25 Oct 2010 07:11:58 +0000</pubDate>
		<dc:creator>Tomas Dabasinskas</dc:creator>
				<category><![CDATA[Live@Edu]]></category>
		<category><![CDATA[IMAP]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[POP3]]></category>
		<category><![CDATA[Windows Live]]></category>

		<guid isPermaLink="false">http://blog.dabasinskas.net/?p=133</guid>
		<description><![CDATA[This year we started to deploy Microsoft Live@Edu service at our university. It not easy to make all students to switch to Live@Edu. Many of them already have other emails (included our university official one). One thing some students (me included) would like to do is to add their new Live@Edu email account to Outlook, Thunderbird or any other email client. Of course, Live@Edu provides Exchange email account which is easy to add to those email clients. Problem is if you want to add this account to GMail or Live Mail since you have to know all the POP3/IMAP <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.dabasinskas.net/configuring-liveedu-access-via-pop3imap">Configuring Live@Edu access via POP3/IMAP</a></span>]]></description>
			<content:encoded><![CDATA[<p>This year we started to deploy <a href="http://my.liveatedu.com/">Microsoft Live@Edu</a> service at our university. It not easy to make all students to switch to Live@Edu. Many of them already have other emails (included our university official one). One thing some students (me included) would like to do is to add their new Live@Edu email account to <a href="http://office.microsoft.com/en-us/outlook/">Outlook</a>, <a href="http://www.mozillamessaging.com/en-US/thunderbird/">Thunderbird</a> or any other email client. Of course, Live@Edu provides Exchange email account which is easy to add to those email clients. Problem is if you want to add this account to <a href="http://www.gmail.com">GMail</a> or <a href="http://mail.live.com">Live Mail</a> since you have to know all the <a href="http://en.wikipedia.org/wiki/Post_Office_Protocol">POP3</a>/<a href="http://en.wikipedia.org/wiki/Imap">IMAP</a> settings. So, if anyone would like to add their Live@Edu email via POP3 or IMAP, there are the settings.</p>
<h2>Live@Edu POP3 settings</h2>
<ul>
<li><strong>Email address</strong>: <em>your Live@Edu email address</em> (for example: <span class="linkification-ext"><a class="linkification-ext" title="Linkification: mailto:name.surname@university.edu" href="mailto:name.surname@university.edu">name.surname@university.edu</a></span>)</li>
<li><strong>Sever</strong>: pod*****.outlook.com (you can find out server name by visiting your Live@Edu e-mail and looking at the address bar where you should see something similar to <span class="linkification-ext"><a class="linkification-ext" title="Linkification: https://pod*****.outlook.com/owa" href="https://pod*****.outlook.com/owa">https://pod*****.outlook.com/owa</a></span>)</li>
<li><strong>Username</strong>: <em>your Live@Edu email address</em> (same as the first one)</li>
<li><strong>Password</strong>: <em>your Live@Edu email password</em></li>
<li><strong>Port</strong>: 995</li>
<li><strong>Use SSL</strong>: Yes</li>
</ul>
<h2>Live@Edu IMAP settings</h2>
<ul>
<li><strong>Email address</strong>: <em>your Live@Edu email address</em> (for example: <span class="linkification-ext"><a class="linkification-ext" title="Linkification: mailto:name.surname@university.edu" href="mailto:name.surname@university.edu">name.surname@university.edu</a></span>)</li>
<li><strong>Sever</strong>: pod*****.outlook.com (you can find out server name by visiting your Live@Edu e-mail and looking at the address bar where you should see something similar to <span class="linkification-ext"><a class="linkification-ext" title="Linkification: https://pod*****.outlook.com/owa" href="https://pod*****.outlook.com/owa">https://pod*****.outlook.com/owa</a></span>)</li>
<li><strong>Username</strong>: <em>your Live@Edu email address</em> (same as the first one)</li>
<li><strong>Password</strong>: <em>your Live@Edu email password</em></li>
<li><strong>Port</strong>: 993</li>
<li><strong>Use SSL</strong>: Yes</li>
</ul>
<h2>Live@Edu SMTP settings</h2>
<p>Those settings are required if you want to send email from you Live@Edu email address:</p>
<ul>
<li><strong>Email address</strong>: your Live@Edu email address (for example: <a class="linkification-ext" title="Linkification: mailto:name.surname@university.edu" href="mailto:name.surname@university.edu">name.surname@university.edu</a>)</li>
<li><strong>Sever</strong>: pod*****.outlook.com (you can find out server name by visiting your Live@Edu e-mail and looking at the address bar where you should see something similar to <a class="linkification-ext" title="Linkification: https://pod*****.outlook.com/owa" href="https://pod*****.outlook.com/owa">https://pod*****.outlook.com/owa</a>)</li>
<li><strong>Username</strong>: your Live@Edu email address (same as the first one)</li>
<li><strong>Password</strong>: your Live@Edu email password</li>
<li><strong>Port</strong>: 587</li>
<li><strong>Encryption</strong>: TLS</li>
</ul>
<img src="http://feeds.feedburner.com/~r/dabasinskas/~4/vTOOS_nHtNY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.dabasinskas.net/configuring-liveedu-access-via-pop3imap/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.dabasinskas.net/configuring-liveedu-access-via-pop3imap</feedburner:origLink></item>
	</channel>
</rss>

