<?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>BLOGS@DiGiTSS &#187; Microsoft</title>
	<atom:link href="http://blogs.digitss.com/category/microsoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.digitss.com</link>
	<description>DiGiTSS Team&#039;s Programming experience with PHP, MySQL, Ajax, Javascript, jQuery, C# and Microsoft technologies</description>
	<lastBuildDate>Sat, 13 Aug 2011 06:26:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Kill all instances of Cassini aka WebDev.WebServer.exe</title>
		<link>http://blogs.digitss.com/microsoft/visual-studio/kill-all-instances-of-cassini-aka-webdev-webserver-exe/</link>
		<comments>http://blogs.digitss.com/microsoft/visual-studio/kill-all-instances-of-cassini-aka-webdev-webserver-exe/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 12:04:25 +0000</pubDate>
		<dc:creator>Gajjar Gaurav</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=565</guid>
		<description><![CDATA[I was working on a project which had many Web-Applications &#38; Web-Services so when I debug there will be many instances of Cassini aka WebDev.WebServer.exe which was fine but I also came across a need to really kill/stop them all and doing it from system tray was real pain. Everyone would come up with a [...]]]></description>
			<content:encoded><![CDATA[<p>I was working on a project which had many <strong>Web-Applications</strong> &amp; <strong>Web-Services</strong> so when I <strong>debug</strong> there will be many <strong>instances of Cassini</strong> aka <strong>WebDev.WebServer.exe</strong> which was fine but I also came across a need to really kill/stop them all and doing it from system tray was real pain.</p>
<p>Everyone would come up with a simple solution to run a command that can kill all!</p>
<p>To do that I just Created a simple batch file that will <strong>kill all instances</strong> which is attached with this post. I hope that will be usefull to many.<br />
<a href="http://blogs.digitss.com/wp-content/uploads/2011/03/KillCassini.zip"><strong>Download KillCassini</strong></a><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/php/my-experiences-with-soap-web-service-php-vs-net/" rel="bookmark" title="March 21, 2008">My experiences with SOAP Web-service PHP vs .NET</a></li>
<li><a href="http://blogs.digitss.com/microsoft/silverlight-microsoft/the-following-module-was-built-either-with-optimizations-enabled-or-without-debug-information-silverlight/" rel="bookmark" title="September 2, 2009">The following module was built either with optimizations enabled or without debug information + Silverlight</a></li>
<li><a href="http://blogs.digitss.com/microsoft/silverlight-microsoft/not-able-to-debug-silverlight-20-application-in-visual-studio-2008/" rel="bookmark" title="April 21, 2009">Not able to Debug Silverlight 2.0 application in Visual Studio 2008</a></li>
<li><a href="http://blogs.digitss.com/microsoft/how-to-auto-restart-windows-service-upon-failure/" rel="bookmark" title="February 20, 2011">How to auto-restart Windows Service upon failure</a></li>
<li><a href="http://blogs.digitss.com/apache/openssl/generating-2048-bit-csr-with-openssl/" rel="bookmark" title="December 6, 2009">Generating 2048-bit CSR with OpenSSL</a></li>
</ul>
<p><!-- Similar Posts took 4.980 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/microsoft/visual-studio/kill-all-instances-of-cassini-aka-webdev-webserver-exe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to auto-restart Windows Service upon failure</title>
		<link>http://blogs.digitss.com/microsoft/how-to-auto-restart-windows-service-upon-failure/</link>
		<comments>http://blogs.digitss.com/microsoft/how-to-auto-restart-windows-service-upon-failure/#comments</comments>
		<pubDate>Sat, 19 Feb 2011 19:00:41 +0000</pubDate>
		<dc:creator>Dharmavirsinh Jhala</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Recovery]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=546</guid>
		<description><![CDATA[If you're one of those who is administering Windows as a web-server administrator or as a windows admin and you need to take some action upon failure of your windows-service then right click on service for which you want to set recovery go to "Properties > Recovery" and choose action for First, Second and Subsequent failures of the service.]]></description>
			<content:encoded><![CDATA[<div id="attachment_547" class="wp-caption alignleft" style="width: 346px"><a href="http://blogs.digitss.com/wp-content/uploads/2011/02/windows_service_recovery.gif"><img class="size-full wp-image-547" title="Windows-service recovery from failure" src="http://blogs.digitss.com/wp-content/uploads/2011/02/windows_service_recovery.gif" alt="Windows-service recovery from failure" width="336" height="379" /></a><p class="wp-caption-text">Windows-service recovery from failure</p></div>
<p>If you're one of those who is administering Windows as a web-server administrator or as a windows admin and you need to take some action upon failure of your windows-service then right click on service for which you want to set recovery go to "<strong>Properties &gt; Recovery"</strong> and choose action for First, Second and Subsequent failures of the service.</p>
<p>Here we have following choices:</p>
<p><strong><span style="text-decoration: underline;">Take No Action</span>:</strong> Generally the default action unless modified for any non-windows service we or other programs might have created. For crucial services like web-server (<strong>apache</strong> or <strong>IIS</strong>), we usually would like to take some actions instead of doing nothing.</p>
<p><strong><span style="text-decoration: underline;">Restart the Service</span></strong>: The best option for 90% of the services which don't required restart of computer and you still want that windows-service to get started again, then choose this option.</p>
<p><strong><span style="text-decoration: underline;">Run a Program</span></strong>: I believe this option can either help you draw user's attention (as service runs in the background) by popping-up some alert message or to either writing some logs and then manually restarting that service via that program or there can be any other possibility which I don't know.<span id="more-546"></span></p>
<p><strong><span style="text-decoration: underline;">Restart the Computer</span></strong>: In my opinion this is rather risky operation if you're running with business critical application where downtime of few minutes is not a good idea. But if failure of service is not recoverable by just the plain service-restart then one has to go with this less desirable option.</p>
<p>I hope this will help someone, who might be in need of help with this kind of situation.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/virtualization/unable-to-set-default-gateway-for-parallels-virtuozzo-container/" rel="bookmark" title="January 16, 2011">Unable to set default gateway for Parallels Virtuozzo Container</a></li>
<li><a href="http://blogs.digitss.com/microsoft/windows-terminal-server-and-user-auto-log-off-for-rdp/" rel="bookmark" title="July 11, 2009">Windows Terminal Server and User Auto Log-Off for RDP</a></li>
<li><a href="http://blogs.digitss.com/technology/best-free-open-source-tools-for-web-masters-and-web-conferencing/" rel="bookmark" title="January 26, 2009">Free/Open source tools for Web Masters and Web-Conferencing</a></li>
<li><a href="http://blogs.digitss.com/reviews/best-free-website-uptime-monitor/" rel="bookmark" title="February 14, 2011">Best Free Website Uptime Monitor</a></li>
<li><a href="http://blogs.digitss.com/php/setting-up-php-mysql-apache-with-most-up-to-date-wamp-package/" rel="bookmark" title="January 17, 2011">Setting up PHP, MySQL, Apache with most up-to-date WAMP Package</a></li>
</ul>
<p><!-- Similar Posts took 21.865 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/microsoft/how-to-auto-restart-windows-service-upon-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot load HTML template: No launch page defined in template at c:\Program Files (x86)\Microsoft Expression\Encoder 4\Templates\en\&#8230;</title>
		<link>http://blogs.digitss.com/microsoft/silverlight-microsoft/cannot-load-html-template-no-launch-page-defined-in-template-at-cprogram-files-x86microsoft-expressionencoder-4templatesen/</link>
		<comments>http://blogs.digitss.com/microsoft/silverlight-microsoft/cannot-load-html-template-no-launch-page-defined-in-template-at-cprogram-files-x86microsoft-expressionencoder-4templatesen/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 11:25:18 +0000</pubDate>
		<dc:creator>Gajjar Gaurav</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=392</guid>
		<description><![CDATA[While trying my hands on Expression Encoder 4, I came across this issue that my template was not loading . When I checked my Activity log I found that: Cannot load HTML template: No launch page defined in template at c:\Program Files (x86)\Microsoft Expression\Encoder 4\Templates\en\SmoothStreamingMediaElement. Cannot load HTML template: No launch page defined in template [...]]]></description>
			<content:encoded><![CDATA[<p>While trying my hands on <strong>Expression Encoder 4</strong>, I came across this issue that my template was not loading . When I checked my Activity log I found that:</p>
<pre>Cannot load HTML template: No launch page defined in template at c:\Program  Files (x86)\Microsoft Expression\Encoder  4\Templates\en\SmoothStreamingMediaElement.
Cannot load HTML template: No  launch page defined in template at c:\Program Files (x86)\Microsoft  Expression\Encoder 4\Templates\en\PlugInMSSCtrl.
Cannot load HTML template:  No launch page defined in template at c:\Program Files (x86)\Microsoft  Expression\Encoder 4\Templates\en\OfflineShared.
Cannot load HTML template:  No launch page defined in template at c:\Program Files (x86)\Microsoft  Expression\Encoder 4\Templates\en\MediaPlayer.
Cannot load HTML template: No  launch page defined in template at c:\Program Files (x86)\Microsoft  Expression\Encoder 4\Templates\en\ExpressionPlayer.
&nbsp;</pre>
<p>The reason for this Error was due to the version change. In <strong>Expression Encoder 4</strong> &gt; <strong>Templates</strong> tab is separated from output tab. So simply I added the tab &amp; selected appropriate template I wanted &amp; the error was removed. It also created the necessary packages required</p>
<p>To Add the Templates Tab, simply go to Windows option and Click Templates.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/php/smarty-3-0-is-almost-here/" rel="bookmark" title="October 3, 2010">Smarty 3.0 is almost here..!</a></li>
<li><a href="http://blogs.digitss.com/database/alternate-to-find_in_set-for-non-mysql-databases/" rel="bookmark" title="March 6, 2011">Alternate to FIND_IN_SET for non-MySQL databases</a></li>
<li><a href="http://blogs.digitss.com/virtualization/vmware-workstation-this-virtual-machine-appears-to-be-in-use/" rel="bookmark" title="October 10, 2009">VMWare Workstation: This virtual machine appears to be in use.</a></li>
<li><a href="http://blogs.digitss.com/database/mysql/export-import-csv-files-with-mysql-no-external-tool-required/" rel="bookmark" title="November 14, 2009">Export/Import CSV files with MySQL &#8211; No external tool required</a></li>
<li><a href="http://blogs.digitss.com/programming/ag_e_parser_bad_property_value/" rel="bookmark" title="November 13, 2009">AG_E_PARSER_BAD_PROPERTY_VALUE</a></li>
</ul>
<p><!-- Similar Posts took 6.031 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/microsoft/silverlight-microsoft/cannot-load-html-template-no-launch-page-defined-in-template-at-cprogram-files-x86microsoft-expressionencoder-4templatesen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Request for the permission of type &#8216;System.Data&#8230;&#8217; failed</title>
		<link>http://blogs.digitss.com/microsoft/net-microsoft/request-for-the-permission-of-type-system-data-failed/</link>
		<comments>http://blogs.digitss.com/microsoft/net-microsoft/request-for-the-permission-of-type-system-data-failed/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 12:08:05 +0000</pubDate>
		<dc:creator>Gajjar Gaurav</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[.NET Windows Forms]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Exception]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=334</guid>
		<description><![CDATA[The exception raised was  Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version 2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. ]]></description>
			<content:encoded><![CDATA[<p>While testing one of the old samples I found that it is giving me an exceptions of permissions. The exception raised was  <em><strong>Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version 2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. </strong></em>Upon checking I found that I have opened the project from a Network Drive location which as causing the permissions problem.</p>
<p>To resolve this you can simply take the copy of code to local drive and reopen the project.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/microsoft/silverlight-microsoft/the-following-module-was-built-either-with-optimizations-enabled-or-without-debug-information-silverlight/" rel="bookmark" title="September 2, 2009">The following module was built either with optimizations enabled or without debug information + Silverlight</a></li>
<li><a href="http://blogs.digitss.com/php/php-downloading-a-file-from-secure-website-https-using-curl/" rel="bookmark" title="October 25, 2008">PHP &#8211; Downloading a File from Secure website (https) using CURL</a></li>
<li><a href="http://blogs.digitss.com/php/truncate-last-n-lines-of-a-file-using-php/" rel="bookmark" title="April 23, 2011">Truncate last N lines of a file using PHP</a></li>
<li><a href="http://blogs.digitss.com/wordpress/wordpress-2-8-auto-upgrade-and-problem-with-wysiwyg-editor/" rel="bookmark" title="June 21, 2009">WordPress 2.8 auto-upgrade and problem with WYSIWYG Editor</a></li>
<li><a href="http://blogs.digitss.com/reviews/acronis-disk-director-11-home-worked-for-me/" rel="bookmark" title="October 23, 2010">Acronis Disk Director 11 Home Worked for me..!</a></li>
</ul>
<p><!-- Similar Posts took 24.555 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/microsoft/net-microsoft/request-for-the-permission-of-type-system-data-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AG_E_PARSER_BAD_PROPERTY_VALUE</title>
		<link>http://blogs.digitss.com/programming/ag_e_parser_bad_property_value/</link>
		<comments>http://blogs.digitss.com/programming/ag_e_parser_bad_property_value/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 07:37:58 +0000</pubDate>
		<dc:creator>Gajjar Gaurav</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=317</guid>
		<description><![CDATA[Error Reporting in Silverlight is really bad. One of the most common error you see whiled developing a Silverlight application is AG_E_PARSER_BAD_PROPERTY_VALUE. This error mostly occurs due to following, Version Change in assemly while you are working in the same code (i.e. you used version x initially and later on you changed it to version [...]]]></description>
			<content:encoded><![CDATA[<p>Error Reporting in Silverlight is really bad. One of the most common error you see whiled developing a Silverlight application<br />
is AG_E_PARSER_BAD_PROPERTY_VALUE.<br />
This error mostly occurs due to following,</p>
<p>Version Change in assemly while you are working in the same code (i.e. you used version x initially and later on you changed it to version x + y ). Some Assemblies in 3rd party control when upgraded do not support few older properties or methods.</p>
<p>Your XAML code is referring to some event which is not present in the code behind file. Make sure that all XAML code has relevant code in code behind file. (Remove any unnecessary Events from XAML and CS files)</p>
<p>Your XAML code has repeated the same code again, causing a clash.</p>
<p>Hope this helps<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/microsoft/silverlight-microsoft/initializeerror-error-2104-in-control-silverlightcontrohost-could-not-download-the-silverlight-application/" rel="bookmark" title="April 21, 2009">InitializeError error #2104 in Control &#8216;silverlightControHost&#8217;. Could not download the Silverlight Application</a></li>
<li><a href="http://blogs.digitss.com/microsoft/silverlight-microsoft/not-able-to-debug-silverlight-20-application-in-visual-studio-2008/" rel="bookmark" title="April 21, 2009">Not able to Debug Silverlight 2.0 application in Visual Studio 2008</a></li>
<li><a href="http://blogs.digitss.com/microsoft/silverlight-microsoft/cannot-load-html-template-no-launch-page-defined-in-template-at-cprogram-files-x86microsoft-expressionencoder-4templatesen/" rel="bookmark" title="July 7, 2010">Cannot load HTML template: No launch page defined in template at c:\Program Files (x86)\Microsoft Expression\Encoder 4\Templates\en\&#8230;</a></li>
<li><a href="http://blogs.digitss.com/php/curl-php/posting-or-uploading-files-using-curl-with-php/" rel="bookmark" title="March 6, 2011">Posting or Uploading Files using cURL with PHP</a></li>
<li><a href="http://blogs.digitss.com/apache/openssl/rsa-server-certificate-commonname-cn-does-not-match-server-name/" rel="bookmark" title="June 13, 2009">RSA server certificate CommonName (CN) does NOT match server name!?</a></li>
</ul>
<p><!-- Similar Posts took 6.153 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/programming/ag_e_parser_bad_property_value/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The following module was built either with optimizations enabled or without debug information + Silverlight</title>
		<link>http://blogs.digitss.com/microsoft/silverlight-microsoft/the-following-module-was-built-either-with-optimizations-enabled-or-without-debug-information-silverlight/</link>
		<comments>http://blogs.digitss.com/microsoft/silverlight-microsoft/the-following-module-was-built-either-with-optimizations-enabled-or-without-debug-information-silverlight/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 11:53:01 +0000</pubDate>
		<dc:creator>Gajjar Gaurav</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=286</guid>
		<description><![CDATA[While coding with VS 2005/2008 you may encounter with an exception that " The following module was built either with optimizations enabled or without debug information" . To Resolve this, first thing you can do is enable full debug info on your project. to do this, - Right Click the Project which is giving the [...]]]></description>
			<content:encoded><![CDATA[<p>While coding with VS 2005/2008 you may encounter with an exception that " The following module was built either with optimizations enabled or without debug information" .</p>
<p>To Resolve this, first thing you can do is enable full debug info on your project. to do this,</p>
<p>- Right Click the Project which is giving the exception and Go to Properties</p>
<p>- Under the Build tab go to the Advance option</p>
<p>- Set Debug Info to Full as shown below ,</p>
<p><a href="http://blogs.digitss.com/wp-content/uploads/2009/09/Advance-Settings.JPG"><img class="aligncenter size-full wp-image-303" title="Advance Settings" src="http://blogs.digitss.com/wp-content/uploads/2009/09/Advance-Settings.JPG" alt="Advance Settings" width="431" height="314" /></a></p>
<p>If this doesnt resolve you problem,</p>
<p>Please remove all the project references from your project that gives this exception.</p>
<p>- Remove all files from the bin folder of your project.</p>
<p>- If bin folder file attributes are read only , remove the read only attributes on bin folder.</p>
<p>- Add the existing project references again</p>
<p>- Rebuild the project</p>
<p>This should resolve your problem.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/microsoft/net-microsoft/request-for-the-permission-of-type-system-data-failed/" rel="bookmark" title="January 16, 2010">Request for the permission of type &#8216;System.Data&#8230;&#8217; failed</a></li>
<li><a href="http://blogs.digitss.com/php/truncate-last-n-lines-of-a-file-using-php/" rel="bookmark" title="April 23, 2011">Truncate last N lines of a file using PHP</a></li>
<li><a href="http://blogs.digitss.com/microsoft/silverlight-microsoft/not-able-to-debug-silverlight-20-application-in-visual-studio-2008/" rel="bookmark" title="April 21, 2009">Not able to Debug Silverlight 2.0 application in Visual Studio 2008</a></li>
<li><a href="http://blogs.digitss.com/microsoft/visual-studio/kill-all-instances-of-cassini-aka-webdev-webserver-exe/" rel="bookmark" title="March 10, 2011">Kill all instances of Cassini aka WebDev.WebServer.exe</a></li>
<li><a href="http://blogs.digitss.com/virtualization/vmware-workstation-this-virtual-machine-appears-to-be-in-use/" rel="bookmark" title="October 10, 2009">VMWare Workstation: This virtual machine appears to be in use.</a></li>
</ul>
<p><!-- Similar Posts took 5.939 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/microsoft/silverlight-microsoft/the-following-module-was-built-either-with-optimizations-enabled-or-without-debug-information-silverlight/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Windows Terminal Server and User Auto Log-Off for RDP</title>
		<link>http://blogs.digitss.com/microsoft/windows-terminal-server-and-user-auto-log-off-for-rdp/</link>
		<comments>http://blogs.digitss.com/microsoft/windows-terminal-server-and-user-auto-log-off-for-rdp/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 19:20:26 +0000</pubDate>
		<dc:creator>Dharmavirsinh Jhala</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=274</guid>
		<description><![CDATA[If you are one who has ever faced issues due to people disconnecting from the Windows Terminal Server (RDP) and not logging off? Then here is a small change you can make and it will auto-log-off Users after specific interval of disconnection.]]></description>
			<content:encoded><![CDATA[<p>If you are one who has ever faced issues due to people disconnecting from the <strong>Windows Terminal Server </strong>(RDP) and not logging off? Then here is a small change you can make and it will auto-log-off Users after specific interval of <strong>disconnection</strong>.</p>
<div id="attachment_275" class="wp-caption alignleft" style="width: 414px"><img class="size-full wp-image-275" title="User &gt; Properties &gt; Session" src="http://blogs.digitss.com/wp-content/uploads/2009/07/rdp_connection_properties.png" alt="User &gt; Properties &gt; Session" width="404" height="466" /><p class="wp-caption-text">User &gt; Properties &gt; Session</p></div>
<p>Open <strong>Local Users and Groups</strong>, select User and then right click and open <strong>Properties</strong> window. Click on <strong>Sessions</strong> tab. It will show up screen similar to one above. Change <strong>"End a disconnected session: &lt;N&gt;"</strong> to specific time you want after which a disconnected User Session will be logged off.</p>
<p>So basically this is a small trick to avoid issues while Users tends to forget to log-off their sessions.</p>
<p>I have faced problems in the past when maximum limit for Users to connect comes to an end and you don't have any choice but to Restart the server, even "<strong>mstsc /console</strong>" don't work..! I had such experience with one of the dedicated Windows server on 1and1.com.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/apache/installing-apache-on-windows-2008/" rel="bookmark" title="December 6, 2009">Installing Apache on Windows 2008</a></li>
<li><a href="http://blogs.digitss.com/browsers/this-download-has-been-blocked-by-your-security-zone-policy/" rel="bookmark" title="October 25, 2008">This download has been blocked by your security zone policy</a></li>
<li><a href="http://blogs.digitss.com/database/mysql/mysql5-problem-while-creating-new-user-sql-error-1133-cant-find-any-matching-row-in-the-user-table/" rel="bookmark" title="January 16, 2011">MySQL5 Problem while creating new user – SQL Error (1133): Can&#8217;t find any matching row in the user table</a></li>
<li><a href="http://blogs.digitss.com/microsoft/how-to-auto-restart-windows-service-upon-failure/" rel="bookmark" title="February 20, 2011">How to auto-restart Windows Service upon failure</a></li>
<li><a href="http://blogs.digitss.com/database/mysql/mysql-5-5-8-problem-while-creating-new-user-sql-error-1364-field-authentication_string-doesnt-have-a-default-value/" rel="bookmark" title="January 16, 2011">MySQL 5.5.8 &#8211; Problem while Creating new User (SQL Error (1364): Field &#8216;authentication_string&#8217; doesn&#8217;t have a default value)</a></li>
</ul>
<p><!-- Similar Posts took 26.235 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/microsoft/windows-terminal-server-and-user-auto-log-off-for-rdp/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Not able to Debug Silverlight 2.0 application in Visual Studio 2008</title>
		<link>http://blogs.digitss.com/microsoft/silverlight-microsoft/not-able-to-debug-silverlight-20-application-in-visual-studio-2008/</link>
		<comments>http://blogs.digitss.com/microsoft/silverlight-microsoft/not-able-to-debug-silverlight-20-application-in-visual-studio-2008/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 09:30:31 +0000</pubDate>
		<dc:creator>Gajjar Gaurav</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=230</guid>
		<description><![CDATA[This happens if you dont have the Silverlight Debugger Attached to the Web project in your solution. Right Click the Web Project and go to Web tab under properties. Please check the Silverligth Debugger as shown in the Image below, you will be able to Debug Similar Posts: The following module was built either with [...]]]></description>
			<content:encoded><![CDATA[<p>This happens if you dont have the Silverlight Debugger Attached to the Web project in your solution.</p>
<p>Right Click the Web Project and go to Web tab under properties. Please check the Silverligth Debugger as shown in the Image below, you will be able to Debug</p>
<p><div id="attachment_231" class="wp-caption aligncenter" style="width: 756px"><a href="http://blogs.digitss.com/wp-content/uploads/2009/04/21-04-2009-14-54-55.png"><img class="size-full wp-image-231  " title="21-04-2009-14-54-55" src="http://blogs.digitss.com/wp-content/uploads/2009/04/21-04-2009-14-54-55.png" alt="Enable Debuggin on VS 2008 for Silverlight" width="746" height="622" /></a><p class="wp-caption-text">Enable Debuggin on VS 2008 for Silverlight</p></div><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/microsoft/silverlight-microsoft/the-following-module-was-built-either-with-optimizations-enabled-or-without-debug-information-silverlight/" rel="bookmark" title="September 2, 2009">The following module was built either with optimizations enabled or without debug information + Silverlight</a></li>
<li><a href="http://blogs.digitss.com/microsoft/silverlight-microsoft/initializeerror-error-2104-in-control-silverlightcontrohost-could-not-download-the-silverlight-application/" rel="bookmark" title="April 21, 2009">InitializeError error #2104 in Control &#8216;silverlightControHost&#8217;. Could not download the Silverlight Application</a></li>
<li><a href="http://blogs.digitss.com/programming/ag_e_parser_bad_property_value/" rel="bookmark" title="November 13, 2009">AG_E_PARSER_BAD_PROPERTY_VALUE</a></li>
<li><a href="http://blogs.digitss.com/microsoft/visual-studio/kill-all-instances-of-cassini-aka-webdev-webserver-exe/" rel="bookmark" title="March 10, 2011">Kill all instances of Cassini aka WebDev.WebServer.exe</a></li>
<li><a href="http://blogs.digitss.com/microsoft/silverlight-microsoft/cannot-load-html-template-no-launch-page-defined-in-template-at-cprogram-files-x86microsoft-expressionencoder-4templatesen/" rel="bookmark" title="July 7, 2010">Cannot load HTML template: No launch page defined in template at c:\Program Files (x86)\Microsoft Expression\Encoder 4\Templates\en\&#8230;</a></li>
</ul>
<p><!-- Similar Posts took 6.122 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/microsoft/silverlight-microsoft/not-able-to-debug-silverlight-20-application-in-visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>InitializeError error #2104 in Control &#8216;silverlightControHost&#8217;. Could not download the Silverlight Application</title>
		<link>http://blogs.digitss.com/microsoft/silverlight-microsoft/initializeerror-error-2104-in-control-silverlightcontrohost-could-not-download-the-silverlight-application/</link>
		<comments>http://blogs.digitss.com/microsoft/silverlight-microsoft/initializeerror-error-2104-in-control-silverlightcontrohost-could-not-download-the-silverlight-application/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 09:18:44 +0000</pubDate>
		<dc:creator>Gajjar Gaurav</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://blogs.digitss.com/?p=227</guid>
		<description><![CDATA[This exception comes due to simple reason that there are MIME Types missing for your silverlight Application which gives you following exception in your IE,         To reslove the same you simply need to add the MIME types to your WebSite on IIS. Select HTTP Headers Tab under the Properties. Click on [...]]]></description>
			<content:encoded><![CDATA[<p>This exception comes due to simple reason that there are MIME Types missing for your silverlight Application which gives you following exception in your IE,</p>
<div></div>
<p><span style="font-size: xx-small;"></p>
<div id="attachment_228" class="wp-caption aligncenter" style="width: 449px"><a href="http://blogs.digitss.com/wp-content/uploads/2009/04/21-04-2009-14-27-42.png"><img class="size-full wp-image-228" title="21-04-2009-14-27-42" src="http://blogs.digitss.com/wp-content/uploads/2009/04/21-04-2009-14-27-42.png" alt="Silverlight Object Exception" width="439" height="285" /></a><p class="wp-caption-text">Silverlight Object Exception</p></div>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p></span></p>
<p>To reslove the same you simply need to add the MIME types to your WebSite on IIS. Select HTTP Headers Tab under the Properties. Click on MIME Types and add</p>
<p>   .xaml            application/xaml+xml</p>
<p>  .xap               application/octet-stream</p>
<p>You also need to enable the Content Expiration</p>
<p>Now your silverlight object will be loaded. If you still face problems try checking up on your permissions<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://blogs.digitss.com/programming/ag_e_parser_bad_property_value/" rel="bookmark" title="November 13, 2009">AG_E_PARSER_BAD_PROPERTY_VALUE</a></li>
<li><a href="http://blogs.digitss.com/microsoft/silverlight-microsoft/not-able-to-debug-silverlight-20-application-in-visual-studio-2008/" rel="bookmark" title="April 21, 2009">Not able to Debug Silverlight 2.0 application in Visual Studio 2008</a></li>
<li><a href="http://blogs.digitss.com/microsoft/silverlight-microsoft/the-following-module-was-built-either-with-optimizations-enabled-or-without-debug-information-silverlight/" rel="bookmark" title="September 2, 2009">The following module was built either with optimizations enabled or without debug information + Silverlight</a></li>
<li><a href="http://blogs.digitss.com/microsoft/net-microsoft/request-for-the-permission-of-type-system-data-failed/" rel="bookmark" title="January 16, 2010">Request for the permission of type &#8216;System.Data&#8230;&#8217; failed</a></li>
<li><a href="http://blogs.digitss.com/apache/faster-page-loads-with-apache-mod_deflate-output-filtering/" rel="bookmark" title="August 23, 2009">Faster Page Loads with Apache mod_deflate output filtering</a></li>
</ul>
<p><!-- Similar Posts took 6.479 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.digitss.com/microsoft/silverlight-microsoft/initializeerror-error-2104-in-control-silverlightcontrohost-could-not-download-the-silverlight-application/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.948 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2011-08-21 11:54:47 -->

