<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" version="2.0">
  <channel>
    <title>Gokulnath's weBLOG - Solutions</title>
    <link>http://blogs.gokulnath.com//</link>
    <description>learned/learning/to learn</description>
    <language>en-us</language>
    <copyright>Gokulnath</copyright>
    <lastBuildDate>Sat, 15 Dec 2012 17:07:48 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>mailme@gokulnath.com</managingEditor>
    <webMaster>mailme@gokulnath.com</webMaster>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=c256c076-d82f-4b94-a90e-0bfa2f9409ce</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,c256c076-d82f-4b94-a90e-0bfa2f9409ce.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,c256c076-d82f-4b94-a90e-0bfa2f9409ce.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=c256c076-d82f-4b94-a90e-0bfa2f9409ce</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <font size="2">As you know if you have WinHost $5 or $10 plans, you cannot backup
databases from SSMS, you have to do it from the Web Control Panel. After getting tired
of doing this manually, I decided to automate this… as I have always been a big fan
of automating things. This is how you can do it:<br /><br /><strong>Software Requirements:</strong><br />
1. </font>
          <a href="http://seleniumhq.org/projects/ide/" target="_blank">
            <font size="2">Selenium
IDE</font>
          </a>
          <br />
          <font size="2">2. Visual Studio (if you’re going to use C#)<br />
3. Java<br />
4. </font>
          <a href="http://seleniumhq.org/download/" target="_blank">
            <font size="2">Selenium
Server</font>
          </a>
          <br />
          <font size="2">5. Firefox browser<br /><br /><strong>Steps involved:</strong><br />
1. Install Selenium IDE from </font>
          <a href="http://seleniumhq.org/projects/ide/" target="_blank">
            <u>
              <font size="2">here</font>
            </u>
          </a>
          <font size="2">,
or open Firefox browser and install from the Add-On page. You should have Firefox
installed in your machine.<br />
2. Launch the IDE after installing. This is how the IDE looks:<br /><br /></font>
          <a href="http://blogs.gokulnath.com//content/binary/Windows-Live-Writer/87840c8a0e51_98D5/image_2.png">
            <font size="2">
              <img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://blogs.gokulnath.com//content/binary/Windows-Live-Writer/87840c8a0e51_98D5/image_thumb.png" width="679" height="448" />
            </font>
          </a>
          <br />
          <br />
          <font size="2">3. The Selenium IDE starts in recording mode, the red button on the
top right corner can be used to start or stop recording.<br />
4. Open a Firefox window, and go to WinHost’s control panel page.<br />
5. Enter your username, password, and follow all the steps that you do for manual
database backup. The IDE will record every click event, and you should be able to
see the events in the IDE getting added.<br />
6. Once you are done with all the tasks, stop recording.<br />
7. Go to File menu, Export Test Case As and choose C# / NUnit / Remote Control, which
will generate a C# class.<br />
8. Create a Console Application or a Service. Console Application works well for me. 
<br />
9. You need to copy parts of code from the IDE generated class. You can put everything
in a method, something like this:<br /><br /></font>
        </p>
        <div class="csharpcode">
          <pre class="alt">
            <font face="Verdana">
              <span class="lnum"> 1: </span> ISelenium
selenium;</font>
          </pre>
          <pre>
            <font face="Verdana">
              <span class="lnum"> 2: </span> StringBuilder
verificationErrors;</font>
          </pre>
          <pre class="alt">
            <font face="Verdana">
              <span class="lnum"> 3: </span> </font>
          </pre>
          <pre>
            <font face="Verdana">
              <span class="lnum"> 4: </span> selenium
= <span class="kwrd">new</span> DefaultSelenium(<span class="str">"localhost"</span>,
4444, <span class="str">"*chrome"</span>, <span class="str">"https://cp.winhost.com/"</span>);</font>
          </pre>
          <pre class="alt">
            <font face="Verdana">
              <span class="lnum"> 5: </span> selenium.Start();</font>
          </pre>
          <pre>
            <font face="Verdana">
              <span class="lnum"> 6: </span> verificationErrors
= <span class="kwrd">new</span> StringBuilder();</font>
          </pre>
          <pre class="alt">
            <font face="Verdana">
              <span class="lnum"> 7: </span> </font>
          </pre>
          <pre>
            <font face="Verdana">
              <span class="lnum"> 8: </span> selenium.Open(<span class="str">"/login.aspx?ReturnUrl=%2fdefault.aspx"</span>);</font>
          </pre>
          <pre class="alt">
            <font face="Verdana">
              <span class="lnum"> 9: </span> selenium.Type(<span class="str">"id=ctl00_cphMain_loginCP_UserName"</span>, <span class="str">"<font color="#ff0000"><strong>YourUserId</strong></font>"</span>);</font>
          </pre>
          <pre>
            <font face="Verdana">
              <span class="lnum"> 10: </span> selenium.Type(<span class="str">"id=ctl00_cphMain_loginCP_Password"</span>, <span class="str">"<font color="#ff0000"><strong>YourPassword</strong></font>"</span>);</font>
          </pre>
          <pre class="alt">
            <font face="Verdana">
              <span class="lnum"> 11: </span> selenium.Click(<span class="str">"id=ctl00_cphMain_loginCP_Login"</span>);</font>
          </pre>
          <pre>
            <font face="Verdana">
              <span class="lnum"> 12: </span> selenium.WaitForPageToLoad(<span class="str">"30000"</span>);</font>
          </pre>
          <pre class="alt">
            <font face="Verdana">
              <span class="lnum"> 13: </span> selenium.Click(<span class="str">"id=sites"</span>);</font>
          </pre>
          <pre>
            <font face="Verdana">
              <span class="lnum"> 14: </span> selenium.WaitForPageToLoad(<span class="str">"30000"</span>);</font>
          </pre>
          <pre class="alt">
            <font face="Verdana">
              <span class="lnum"> 15: </span> selenium.Click(<span class="str">"id=ctl00_cphMain_gvSites_ctl02_lbManage"</span>);</font>
          </pre>
          <pre>
            <font face="Verdana">
              <span class="lnum"> 16: </span> selenium.WaitForPageToLoad(<span class="str">"30000"</span>);</font>
          </pre>
          <pre class="alt">
            <font face="Verdana">
              <span class="lnum"> 17: </span> selenium.Click(<span class="str">"css=img[alt=\"Microsoft
SQL Manager\"]"</span>);</font>
          </pre>
          <pre>
            <font face="Verdana">
              <span class="lnum"> 18: </span> selenium.WaitForPageToLoad(<span class="str">"30000"</span>);</font>
          </pre>
          <pre class="alt">
            <font face="Verdana">
              <span class="lnum"> 19: </span> selenium.Click(<span class="str">"id="</span> +
labelName);</font>
          </pre>
          <pre>
            <font face="Verdana">
              <span class="lnum"> 20: </span> selenium.WaitForPageToLoad(<span class="str">"30000"</span>);</font>
          </pre>
          <pre class="alt">
            <font face="Verdana">
              <span class="lnum"> 21: </span> selenium.Click(<span class="str">"link=Backup"</span>);</font>
          </pre>
          <pre>
            <font face="Verdana">
              <span class="lnum"> 22: </span> selenium.WaitForPageToLoad(<span class="str">"30000"</span>);</font>
          </pre>
          <pre class="alt">
            <font face="Verdana">
              <span class="lnum"> 23: </span> selenium.Click(<span class="str">"id=ctl00_cphMain_btnBackup"</span>);</font>
          </pre>
          <pre>
            <font face="Verdana">
              <span class="lnum"> 24: </span> var
confirmation = Regex.IsMatch(selenium.GetConfirmation(), <span class="str">"^Create
backup\\. Are you sure[\\s\\S]$"</span>);</font>
          </pre>
          <pre class="alt">
            <font face="Verdana">
              <span class="lnum"> 25: </span> selenium.WaitForPageToLoad(<span class="str">"30000"</span>);</font>
          </pre>
          <pre>
            <font face="Verdana">
            </font> </pre>
        </div>
        <style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
        <p>
          <font size="2">
          </font>
        </p>
        <p>
          <font size="2">10. Install Selenium related DLLs from Nuget. Open Visual Studio’s
Package Manager Console, and install packages - Selenium.RC and Selenium.Support<br />
11. Download Selenium Server from </font>
          <a href="http://seleniumhq.org/download/" target="_blank">
            <u>
              <font size="2">here</font>
            </u>
          </a>
          <font size="2">,
you SHOULD have Java installed in your machine to start the server.<br />
12. The server should be started before executing the above code, you can create a
.bat file, with this line “java -jar D:\Utils\selenium-server-standalone-2.25.0.jar”
in it.<br />
13. You can execute the bat file like this - System.Diagnostics.Process.Start(@"D:\Utils\startSeleniumServer.bat");<br />
14. Now, when you start the console app, it will repeat the recorded steps, and backup
your database. 
<br />
15. Remember, the database will be backed up in the app_data folder; and if the folder
already has a backup file, you need to delete it. You could write a FTP module or
use the FTP Utility that I wrote (attached) to delete and download the backup file. 
<br />
16. You have to pass the file path and the credentials if you’re using my FTP utility.
The file path will be something like this - </font>
          <a title="ftp://ftp.thambura.com/app_data/DB_33253_gokulnath_backup.bak" href="ftp://FTP_IP/app_data/SEE_WHAT_THE_MANUAL_BACKUP_GENERATES.bak">
            <font size="2">ftp://FTP_IP/app_data/SEE_WHAT_THE_MANUAL_BACKUP_GENERATES.bak</font>
          </a>
          <br />
          <br />
          <font size="2">
            <strong>Note</strong>: You could use Selenium.WebDriver instead of
RC Server, however, it doesn’t handle popup or confirmation window properly; as our
process opens a confirmation window, I went with the RC Server.<br /><br /><div id="scid:fb3a1972-4489-4e52-abe7-25a00bb07fdf:95fb813b-b3c8-4676-b911-075479b4b262" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"><p>
Download <a href="http://blogs.gokulnath.com//content/binary/Windows-Live-Writer/87840c8a0e51_98D5/FTP%20Utility.zip" target="_blank">FTP
Utility</a></p></div></font>
        </p>
        <p>
          <font size="2">
          </font>
        </p>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=c256c076-d82f-4b94-a90e-0bfa2f9409ce" />
      </body>
      <title>WinHost–Automate Database Backup</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,c256c076-d82f-4b94-a90e-0bfa2f9409ce.aspx</guid>
      <link>http://blogs.gokulnath.com//2012/12/15/WinHostAutomateDatabaseBackup.aspx</link>
      <pubDate>Sat, 15 Dec 2012 17:07:48 GMT</pubDate>
      <description>&lt;p&gt;
&lt;font size="2"&gt;As you know if you have WinHost $5 or $10 plans, you cannot backup
databases from SSMS, you have to do it from the Web Control Panel. After getting tired
of doing this manually, I decided to automate this… as I have always been a big fan
of automating things. This is how you can do it:&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Software Requirements:&lt;/strong&gt;
&lt;br&gt;
1. &lt;/font&gt;&lt;a href="http://seleniumhq.org/projects/ide/" target="_blank"&gt;&lt;font size="2"&gt;Selenium
IDE&lt;/font&gt;&lt;/a&gt;
&lt;br&gt;
&lt;font size="2"&gt;2. Visual Studio (if you’re going to use C#)&lt;br&gt;
3. Java&lt;br&gt;
4. &lt;/font&gt;&lt;a href="http://seleniumhq.org/download/" target="_blank"&gt;&lt;font size="2"&gt;Selenium
Server&lt;/font&gt;&lt;/a&gt;
&lt;br&gt;
&lt;font size="2"&gt;5. Firefox browser&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Steps involved:&lt;/strong&gt;
&lt;br&gt;
1. Install Selenium IDE from &lt;/font&gt;&lt;a href="http://seleniumhq.org/projects/ide/" target="_blank"&gt;&lt;u&gt;&lt;font size="2"&gt;here&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;font size="2"&gt;,
or open Firefox browser and install from the Add-On page. You should have Firefox
installed in your machine.&lt;br&gt;
2. Launch the IDE after installing. This is how the IDE looks:&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;a href="http://blogs.gokulnath.com//content/binary/Windows-Live-Writer/87840c8a0e51_98D5/image_2.png"&gt;&lt;font size="2"&gt;&lt;img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://blogs.gokulnath.com//content/binary/Windows-Live-Writer/87840c8a0e51_98D5/image_thumb.png" width="679" height="448"&gt;&lt;/font&gt;&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;font size="2"&gt;3. The Selenium IDE starts in recording mode, the red button on the
top right corner can be used to start or stop recording.&lt;br&gt;
4. Open a Firefox window, and go to WinHost’s control panel page.&lt;br&gt;
5. Enter your username, password, and follow all the steps that you do for manual
database backup. The IDE will record every click event, and you should be able to
see the events in the IDE getting added.&lt;br&gt;
6. Once you are done with all the tasks, stop recording.&lt;br&gt;
7. Go to File menu, Export Test Case As and choose C# / NUnit / Remote Control, which
will generate a C# class.&lt;br&gt;
8. Create a Console Application or a Service. Console Application works well for me. 
&lt;br&gt;
9. You need to copy parts of code from the IDE generated class. You can put everything
in a method, something like this:&lt;br&gt;
&lt;br&gt;
&lt;/font&gt; 
&lt;div class="csharpcode"&gt;&lt;pre class="alt"&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 1: &lt;/span&gt; ISelenium
selenium;&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 2: &lt;/span&gt; StringBuilder
verificationErrors;&lt;/font&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 3: &lt;/span&gt;&amp;nbsp;&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 4: &lt;/span&gt; selenium
= &lt;span class="kwrd"&gt;new&lt;/span&gt; DefaultSelenium(&lt;span class="str"&gt;"localhost"&lt;/span&gt;,
4444, &lt;span class="str"&gt;"*chrome"&lt;/span&gt;, &lt;span class="str"&gt;"https://cp.winhost.com/"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 5: &lt;/span&gt; selenium.Start();&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 6: &lt;/span&gt; verificationErrors
= &lt;span class="kwrd"&gt;new&lt;/span&gt; StringBuilder();&lt;/font&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 7: &lt;/span&gt;&amp;nbsp;&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 8: &lt;/span&gt; selenium.Open(&lt;span class="str"&gt;"/login.aspx?ReturnUrl=%2fdefault.aspx"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 9: &lt;/span&gt; selenium.Type(&lt;span class="str"&gt;"id=ctl00_cphMain_loginCP_UserName"&lt;/span&gt;, &lt;span class="str"&gt;"&lt;font color="#ff0000"&gt;&lt;strong&gt;YourUserId&lt;/strong&gt;&lt;/font&gt;"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 10: &lt;/span&gt; selenium.Type(&lt;span class="str"&gt;"id=ctl00_cphMain_loginCP_Password"&lt;/span&gt;, &lt;span class="str"&gt;"&lt;font color="#ff0000"&gt;&lt;strong&gt;YourPassword&lt;/strong&gt;&lt;/font&gt;"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 11: &lt;/span&gt; selenium.Click(&lt;span class="str"&gt;"id=ctl00_cphMain_loginCP_Login"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 12: &lt;/span&gt; selenium.WaitForPageToLoad(&lt;span class="str"&gt;"30000"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 13: &lt;/span&gt; selenium.Click(&lt;span class="str"&gt;"id=sites"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 14: &lt;/span&gt; selenium.WaitForPageToLoad(&lt;span class="str"&gt;"30000"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 15: &lt;/span&gt; selenium.Click(&lt;span class="str"&gt;"id=ctl00_cphMain_gvSites_ctl02_lbManage"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 16: &lt;/span&gt; selenium.WaitForPageToLoad(&lt;span class="str"&gt;"30000"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 17: &lt;/span&gt; selenium.Click(&lt;span class="str"&gt;"css=img[alt=\"Microsoft
SQL Manager\"]"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 18: &lt;/span&gt; selenium.WaitForPageToLoad(&lt;span class="str"&gt;"30000"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 19: &lt;/span&gt; selenium.Click(&lt;span class="str"&gt;"id="&lt;/span&gt; +
labelName);&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 20: &lt;/span&gt; selenium.WaitForPageToLoad(&lt;span class="str"&gt;"30000"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 21: &lt;/span&gt; selenium.Click(&lt;span class="str"&gt;"link=Backup"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 22: &lt;/span&gt; selenium.WaitForPageToLoad(&lt;span class="str"&gt;"30000"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 23: &lt;/span&gt; selenium.Click(&lt;span class="str"&gt;"id=ctl00_cphMain_btnBackup"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 24: &lt;/span&gt; var
confirmation = Regex.IsMatch(selenium.GetConfirmation(), &lt;span class="str"&gt;"^Create
backup\\. Are you sure[\\s\\S]$"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre class="alt"&gt;&lt;font face="Verdana"&gt;&lt;span class="lnum"&gt; 25: &lt;/span&gt; selenium.WaitForPageToLoad(&lt;span class="str"&gt;"30000"&lt;/span&gt;);&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Verdana"&gt;&lt;/font&gt;&amp;nbsp;&lt;/pre&gt;
&lt;/div&gt;
&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;
&gt;
&lt;p&gt;
&lt;font size="2"&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font size="2"&gt;10. Install Selenium related DLLs from Nuget. Open Visual Studio’s
Package Manager Console, and install packages - Selenium.RC and Selenium.Support&lt;br&gt;
11. Download Selenium Server from &lt;/font&gt;&lt;a href="http://seleniumhq.org/download/" target="_blank"&gt;&lt;u&gt;&lt;font size="2"&gt;here&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;font size="2"&gt;,
you SHOULD have Java installed in your machine to start the server.&lt;br&gt;
12. The server should be started before executing the above code, you can create a
.bat file, with this line “java -jar D:\Utils\selenium-server-standalone-2.25.0.jar”
in it.&lt;br&gt;
13. You can execute the bat file like this - System.Diagnostics.Process.Start(@"D:\Utils\startSeleniumServer.bat");&lt;br&gt;
14. Now, when you start the console app, it will repeat the recorded steps, and backup
your database. 
&lt;br&gt;
15. Remember, the database will be backed up in the app_data folder; and if the folder
already has a backup file, you need to delete it. You could write a FTP module or
use the FTP Utility that I wrote (attached) to delete and download the backup file. 
&lt;br&gt;
16. You have to pass the file path and the credentials if you’re using my FTP utility.
The file path will be something like this - &lt;/font&gt;&lt;a title="ftp://ftp.thambura.com/app_data/DB_33253_gokulnath_backup.bak" href="ftp://FTP_IP/app_data/SEE_WHAT_THE_MANUAL_BACKUP_GENERATES.bak"&gt;&lt;font size="2"&gt;ftp://FTP_IP/app_data/SEE_WHAT_THE_MANUAL_BACKUP_GENERATES.bak&lt;/font&gt;&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;font size="2"&gt;&lt;strong&gt;Note&lt;/strong&gt;: You could use Selenium.WebDriver instead of
RC Server, however, it doesn’t handle popup or confirmation window properly; as our
process opens a confirmation window, I went with the RC Server.&lt;br&gt;
&lt;br&gt;
&lt;div id="scid:fb3a1972-4489-4e52-abe7-25a00bb07fdf:95fb813b-b3c8-4676-b911-075479b4b262" class="wlWriterEditableSmartContent" style="float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px"&gt;
&lt;p&gt;
Download &lt;a href="http://blogs.gokulnath.com//content/binary/Windows-Live-Writer/87840c8a0e51_98D5/FTP%20Utility.zip" target="_blank"&gt;FTP
Utility&lt;/a&gt;
&lt;/p&gt;
&lt;/div&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font size="2"&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=c256c076-d82f-4b94-a90e-0bfa2f9409ce" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,c256c076-d82f-4b94-a90e-0bfa2f9409ce.aspx</comments>
      <category>.NET</category>
      <category>Miscellaneous</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=7be63715-5b32-463c-8947-24f6194b9be0</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,7be63715-5b32-463c-8947-24f6194b9be0.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,7be63715-5b32-463c-8947-24f6194b9be0.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=7be63715-5b32-463c-8947-24f6194b9be0</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
My WCF Data Service worked fine in the VS Web Server, but when I deployed it to IIS
(7.5), it stopped working. I was able to view the service page listing all the entities,
but when I tried to access the entities in a RESTFUL manner, I wasn’t. 
<br /><br />
I found out the problem by setting 
</p>
        <div id="codeSnippetWrapper">
          <pre id="codeSnippet" class="csharpcode">config.UseVerboseErrors = <span class="kwrd">true</span>; </pre>in 
<div id="codeSnippetWrapper"><pre id="codeSnippet" class="csharpcode"><span class="kwrd">public</span><span class="kwrd">static</span><span class="kwrd">void</span> InitializeService(DataServiceConfiguration
config)</pre><br /></div>
The problem was I was using windows authentication to connect to my database, after
changing to SQL Server Authentication, everything worked fine.<br /><br />
Spent hours in figuring out this…<br /></div>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=7be63715-5b32-463c-8947-24f6194b9be0" />
      </body>
      <title>WCF Data Service in IIS Deployment (HTTP  500 Error)</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,7be63715-5b32-463c-8947-24f6194b9be0.aspx</guid>
      <link>http://blogs.gokulnath.com//2011/03/19/WCFDataServiceInIISDeploymentHTTP500Error.aspx</link>
      <pubDate>Sat, 19 Mar 2011 15:57:32 GMT</pubDate>
      <description>&lt;p&gt;
My WCF Data Service worked fine in the VS Web Server, but when I deployed it to IIS
(7.5), it stopped working. I was able to view the service page listing all the entities,
but when I tried to access the entities in a RESTFUL manner, I wasn’t. 
&lt;br&gt;
&lt;br&gt;
I found out the problem by setting 
&lt;div id="codeSnippetWrapper"&gt;&lt;pre id="codeSnippet" class="csharpcode"&gt;config.UseVerboseErrors = &lt;span class="kwrd"&gt;true&lt;/span&gt;; &lt;/pre&gt;in 
&lt;div id="codeSnippetWrapper"&gt;&lt;pre id="codeSnippet" class="csharpcode"&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;static&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; InitializeService(DataServiceConfiguration
config)&lt;/pre&gt;
&lt;br&gt;
&lt;/div&gt;
The problem was I was using windows authentication to connect to my database, after
changing to SQL Server Authentication, everything worked fine.&lt;br&gt;
&lt;br&gt;
Spent hours in figuring out this…&lt;br&gt;
&lt;/div&gt;
&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=7be63715-5b32-463c-8947-24f6194b9be0" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,7be63715-5b32-463c-8947-24f6194b9be0.aspx</comments>
      <category>.NET</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <font size="2" face="Tahoma">If audio is not working in your server, check whether
Windows Audio service is started… </font>
        </p>
        <p>
          <font size="2">
            <font face="Tahoma">
              <strong>How to do:</strong>
              <br />
1. On Windows Run (windows key + R key), type services.msc<br />
2. Look for Windows Audio service and check whether it is started, if not, start it </font>
          </font>
        </p>
        <p>
          <font size="2" face="Tahoma">If this doesn't resolve your problem, try updating your
audio drivers. </font>
          <br />
          <br />
        </p>
        <p>
          <font size="2" face="Tahoma">
            <strong>If audio is not working only when remoting, try
the following:</strong>
          </font>
        </p>
        <p>
          <font size="2" face="Tahoma">1. On Windows Run (windows key + R key), type gpedit.msc 
<br />
2. Go to Local Computer Policy/Computer Configuration/Administrative Templates/Windows
Components/Terminal Services/ClientServer redirection 
<br />
3. Enable Allow audio redirection </font>
          <br />
          <br />
        </p>
        <p>
          <font size="2" face="Tahoma">and then do this too: 
<br />
1. On Windows Run (windows key + R key), type tscc.msc<br />
2. Open the Connections folder in the left sidebar<br />
3. Right-click RDP-Tcp, select Properties<br />
4. Click Client Settings tab<br />
5. UNCHECK the "Audio mapping" checkbox under the section "Disable the following:"<br />
7. Click OK, and close tscc<br />
8. You may see a warning which says this change will not take effect for any currently-connected
RDP sessions. Click out of that<br />
9. Logoff 
<br />
10. Login </font>
          <br />
          <br />
        </p>
        <p>
          <font size="2" face="Tahoma">If you are remoting from a Windows XP machine, try to
remote into the console by typing "<strong>mstsc /console</strong>" on run window.<br />
If you are remoting from a Windows 7 or a Vista machine, try to remote into the console
by typing "<strong>mstsc /admin</strong>" on run window.</font>
          <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7" />
        </p>
      </body>
      <title>Audio or Sound Card problems in Windows 2003 Server (especially when remoting)</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7.aspx</guid>
      <link>http://blogs.gokulnath.com//2010/05/06/AudioOrSoundCardProblemsInWindows2003ServerEspeciallyWhenRemoting.aspx</link>
      <pubDate>Thu, 06 May 2010 22:53:56 GMT</pubDate>
      <description>&lt;p&gt;
&lt;font size="2" face="Tahoma"&gt;If audio is not working in your server, check whether
Windows Audio service is started… &lt;/font&gt; 
&lt;p&gt;
&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&lt;strong&gt;How to do:&lt;/strong&gt;
&lt;br&gt;
1. On Windows Run (windows key + R key), type services.msc&lt;br&gt;
2. Look for Windows Audio service and check whether it is started, if not, start it &lt;/font&gt;&lt;/font&gt; 
&lt;p&gt;
&lt;font size="2" face="Tahoma"&gt;If this doesn't resolve your problem, try updating your
audio drivers. &lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;strong&gt;If audio is not working only when remoting, try
the following:&lt;/strong&gt; &lt;/font&gt; 
&lt;p&gt;
&lt;font size="2" face="Tahoma"&gt;1. On Windows Run (windows key + R key), type gpedit.msc 
&lt;br&gt;
2. Go to Local Computer Policy/Computer Configuration/Administrative Templates/Windows
Components/Terminal Services/ClientServer redirection 
&lt;br&gt;
3. Enable Allow audio redirection &lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;font size="2" face="Tahoma"&gt;and then do this too: 
&lt;br&gt;
1. On Windows Run (windows key + R key), type tscc.msc&lt;br&gt;
2. Open the Connections folder in the left sidebar&lt;br&gt;
3. Right-click RDP-Tcp, select Properties&lt;br&gt;
4. Click Client Settings tab&lt;br&gt;
5. UNCHECK the "Audio mapping" checkbox under the section "Disable the following:"&lt;br&gt;
7. Click OK, and close tscc&lt;br&gt;
8. You may see a warning which says this change will not take effect for any currently-connected
RDP sessions. Click out of that&lt;br&gt;
9. Logoff 
&lt;br&gt;
10. Login &lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;font size="2" face="Tahoma"&gt;If you are remoting from a Windows XP machine, try to
remote into the console by typing "&lt;strong&gt;mstsc /console&lt;/strong&gt;" on run window.&lt;br&gt;
If you are remoting from a Windows 7 or a Vista machine, try to remote into the console
by typing "&lt;strong&gt;mstsc /admin&lt;/strong&gt;" on run window.&lt;/font&gt;&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7.aspx</comments>
      <category>Miscellaneous</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=872092ae-6feb-4d41-91fa-370eb9088034</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,872092ae-6feb-4d41-91fa-370eb9088034.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,872092ae-6feb-4d41-91fa-370eb9088034.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=872092ae-6feb-4d41-91fa-370eb9088034</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
After upgrading my PC from Windows XP to Windows 7, an external hard drive which was
working fine on XP lost write permissions. 
</p>
        <p>
        </p>
        <h1>
        </h1>
        <p>
Found a solution:
</p>
        <p>
1. Right click on the drive icon for the external drive.<br />
2. Select Properties<br />
3. Click Security Tab<br />
4. Click Advanced Button<br />
5. Click Owner Tab<br />
6. Click Edit Button<br />
7. Choose your account or administrators group, whichever you want to give permissions<br />
8. Check 'Replace owner on subcontainers and objects'<br />
9. Click OK 
<br /><br />
If this doesn’t resolve your problem, choose the user from “Group or user names” list,
click “Edit”, and give appropriate permissions. 
<br /><br />
Hope this works for you! <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=872092ae-6feb-4d41-91fa-370eb9088034" /></p>
      </body>
      <title>Take Ownership and Grant Permissions in Windows 7</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,872092ae-6feb-4d41-91fa-370eb9088034.aspx</guid>
      <link>http://blogs.gokulnath.com//2010/05/05/TakeOwnershipAndGrantPermissionsInWindows7.aspx</link>
      <pubDate>Wed, 05 May 2010 04:15:42 GMT</pubDate>
      <description>&lt;p&gt;
After upgrading my PC from Windows XP to Windows 7, an external hard drive which was
working fine on XP lost write permissions. 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;h1&gt;
&lt;/h1&gt;
&lt;p&gt;
Found a solution:
&lt;/p&gt;
&lt;p&gt;
1. Right click on the drive icon for the external drive.&lt;br&gt;
2. Select Properties&lt;br&gt;
3. Click Security Tab&lt;br&gt;
4. Click Advanced Button&lt;br&gt;
5. Click Owner Tab&lt;br&gt;
6. Click Edit Button&lt;br&gt;
7. Choose your account or administrators group, whichever you want to give permissions&lt;br&gt;
8. Check 'Replace owner on subcontainers and objects'&lt;br&gt;
9. Click OK 
&lt;br /&gt;
&lt;br /&gt;
If this doesn’t resolve your problem, choose the user from “Group or user names” list,
click “Edit”, and give appropriate permissions. 
&lt;br /&gt;
&lt;br /&gt;
Hope this works for you! &lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=872092ae-6feb-4d41-91fa-370eb9088034" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,872092ae-6feb-4d41-91fa-370eb9088034.aspx</comments>
      <category>Miscellaneous</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=16471ec1-cf30-43e0-9f30-1097ae85b91b</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,16471ec1-cf30-43e0-9f30-1097ae85b91b.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,16471ec1-cf30-43e0-9f30-1097ae85b91b.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=16471ec1-cf30-43e0-9f30-1097ae85b91b</wfw:commentRss>
      <title>Accessing TFS 2010 using Team Explorer 2008 Client</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,16471ec1-cf30-43e0-9f30-1097ae85b91b.aspx</guid>
      <link>http://blogs.gokulnath.com//2010/04/26/AccessingTFS2010UsingTeamExplorer2008Client.aspx</link>
      <pubDate>Mon, 26 Apr 2010 15:21:03 GMT</pubDate>
      <description>&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CGMURUG%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;link rel="Edit-Time-Data" href="file:///C:%5CDOCUME%7E1%5CGMURUG%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_editdata.mso"&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1073750139 0 0 159 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:Calibri;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;b&gt;&lt;font color="black" face="Tahoma" size="2"&gt;&lt;span style="font-weight: normal; font-size: 10pt; color: black; font-family: Tahoma;"&gt;If
you are getting “&lt;/span&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;None
of the products that are addressed by this software update are installed on this computer.
Click cancel to exit setup&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font color="black" face="Tahoma" size="2"&gt;&lt;span style="font-weight: normal; font-size: 10pt; color: black; font-family: Tahoma;"&gt;”
(the popup below) while trying to install &lt;/span&gt;&lt;/font&gt;&lt;font color="#1f497d" face="Tahoma" size="2"&gt;&lt;span style="font-weight: normal; font-size: 10pt; color: rgb(31, 73, 125); font-family: Tahoma;"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=CF13EA45-D17B-4EDC-8E6C-6C5B208EC54D&amp;amp;displaylang=en"&gt;Visual
Studio Team System 2008 Service Pack 1 Forward Compatibility Update for Team Foundation
Server 2010&lt;/a&gt; (this allows to &lt;/span&gt;&lt;/font&gt;&lt;span&gt;use the Team Foundation Server
2010 server with Team Explorer 2008 SP1 client&lt;/span&gt;&lt;font color="#1f497d" face="Tahoma" size="2"&gt;&lt;span style="font-weight: normal; font-size: 10pt; color: rgb(31, 73, 125); font-family: Tahoma;"&gt;)
, first &lt;/span&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;&lt;span style="font-weight: normal; font-size: 10pt; font-family: Tahoma;"&gt;install &lt;a title="http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&amp;amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&amp;amp;displaylang=en"&gt;VS
2008 SP1&lt;/a&gt; (not 3.5 SP1) and then try installing the compatibility update.&lt;br&gt;
&lt;br&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/vs2008.gif" border="0"&gt;&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=16471ec1-cf30-43e0-9f30-1097ae85b91b" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,16471ec1-cf30-43e0-9f30-1097ae85b91b.aspx</comments>
      <category>.NET</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=00962f30-fd07-4e93-b2c4-08e039363cb1</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,00962f30-fd07-4e93-b2c4-08e039363cb1.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,00962f30-fd07-4e93-b2c4-08e039363cb1.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=00962f30-fd07-4e93-b2c4-08e039363cb1</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font face="Tahoma" size="2">Can anybody
find the difference between the first and the second ‘testing abc’ in this file <a href="http://blogs.gokulnath.com//content/binary/test.txt">test.txt
(.02 KB)</a>. Open the file and search for ‘testing’ (there should be 2 matches),
‘abc’ (2 matches) and then ‘testing abc’ (1 match). It is because the ‘space’ between
the two words varies, one is a regular space and the other is a html space (not nbsp),
their ascii values are 32 and 160 respectively. I figured this after converting the
spaces to ascii values! (spent almost an hour)<br /><br /></font>
        <font face="Tahoma" size="2">
          <a href="http://blogs.gokulnath.com//content/binary/test.txt">
            <br />
          </a>
        </font>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=00962f30-fd07-4e93-b2c4-08e039363cb1" />
      </body>
      <title>Regular space and html space (ascii 32 and 160 respectively)</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,00962f30-fd07-4e93-b2c4-08e039363cb1.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/12/09/RegularSpaceAndHtmlSpaceAscii32And160Respectively.aspx</link>
      <pubDate>Wed, 09 Dec 2009 20:44:20 GMT</pubDate>
      <description>&lt;font face="Tahoma" size="2"&gt;Can anybody find the difference between the first and
the second ‘testing abc’ in this file &lt;a href="http://blogs.gokulnath.com//content/binary/test.txt"&gt;test.txt
(.02 KB)&lt;/a&gt;. Open the file and search for ‘testing’ (there should be 2 matches),
‘abc’ (2 matches) and then ‘testing abc’ (1 match). It is because the ‘space’ between
the two words varies, one is a regular space and the other is a html space (not nbsp),
their ascii values are 32 and 160 respectively. I figured this after converting the
spaces to ascii values! (spent almost an hour)&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;&lt;a href="http://blogs.gokulnath.com//content/binary/test.txt"&gt;
&lt;br&gt;
&lt;/a&gt;&lt;/font&gt;&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=00962f30-fd07-4e93-b2c4-08e039363cb1" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,00962f30-fd07-4e93-b2c4-08e039363cb1.aspx</comments>
      <category>.NET</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=288e8db5-089d-433b-853c-71f4aab28764</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,288e8db5-089d-433b-853c-71f4aab28764.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,288e8db5-089d-433b-853c-71f4aab28764.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=288e8db5-089d-433b-853c-71f4aab28764</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font face="Tahoma" size="2">We can take
an ASP.NET 2.0 application offline temporarily by uploading a file called app_offline.htm
to the root directory.  It will shut-down the application, unload the application
domain from the server, and stop processing any new incoming requests for that application. 
<br /><br />
To know more about this - <a href="http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx">http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx</a><br /><br />
Working around the "IE Friendly Errors" feature - <a href="http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx">http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx</a><br /><br />
I came to know this only today when I was listening to Hansel minutes, this will definitely
help me in taking my website down easily.<br /><br /></font>
        <p>
        </p>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=288e8db5-089d-433b-853c-71f4aab28764" />
      </body>
      <title>Take an asp.net application offline easily</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,288e8db5-089d-433b-853c-71f4aab28764.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/12/09/TakeAnAspnetApplicationOfflineEasily.aspx</link>
      <pubDate>Wed, 09 Dec 2009 20:36:59 GMT</pubDate>
      <description>&lt;font face="Tahoma" size="2"&gt;We can take an ASP.NET 2.0 application offline temporarily
by uploading a file called app_offline.htm to the root directory.&amp;nbsp; It will shut-down
the application, unload the application domain from the server, and stop processing
any new incoming requests for that application. 
&lt;br&gt;
&lt;br&gt;
To know more about this - &lt;a href="http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
Working around the "IE Friendly Errors" feature - &lt;a href="http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
I came to know this only today when I was listening to Hansel minutes, this will definitely
help me in taking my website down easily.&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=288e8db5-089d-433b-853c-71f4aab28764" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,288e8db5-089d-433b-853c-71f4aab28764.aspx</comments>
      <category>.NET</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=8871ee4e-b341-49b5-8b79-c43389745c5a</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,8871ee4e-b341-49b5-8b79-c43389745c5a.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,8871ee4e-b341-49b5-8b79-c43389745c5a.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=8871ee4e-b341-49b5-8b79-c43389745c5a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font face="Tahoma" size="2">This is for
my future reference.<br /><br />
If you are using sitemap as the data source for the menu control, then you can set
the property ShowStartingNode = "false" of sitemapdatasource.  Inorder to hide
the arrow image, set the properties DynamicEnableDefaultPopOutImage = "False" and
StaticEnableDefaultPopoutImage = "False" of the menu control.<br /></font>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=8871ee4e-b341-49b5-8b79-c43389745c5a" />
      </body>
      <title>ASP.NET menu control - hiding root node and arrow image</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,8871ee4e-b341-49b5-8b79-c43389745c5a.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/12/09/ASPNETMenuControlHidingRootNodeAndArrowImage.aspx</link>
      <pubDate>Wed, 09 Dec 2009 16:28:18 GMT</pubDate>
      <description>&lt;font face="Tahoma" size="2"&gt;This is for my future reference.&lt;br&gt;
&lt;br&gt;
If you are using sitemap as the data source for the menu control, then you can set
the property ShowStartingNode = "false" of sitemapdatasource.&amp;nbsp; Inorder to hide
the arrow image, set the properties DynamicEnableDefaultPopOutImage = "False" and
StaticEnableDefaultPopoutImage = "False" of the menu control.&lt;br&gt;
&lt;/font&gt;&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=8871ee4e-b341-49b5-8b79-c43389745c5a" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,8871ee4e-b341-49b5-8b79-c43389745c5a.aspx</comments>
      <category>.NET</category>
      <category>For Future Reference</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=aa8c388d-4249-4e42-8a9e-e7be115e5fa8</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,aa8c388d-4249-4e42-8a9e-e7be115e5fa8.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,aa8c388d-4249-4e42-8a9e-e7be115e5fa8.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=aa8c388d-4249-4e42-8a9e-e7be115e5fa8</wfw:commentRss>
      <title>Choose Items in Visual Studio Toolbox crashes Visual Studio</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,aa8c388d-4249-4e42-8a9e-e7be115e5fa8.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/11/16/ChooseItemsInVisualStudioToolboxCrashesVisualStudio.aspx</link>
      <pubDate>Mon, 16 Nov 2009 15:04:38 GMT</pubDate>
      <description>&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CGMURUG%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
I was trying to add AJAX Control Toolkit to my Toolbox, for some reason Visual Studio
was crashing. I found a solution for it, see this works out for you – start Visual
Studio in safe mode (go to Visual Studio’s command prompt and execute ‘&lt;b style=""&gt;&lt;span style="color: black;"&gt;devenv
/safemode&lt;/span&gt;&lt;/b&gt;’) and then try to add items to your toolbox, I was able to do
it!&lt;o:p&gt;&lt;/o:p&gt;
There might be a better solution for this, please let me know if there is one.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=aa8c388d-4249-4e42-8a9e-e7be115e5fa8" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,aa8c388d-4249-4e42-8a9e-e7be115e5fa8.aspx</comments>
      <category>.NET</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=1ca2d7fb-919f-4db9-aa2c-f2f351ee293a</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,1ca2d7fb-919f-4db9-aa2c-f2f351ee293a.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,1ca2d7fb-919f-4db9-aa2c-f2f351ee293a.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=1ca2d7fb-919f-4db9-aa2c-f2f351ee293a</wfw:commentRss>
      <title>Postback problem on a modal popup or Session transfer to a popup or a page opened from another popup</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,1ca2d7fb-919f-4db9-aa2c-f2f351ee293a.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/10/23/PostbackProblemOnAModalPopupOrSessionTransferToAPopupOrAPageOpenedFromAnotherPopup.aspx</link>
      <pubDate>Fri, 23 Oct 2009 11:07:04 GMT</pubDate>
      <description>&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1.WHI%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"&gt;&lt;/o:smarttagtype&gt;
&lt;o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"&gt;&lt;/o:smarttagtype&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if !mso]&gt;&lt;object
 classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui&gt;&lt;/object&gt;
&lt;style&gt;
st1\:*{behavior:url(#ieooui) }
&lt;/style&gt;
&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
span.apple-style-span
	{mso-style-name:apple-style-span;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal"&gt;
&lt;span class="apple-style-span"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;Solutions
for postback problem:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;
&lt;br&gt;
&lt;span class="apple-style-span"&gt;1. Add "&amp;lt;base target = “_self” /&amp;gt;" inside &amp;lt;head&amp;gt;
tag of the popup.&lt;/span&gt;
&lt;br&gt;
&lt;span class="apple-style-span"&gt;2. You can use window.open instead of window.showModalDialog.&lt;/span&gt;
&lt;br&gt;
&lt;br&gt;
&lt;span class="apple-style-span"&gt;Solutions for session transfer problem:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;1.&amp;nbsp;You can
use window.open instead of window.showModalDialog.&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;2. You can use 
&lt;st1:city w:st="on"&gt;
&lt;st1:place w:st="on"&gt;AJAX&lt;/st1:place&gt;
&lt;/st1:city&gt;
modal popup.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;This seems to be
a IE bug (working fine in firefox and chrome), I have this problem if I open the .NET
application after opening an instance of IE (say google.com) whereas if I open the
former before the latter, things are fine. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;br&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;Please let me know if anybody has any good solution for this.&lt;br&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=1ca2d7fb-919f-4db9-aa2c-f2f351ee293a" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,1ca2d7fb-919f-4db9-aa2c-f2f351ee293a.aspx</comments>
      <category>.NET</category>
      <category>Solutions</category>
    </item>
  </channel>
</rss>