<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Exceptions</title>
        <link>http://geekswithblogs.net/technetbytes/category/6500.aspx</link>
        <description>Exceptions</description>
        <language>ur-PK</language>
        <copyright>Saqib Ullah</copyright>
        <managingEditor>saqibullah@msn.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>System.Security.Cryptography.CryptographicException: Keyset does not exist or Access is denied issue.</title>
            <link>http://geekswithblogs.net/technetbytes/archive/2011/10/12/147281.aspx</link>
            <description>&lt;p&gt;&lt;span style="font-family: Verdana;"&gt;This issue is related to permission on &lt;b style="mso-bidi-font-weight:normal"&gt;&lt;span style="font-size: 8.5pt; line-height: 115%;"&gt;MachineKeys&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 8.5pt; line-height: 115%;"&gt; folder. I think this is right place where you should know what the determination of &lt;b style="mso-bidi-font-weight:normal"&gt;MachineKeys&lt;/b&gt; folder is.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table cellspacing="0" cellpadding="0" border="1" style="margin-left: 9.9pt; background: none repeat scroll 0% 0% rgb(242, 242, 242); border-collapse: collapse; border: medium none; width: 634px; height: 66px;" class="MsoTableGrid"&gt;
    &lt;tbody&gt;
        &lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;
            &lt;td width="618" valign="top" style="width:463.5pt;border:solid windowtext 1.0pt;&amp;#xD;&amp;#xA;            mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt"&gt;
            &lt;p style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;            normal" class="MsoNormal"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;b style="mso-bidi-font-weight:normal"&gt;&lt;u&gt;&lt;span style="font-size: 8.5pt;"&gt;What is MachineKeys Folder?&lt;br style="mso-special-character:line-break" /&gt;
            &lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
            &lt;p style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;            normal" class="MsoNormal"&gt; &lt;/p&gt;
            &lt;span style="font-family: Verdana;"&gt;
            &lt;p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal"&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-size: 8.5pt; color: black; background: none repeat scroll 0% 0% white;"&gt;The &lt;b style="mso-bidi-font-weight:normal"&gt;MachineKeys&lt;/b&gt;   folder stores certificate pair keys for both the computer and users. Both   Certificate services and Internet Explorer use this folder.&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="font-size: 8.5pt; color: black; background: none repeat scroll 0% 0% white;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
            &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style="font-size: 8.5pt; line-height: 115%;"&gt;Possible reasons for getting this error message in your application are, may be your application &lt;/span&gt;using a certificate or your application trying to access a private key. &lt;br /&gt;
&lt;br /&gt;
There are two ways through which you can solve this error.&lt;br /&gt;
&lt;b style="mso-bidi-font-weight:normal"&gt;&lt;u&gt;&lt;br /&gt;
First Way (When you don’t know the certificate key)&lt;br /&gt;
&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Open this folder &lt;b style="mso-bidi-font-weight:normal"&gt;&lt;span style="font-size: 8pt; line-height: 115%;"&gt;C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 8.5pt; line-height: 115%;"&gt;&lt;img width="633" height="189" src="/images/geekswithblogs_net/technetbytes/cry_RSA/Windows%20Server%202008%20R2%20x64-2011-10-12-10-20-11.png" alt="" /&gt;&lt;/span&gt;&lt;b style="mso-bidi-font-weight:&amp;#xD;&amp;#xA;normal"&gt;&lt;span style="font-size: 8pt; line-height: 115%;"&gt;&lt;br /&gt;
Fig 1: MachineKeys Folder is protected and showing lock sign.&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 8.5pt; line-height: 115%;"&gt;Give “Read and Write” and “List Folder Contents” permissions in Security tab to the IIS worker processes impersonated account (IUSER_MachineName or Network Service or any other account) to below folder&lt;/span&gt;&lt;b style="mso-bidi-font-weight:&amp;#xD;&amp;#xA;normal"&gt;&lt;span style="font-size: 8pt; line-height: 115%;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 8.5pt; line-height: 115%;"&gt;&lt;img width="390" height="502" src="/images/geekswithblogs_net/technetbytes/cry_RSA/Windows%20Server%202008%20R2%20x64-2011-10-12-10-29-51.png" alt="" /&gt;&lt;/span&gt;&lt;b style="mso-bidi-font-weight:&amp;#xD;&amp;#xA;normal"&gt;&lt;span style="font-size: 8pt; line-height: 115%;"&gt;&lt;br /&gt;
Fig 2: Giving Rights to MachineKeys Folder.&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 8.5pt; line-height: 115%;"&gt;&lt;br /&gt;
&lt;img width="623" height="188" src="/images/geekswithblogs_net/technetbytes/cry_RSA/Windows%20Server%202008%20R2%20x64-2011-10-12-10-31-28.png" alt="" /&gt;&lt;br /&gt;
&lt;/span&gt;&lt;b style="mso-bidi-font-weight:normal"&gt;&lt;span style="font-size: 8pt; line-height: 115%;"&gt;Fig 3: MachineKeys folder is granted for &lt;/span&gt;&lt;/b&gt;&lt;b style="mso-bidi-font-weight:normal"&gt;&lt;span style="font-size: 8.5pt; line-height: 115%;"&gt;IIS worker processes impersonated account and lock sign has gone.&lt;br /&gt;
&lt;/span&gt;&lt;u&gt;&lt;br /&gt;
Second Way (When you certificate key)&lt;br /&gt;
&lt;br /&gt;
&lt;/u&gt;&lt;/b&gt;&lt;span style="font-size: 8.5pt; line-height: 115%;"&gt;Open mmc from Start menu. Add certificates snap-In and open the respective certificate store folder and then follow the step.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style="font-size: 8.5pt; line-height: 115%;"&gt;“Certificate Name” -&amp;gt; (Right-click) -&amp;gt; All Tasks -&amp;gt; Manage private keys&lt;br /&gt;
&lt;br /&gt;
Add the IIS worker processes impersonated account (IUSER_MachineName or Network Service or any other account).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style="font-size: 8.5pt; line-height: 115%;"&gt;&lt;img width="366" height="441" src="/images/geekswithblogs_net/technetbytes/cry_RSA/Windows%20Server%202008%20R2%20x64-2011-10-12-11-29-49.png" alt="" /&gt;&lt;/span&gt;&lt;span style="font-size: 8.5pt; line-height: 115%;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;b style="mso-bidi-font-weight:normal"&gt;&lt;span style="font-size: 8pt; line-height: 115%;"&gt;Fig 4: Certificate &lt;/span&gt;&lt;/b&gt;&lt;b style="mso-bidi-font-weight:normal"&gt;&lt;span style="font-size: 8.5pt; line-height: 115%;"&gt;Manage private keys property.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;img src="http://geekswithblogs.net/technetbytes/aggbug/147281.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Saqib Ullah</dc:creator>
            <guid>http://geekswithblogs.net/technetbytes/archive/2011/10/12/147281.aspx</guid>
            <pubDate>Wed, 12 Oct 2011 18:56:56 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/technetbytes/comments/147281.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/technetbytes/archive/2011/10/12/147281.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/technetbytes/comments/commentRss/147281.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/technetbytes/services/trackbacks/147281.aspx</trackback:ping>
        </item>
        <item>
            <title>IIS 6 Metabase and IIS 6 Configuration Compatibility Issue</title>
            <link>http://geekswithblogs.net/technetbytes/archive/2011/10/11/147255.aspx</link>
            <description>&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;o:OfficeDocumentSettings&gt;
&lt;o:AllowPNG /&gt;
&lt;/o:OfficeDocumentSettings&gt;
&lt;/xml&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:TrackMoves&gt;false&lt;/w:TrackMoves&gt;
&lt;w:TrackFormatting /&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:DoNotPromoteQF /&gt;
&lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;
&lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
&lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&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:SplitPgBreakAndParaMark /&gt;
&lt;w:EnableOpenTypeKerning /&gt;
&lt;w:DontFlipMirrorIndents /&gt;
&lt;w:OverrideTableStyleHps /&gt;
&lt;/w:Compatibility&gt;
&lt;m:mathPr&gt;
&lt;m:mathFont m:val="Cambria Math" /&gt;
&lt;m:brkBin m:val="before" /&gt;
&lt;m:brkBinSub m:val="&amp;#45;-" /&gt;
&lt;m:smallFrac m:val="off" /&gt;
&lt;m:dispDef /&gt;
&lt;m:lMargin m:val="0" /&gt;
&lt;m:rMargin m:val="0" /&gt;
&lt;m:defJc m:val="centerGroup" /&gt;
&lt;m:wrapIndent m:val="1440" /&gt;
&lt;m:intLim m:val="subSup" /&gt;
&lt;m:naryLim m:val="undOvr" /&gt;
&lt;/m:mathPr&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" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267"&gt;
&lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal" /&gt;
&lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /&gt;
&lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 1" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 2" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 3" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 4" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 5" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 6" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 7" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 8" /&gt;
&lt;w:LsdException Locked="false" Priority="39" Name="toc 9" /&gt;
&lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /&gt;
&lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title" /&gt;
&lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /&gt;
&lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /&gt;
&lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong" /&gt;
&lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /&gt;
&lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid" /&gt;
&lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /&gt;
&lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /&gt;
&lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /&gt;
&lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /&gt;
&lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote" /&gt;
&lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /&gt;
&lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /&gt;
&lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /&gt;
&lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /&gt;
&lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /&gt;
&lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /&gt;
&lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title" /&gt;
&lt;w:LsdException Locked="false" Priority="37" Name="Bibliography" /&gt;
&lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /&gt;
&lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&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-priority:99;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
table.MsoTableGrid
{mso-style-name:"Table Grid";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-priority:59;
mso-style-unhide:no;
border:solid windowtext 1.0pt;
mso-border-alt:solid windowtext .5pt;
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-border-insideh:.5pt solid windowtext;
mso-border-insidev:.5pt solid windowtext;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;8.5pt;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-bidi-font-family:Consolas"&gt;Sometime when you open asp.net project in Visual studio 2010 and you get the following error message. Even some time when IIS 7.x already installed and running different applications.&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" style="width: 891px; height: 475px;" src="/images/geekswithblogs_net/technetbytes/Windows%20Server%202008%20R2%20x64-2011-10-11-08-05-23.png" /&gt;&lt;br /&gt;
&lt;strong&gt;Fig a:&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;b style="mso-bidi-font-weight:normal"&gt;&lt;u&gt;Error Message:&lt;br style="mso-special-character:&amp;#xD;&amp;#xA;line-break" /&gt;
&lt;br style="mso-special-character:line-break" /&gt;
&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table cellspacing="0" cellpadding="0" border="1" class="MsoTableGrid" style="margin-left:5.4pt;background:#F2F2F2;mso-shading:windowtext;mso-pattern:&amp;#xD;&amp;#xA;    gray-5 auto;border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt;&amp;#xD;&amp;#xA;    mso-yfti-tbllook:1184;mso-padding-alt:0in 5.4pt 0in 5.4pt"&gt;
    &lt;tbody&gt;
        &lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;
            &lt;td width="624" valign="top" style="width:6.5in;border:solid windowtext 1.0pt;&amp;#xD;&amp;#xA;            mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt"&gt;
            &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;            normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:8.5pt;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-bidi-font-family:&amp;#xD;&amp;#xA;            Consolas"&gt;https://localhost/ClaimsEnableWebSiteEx01 : error&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;: Unable to open the Web site   'https://localhost/ClaimsEnableWebSiteEx01'. IIS is not installed on this   computer. To access local IIS Web sites, you must install the following IIS   components:&lt;/span&gt;&lt;span style="font-size:8.5pt;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-bidi-font-family:&amp;#xD;&amp;#xA;            Consolas"&gt; &lt;/span&gt;&lt;/p&gt;
            &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;            normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:8.5pt;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-bidi-font-family:&amp;#xD;&amp;#xA;            Consolas"&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;Internet Information   Services&lt;/span&gt;&lt;/p&gt;
            &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;            normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:8.5pt;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-bidi-font-family:&amp;#xD;&amp;#xA;            Consolas"&gt;&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;IIS 6 Metabase and IIS 6 Configuration   Compatibility&lt;/span&gt;&lt;/p&gt;
            &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;            normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:8.5pt;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-bidi-font-family:&amp;#xD;&amp;#xA;            Consolas"&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;ASP.NET&lt;/span&gt;&lt;/p&gt;
            &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;            normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:8.5pt;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-bidi-font-family:&amp;#xD;&amp;#xA;            Consolas"&gt; &lt;/span&gt;&lt;span style="font-size:8.5pt;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-bidi-font-family:&amp;#xD;&amp;#xA;            Consolas"&gt;In addition, you must run Visual Studio in the context of an   administrator account.&lt;/span&gt;&lt;/p&gt;
            &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;            normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:8.5pt;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-bidi-font-family:&amp;#xD;&amp;#xA;            Consolas"&gt; &lt;/span&gt;&lt;span style="font-size:8.5pt;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-bidi-font-family:&amp;#xD;&amp;#xA;            Consolas"&gt;For more information, press F1.&lt;/span&gt;&lt;/p&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:&amp;#xD;&amp;#xA;normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;8.5pt;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-bidi-font-family:Consolas"&gt;&lt;br style="mso-special-character:line-break" /&gt;
&lt;/span&gt;&lt;u&gt;&lt;b style="mso-bidi-font-weight:&amp;#xD;&amp;#xA;normal"&gt;&lt;span style="font-size:8.5pt;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;&amp;#xD;&amp;#xA;mso-bidi-font-family:Consolas"&gt;Solution&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:&amp;#xD;&amp;#xA;8.5pt;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-bidi-font-family:Consolas"&gt;:&lt;/span&gt;&lt;/u&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:8.5pt;line-height:115%;font-family:&amp;#xD;&amp;#xA;&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Open Control Panel-&amp;gt;&lt;/span&gt; &lt;span style="font-size:&amp;#xD;&amp;#xA;8.5pt;line-height:115%;font-family:&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;"&gt;Programs and Features-&amp;gt;Turn Windows features on or off. Under the list of features open Internet Information Services tree and then open Web Management Tools and then select IIS 6 Management Compatibility checkbox. Click OK button and install the selected feature of IIS.&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:8.5pt;line-height:115%;font-family:&amp;#xD;&amp;#xA;&amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;mso-no-proof:yes"&gt;&lt;img width="455" height="437" alt="" src="/images/geekswithblogs_net/technetbytes/iis_com.png" /&gt;&lt;br /&gt;
&lt;strong&gt;Fig: b&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Enjoy guys....&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt; &lt;img src="http://geekswithblogs.net/technetbytes/aggbug/147255.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Saqib Ullah</dc:creator>
            <guid>http://geekswithblogs.net/technetbytes/archive/2011/10/11/147255.aspx</guid>
            <pubDate>Tue, 11 Oct 2011 15:28:23 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/technetbytes/comments/147255.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/technetbytes/archive/2011/10/11/147255.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/technetbytes/comments/commentRss/147255.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/technetbytes/services/trackbacks/147255.aspx</trackback:ping>
        </item>
        <item>
            <title>(407) Proxy Authentication Required.</title>
            <link>http://geekswithblogs.net/technetbytes/archive/2007/08/11/114573.aspx</link>
            <description>&lt;font size="1" face="Verdana" color="#ff0000"&gt;
&lt;p&gt; &lt;/p&gt;
&lt;table width="606" height="25" cellspacing="0" cellpadding="0" border="0" align="center" summary="" style="width: 606px; height: 25px;"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;
            &lt;p align="center"&gt;  &lt;span style="font-size: 8pt; font-family: 'Verdana','sans-serif';"&gt;The remote server returned an error: (407) Proxy Authentication Required.&lt;/span&gt;&lt;/p&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;br /&gt;
&lt;/font&gt;&lt;span style="font-size: 8pt; line-height: 115%; font-family: 'Verdana','sans-serif';"&gt;This is a very common error message when you try to get a resource on internet through your application. Why you getting this error from your application not from explorer. The reason is very simple either you use LAN that requires proxy setting or you use proxy server.&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt;&lt;font size="1" face="Verdana"&gt;&lt;strong&gt;Example :&lt;/strong&gt;&lt;/font&gt; &lt;br /&gt;
&lt;table cellspacing="0" cellpadding="0" border="1" style="border: medium none ; background: rgb(221, 217, 195) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; border-collapse: collapse;"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td width="638" valign="top" style="border: 1pt solid black; padding: 0in 5.4pt; width: 6.65in; background-color: transparent;"&gt;
            &lt;div&gt;&lt;span style="font-size: 9pt; color: teal; font-family: 'Verdana','sans-serif';"&gt;&lt;font size="1"&gt;DataSet&lt;/font&gt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: 'Verdana','sans-serif';"&gt;&lt;font size="1"&gt; myds = &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: teal;"&gt;DataSet&lt;/span&gt;();&lt;br /&gt;
            &lt;/font&gt;&lt;font size="1"&gt;&lt;span style="color: rgb(51, 153, 102);"&gt;//Set the system proxy with valid server address or IP and port.&lt;br /&gt;
            &lt;/span&gt;System.Net.&lt;span style="color: teal;"&gt;WebProxy&lt;/span&gt; pry = &lt;span style="color: blue;"&gt;new&lt;/span&gt; System.Net.&lt;span style="color: teal;"&gt;WebProxy&lt;/span&gt;(&lt;span style="color: maroon;"&gt;"172.16.0.1"&lt;/span&gt;,8080);&lt;br /&gt;
            &lt;/font&gt;&lt;font size="1"&gt;&lt;span style="color: rgb(51, 153, 102);"&gt;//The DefaultCredentials automically get username and password.&lt;br /&gt;
            &lt;/span&gt;pry.Credentials = &lt;span style="color: teal;"&gt;CredentialCache&lt;/span&gt;.DefaultCredentials;&lt;br /&gt;
            &lt;span style="color: teal;"&gt;GlobalProxySelection&lt;/span&gt;.Select = pry;&lt;br /&gt;
            myds.ReadXml(&lt;span style="color: maroon;"&gt;"http://msdn.microsoft.com/netframework/rss.xml"&lt;/span&gt;, &lt;span style="color: teal;"&gt;XmlReadMode&lt;/span&gt;.Auto);&lt;br /&gt;
            myds.WriteXmlSchema(&lt;span style="color: maroon;"&gt;@"c:\\f.xml"&lt;/span&gt;);&lt;br /&gt;
            &lt;span style="color: blue;"&gt;this&lt;/span&gt;.GridView1.DataSource = myds.Tables[2];&lt;br /&gt;
            &lt;span style="color: blue;"&gt;this&lt;/span&gt;.GridView1.DataBind();&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;/span&gt;&lt;/span&gt; &lt;img src="http://geekswithblogs.net/technetbytes/aggbug/114573.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Saqib Ullah</dc:creator>
            <guid>http://geekswithblogs.net/technetbytes/archive/2007/08/11/114573.aspx</guid>
            <pubDate>Sat, 11 Aug 2007 14:30:37 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/technetbytes/comments/114573.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/technetbytes/archive/2007/08/11/114573.aspx#feedback</comments>
            <slash:comments>121</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/technetbytes/comments/commentRss/114573.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/technetbytes/services/trackbacks/114573.aspx</trackback:ping>
        </item>
        <item>
            <title>Maximum report processing jobs limit issue in Crystal Report</title>
            <link>http://geekswithblogs.net/technetbytes/archive/2007/07/17/114008.aspx</link>
            <description>&lt;span style="font-size: 8pt; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;This is a very common error in Crystal Report when its give this following message.&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;/span&gt;&lt;font size="1"&gt;&lt;span style="font-family: Verdana;"&gt;"&lt;/span&gt;&lt;strong style="font-family: Verdana;"&gt;The maximum report processing jobs limit configured by your system administrator has been reached&lt;/strong&gt;&lt;span style="font-family: Verdana;"&gt;."&lt;/span&gt;&lt;/font&gt;&lt;br /&gt;
&lt;span style="font-size: 8pt; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;I have been read about its on lot forums and new groups. &lt;/span&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Its actually means that Crystal Report print job limit has been reached and you should handle this problem by increasing the job limit in the registry. The basic reason of this problem is Garbag Collector (GC) cannot clear the reference of report document in their collection process its only clear report viewer.&lt;br /&gt;
&lt;/span&gt;&lt;strong style=""&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;font size="1" style="font-family: Verdana;"&gt;HKEY_LOCAL_MACHINE\SOFTWARE\CRYSTAL DECISIONS\10.0\REPORT APPLICATION SERVER\SERVER\PrintJobLimit&lt;/font&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 8pt; line-height: 115%; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;Yesterday we also facing this problem in our application and after lot of discussion in the team we find out a good solution of this problem in the form following factory class because we not facing this problem in whole application.&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;
&lt;table width="636" cellspacing="0" cellpadding="0" border="1" style="border: medium none ; background: rgb(191, 191, 191) none repeat scroll 0%; width: 477pt; margin-left: 5.4pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; border-collapse: collapse;" class="MsoTableGrid"&gt;
    &lt;tbody&gt;
        &lt;tr style=""&gt;
            &lt;td width="636" valign="top" style="border: 1pt solid black; padding: 0in 5.4pt; width: 477pt;"&gt;
            &lt;p style="margin-bottom: 0.0001pt; line-height: normal; color: rgb(0, 0, 255);" class="MsoNormal"&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;using System;&lt;br /&gt;
            using System.Collections;&lt;br /&gt;
            using System.Collections.Generic;&lt;br /&gt;
            using System.Text;&lt;br /&gt;
            using CrystalDecisions;&lt;br /&gt;
            using CrystalDecisions.CrystalReports;&lt;br /&gt;
            using CrystalDecisions.CrystalReports.Engine;&lt;br /&gt;
            &lt;br /&gt;
            namespace Test.Utilities&lt;br /&gt;
            {&lt;br /&gt;
                public class ReportFactory&lt;br /&gt;
                {&lt;br /&gt;
                    protected static Queue reportQueue   = new Queue();&lt;br /&gt;
            &lt;br /&gt;
                    protected static ReportClass   CreateReport(Type reportClass)&lt;br /&gt;
                    {&lt;br /&gt;
                        object   report = Activator.CreateInstance(reportClass);&lt;br /&gt;
                        reportQueue.Enqueue(report);&lt;br /&gt;
                        return   (ReportClass)report;&lt;br /&gt;
                    }&lt;br /&gt;
            &lt;br /&gt;
                    public static ReportClass   GetReport(Type reportClass)&lt;br /&gt;
                    {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
            &lt;p style="margin-bottom: 0.0001pt; line-height: normal;" class="MsoNormal"&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(0, 0, 255);"&gt;&lt;span style=""&gt;            &lt;/span&gt;//75 is   my print job limit.&lt;br /&gt;
                        if   (reportQueue.Count &amp;gt; 75) ((ReportClass)reportQueue.Dequeue()).Dispose();&lt;br /&gt;
                        return CreateReport(reportClass);&lt;br /&gt;
                    }&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;br /&gt;
&lt;span style="font-size: 8pt; line-height: 115%; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;You can use this&lt;/span&gt;&lt;span style="font-size: 11pt; line-height: 115%; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="font-size: 8pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;;"&gt;ReportFactory &lt;/span&gt;&lt;span style="font-size: 8pt; line-height: 115%; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;class for creating ReportClass object and don’t need to call &lt;/span&gt;&lt;span style="font-size: 8pt; line-height: 115%; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;explicitly &lt;/span&gt;&lt;span style="font-size: 8pt; line-height: 115%; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;dispose&lt;/span&gt;&lt;span style="font-size: 11pt; line-height: 115%; font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt; &lt;/span&gt;&lt;span style="font-size: 8pt; line-height: 115%; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;method on the page because &lt;/span&gt;&lt;span style="font-size: 8pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;;"&gt;ReportFactory &lt;/span&gt;&lt;span style="font-size: 8pt; line-height: 115%; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;class will automatically dispose it when count reach to 75.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: 8pt; line-height: 115%; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt; &lt;img src="http://geekswithblogs.net/technetbytes/aggbug/114008.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Saqib Ullah</dc:creator>
            <guid>http://geekswithblogs.net/technetbytes/archive/2007/07/17/114008.aspx</guid>
            <pubDate>Wed, 18 Jul 2007 06:42:39 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/technetbytes/comments/114008.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/technetbytes/archive/2007/07/17/114008.aspx#feedback</comments>
            <slash:comments>75</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/technetbytes/comments/commentRss/114008.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/technetbytes/services/trackbacks/114008.aspx</trackback:ping>
        </item>
        <item>
            <title>BizTalk Rumtime Error "Biztalk Host instance because it is currently running".</title>
            <link>http://geekswithblogs.net/technetbytes/archive/2007/07/11/113882.aspx</link>
            <description>&lt;p style="font-family: Verdana;"&gt;&lt;font size="1"&gt;When I configuring my BizTalk Server 2006 on WinXP Professional I am facing another problem with the following long text.&lt;br /&gt;
&lt;/font&gt;&lt;/p&gt;
&lt;p style="font-family: Verdana; font-weight: bold; color: rgb(255, 0, 0);"&gt;&lt;font size="1"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Exception:&lt;/span&gt;&lt;br /&gt;
You cannot request an Install, delete or change credentials operation on this Biztalk Host instance because it is currently running. You must stop the BizTalk host Instance before trying it again.&lt;/font&gt;&lt;/p&gt;
&lt;img width="646" height="529" src="/images/geekswithblogs_net/technetbytes/BizTalk/btsPrb.JPG" alt="Microsoft BizTalk Server 2006" /&gt;&lt;br /&gt;
&lt;font size="1" style="font-family: Verdana;"&gt;&lt;span style="font-style: italic;"&gt;Fig. 1 BizTalk In-Process Host BizTalkServerApplication Group.&lt;/span&gt;&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;font size="1"&gt;&lt;span style="font-weight: bold; font-family: Verdana;"&gt;Solution:&lt;/span&gt;&lt;/font&gt;&lt;br /&gt;
&lt;font size="1"&gt;&lt;span style="font-family: Verdana;"&gt;One of the simplest solution of this problem is to stop BizTalk Server Application Service from Services Management Console and again apply configuration this time you don't get any exception.&lt;/span&gt;&lt;/font&gt; &lt;img src="http://geekswithblogs.net/technetbytes/aggbug/113882.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Saqib Ullah</dc:creator>
            <guid>http://geekswithblogs.net/technetbytes/archive/2007/07/11/113882.aspx</guid>
            <pubDate>Thu, 12 Jul 2007 09:11:23 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/technetbytes/comments/113882.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/technetbytes/archive/2007/07/11/113882.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/technetbytes/comments/commentRss/113882.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/technetbytes/services/trackbacks/113882.aspx</trackback:ping>
        </item>
        <item>
            <title>Microsoft.BizTalk.Administration.SnapIn.dll.config Error</title>
            <link>http://geekswithblogs.net/technetbytes/archive/2007/07/06/113729.aspx</link>
            <description>&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 8pt; font-family: Verdana;"&gt;Oh my God I am facing another problem in BizTalk Server 2006 when I open BizTalk Server Administrative Tool. I am facing the following error.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="color: red;"&gt;Error:&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: black;"&gt;Root element is missing. (D:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft Corporation\Microsoft BizTalk Server 2006\Microsoft.BizTalk.Administration.SnapIn.dll.config) (System.Configuration)&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style="color: red;"&gt;Reason:&lt;/span&gt;&lt;span style="color: black;"&gt;&lt;br /&gt;
Microsoft.BizTalk.Administration.SnapIn.dll.config is corrupted.&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style="color: red;"&gt;Solution:&lt;br /&gt;
&lt;/span&gt;&lt;span style="color: black;"&gt;Simply delete this file and run BizTalk Server Administrative tool again.&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;font size="1"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span style="font-weight: bold;"&gt;Note:&lt;/span&gt;&lt;br /&gt;
The next time you start the BizTalk Server 2006 Administration tool, the  Administration.Snapin.dll.config file will be auto created for you.&lt;/span&gt;&lt;/font&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;img src="http://geekswithblogs.net/technetbytes/aggbug/113729.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Saqib Ullah</dc:creator>
            <guid>http://geekswithblogs.net/technetbytes/archive/2007/07/06/113729.aspx</guid>
            <pubDate>Fri, 06 Jul 2007 15:22:59 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/technetbytes/comments/113729.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/technetbytes/archive/2007/07/06/113729.aspx#feedback</comments>
            <slash:comments>13</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/technetbytes/comments/commentRss/113729.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/technetbytes/services/trackbacks/113729.aspx</trackback:ping>
        </item>
        <item>
            <title>Call assembly from partial trust code</title>
            <link>http://geekswithblogs.net/technetbytes/archive/2007/04/13/111594.aspx</link>
            <description>&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;In my last blog we saw the Web application trust levels, how we configure trust level from the application. &lt;span style="COLOR: black"&gt;Strong-named assemblies must be stored in the GAC (short of global assembly cache). By default, strong-named assemblies will not grant access to partially trusted code, because of the visibility of strong-named assemblies in the global assembly cache is high&lt;/span&gt;. What going on when partial trusted application call the Full trusted assembly. If the calling assembly marks with the APTCA &lt;strong&gt;(short of &lt;/strong&gt;&lt;strong&gt;&lt;span style="COLOR: black"&gt;AllowPartiallyTrustedCallersAttribute) &lt;/span&gt;&lt;/strong&gt;attribute or calling application trust-level set to &lt;strong&gt;Full Trust &lt;/strong&gt;no security exception will throw. Applying the APTCA attribute on the assembly open the luring attacks. It is the responsibilities of the developer to careful evaluates the code and then apply the attribute. Applying the attribute to an assembly without strong-name has no effect.&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;[assembly: &lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;AssemblyKeyFile&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;("..\\..\\keyPair.snk")] &lt;br /&gt;
[assembly: &lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;AllowPartiallyTrustedCallers&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;]&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt"&gt;Note: &lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 8pt"&gt;Apply the above APTCA attribute on the assembly make it callable from the partial trusted caller. Any assembly with AllowPartiallyTrustedCallersAttribute only callable from the fully trusted application.&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;&lt;font face="Verdana" size="1"&gt;Internal Working&lt;/font&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;Very quick questions that come in our mind what is internally going on when APTCA attribute apply to the&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; fully trusted assembly. APTCA in an attribute that simply tell the CLR to remove the implicit LinkDemand. In CAS demand are use to ensure that every caller of the code has been granted (directly or indirectly). Stack walk plays very important role to identify the demanded permission. .Net runtime security walks the call stack, comparing the granted permission of each caller to the permission being demanded. SecurityException throw when the caller found without demanded permission in the stack walk. A Link Demand causes a security check during just-in-time compilation and checks only the immediate caller of the assembly. Permissions are checked only for the immediate caller of code so that why a complete stack walks is not performed.&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;            When this type of demand is performed your will be open for luring attacks. MSDN example “If a method in assembly A is protected by a link demand, a direct caller in assembly B is evaluated based on the permissions of Assembly B. However, the link demand will not evaluate a method in Assembly C if it indirectly calls the method in Assembly A using the method in Assembly B.” The link demand apply only the permission direct callers in the immediate calling assembly must have to link to your code.&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;When AllowPartiallyTrustedCallerAttribute attribute use on class all security checks function as intended but only block the implicit fully trusted caller demand.&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;u&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;Particle&lt;/font&gt;&lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;Here is a simple C# class with &lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;AssemblyKeyFile&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; attribute (for strong name) in the AssemblyInfo.cs. Still we do not apply &lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;AllowPartiallyTrustedCallers &lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;on the assembly.&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;em&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: red"&gt;&lt;font face="Verdana" size="1"&gt;AssemblyInfo.cs file &lt;/font&gt;&lt;/span&gt;&lt;/em&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;[assembly: &lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;AssemblyKeyFile&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;("..\\..\\keyPair.snk")]&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;em&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: red"&gt;&lt;font face="Verdana" size="1"&gt;TestAPTCA.cs file&lt;/font&gt;&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Collections.Generic;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Text;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;namespace&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; TestAPTCA&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;{&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;    &lt;span style="COLOR: blue"&gt;public&lt;/span&gt; &lt;span style="COLOR: blue"&gt;class&lt;/span&gt; &lt;span style="COLOR: teal"&gt;CallFromWeb&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;    {&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;        &lt;span style="COLOR: blue"&gt;public&lt;/span&gt; &lt;span style="COLOR: blue"&gt;string&lt;/span&gt; Hello(&lt;span style="COLOR: blue"&gt;string&lt;/span&gt; name)&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;        {&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;            &lt;span style="COLOR: blue"&gt;return&lt;/span&gt; &lt;span style="COLOR: maroon"&gt;"Hello "&lt;/span&gt; + name;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;        }&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;    }&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;}&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;Compile the class and place it in GAC by using utility from visual studio .Net command prompt &lt;strong&gt;gacutil&lt;/strong&gt;. &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;e.g. &lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt;gacutil-i "C:\[Projectpath]\assemblyname&lt;span&gt;.dll&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;u&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;Call Assembly for ASP.Net 2.0 web application&lt;/font&gt;&lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;Create simple web application and add reference to the &lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt;TestAPTCA assembly into the project. I use button and label controls on the page and here is Default.aspx class file code is below.&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;em&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: red"&gt;&lt;font face="Verdana" size="1"&gt;Defualt.aspx.cs file&lt;/font&gt;&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Data;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Configuration;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Web;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Web.Security;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Web.UI;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Web.UI.WebControls;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Web.UI.WebControls.WebParts;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Web.UI.HtmlControls;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; TestAPTCA;           &lt;span style="COLOR: #339966"&gt;//Should Add namespace of &lt;em&gt;TestAPTCA.dll&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;public&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; &lt;span style="COLOR: blue"&gt;partial&lt;/span&gt; &lt;span style="COLOR: blue"&gt;class&lt;/span&gt; &lt;span style="COLOR: teal"&gt;_Default&lt;/span&gt; : System.Web.UI.&lt;span style="COLOR: teal"&gt;Page&lt;/span&gt; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;{&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;    &lt;span style="COLOR: blue"&gt;protected&lt;/span&gt; &lt;span style="COLOR: blue"&gt;void&lt;/span&gt; Button1_Click(&lt;span style="COLOR: blue"&gt;object&lt;/span&gt; sender, &lt;span style="COLOR: teal"&gt;EventArgs&lt;/span&gt; e)&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;    {&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: teal"&gt;CallFromWeb&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; myObj = &lt;span style="COLOR: blue"&gt;new&lt;/span&gt; &lt;span style="COLOR: teal"&gt;CallFromWeb&lt;/span&gt;();&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;        Label1.Text = myObj.CallMeFromWeb(&lt;span style="COLOR: maroon"&gt;"Saqib"&lt;/span&gt;);&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;    }&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;}&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;One last important change in the web.config file, add trust level code in the &amp;lt;system.web&amp;gt; element.&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: maroon"&gt;xml&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: red"&gt;version&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;=&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt;"&lt;span style="COLOR: blue"&gt;1.0&lt;/span&gt;"&lt;span style="COLOR: blue"&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;&lt;font face="Verdana" size="1"&gt;&amp;lt;!--&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;&lt;font face="Verdana" size="1"&gt;    Note: As an alternative to hand editing this file you can use the &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;&lt;font face="Verdana" size="1"&gt;    web admin tool to configure settings for your application. Use&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;&lt;font face="Verdana" size="1"&gt;    the Website-&amp;gt;Asp.Net Configuration option in Visual Studio.&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;&lt;font face="Verdana" size="1"&gt;    A full list of settings and comments can be found in &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;&lt;font face="Verdana" size="1"&gt;    machine.config.comments usually located in &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;&lt;font face="Verdana" size="1"&gt;    \Windows\Microsoft.Net\Framework\v2.x\Config &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;&lt;font face="Verdana" size="1"&gt;--&amp;gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: maroon"&gt;configuration&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;            &amp;lt;&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: maroon"&gt;appSettings&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;/&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;            &amp;lt;&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: maroon"&gt;connectionStrings&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;/&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;            &amp;lt;&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: maroon"&gt;system.web&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;                        &amp;lt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: maroon"&gt;trust&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: red"&gt;level&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;=&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt"&gt;"&lt;span style="COLOR: blue"&gt;High&lt;/span&gt;"&lt;span style="COLOR: blue"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;&lt;font face="Verdana" size="1"&gt;                        &amp;lt;!--&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;&lt;font face="Verdana" size="1"&gt;            Set compilation debug="true" to insert debugging &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;&lt;font face="Verdana" size="1"&gt;            symbols into the compiled page. Because this &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;&lt;font face="Verdana" size="1"&gt;            affects performance, set this value to true only &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;&lt;font face="Verdana" size="1"&gt;            during development.&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;             &lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;--&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: 0.5in"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: maroon"&gt;compilation&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: red"&gt;debug&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;=&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt;"&lt;span style="COLOR: blue"&gt;true&lt;/span&gt;"&lt;span style="COLOR: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;&lt;font face="Verdana" size="1"&gt;...&lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;&lt;font face="Verdana" size="1"&gt;When you run the application and click the button you will get the following exception.&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: red"&gt;Exception Details: &lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;System.Security.SecurityException: That assembly does not allow partially trusted callers.&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/strong&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;The solution of this exception is to add &lt;/span&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: #339966"&gt;AllowPartiallyTrustedCallers&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt; attribute that is present in the System.Security namespace into &lt;em&gt;AssemblyInfo.cs&lt;/em&gt; file.&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Reflection;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Runtime.CompilerServices;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Runtime.InteropServices;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;using&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt"&gt; System.Security;&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;[assembly: &lt;span style="COLOR: teal"&gt;ComVisible&lt;/span&gt;(&lt;span style="COLOR: blue"&gt;false&lt;/span&gt;)]&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;&lt;font face="Verdana" size="1"&gt;// The following GUID is for the ID of the typelib if this project is exposed to COM&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;[assembly: &lt;span style="COLOR: teal"&gt;Guid&lt;/span&gt;(&lt;span style="COLOR: maroon"&gt;"feebc2d0-6460-40cd-9894-1843f50aa1b9"&lt;/span&gt;)]&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt"&gt;&lt;font face="Verdana" size="1"&gt;[assembly: &lt;span style="COLOR: teal"&gt;AssemblyKeyFile&lt;/span&gt;(&lt;span style="COLOR: maroon"&gt;"..\\keyPair.snk"&lt;/span&gt;)]&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;[assembly: &lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: green"&gt;AllowPartiallyTrustedCallers&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;]&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;&lt;font face="Verdana" size="1"&gt;...&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana"&gt;&lt;font size="1"&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;Remove trust level code &amp;lt;&lt;/span&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: maroon"&gt;trust&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: red"&gt;level&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: blue"&gt;=&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt"&gt;"&lt;span style="COLOR: blue"&gt;High&lt;/span&gt;"&lt;span style="COLOR: blue"&gt;/&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: black"&gt;&amp;gt; from the web.config file and again run the application and this time application run without error. &lt;img alt="" src="/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/thumbs_up.gif" /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: red"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt"&gt;&lt;font face="Verdana" size="1"&gt; &lt;/font&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/technetbytes/aggbug/111594.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Saqib Ullah</dc:creator>
            <guid>http://geekswithblogs.net/technetbytes/archive/2007/04/13/111594.aspx</guid>
            <pubDate>Sat, 14 Apr 2007 04:01:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/technetbytes/comments/111594.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/technetbytes/archive/2007/04/13/111594.aspx#feedback</comments>
            <slash:comments>5</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/technetbytes/comments/commentRss/111594.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/technetbytes/services/trackbacks/111594.aspx</trackback:ping>
        </item>
        <item>
            <title>System.IO.FileLoadException exception</title>
            <link>http://geekswithblogs.net/technetbytes/archive/2007/04/06/110991.aspx</link>
            <description>&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'"&gt;System.IO.FileLoadException&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt; exception&amp;nbsp;occur because&amp;nbsp;a managed assembly is found but cannot be loaded. FileLoadException thrown when user&amp;nbsp;and&amp;nbsp;assembly does not have necessary permission for the loading of assembly in the managed environment. When .Net running any assembly its first load into the loader and then loader check the permission against the assembly. Loader checks the assembly permission by the help of evidence. Each assembly loaded by the CLR is also assigned to one or more Machine policy level code groups based on the evidence gathered about the assembly. If in the Machine policy level does not have the permission&amp;nbsp;to&amp;nbsp;write on the C:\ drive and assembly is try load the exception FileloadException is occurred.&amp;nbsp;&lt;BR&gt;&lt;BR&gt;Another reason of this exception is when assemblies is marked with the following attributes.&lt;BR&gt;[assembly: &lt;SPAN style="COLOR: #008181"&gt;FileIOPermission&lt;/SPAN&gt;(&lt;SPAN style="COLOR: #008181"&gt;SecurityAction&lt;/SPAN&gt;.RequestMinimum,&amp;nbsp;Write = &lt;SPAN style="COLOR: #810000"&gt;"C:\\"&lt;/SPAN&gt;)] its means that whenever this assembly is load by the CLR loader its first check the FileIOPermission for assembly&amp;nbsp;by applying name &lt;SPAN style="COLOR: darkgreen"&gt;SecurityAction.RequestMinimum&lt;/SPAN&gt;. If Machine policy does not allow the write operation on the C:\ drive and CLR try to load assembly FileLoadException is occurred. RequestMinimum means that CLR first check&amp;nbsp;appropriate permissions option and then load the assembly into the loader.&lt;/SPAN&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt; &lt;img src="http://geekswithblogs.net/technetbytes/aggbug/110991.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Saqib Ullah</dc:creator>
            <guid>http://geekswithblogs.net/technetbytes/archive/2007/04/06/110991.aspx</guid>
            <pubDate>Sat, 07 Apr 2007 04:34:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/technetbytes/comments/110991.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/technetbytes/archive/2007/04/06/110991.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/technetbytes/comments/commentRss/110991.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/technetbytes/services/trackbacks/110991.aspx</trackback:ping>
        </item>
        <item>
            <title>System.ArithmeticException' occurred in system.drawing.dll</title>
            <link>http://geekswithblogs.net/technetbytes/archive/2006/11/18/97499.aspx</link>
            <description>I get this error when i install fresh .net framework 1.1 on my laptop. One surprise problem that i had faced is Exception coming from my System.drawing.dll. Exception is "An unhandled exception of type 'System.ArithmeticException' occurred in system.windows.forms.dll
Additional information: Overflow or underflow in the arithmetic operation." After a lot of hard search and reading lot of blogs and forums i didnt find any good solution of this unusual problem. Even MS Help and support the same problem has been reported for CLR 1.0 not for .net 1.1. 

RESOLUTION
Simplly repair yours .net 1.1 framework from control panel.
 &lt;img src="http://geekswithblogs.net/technetbytes/aggbug/97499.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Saqib Ullah</dc:creator>
            <guid>http://geekswithblogs.net/technetbytes/archive/2006/11/18/97499.aspx</guid>
            <pubDate>Sun, 19 Nov 2006 02:15:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/technetbytes/comments/97499.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/technetbytes/archive/2006/11/18/97499.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/technetbytes/comments/commentRss/97499.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/technetbytes/services/trackbacks/97499.aspx</trackback:ping>
        </item>
    </channel>
</rss>
