<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2599464925013219301</id><updated>2012-01-12T12:39:41.660+06:00</updated><category term='backtrack'/><category term='OWASP'/><category term='WCF'/><category term='Web Goat'/><category term='Cheat Sheet'/><category term='Penetration test'/><category term='Tools'/><category term='Flex'/><category term='acer aspire one 751h'/><category term='Bookmark'/><category term='Error'/><category term='metasploit'/><category term='JavaScript'/><category term='WPF'/><category term='ASP.NET'/><title type='text'>Nahid's Blog</title><subtitle type='html'>Writing code for fun and food.Research on security for my soul.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>46</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-6231846661598177062</id><published>2011-09-30T21:50:00.001+06:00</published><updated>2011-10-01T14:48:01.728+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='OWASP'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Goat'/><category scheme='http://www.blogger.com/atom/ns#' term='Penetration test'/><title type='text'>OWASP’s herd of goat</title><content type='html'>&lt;p&gt;Sorry for weird funny title. Every security folks know about OWASP &lt;a href="https://www.owasp.org/index.php/Category:OWASP_WebGoat_Project" target="_blank"&gt;Web goat&lt;/a&gt; project, one most successful project of OWASP.&lt;/p&gt; &lt;p&gt;&lt;b&gt;WebGoat&lt;/b&gt; is a deliberately insecure J2EE web application maintained by &lt;a href="http://www.owasp.org"&gt;OWASP&lt;/a&gt; designed to teach web application security lessons. In each lesson, users must demonstrate their understanding of a security issue by exploiting a real vulnerability in the WebGoat application. &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-p0FUBzXFzgE/ToXk5uqNtLI/AAAAAAAACIw/ZdvcyJzFMqI/s1600-h/image%25255B10%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-Ihwmu61Jurs/ToXlDI86UHI/AAAAAAAACI0/oQIc8lUiocM/image_thumb%25255B6%25255D.png?imgmax=800" width="564" height="492"&gt;&lt;/a&gt;&amp;nbsp; &lt;/p&gt; &lt;p&gt;Just copy following quote from OWASP wiki why the name is WebGoat.&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;Why the name "WebGoat"? Developers should not feel bad about not knowing security. Even the best programmers make security errors. What they need is a scapegoat, right? &lt;i&gt;Just blame it on the 'Goat&lt;/i&gt;! &lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;But there are also other OWASP goat(s) project available less people know about them.&lt;/p&gt; &lt;p&gt;&lt;u&gt;OWASP .NET Goat&lt;/u&gt;&lt;/p&gt; &lt;p&gt;One of them is OWASP .NET Goat. Will be found is &lt;a href="http://owasp.codeplex.com/" target="_blank"&gt;Codeplex&lt;/a&gt;.OWASP .NET Goat is a webgoat style security learning application written in C#.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh6.ggpht.com/--CP5TKgrurY/ToXlI2QldOI/AAAAAAAACI4/sumUa1W_ChM/s1600-h/image%25255B11%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-Y7JtQLKDT80/ToXlQMtAcbI/AAAAAAAACI8/GoGZ8vdQ_Ek/image_thumb%25255B7%25255D.png?imgmax=800" width="564" height="816"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;And another Goat join recently is &lt;a href="https://www.owasp.org/index.php/Projects/OWASP_GoatDroid_Project" target="_blank"&gt;GoatDroid&lt;/a&gt;. owasp-goatdroid is also open source goat found in &lt;a href="http://code.google.com/p/owasp-goatdroid/" target="_blank"&gt;here&lt;/a&gt; is a a fully functional training environment for exploring Android mobile application security.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-9-gfvXmGE3g/ToXlTQMGNUI/AAAAAAAACJA/nyJQbueYVXA/s1600-h/image%25255B14%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-3Jb_KICeX8M/ToXlVEf0YAI/AAAAAAAACJE/Yf3CKVQDGJg/image_thumb%25255B8%25255D.png?imgmax=800" width="244" height="231"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Well what about iPhone, Yes OWASP &lt;a href="http://code.google.com/p/owasp-igoat/" target="_blank"&gt;owasp-igoat&lt;/a&gt; is for apple iPhone.This OWASP iGoat project is a security learning tool for iOS developers to learn about security weaknesses in iOS -- by breaking things as well as fixing them. &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-DniZmPrw2V0/TobTryHZB8I/AAAAAAAACJI/SkTpFyBB6VY/s1600-h/image%25255B4%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-UYkjoWht0YE/TobTvKHIiVI/AAAAAAAACJM/t_z6GRdLS2E/image_thumb%25255B1%25255D.png?imgmax=800" width="119" height="129"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;OWASP-iGoat project &lt;a href="https://www.owasp.org/index.php/OWASP_iGoat_Project" target="_blank"&gt;home&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Happy learning… if anyone know other goat please write on comment.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-6231846661598177062?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/6231846661598177062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=6231846661598177062' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/6231846661598177062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/6231846661598177062'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2011/09/owasps-herd-of-goat.html' title='OWASP’s herd of goat'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/-Ihwmu61Jurs/ToXlDI86UHI/AAAAAAAACI0/oQIc8lUiocM/s72-c/image_thumb%25255B6%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-7913448158653077803</id><published>2011-09-27T21:58:00.001+06:00</published><updated>2011-09-27T22:05:20.397+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='OWASP'/><title type='text'>Web Application Analysis With Owasp Hatkit</title><content type='html'>&lt;p&gt;Yet another proxy to analyses web application. We already have WebScarab,burp,paros,ratproxy,OWASP zap proxy,fiddler so many now another one&amp;nbsp; OWASP Hatkit which is released in defcon 19. The main feature that may capture your attention is it has a database to store all recoded data that’s helps further analysis. Hatkit use MongoDB where parse data store in as JSON document. So you can use MongoDB advanced querying facilities and even can use other tools to view and analyze data.&lt;/p&gt; &lt;p&gt;Now how do you configure it in your favorite backtrack, I’m try it in backtrack5r1. First you need to install MongoDB . if you install synaptic you should found MongoDB by search in default repo. obviously there should other way to do it but I’m take simplex options. &lt;/p&gt; &lt;p&gt;Or just $sudo apt-get install mongodb&lt;/p&gt; &lt;p&gt;Next download Hatkit it self from from &lt;a href="https://bitbucket.org/holiman/hatkit-datafiddler/downloads" target="_blank"&gt;here&lt;/a&gt;. direct link &lt;a href="https://bitbucket.org/holiman/hatkit-proxy/downloads/hatkit_proxy-0.6.1.zip" target="_blank"&gt;hatkit_proxy-0.6.1.zip&lt;/a&gt; &lt;/p&gt; &lt;p&gt;just extract it in /opt &lt;br&gt;#ls&lt;br&gt;#hatkit_proxy.jar&amp;nbsp; hatkit_proxy.sh&amp;nbsp; lib&amp;nbsp; LICENSE.txt&amp;nbsp; processors&amp;nbsp; README&lt;br&gt;#java -jar hatkit_proxy.jar&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-Te9Vx6CJWnw/ToHyWDc1bhI/AAAAAAAACIY/hu2y3VHXxPw/s1600-h/image9.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-4JtPnghrLoQ/ToHyasRP7EI/AAAAAAAACIc/HAuU1VBmRt8/image_thumb5.png?imgmax=800" width="356" height="502"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;hatkit has web scrapper converter you need to locate its install path &lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-5zmZ1-j2hNM/ToHycaLVV1I/AAAAAAAACIg/0zMXLAcNVBs/s1600-h/image4.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-HE0dGp1m3-c/ToHyfmSIAkI/AAAAAAAACIk/Zfec9a7BDPk/image_thumb2.png?imgmax=800" width="358" height="512"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Well so to analyze data there is another project available Owasp Hatkit Datafiddler project. So with help of this is a tool basically you do performing data analysis of data in a MongoDB, particularly Http traffic.&lt;/p&gt; &lt;p&gt;This tool can be download from &lt;a href="https://bitbucket.org/holiman/hatkit-datafiddler/downloads" target="_blank"&gt;here&lt;/a&gt;, Direct link &lt;a href="https://bitbucket.org/holiman/hatkit-datafiddler/downloads/hatkit_datafiddler-0.6.0.zip" target="_blank"&gt;hatkit_datafiddler-0.6.0.zip&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;$ unzip hatkit_datafiddler-0.6.0.zip &lt;br&gt;$ cd hatkit_datafiddler-0.6.0/&lt;br&gt;$ python datafiddler.py&lt;/p&gt; &lt;p&gt;you may got dependency error of python mongoDB if you are not install it before&lt;/p&gt;&lt;pre&gt;pymongo : Python drivers for MongoDB&lt;/pre&gt;there are different way of installing pymongo but I did install it from source.Installing pymongo python driver for mongodb from source is easy &lt;pre&gt;git clone &lt;a href="https://github.com/mongodb/mongo-python-driver.git"&gt;https://github.com/mongodb/mongo-python-driver.git&lt;/a&gt;&lt;/pre&gt;&lt;pre&gt;python setup.py install&lt;/pre&gt;&lt;pre&gt;$ python datafiddler.py&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lh6.ggpht.com/-sukWsvhCg6A/ToHyhUHPjeI/AAAAAAAACIo/JLlt_KQPC9Q/s1600-h/image%25255B4%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-428ElGL-wNk/ToHyj8Zbi3I/AAAAAAAACIs/Petl0X1sKn4/image_thumb%25255B1%25255D.png?imgmax=800" width="354" height="431"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;My first look feeling is still this tool need some UI improvement and need to a bit user friendly. I will try to update this post after more work with this tool. And hope this tool will keep updated.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;More info: defcon conference slide &lt;a href="https://www.defcon.org/images/defcon-19/dc-19-presentations/Swende-Karlsson/DEFCON-19-Swende-Karlsson-Owasp-Hatkit.pdf" target="_blank"&gt;here&lt;/a&gt;. OWASP project home &lt;a href="https://www.owasp.org/index.php/OWASP_Hatkit_Proxy_Project" target="_blank"&gt;here&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-7913448158653077803?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/7913448158653077803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=7913448158653077803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7913448158653077803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7913448158653077803'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2011/09/web-application-analysis-with-owasp.html' title='Web Application Analysis With Owasp Hatkit'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/-4JtPnghrLoQ/ToHyasRP7EI/AAAAAAAACIc/HAuU1VBmRt8/s72-c/image_thumb5.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-5644340406047266280</id><published>2011-09-09T12:30:00.001+06:00</published><updated>2011-09-09T12:30:58.482+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><title type='text'>registrydecoder</title><content type='html'>&lt;p&gt;Registry Decoder provides a single tool in which to perform browsing, searching, analysis, and reporting of registry hive contents. All functionality is exposed through an intuitive GUI interface and accommodates even novice investigators. &lt;/p&gt; &lt;p&gt;Download &lt;a title="http://code.google.com/p/registrydecoder/downloads/list" href="http://code.google.com/p/registrydecoder/downloads/list"&gt;http://code.google.com/p/registrydecoder/downloads/list&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-5644340406047266280?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/5644340406047266280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=5644340406047266280' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5644340406047266280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5644340406047266280'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2011/09/registrydecoder.html' title='registrydecoder'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-3513850274452554149</id><published>2011-09-09T12:27:00.001+06:00</published><updated>2011-09-09T12:27:17.759+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><title type='text'>SWFREtools</title><content type='html'>&lt;p&gt;The SWFRETools are a collection of tools built for vulnerability analysis of the Adobe Flash player and for malware analysis of malicious SWF files.&lt;/p&gt; &lt;p&gt;Current version is SWFRETools v1.4.0&lt;/p&gt; &lt;p&gt;Download&amp;nbsp; &lt;a title="https://github.com/sporst/SWFREtools/downloads" href="https://github.com/sporst/SWFREtools/downloads"&gt;https://github.com/sporst/SWFREtools/downloads&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-3513850274452554149?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/3513850274452554149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=3513850274452554149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/3513850274452554149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/3513850274452554149'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2011/09/swfretools.html' title='SWFREtools'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-696293316089590042</id><published>2011-09-09T11:51:00.001+06:00</published><updated>2011-09-09T11:51:29.311+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Penetration test'/><category scheme='http://www.blogger.com/atom/ns#' term='Bookmark'/><category scheme='http://www.blogger.com/atom/ns#' term='Cheat Sheet'/><title type='text'>Pentest cheat sheet bookmark</title><content type='html'>&lt;ul&gt; &lt;li&gt;&lt;a href="http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed:+pentestmonkey+%28pentestmonkey.net+RSS+Feed%29"&gt;Reverse Shell Cheat Sheet&lt;/a&gt;  &lt;li&gt;Namp cheat sheet  &lt;ul&gt; &lt;li&gt;&lt;a title="http://nmapcookbook.blogspot.com/2010/02/nmap-cheat-sheet.html" href="http://nmapcookbook.blogspot.com/2010/02/nmap-cheat-sheet.html"&gt;http://nmapcookbook.blogspot.com/2010/02/nmap-cheat-sheet.html&lt;/a&gt;  &lt;li&gt;&lt;a title="http://sbdtools.googlecode.com/files/Nmap5%20cheatsheet%20eng%20v1.pdf" href="http://sbdtools.googlecode.com/files/Nmap5%20cheatsheet%20eng%20v1.pdf"&gt;http://sbdtools.googlecode.com/files/Nmap5%20cheatsheet%20eng%20v1.pdf&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Nessus cheat sheet  &lt;ul&gt; &lt;li&gt;&lt;a title="http://www.infosecwriters.com/text_resources/pdf/nessusNMAPcheatSheet.pdf" href="http://www.infosecwriters.com/text_resources/pdf/nessusNMAPcheatSheet.pdf"&gt;http://www.infosecwriters.com/text_resources/pdf/nessusNMAPcheatSheet.pdf&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Backtrack  &lt;ul&gt; &lt;li&gt;&lt;a title="http://www.corelan.be/index.php/2009/07/04/backtrack-4-cheat-sheet/" href="http://www.corelan.be/index.php/2009/07/04/backtrack-4-cheat-sheet/"&gt;http://www.corelan.be/index.php/2009/07/04/backtrack-4-cheat-sheet/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Oracle Security  &lt;ul&gt; &lt;li&gt;&lt;a href="http://www.red-database-security.com/wp/oracle_cheat.pdf"&gt;http://www.red-database-security.com/wp/oracle_cheat.pdf&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;XSS  &lt;ul&gt; &lt;li&gt;&lt;a href="http://ha.ckers.org/xss.html"&gt;http://ha.ckers.org/xss.html&lt;/a&gt;  &lt;li&gt;&lt;a href="http://openmya.hacker.jp/hasegawa/security/utf7cs.html"&gt;http://openmya.hacker.jp/hasegawa/security/utf7cs.html&lt;/a&gt;  &lt;li&gt;&lt;a href="http://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet"&gt;http://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;SSH cheat shhet  &lt;ul&gt; &lt;li&gt;&lt;a title="http://pentestmonkey.net/cheat-sheet/ssh-cheat-sheet" href="http://pentestmonkey.net/cheat-sheet/ssh-cheat-sheet"&gt;http://pentestmonkey.net/cheat-sheet/ssh-cheat-sheet&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;SQl Injection  &lt;ul&gt; &lt;li&gt;&lt;a href="http://ha.ckers.org/sqlinjection/"&gt;http://ha.ckers.org/sqlinjection/&lt;/a&gt;  &lt;li&gt;&lt;a href="http://ferruh.mavituna.com/sql-injection-cheatsheet-oku/"&gt;http://ferruh.mavituna.com/sql-injection-cheatsheet-oku/&lt;/a&gt;  &lt;li&gt;&lt;a href="http://ferruh.mavituna.com/oracle-sql-injection-cheat-sheet-oku/"&gt;http://ferruh.mavituna.com/oracle-sql-injection-cheat-sheet-oku/&lt;/a&gt;  &lt;li&gt;&lt;a href="http://www.irongeek.com/xss-sql-injection-fuzzing-barcode-generator.php"&gt;http://www.irongeek.com/xss-sql-injection-fuzzing-barcode-generator.php&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Unix cheat sheet  &lt;ul&gt; &lt;li&gt;&lt;a title="http://bhami.com/rosetta.html" href="http://bhami.com/rosetta.html"&gt;http://bhami.com/rosetta.html&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Microsoft SQL,Sybase,MySQL,Oracle,PostgreSQL,DB2,IngresBypass SQL Injection Filters  &lt;ul&gt; &lt;li&gt;&lt;a href="http://michaeldaw.org/sql-injection-cheat-sheet"&gt;http://michaeldaw.org/sql-injection-cheat-sheet&lt;/a&gt;  &lt;li&gt;&lt;a href="http://pentestmonkey.net/cheat-sheets/"&gt;http://pentestmonkey.net/cheat-sheets/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Packetlife Cheatsheets  &lt;ul&gt; &lt;li&gt;&lt;a href="http://packetlife.net/cheatsheets/"&gt;http://packetlife.net/cheatsheets/&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Windows command line tools  &lt;ul&gt; &lt;li&gt;&lt;a href="http://www.sans.org/resources/sec560/windows_command_line_sheet_v1.pdf"&gt;http://www.sans.org/resources/sec560/windows_command_line_sheet_v1.pdf&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Netcat Cheat Sheet  &lt;ul&gt; &lt;li&gt;&lt;a href="http://www.sans.org/resources/sec560/netcat_cheat_sheet_v1.pdf"&gt;http://www.sans.org/resources/sec560/netcat_cheat_sheet_v1.pdf&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Useful Attack Tools, Metasploit commands, HPing, FGDump  &lt;ul&gt; &lt;li&gt;&lt;a href="http://www.sans.org/resources/sec560/misc_tools_sheet_v1.pdf"&gt;http://www.sans.org/resources/sec560/misc_tools_sheet_v1.pdf&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Reverse Engineering Malware Cheat Sheet  &lt;ul&gt; &lt;li&gt;&lt;a href="http://zeltser.com/reverse-malware/reverse-malware-cheat-sheet.html"&gt;http://zeltser.com/reverse-malware/reverse-malware-cheat-sheet.html&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Original sources and other sources&lt;/strong&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a title="http://www.cheat-sheets.org/" href="http://www.cheat-sheets.org/"&gt;http://www.cheat-sheets.org/&lt;/a&gt;  &lt;li&gt;&lt;a title="http://media.packetlife.net/media/library/Cheat%20Sheets%20-%20Packet%20Life.zip" href="http://media.packetlife.net/media/library/Cheat%20Sheets%20-%20Packet%20Life.zip"&gt;http://media.packetlife.net/media/library/Cheat%20Sheets%20-%20Packet%20Life.zip&lt;/a&gt;  &lt;li&gt;&lt;a title="http://h.ackack.net/cheatsheets/netcat" href="http://h.ackack.net/cheatsheets/netcat"&gt;http://h.ackack.net/cheatsheets/netcat&lt;/a&gt;  &lt;li&gt;&lt;a title="http://punter-infosec.com/cheat-sheets-for-pentesters" href="http://punter-infosec.com/cheat-sheets-for-pentesters"&gt;http://punter-infosec.com/cheat-sheets-for-pentesters&lt;/a&gt;  &lt;li&gt;&lt;a title="http://code.google.com/p/pentest-bookmarks/wiki/BookmarksList" href="http://code.google.com/p/pentest-bookmarks/wiki/BookmarksList"&gt;http://code.google.com/p/pentest-bookmarks/wiki/BookmarksList&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-696293316089590042?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/696293316089590042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=696293316089590042' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/696293316089590042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/696293316089590042'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2011/09/pentest-cheat-sheet-bookmark.html' title='Pentest cheat sheet bookmark'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-7142691985340119829</id><published>2011-09-09T10:58:00.001+06:00</published><updated>2011-09-09T10:58:28.586+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Bookmark'/><title type='text'>Bookmarked RSS items- until 8/9/2011</title><content type='html'>&lt;p&gt;Last few month RSS bookmark&amp;nbsp; before forget forever- its for me but somebody else may find some thing interesting also.&lt;/p&gt; &lt;blockquote&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;a href="http://isc.sans.edu/diary.html?storyid=11383&amp;amp;rss"&gt;&lt;strong&gt;&lt;font color="#000000"&gt;Vulnerabilities&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt; &lt;h4&gt;&lt;/h4&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://isc.sans.edu/diary.html?storyid=11383&amp;amp;rss"&gt;Firefox 3.6.20 Corrects Several Critical Vulnerabilities, (Tue, Aug 16th)&lt;/a&gt; via &lt;a href="http://isc.sans.edu"&gt;SANS Internet Storm Center, InfoCON: green&lt;/a&gt; on 8/16/11  &lt;li&gt;&lt;a href="http://seclists.org/fulldisclosure/2011/Aug/73"&gt;ZDI-11-251: Apple QuickTime STSS atom Parsing Remote Code Execution Vulnerability&lt;/a&gt; via &lt;a href="http://seclists.org/#fulldisclosure"&gt;Full Disclosure&lt;/a&gt; on 8/9/11  &lt;li&gt;&lt;a href="http://seclists.org/fulldisclosure/2011/Aug/158"&gt;Skype (&amp;lt;= 5.5.0.113, Windows) html/js code injection vulnerability&lt;/a&gt; via &lt;a href="http://seclists.org/#fulldisclosure"&gt;Full Disclosure&lt;/a&gt; on 8/17/11  &lt;li&gt;&lt;a href="http://feedproxy.google.com/%7Er/ComputerInformationSecurityBlog/%7E3/XYbur3mBxZM/dropbox-for-android-vulnerability.html"&gt;Dropbox for Android Vulnerability Breakdown&lt;/a&gt; via &lt;a href="http://r00tsec.blogspot.com/"&gt;Computer Security Blog | Learning The Offensive Security&lt;/a&gt; by noreply@blogger.com (Medt) on 8/19/11  &lt;li&gt;&lt;a href="http://feedproxy.google.com/%7Er/nakedsecurity/%7E3/l1r9ebCUA-w/"&gt;Apache exploit leaves up to 65% of all websites vulnerable&lt;/a&gt; via &lt;a href="http://nakedsecurity.sophos.com"&gt;Naked Security - Sophos&lt;/a&gt; by Mark Stockley on 8/26/11&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Learn,see, check, think and forgot&lt;/strong&gt;&lt;/p&gt; &lt;h4&gt;&lt;/h4&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://www.labnol.org/software/add-speech-recognition-to-website/19989/"&gt;How to Add Speech Recognition to your Website&lt;/a&gt; via &lt;a href="http://www.labnol.org"&gt;Digital Inspiration Technology Blog&lt;/a&gt; by Amit on 8/16/11  &lt;li&gt;&lt;a href="http://feedproxy.google.com/%7Er/aldeidnews/%7E3/1cxK5YmDhSo/An-interesting-forensics-analysis"&gt;An-interesting-forensics-analysis&lt;/a&gt; via &lt;a href="http://www.aldeid.com"&gt;Aldeid News&lt;/a&gt; on 8/9/11  &lt;li&gt;&lt;a href="http://feeds.gawker.com/%7Er/lifehacker/full/%7E3/DHbfPIgOSkU/sneak-in-these-simple-exercises-at-the-office-to-stay-healthy"&gt;Sneak in These Simple Exercises at the Office to Stay Healthy [Health]&lt;/a&gt; via &lt;a href="http://lifehacker.com"&gt;Lifehacker&lt;/a&gt; by Melanie Pinola on 8/25/11  &lt;li&gt;&lt;a href="http://www.terminal23.net/2011/08/aaron_barr_defcon_and_anonymit.html"&gt;aaron barr, defcon, and anonymity&lt;/a&gt; via &lt;a href="http://www.terminal23.net/"&gt;terminal23&lt;/a&gt; by michael on 9/7/11  &lt;li&gt;&lt;a href="http://www.malwarecity.com/blog/3-reasons-why-computer-security-fails-1122.html"&gt;3 Reasons Why Computer Security Fails&lt;/a&gt; via &lt;a href="http://www.malwarecity.com"&gt;MalwareCity Blog&lt;/a&gt; by WebMaster (news@malwarecity.com) on 8/26/11  &lt;li&gt;&lt;a href="http://feeds.gawker.com/%7Er/lifehacker/full/%7E3/T1W31T4RoXg/how-can-i-make-the-windows-command-prompt-better"&gt;How Can I Make the Windows Command Prompt Better? [Ask Lifehacker]&lt;/a&gt; via &lt;a href="http://lifehacker.com"&gt;Lifehacker&lt;/a&gt; by Whitson Gordon on 8/26/11  &lt;li&gt;&lt;a href="http://blog.ncircle.com/blogs/High-Performance-Security/2011/09/when_is_offense_the_best_defen_1.html"&gt;When is Offense the Best Defense?&lt;/a&gt; via &lt;a href="http://blog.ncircle.com/"&gt;360 Security&lt;/a&gt; by John Alexander on 9/7/11  &lt;h4&gt;&amp;nbsp;&lt;/h4&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Book review&lt;/strong&gt;&lt;/p&gt; &lt;h4&gt;&lt;/h4&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://www.hexblog.com/?p=363"&gt;Book review: IDA Pro Book, 2nd Edition&lt;/a&gt; via &lt;a href="http://www.hexblog.com"&gt;Hex Blog&lt;/a&gt; by Elias Bachaalany on 8/3/11  &lt;li&gt;&lt;a href="http://xorl.wordpress.com/2011/08/28/book-puzzles-for-programmers-and-pros/"&gt;Book: Puzzles for Programmers and Pros&lt;/a&gt; via &lt;a href="http://xorl.wordpress.com"&gt;xorl %eax, %eax&lt;/a&gt; by xorl on 8/27/11&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Discover&lt;/strong&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://blogs.technet.com/b/mmpc/archive/2011/08/10/can-we-believe-our-eyes.aspx"&gt;Can we believe our eyes?&lt;/a&gt; by msft-mmpc on 8/10/11 This is about how a Trojan that hijack the hosts by modify hosts file with some Unicode technique .&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Tools&lt;/strong&gt;&lt;/p&gt; &lt;h4&gt;&lt;/h4&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://feedproxy.google.com/%7Er/security-shell/%7E3/7amg0gyw5GA/ldap-xpath-injection-tools.html"&gt;LDAP &amp;amp; XPATH Injection tools&lt;/a&gt; via &lt;a href="http://security-sh3ll.blogspot.com/"&gt;Security-Shell&lt;/a&gt; by noreply@blogger.com (d3v1l) on 8/16/11  &lt;li&gt;&lt;a href="http://blog.tenablesecurity.com/2011/08/integrating-nessus-with-backtrack-5s-tools.html"&gt;Integrating Nessus with BackTrack 5's Tools&lt;/a&gt; via &lt;a href="http://blog.tenablesecurity.com/"&gt;Tenable Network Security&lt;/a&gt; by Paul Asadoorian on 8/3/11  &lt;li&gt;&lt;a href="http://feedproxy.google.com/%7Er/ehacking/%7E3/ONEk4z0uv7k/advance-sql-injection-tool-havij.html"&gt;Advance SQL Injection Tool – Havij&lt;/a&gt; via &lt;a href="http://www.ehacking.net/"&gt;Ethical Hacking-Your Way To The World Of IT Security&lt;/a&gt; by noreply@blogger.com (Ethical Hacking) on 8/9/11  &lt;li&gt;&lt;a href="http://feedproxy.google.com/%7Er/security-shell/%7E3/h9QiwgUSMJs/updates-procdump-v40-process-monitor.html"&gt;Updates: ProcDump v4.0, Process Monitor v2.96, Process Explorer v15.02,and Zero Day Malware Cleaning&lt;/a&gt; via &lt;a href="http://security-sh3ll.blogspot.com/"&gt;Security-Shell&lt;/a&gt; by noreply@blogger.com (d3v1l) on 8/16/11  &lt;li&gt;&lt;a href="http://www.hackpconline.com/2011/07/detect-hidden-trojans-on-your-computer.html"&gt;Detect Hidden Trojans on Your Computer&lt;/a&gt; via &lt;a href="http://www.hackpconline.com/"&gt;Computer Hacking | Learn How To Hack&lt;/a&gt; by noreply@blogger.com (Aleksandar) on 7/20/11&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Trips and trick &lt;/strong&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;p&gt;&lt;a href="http://johnpapa.net/5-easy-tips-to-reduce-and-refactor-your-code-with-resharper"&gt;5 Easy Tips to Reduce and Refactor Your Code with Resharper&lt;/a&gt; by JohnPapa.net on 10/2/10 – People who can’t write code without Reshaper&amp;nbsp; should know this tips before.&lt;/p&gt; &lt;li&gt; &lt;h4&gt;&lt;/h4&gt; &lt;p&gt;&lt;a href="http://feedproxy.google.com/%7Er/ehacking/%7E3/D9FUV8fzPYU/seo-poisoning-attack-what-and-how.html"&gt;SEO Poisoning Attack - What and How&lt;/a&gt; via &lt;a href="http://www.ehacking.net/"&gt;Ethical Hacking-Your Way To The World Of IT Security&lt;/a&gt; by noreply@blogger.com (Ethical Hacking) on 8/10/11&lt;/p&gt; &lt;li&gt; &lt;h4&gt;&lt;/h4&gt; &lt;p&gt;&lt;a href="http://feedproxy.google.com/%7Er/OmarAlZabirBlog/%7E3/Mt3Hgf39PZ4/"&gt;Tweaking WCF to build highly scalable async REST API&lt;/a&gt; via &lt;a href="http://omaralzabir.com"&gt;Omar AL Zabir on things you don't find easily&lt;/a&gt; by Omar AL Zabir on 7/31/11&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;News&lt;/strong&gt;&lt;/p&gt; &lt;h4&gt;&lt;/h4&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://www.suck-o.com/index.php/the-news/216-windows-8-is-on-the-way-and"&gt;Windows 8 is on the way and...&lt;/a&gt; via &lt;a href="http://www.suck-o.com/"&gt;suck-o.com RSS news feed&lt;/a&gt; by bad_brain@suck-o.com (floodhound2) on 8/16/11  &lt;li&gt;&lt;a href="http://www.backtrack-linux.org/backtrack/backtrack-5-r1-released/"&gt;BackTrack 5 R1 released&lt;/a&gt; via &lt;a href="http://www.backtrack-linux.org"&gt;BackTrack Linux - Penetration Testing Distribution&lt;/a&gt; by admin on 8/18/11  &lt;li&gt;&lt;a href="http://feedproxy.google.com/%7Er/MichaelCoates/security/%7E3/oVde9FVrrcA/joining-owasp-board.html"&gt;Joining OWASP Board&lt;/a&gt; via &lt;a href="http://michael-coates.blogspot.com/"&gt;...Application Security...&lt;/a&gt; by Michael Coates on 8/18/11  &lt;li&gt;&lt;a href="http://owasp.blogspot.com/2011/07/appsec-asia-2011.html"&gt;AppSec Asia 2011&lt;/a&gt; via &lt;a href="http://owasp.blogspot.com/"&gt;Open Web Application Security Project&lt;/a&gt; by Jim Manico on 7/20/11  &lt;li&gt;&lt;a href="http://feedproxy.google.com/%7Er/Liquidmatrix/%7E3/2QvT975Rezk/"&gt;Cyberdouchery of Kasperskian Proportions&lt;/a&gt; via &lt;a href="http://www.liquidmatrix.org/blog"&gt;Liquidmatrix Security Digest&lt;/a&gt; by James Arlen on 7/21/11  &lt;li&gt;&lt;a href="http://feedproxy.google.com/%7Er/nakedsecurity/%7E3/CPcBsN-BK7Y/"&gt;Falsely issued Google SSL certificate in the wild for more than 5 weeks&lt;/a&gt; via &lt;a href="http://nakedsecurity.sophos.com"&gt;Naked Security - Sophos&lt;/a&gt; by Chester Wisniewski on 8/29/11&lt;/li&gt;&lt;/ul&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-7142691985340119829?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/7142691985340119829/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=7142691985340119829' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7142691985340119829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7142691985340119829'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2011/09/bookmarked-rss-items-until-892011.html' title='Bookmarked RSS items- until 8/9/2011'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-5921076186814521738</id><published>2011-08-29T13:04:00.001+06:00</published><updated>2011-08-29T13:37:31.023+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error'/><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Penetration test'/><category scheme='http://www.blogger.com/atom/ns#' term='backtrack'/><title type='text'>Running dradis server in any port and ip address on backtrack 5</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;By default dradis server run on localhost. To run it in any interface following helps available in &lt;a title="http://dradisframework.org/FAQ.html#q4" href="http://dradisframework.org/FAQ.html#q4"&gt;http://dradisframework.org/FAQ.html#q4&lt;/a&gt;. But its not works for me.&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;By default the server starts in 127.0.0.1:3004. How can I make it listen on a different interface/port number?&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Port&lt;/strong&gt; number can be changed using the &lt;strong&gt;-p&lt;/strong&gt; parameter. For instance to listen on port 80: &lt;p&gt;rails server -p 80 &lt;/p&gt; &lt;p&gt;The &lt;strong&gt;interface&lt;/strong&gt; can be changed using the &lt;strong&gt;-b&lt;/strong&gt; parameter. To listen on ALL (dangerous!) interfaces do: &lt;p&gt;rails server -b 0.0.0.0 &lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;I’m try couple of way and can’t make it work. get following error &lt;/p&gt; &lt;p&gt;ruby ./script/rails server -b 0.0.0.0 -p 3004&lt;br&gt;./script/rails:5:in `require': no such file to load -- rails/commands/server (LoadError)&lt;br&gt;from ./script/rails:5:in `&amp;lt;main&amp;gt;'&lt;/p&gt; &lt;p&gt;After a long time search internet i found a fix.I’m try &lt;/p&gt; &lt;p&gt;&lt;code&gt;$./start.sh –h &lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;font face="Arial"&gt;But its not work, then a fixed has been found &lt;a href="http://j.mp/mXCID3"&gt;there&lt;/a&gt; git hut source.&lt;/font&gt;&lt;/code&gt;&lt;code&gt;&lt;font face="Arial"&gt;You just need to modify &lt;/font&gt;&lt;/code&gt;&lt;code&gt;&lt;font face="Arial"&gt;start.sh following way&lt;/font&gt;&lt;/code&gt;&lt;/p&gt; &lt;p&gt;&lt;code&gt;&lt;/code&gt;-bundle exec rails server webrick&lt;/p&gt; &lt;p&gt;+bundle exec rails server webrick $*&lt;/p&gt; &lt;p&gt;After that you have &lt;code&gt;$./start.sh –h cool help.&lt;/code&gt; &lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;font face="Arial"&gt;Just type&lt;/font&gt; ./start.sh –b &amp;lt;ip&amp;gt; &lt;img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://lh6.ggpht.com/-2p6Vzf9dQn4/TltBudlt4wI/AAAAAAAACIM/1HO0gfe9aTo/wlEmoticon-smile%25255B2%25255D.png?imgmax=800"&gt; &lt;font face="Arial"&gt;will work.&lt;/font&gt; &lt;/code&gt;&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&lt;font face="Arial"&gt;Hope this save some one time.&lt;/font&gt;&lt;/code&gt;&lt;/pre&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-5921076186814521738?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/5921076186814521738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=5921076186814521738' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5921076186814521738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5921076186814521738'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2011/08/running-dradis-server-in-different-port.html' title='Running dradis server in any port and ip address on backtrack 5'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/-2p6Vzf9dQn4/TltBudlt4wI/AAAAAAAACIM/1HO0gfe9aTo/s72-c/wlEmoticon-smile%25255B2%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-1385340127899004</id><published>2011-08-24T20:07:00.001+06:00</published><updated>2011-08-24T20:16:55.346+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Error'/><category scheme='http://www.blogger.com/atom/ns#' term='Tools'/><category scheme='http://www.blogger.com/atom/ns#' term='Penetration test'/><category scheme='http://www.blogger.com/atom/ns#' term='backtrack'/><title type='text'>Dradis Server in backtrack 5</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Dradis is an open source framework that basically design for information sharing when a group of people do vulnerability assessment in a team. &lt;/p&gt; &lt;p&gt;In back track 5 it comes by default. But after start the server and you hit the url &lt;a title="https://127.0.0.1:3004/" href="http://127.0.0.1:3004/"&gt;http://127.0.0.1:3004/&lt;/a&gt; you may got following error. Just switch to https (&lt;a title="https://127.0.0.1:3004/" href="https://127.0.0.1:3004/"&gt;https://127.0.0.1:3004/&lt;/a&gt;) will solved the problem.&lt;/p&gt; &lt;p&gt;ERROR OpenSSL::SSL::SSLError: SSL_accept returned=1 errno=0 state=SSLv2/v3 read client hello A: http request&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /usr/lib/ruby/1.9.2/openssl/ssl-internal.rb:164:in `accept'&lt;/p&gt; &lt;p&gt;It look like following &lt;br&gt;&lt;a href="http://lh6.ggpht.com/-OUDi_M_-Ng0/TlUFem_S1tI/AAAAAAAACIA/STDJgDTOanY/s1600-h/image%25255B3%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-xyJD28WxWpw/TlUFkBg3hdI/AAAAAAAACIE/6AROzHyxdDg/image_thumb%25255B1%25255D.png?imgmax=800" width="539" height="419"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;The recent dradis has built is import feature form a lots well known security tool scan output like nmap,w3af,openvas,burp and many others. Its also has reporting feature.Have a look on it &lt;a title="http://dradisframework.org/" href="http://dradisframework.org/"&gt;http://dradisframework.org/&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Thought its specially design for security assessment team but any other team like software QA and other people working in a team can use it for effective information sharing.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-1385340127899004?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/1385340127899004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=1385340127899004' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/1385340127899004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/1385340127899004'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2011/08/dradis-server-in-backtrack-5.html' title='Dradis Server in backtrack 5'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/-xyJD28WxWpw/TlUFkBg3hdI/AAAAAAAACIE/6AROzHyxdDg/s72-c/image_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-6966882401001937747</id><published>2011-08-20T14:39:00.002+06:00</published><updated>2011-08-20T14:47:33.174+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OWASP'/><category scheme='http://www.blogger.com/atom/ns#' term='Penetration test'/><title type='text'>Find out CSRF in your application using OWASP's CSRFTester tool</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Firstly if you are not familiar with CSRF(Cross site request forgery), in short it’s a attack which force the end user to submit a request to a web application in which he or she already authenticated. For example now a days we are using multiple tabs in our browser, lets say you are login to facebook in one tab and the browser has session that already authenticated and now you are visited a attacker site. The attacker can trick you into loading information from or submitting information to facebook that you are already authenticated.&lt;/p&gt; &lt;p&gt;Let me give more example in depth how it work&lt;/p&gt; &lt;p&gt;let say Victim logon to bank.com&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-fsyy4ficC-s/Tk9xtmEvQmI/AAAAAAAACHA/zNzxheufVOQ/s1600-h/image%25255B42%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-yJJFHT91IsI/Tk9xxX5C8EI/AAAAAAAACHE/cqXZtVeFzg0/image_thumb%25255B20%25255D.png?imgmax=800" width="513" height="362"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;what actually happen in http request is shown bellow&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-5bLcgVKfn1I/Tk9x0TuUMRI/AAAAAAAACHI/WgxXatq-jnY/s1600-h/image%25255B43%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-ZWWA01HRYd8/Tk9x5pfpOYI/AAAAAAAACHM/Vso9ZONsOtE/image_thumb%25255B21%25255D.png?imgmax=800" width="528" height="118"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Now some web site it not really care about the POST or GET,Attacker can convert the POST request to a get request by following manner&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-cML2VRkIPEE/Tk9x88-RyUI/AAAAAAAACHQ/4ldQEltXIDg/s1600-h/image%25255B19%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-13Pj-C9kgf0/Tk9yA2lI8sI/AAAAAAAACHU/Dej_HoaUoVY/image_thumb%25255B9%25255D.png?imgmax=800" width="525" height="77"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-AT5jjrHxLbg/Tk9yDsiikKI/AAAAAAAACHY/br3VJeKrq50/s1600-h/image%25255B20%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-PdBileDDhi0/Tk9yGwlwZtI/AAAAAAAACHc/TqsUHqmV-Xk/image_thumb%25255B10%25255D.png?imgmax=800" width="529" height="65"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;look, an image tag added a html page that to basically a GET request to a server. ahaaa what happen this malicious img tag come from another site and request to your bank site. Server really don’t care(if there is no CSRF protection) because its come from your browser that already authenticated. So scary right. But you can say hai, this is not my fault or my application fault this is how the http work! True, this is why this is a A 'Sleeping Giant'. &lt;/p&gt; &lt;p&gt;To learn more about CSRF I recommend go &lt;a href="https://www.owasp.org/index.php/Cross-Site_Request_Forgery"&gt;here&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;No how do you can test quickly is your application has CSRF? OWASP has a tool name CSRFTester can be download from &lt;a href="http://www.owasp.org/index.php/Image:CSRFTester-1.0.zip"&gt;here&lt;/a&gt;. Its open source and you can get the source from &lt;a title="http://code.google.com/p/owaspcsrftester/" href="http://code.google.com/p/owaspcsrftester/"&gt;http://code.google.com/p/owaspcsrftester/&lt;/a&gt;. You need to install JRE to run this application that can be download from &lt;a title="http://www.java.com/en/download/" href="http://www.java.com/en/download/"&gt;http://www.java.com/en/download/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Well,how to use the tool, The tool is simple when you run the tool its look like following&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-0waTA6HnTGk/Tk9yLsejKJI/AAAAAAAACHg/9XpgFKsaQ64/s1600-h/image%25255B15%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-vNjIdRFnJJg/Tk9yQ3506qI/AAAAAAAACHk/yIP96GS3uNk/image_thumb%25255B5%25255D.png?imgmax=800" width="504" height="306"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;CSRFTester tool by default listening like a proxy in 8008. At the time blog is written there is no way I found to change this port. So you have to make sure your 8080 port is free and not already used by any other application in your pc. The first job is setting your browser so all request go threw this proxy 8008. In internet explorer it can be done from lan setting go Tools -&amp;gt; Internet Options -&amp;gt; Connections -&amp;gt; LAN Settings&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-vlhypPQf604/Tk9yT7A6E8I/AAAAAAAACHo/8sDy-yLVXdQ/s1600-h/image%25255B33%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-S9NYp2ynx5c/Tk9yajk4lII/AAAAAAAACHs/VvrArjizlyQ/image_thumb%25255B15%25255D.png?imgmax=800" width="432" height="387"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;But I’m prefer to do this short of things in firefox. Firefox has a feature to run multiple instance with complete deferent profile. Normally I do use multiple profile for different task. if you go run and use “firefox -p -no-remote” command you have user choose option. This command help you to run multiple instance of firefox at a time with complete different session.&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-v1hlxVTtHYE/Tk9yenUT8rI/AAAAAAAACHw/G-xzkbxjq40/s1600-h/image%25255B37%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-L2nNHpx_SGs/Tk9ykI4l2JI/AAAAAAAACH0/N9e0evnAyoo/image_thumb%25255B17%25255D.png?imgmax=800" width="400" height="321"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Now you can do set proxy from Tools&amp;gt;Options&amp;gt; Advanced&amp;gt;Network&amp;gt;settings&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-JXVYm-PMPdA/Tk9yo8UI7zI/AAAAAAAACH4/isVu0h1lgg8/s1600-h/image%25255B41%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-ZzhMYLEGJ4I/Tk9ytSb-TnI/AAAAAAAACH8/S7rBbeQltiw/image_thumb%25255B19%25255D.png?imgmax=800" width="407" height="437"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;But most of the time you may need to switch between multiple proxy, for this I’m prefer mutiproxyswitch firefox add on download link &lt;a title="https://github.com/downloads/jmccrohan/Multiproxy-Switch/multiproxy_switch.xpi" href="https://github.com/downloads/jmccrohan/Multiproxy-Switch/multiproxy_switch.xpi"&gt;https://github.com/downloads/jmccrohan/Multiproxy-Switch/multiproxy_switch.xpi&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Ok, after configuring proxy in your browser you can recode any number of request by CSRFTEST tool and it can generate report in different format forms,iframe,img,XHR and link. Normally you should recode a business functionality that may need done by multiple request to server. Once you generate report open a new browser instance, authenticate as another user with access to the same business function(s) of your testing site, and have then launch the newly created HTML report file. If the action effect after viewing the file in the same browser window that was used to authenticate the the victim, then that particular function is vulnerable to CSRF(cross-site request forgery).&lt;/p&gt; &lt;p&gt;Ok for defense against this attack check &lt;a href="https://www.owasp.org/index.php/Cross-Site_Request_Forgery_%28CSRF%29_Prevention_Cheat_Sheet"&gt;Cross-Site Request Forgery (CSRF) Prevention Cheat Sheet&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Be safe…&amp;nbsp; &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-6966882401001937747?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/6966882401001937747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=6966882401001937747' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/6966882401001937747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/6966882401001937747'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2011/08/find-out-csrf-in-your-application-using.html' title='Find out CSRF in your application using OWASP&amp;#39;s CSRFTester tool'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/-yJJFHT91IsI/Tk9xxX5C8EI/AAAAAAAACHE/cqXZtVeFzg0/s72-c/image_thumb%25255B20%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-8755014541730770865</id><published>2010-01-08T15:03:00.002+06:00</published><updated>2010-01-08T15:08:16.543+06:00</updated><title type='text'>E: flashplugin-nonfree: Package is in a very bad inconsistent state - you should  reinstall it before attempting a removal.</title><content type='html'>E: flashplugin-nonfree: Package is in a very bad inconsistent state - you should  reinstall it before attempting a removal.&lt;br /&gt;&lt;br /&gt;i'm fall in this error while upgrading my Ubuntu 8.04 to 9.10 .&lt;br /&gt;&lt;br /&gt;trust me! do don't waste your more time on it just do a backup of /var/lib/dpkg/status file then&lt;br /&gt;&lt;br /&gt;type sudo gedit /var/lib/dpkg/status&lt;br /&gt;&lt;br /&gt;find flashplugin-nonfree block and carefully delete&lt;br /&gt;&lt;br /&gt;reboot...&lt;br /&gt;&lt;br /&gt;good luck if found any good resolution don't forgot to leave a comment&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-8755014541730770865?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/8755014541730770865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=8755014541730770865' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8755014541730770865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8755014541730770865'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2010/01/e-flashplugin-nonfree-package-is-in.html' title='E: flashplugin-nonfree: Package is in a very bad inconsistent state - you should  reinstall it before attempting a removal.'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-270870881930544673</id><published>2009-08-15T12:00:00.001+07:00</published><updated>2009-08-15T12:00:38.187+07:00</updated><title type='text'>Error while running wifizoo in ubuntu 9.04</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;when in play with wifizoo in my lab i'm get following error while start wifizoo &lt;br/&gt; &lt;br/&gt;Traceback (most recent call last):&lt;br/&gt;  File "wifizoo.py", line 6, in &amp;lt;module&amp;gt;&lt;br/&gt;    from scapy import *&lt;br/&gt;  File "/pentest/wireless/wifizoo/scapy.py", line 3114&lt;br/&gt;    tr = map(lambda x: Gnuplot.Data(x,with="lines"), trt.values())&lt;br/&gt;&lt;br/&gt;i'm on ubuntu 9.04 and install all pentest tool from offensive security archive. After randomly &lt;br/&gt;try here and there i'm found this &lt;a href='http://trac.secdev.org/scapy/changeset/852:055a9be0f2d3'&gt;link&lt;/a&gt; . then just modify scapy file "with" with "with_" &lt;br/&gt;&lt;br/&gt;        tr = map(lambda x: Gnuplot.Data(x,with="lines"), trt.values()) &lt;br/&gt;     ===&amp;gt;&amp;gt; tr = map(lambda x: Gnuplot.Data(x,with_="lines"), trt.values()) &lt;br/&gt;            g = Gnuplot.Gnuplot() &lt;br/&gt;        world = Gnuplot.File(conf.gnuplot_world,with="lines") &lt;br/&gt;        ===&amp;gt; world = Gnuplot.File(conf.gnuplot_world,with_="lines") &lt;br/&gt;            g.plot(world,*tr) &lt;br/&gt;            return g &lt;br/&gt;&lt;br/&gt;it's a random try but fixed my problem.&lt;br/&gt;&lt;br/&gt;hope helps or bring more error's :)&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=fbc0dd71-58da-86ec-b82c-e03c73b8c1a6' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-270870881930544673?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/270870881930544673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=270870881930544673' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/270870881930544673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/270870881930544673'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2009/08/error-while-running-wifizoo-in-ubuntu.html' title='Error while running wifizoo in ubuntu 9.04'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-5830776913904351603</id><published>2009-07-26T17:25:00.005+07:00</published><updated>2009-07-26T18:49:28.641+07:00</updated><title type='text'>Acer Aspire One 751h 1366x768 resolution  in ubuntu 9.04</title><content type='html'>i'm reading few  &lt;a href="https://help.ubuntu.com/community/AspireOne"&gt;post&lt;/a&gt; ,&lt;a href="http://ubuntuforums.org/showthread.php?t=1190639"&gt;post2&lt;/a&gt; and try this...&lt;br /&gt;&lt;br /&gt;/etc/apt/sources.list.d/ubuntu-mobile.list&lt;br /&gt;with this in it&lt;br /&gt;deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main&lt;br /&gt;deb-src http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main&lt;br /&gt;&lt;br /&gt;Then,&lt;br /&gt;apt-get update&lt;br /&gt;apt-get install xserver-xorg-video-psb&lt;br /&gt;&lt;br /&gt;No luck on backtrack4 pre release but worked in ununtu 9.04 after live update.&lt;br /&gt;I'm install xserver-xorg-video-psb just after install ubuntu 9.04 from USB then get some error but after update ubuntu its start working...&lt;br /&gt;So if you install ubuntu from cd or usb update it fist then install xserver-xorg-video-psb else it may not work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-5830776913904351603?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/5830776913904351603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=5830776913904351603' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5830776913904351603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5830776913904351603'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2009/07/acer-aspire-one-751h-1366x768.html' title='Acer Aspire One 751h 1366x768 resolution  in ubuntu 9.04'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-6485699680280475687</id><published>2009-07-21T17:08:00.000+07:00</published><updated>2009-07-22T12:38:37.364+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='metasploit'/><category scheme='http://www.blogger.com/atom/ns#' term='backtrack'/><title type='text'>How to metasploit with autopwn on backtrack 4</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;I'm install metasploit on ubuntu 8.04 and can did autopwn by following  this &lt;a href='http://ubuntuforums.org/showthread.php?t=1069859'&gt;post&lt;/a&gt;. Recently i'm play with backtrack 4 prerelease and surprised  with followiing  error white try to load db_postgres command on msfconsole. it shows  &lt;br/&gt;[-]&lt;br/&gt;[-] The functionality previously provided by this plugin has been&lt;br/&gt;[-] integrated into the core command set.  Use the new 'db_driver'&lt;br/&gt;[-] command to use a database driver other than sqlite3 (which&lt;br/&gt;[-] is now the default).  All of the old commands are the same.&lt;br/&gt;[-]&lt;br/&gt;[-] Error while running command load: Deprecated plugin&lt;br/&gt;&lt;br/&gt;then after some research i'm found things are become easer then before .&lt;br/&gt;&lt;br/&gt;now you have to do only &lt;br/&gt;&lt;br/&gt;./msfconsole&lt;br/&gt;&lt;strike&gt;load db_postgres&lt;/strike&gt; db_driver&lt;br/&gt;db_create test&lt;br/&gt;db_nmap IP ADDRESS TO TEST -p 445 			 		&lt;br/&gt;all other command also  remain same...&lt;br/&gt;db_autopwn -t -p -e -s -b 			 		&lt;br/&gt;sessions -l 			 		&lt;br/&gt;&lt;br/&gt;happy pentest....&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class='zemanta-pixie'&gt;&lt;img src='http://img.zemanta.com/pixy.gif?x-id=0724c26e-9aa9-8be3-9a70-d90c40d09cde' alt='' class='zemanta-pixie-img'/&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-6485699680280475687?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/6485699680280475687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=6485699680280475687' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/6485699680280475687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/6485699680280475687'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2009/07/how-to-metasploit-with-autopwn-on.html' title='How to metasploit with autopwn on backtrack 4'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-3511838512264792492</id><published>2009-07-17T17:08:00.006+07:00</published><updated>2009-07-22T12:37:53.821+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='acer aspire one 751h'/><category scheme='http://www.blogger.com/atom/ns#' term='backtrack'/><title type='text'>BackTrack 4 Pre Release acer aspire one 751h problem with greaphics driver</title><content type='html'>i'm install BackTrack 4 Pre Release on acer aspire one 751h without any problem check my previous &lt;a href="http://nahidulkibria.blogspot.com/2009/07/install-backtrack-4-pre-release-acer.html"&gt;post&lt;/a&gt;. But i had problem with graphics driver backtrack automatically detect graphics card as  vesa with resulution 10024x768 where as my graphics card is "Integrated Intel® Graphics Media Accelerator 500" with 1366x768 resulotion suport. i'm read sevaral post related to this issure &lt;a href="http://ubuntuforums.org/showthread.php?p=7430443"&gt;1&lt;/a&gt;,&lt;a href="http://touchstudio.wordpress.com/2009/05/31/acer-aspire-one-1366x768-graphics-driver-needed/"&gt;2&lt;/a&gt; none can sloved my problem. i'm tryed&lt;br /&gt;sudo apt-get install xserver-xorg-video-psb and made the untimate disuster. after  install xserver-xorg-video-psb i'm reboot my system then logon and type startx...its give error like&lt;br /&gt;&lt;br /&gt;/usr/bin/X11/X: no such file or directory lablalbla&lt;br /&gt;&lt;br /&gt;then i have to install xserver-xorg-core with command&lt;br /&gt;sudo apt-get install xserver-xorg-core&lt;br /&gt;&lt;br /&gt;then startx is worked and get back the graphical mode in backtrack again but still in 1024x768 resulotion..&lt;br /&gt;&lt;br /&gt;if any one know how do i get work 1366x768 resulution in backtrack or ubuntu please give feed back as commant here&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-3511838512264792492?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/3511838512264792492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=3511838512264792492' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/3511838512264792492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/3511838512264792492'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2009/07/backtrack-4-pre-release-acer-aspire-one.html' title='BackTrack 4 Pre Release acer aspire one 751h problem with greaphics driver'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-4012031898133467856</id><published>2009-07-15T13:10:00.006+07:00</published><updated>2009-07-22T12:37:53.822+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='acer aspire one 751h'/><category scheme='http://www.blogger.com/atom/ns#' term='backtrack'/><title type='text'>Install BackTrack 4 Pre Release  acer aspire one 751h</title><content type='html'>I'm successfully installed  BackTrack 4 Pre Release on acer aspire one 751h from USB.&lt;br /&gt;For the partition  option i'm choose guided partition option and just resize my xpdrive up to 40 GB and remaining 100GB for backtrack. its take may be above 15 minute to install. And without losing anything it installed fine...cool..here is the screen short of HDD after install backtrack. Its take 4 GB for swap as my ram is 2 GB and not break my hidden restore partition...great again.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_l6112UOpuQY/Sl13_s_zWxI/AAAAAAAACCU/fys7XnY0dnI/s1600-h/snapshot1.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_l6112UOpuQY/Sl13_s_zWxI/AAAAAAAACCU/fys7XnY0dnI/s400/snapshot1.png" alt="" id="BLOGGER_PHOTO_ID_5358571067934989074" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-4012031898133467856?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/4012031898133467856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=4012031898133467856' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/4012031898133467856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/4012031898133467856'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2009/07/install-backtrack-4-pre-release-acer.html' title='Install BackTrack 4 Pre Release  acer aspire one 751h'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_l6112UOpuQY/Sl13_s_zWxI/AAAAAAAACCU/fys7XnY0dnI/s72-c/snapshot1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-5692719906933337058</id><published>2009-07-14T12:28:00.002+07:00</published><updated>2009-07-22T12:37:53.822+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='acer aspire one 751h'/><category scheme='http://www.blogger.com/atom/ns#' term='backtrack'/><title type='text'>backtrack on acer aspire one 751h</title><content type='html'>I'm buy a new acer aspire one 751h and boot BackTrack 4 Pre Release from USB device looks working okay with sound. I'm not play with other details parts like wi-fi, bluethooth and window resolution yet.Hope let you know soon all issue i will get this post is just a quick feed back.&lt;br /&gt;&lt;br /&gt;I was made USB boot disk using &lt;a href="http://unetbootin.sourceforge.net/"&gt;UNetBootin&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-5692719906933337058?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/5692719906933337058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=5692719906933337058' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5692719906933337058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5692719906933337058'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2009/07/backtrack-on-acer-aspire-one-751h.html' title='backtrack on acer aspire one 751h'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-6480887283705498794</id><published>2009-06-30T16:37:00.001+07:00</published><updated>2009-06-30T16:42:59.611+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title type='text'>WCF not following default proxy settings</title><content type='html'>&lt;p&gt;One of my xbap project I was creating wcf proxy using channel factory but all wcf call fail on a machine(actually all pc under a network) that only connect Internet through a proxy server. then after detail investigation I'm discover that if you are create wcf proxy using channel factory its ignore the configuration&amp;#160; useDefaultWebProxy=&amp;quot;true&amp;quot; and try to connect with Internet by pass the proxy server. I'm found it by monitor raw packet using&amp;#160;&amp;#160; &lt;a title="YATT" href="http://www.pocketsoap.com/YATT/"&gt;YATT&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;But in case of auto generated proxy its simply working fine. if you user&amp;#160; useDefaultWebProxy=&amp;quot;true&amp;quot; in your binding its not by pass proxy server.&lt;/p&gt;  &lt;p&gt;   &lt;p&gt;&lt;/p&gt;    &lt;p&gt;to full proof that your apps following the default proxy settings on a machine you can add following code at start up&lt;/p&gt;    &lt;p&gt;&amp;#160;&lt;/p&gt; &lt;/p&gt;  &lt;p&gt;public App()   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; { &lt;/p&gt;  &lt;p&gt;   &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; WebRequest.DefaultWebProxy = System.Net.WebRequest.GetSystemWebProxy();&lt;/p&gt;    &lt;p&gt;//to get default proxy settings     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; WebRequest.DefaultWebProxy.Credentials = CredentialCache.DefaultNetworkCredentials; &lt;/p&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; try   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; WebRequest request = System.Net.WebRequest.Create(    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;quot;&lt;a href="http://www.labla.com/lablabla.html&amp;quot;);"&gt;http://www.labla.com/lablabla.html&amp;quot;);&lt;/a&gt;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; request.GetResponse();    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; catch (Exception ex)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; { &lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; if (ex.Message.Equals(&amp;quot;The remote server returned an error: (407) Proxy Authentication Required.&amp;quot;))   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; //Proxy Authentication Required.&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; //WebRequest.DefaultWebProxy.Credentials = new NetworkCredential(c.UserName, c.Pass);    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; } &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;} &lt;/p&gt;  &lt;p&gt;   &lt;p&gt;hope this help…     &lt;/p&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-6480887283705498794?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/6480887283705498794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=6480887283705498794' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/6480887283705498794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/6480887283705498794'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2009/06/wcf-not-following-default-proxy.html' title='WCF not following default proxy settings'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-8441546825093696818</id><published>2009-06-30T16:04:00.001+07:00</published><updated>2009-06-30T16:42:59.612+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title type='text'>How to fix WCF Error The remote server returned an unexpected response: (417) Expectation failed.</title><content type='html'>&lt;p&gt;&lt;/p&gt; Few day’s ago one of our project(using wpf and wcf ) going live and we are start getting lots of weird error one of is 417 the remote server return unexpected response.   &lt;p&gt;   &lt;p&gt;after some investigation and we found its only occur when client are behind a proxy in our case its squid(&lt;a href="http://webmail.kaz.com.bd/exchweb/bin/redir.asp?URL=http://www.squid-cache.org/"&gt;http://www.squid-cache.org/&lt;/a&gt;) and has a configuration like following in squid.conf&lt;/p&gt; &lt;/p&gt;  &lt;p&gt;   &lt;p&gt;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt; #This option makes Squid ignore any Expect: 100-continue header present     &lt;br /&gt;#in the request. Note: Enabling this is a HTTP protocol violation, but some #client may not handle it well..    &lt;p&gt;#Default:     &lt;br /&gt;ignore_expect_100 off &lt;/p&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt; we are solving this problem can be solved by changing squid configuration&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;p&gt;   &lt;p&gt;ignore_expect_100 on &lt;/p&gt;    &lt;p&gt;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt;    &lt;p&gt;the following settings on the app.config also solved the problem&amp;#160; &lt;/p&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;configuration&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;system.net&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;settings&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;servicePointManager expect100Continue=&amp;quot;false&amp;quot; /&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;/settings&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;lt;/system.net&amp;gt;&lt;/p&gt;  &lt;p&gt;   &lt;p&gt;&amp;lt;/configuration&amp;gt;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt; but if you have control over your proxy server settings change that. if you do not have chance to change proxy settings and handle this with changing app.config may be facing problem upload large amount of file    &lt;p&gt;&lt;/p&gt;    &lt;p&gt;&lt;/p&gt; for more information you can check this&lt;/p&gt;  &lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.expect100continue.aspx" href="http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.expect100continue.aspx"&gt;http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.expect100continue.aspx&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-8441546825093696818?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/8441546825093696818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=8441546825093696818' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8441546825093696818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8441546825093696818'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2009/06/how-to-fix-wcf-error-remote-server.html' title='How to fix WCF Error The remote server returned an unexpected response: (417) Expectation failed.'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-3509305349299401862</id><published>2009-05-24T15:33:00.002+06:00</published><updated>2009-05-24T15:59:38.370+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Penetration test'/><title type='text'>Extract tool links mentioned in Professional Pen Testing for Web Applications part 1</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;Chapter 3: Discovery   &lt;br /&gt;&lt;i&gt;&lt;b&gt;Logistics &lt;/b&gt;&lt;/i&gt;    &lt;br /&gt;&lt;b&gt;WHOIS&lt;/b&gt; (Common to all that helps to get information about a domain name and an Internet Protocol (IP) addres)    &lt;br /&gt;Online- &lt;a href="http://www.internic.net/whois.html"&gt;http://www.internic.net/whois.html&lt;/a&gt;    &lt;br /&gt;&lt;a href="http://www.allwhois.com"&gt;http://www.allwhois.com&lt;/a&gt;    &lt;br /&gt;    &lt;br /&gt;&lt;b&gt;Dig&lt;/b&gt; (Geting IP address of a target host)    &lt;br /&gt;smiler nslookup, host and other usefull tool is digbug found in &lt;a href="http://www.edge-security.com/soft/digdug-0.8.tar"&gt;http://www.edge-security.com/soft/digdug-0.8.tar&lt;/a&gt;    &lt;br /&gt;    &lt;br /&gt;&lt;b&gt;ARIN&lt;/b&gt; (Discovery and understanding Of the IP block)    &lt;br /&gt;&lt;a href="http://www.arin.net"&gt;http://www.arin.net&lt;/a&gt; use : whois -h whois.arin.net 217.160.235.213    &lt;br /&gt;    &lt;br /&gt;&lt;b&gt;SamSpade&lt;/b&gt;    &lt;br /&gt;Gets you lots of the logistical information only run on windows(&lt;a href="http://preview.samspade.org/ssw/download.html"&gt;http://preview.samspade.org/ssw/download.html&lt;/a&gt;) or use online at &lt;a href="http://samspade.org"&gt;http://samspade.org&lt;/a&gt;    &lt;br /&gt;    &lt;br /&gt;&lt;b&gt;AFD&lt;/b&gt;(Active Filter Detection)    &lt;br /&gt;Found on &lt;a href="http://www.purehacking.com/afd/downloads.php"&gt;http://www.purehacking.com/afd/downloads.php&lt;/a&gt;    &lt;br /&gt;    &lt;br /&gt;&lt;b&gt;SSL/TLS &lt;/b&gt;(Windows tool that checks the remote ssl stack for supported ciphers    &lt;br /&gt;and version)    &lt;br /&gt;THCSSLCheck (&lt;a href="http://freeworld.thc.org/root/tools/THCSSLCheck.zip"&gt;http://freeworld.thc.org/root/tools/THCSSLCheck.zip&lt;/a&gt;)    &lt;br /&gt;    &lt;br /&gt;&lt;b&gt;SSLDigger&lt;/b&gt;    &lt;br /&gt;You can get it here: &lt;a href="http://www.foundstone.com/us/resources/termsofuse.asp?file=ssldigger.zip"&gt;http://www.foundstone.com/us/resources/termsofuse.asp?file=ssldigger.zip&lt;/a&gt;    &lt;br /&gt;    &lt;br /&gt;&lt;i&gt;&lt;b&gt;OS Fingerprinting&lt;/b&gt;&lt;/i&gt;    &lt;br /&gt;&lt;b&gt;Netcraft&lt;/b&gt; (I'm confused about this... )    &lt;br /&gt;&lt;b&gt;     &lt;br /&gt;p0f&lt;/b&gt; (passive OS fingerprinting)    &lt;br /&gt;i'm getting details about p0f here &lt;a href="http://lcamtuf.coredump.cx/p0f.shtml"&gt;http://lcamtuf.coredump.cx/p0f.shtml&lt;/a&gt;    &lt;br /&gt;download link &lt;a href="http://lcamtuf.coredump.cx/p0f.tgz"&gt;http://lcamtuf.coredump.cx/p0f.tgz&lt;/a&gt;    &lt;br /&gt;readme &lt;a href="http://lcamtuf.coredump.cx/p0f/README"&gt;http://lcamtuf.coredump.cx/p0f/README&lt;/a&gt;    &lt;br /&gt;    &lt;br /&gt;&lt;b&gt;DMitry&lt;/b&gt; (Deepmagic Information Gathering Tool)    &lt;br /&gt;available here &lt;a href="http://www.mor-pah.net/index.php?file=projects/dmitry"&gt;http://www.mor-pah.net/index.php?file=projects/dmitry&lt;/a&gt;&lt;/div&gt;  &lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;   &lt;br /&gt;    &lt;br /&gt;&lt;i&gt;&lt;b&gt;Web Server Fingerprinting&lt;/b&gt;&lt;/i&gt;    &lt;br /&gt;&lt;b&gt;httprint&lt;/b&gt;    &lt;br /&gt;available @ &lt;a href="http://www.net-square.com/httprint/"&gt;http://www.net-square.com/httprint/&lt;/a&gt;    &lt;br /&gt;    &lt;br /&gt;&lt;i&gt;&lt;b&gt;Application Fingerprinting&lt;/b&gt;&lt;/i&gt;    &lt;br /&gt;&lt;b&gt;unicornscan&lt;/b&gt;    &lt;br /&gt;available @ &lt;a href="http://www.unicornscan.org"&gt;http://www.unicornscan.org&lt;/a&gt;    &lt;br /&gt;    &lt;br /&gt;&lt;b&gt;nmap&lt;/b&gt;    &lt;br /&gt;available @ &lt;a href="http://www.insecure.org/nmap/"&gt;http://www.insecure.org/nmap/&lt;/a&gt;    &lt;br /&gt;    &lt;br /&gt;&lt;i&gt;&lt;b&gt;Service Identification&lt;/b&gt;&lt;/i&gt;    &lt;br /&gt;&lt;b&gt;amap&lt;/b&gt;    &lt;br /&gt;available @ &lt;a href="http://freeworld.thc.org/thc-amap/"&gt;http://freeworld.thc.org/thc-amap/&lt;/a&gt;    &lt;br /&gt;    &lt;br /&gt;Miscellaneous :    &lt;br /&gt;Perl script that ties nmap and amap together (&lt;a href="http://packetstorm.linuxsecurity.com/UNIX/audit/multimap.pl"&gt;http://packetstorm.linuxsecurity.com/UNIX/audit/multimap.pl&lt;/a&gt; )    &lt;br /&gt;nwrap available at &lt;a href="http://isecom.securenetltd.com/nwrap.zip"&gt;http://isecom.securenetltd.com/nwrap.zip&lt;/a&gt;&lt;/div&gt;  &lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;   &lt;br /&gt;    &lt;br /&gt;&lt;i&gt;&lt;b&gt;Database Identification&lt;/b&gt;&lt;/i&gt;    &lt;br /&gt;&lt;b&gt;THCDBFP&lt;/b&gt;    &lt;br /&gt;Found at &lt;a href="http://freeworld.thc.org/root/tools/THCDBFP.zip"&gt;http://freeworld.thc.org/root/tools/THCDBFP.zip&lt;/a&gt;&lt;/div&gt;  &lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;   &lt;br /&gt;    &lt;br /&gt;&lt;b&gt;Web Crawler&lt;/b&gt;    &lt;br /&gt;HTTrack,wget well-known    &lt;br /&gt;    &lt;br /&gt;TO BE CONTINUE (Hope this save time)    &lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-3509305349299401862?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/3509305349299401862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=3509305349299401862' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/3509305349299401862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/3509305349299401862'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2009/05/extract-tool-links-mentioned-in.html' title='Extract tool links mentioned in Professional Pen Testing for Web Applications part 1'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-3836117253082980518</id><published>2009-01-05T12:53:00.001+06:00</published><updated>2009-06-30T16:43:09.832+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><title type='text'>Setting image source from code WPF</title><content type='html'>&lt;p&gt;In wpf you can set image source from xaml&lt;/p&gt;&lt;pre class="csharpcode"&gt;&amp;lt;Image x:Name=&lt;span class="str"&gt;"imgCurentLogo"&lt;/span&gt;  HorizontalAlignment=&lt;span class="str"&gt;"Center"&lt;/span&gt;  Source=&lt;span class="str"&gt;"/ComponentName;component/Images/logo.png"&lt;/span&gt; &amp;gt;&amp;lt;/Image&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;As well as you can set image source from code &lt;/p&gt;&lt;pre class="csharpcode"&gt; Uri src = &lt;span class="kwrd"&gt;new&lt;/span&gt; Uri(&lt;span class="str"&gt;@"/ComponentName;component/Images/logo.png"&lt;/span&gt;, UriKind.Relative);&lt;br /&gt; BitmapImage img = &lt;span class="kwrd"&gt;new&lt;/span&gt; BitmapImage(src);&lt;br /&gt; imgCurentLogo.Source = img;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;You can also create image source from a physical file&lt;/p&gt;&lt;pre class="csharpcode"&gt;System.Drawing.Bitmap _image = &lt;span class="kwrd"&gt;new&lt;/span&gt; System.Drawing.Bitmap(_memorystream);&lt;br /&gt; imgCurentLogo.Source = GetBitmapSource(_image);&lt;br /&gt;&lt;br /&gt;&lt;span class="kwrd"&gt;private&lt;/span&gt; System.Windows.Media.Imaging.BitmapSource GetBitmapSource(System.Drawing.Bitmap _image)&lt;br /&gt;        {&lt;br /&gt;            System.Drawing.Bitmap bitmap = _image;&lt;br /&gt;            System.Windows.Media.Imaging.BitmapSource bitmapSource = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(&lt;br /&gt;                    bitmap.GetHbitmap(),&lt;br /&gt;                    IntPtr.Zero,&lt;br /&gt;                    Int32Rect.Empty,&lt;br /&gt;                    System.Windows.Media.Imaging.BitmapSizeOptions.FromEmptyOptions());&lt;br /&gt;            &lt;span class="kwrd"&gt;return&lt;/span&gt; bitmapSource;&lt;br /&gt;        }&lt;br /&gt;        &lt;/pre&gt;&lt;br /&gt;&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre&lt;br /&gt;{&lt;br /&gt;	font-size: small;&lt;br /&gt;	color: black;&lt;br /&gt;	font-family: consolas, "Courier New", courier, monospace;&lt;br /&gt;	background-color: #ffffff;&lt;br /&gt;	/*white-space: pre;*/&lt;br /&gt;}&lt;br /&gt;.csharpcode pre { margin: 0em; }&lt;br /&gt;.csharpcode .rem { color: #008000; }&lt;br /&gt;.csharpcode .kwrd { color: #0000ff; }&lt;br /&gt;.csharpcode .str { color: #006080; }&lt;br /&gt;.csharpcode .op { color: #0000c0; }&lt;br /&gt;.csharpcode .preproc { color: #cc6633; }&lt;br /&gt;.csharpcode .asp { background-color: #ffff00; }&lt;br /&gt;.csharpcode .html { color: #800000; }&lt;br /&gt;.csharpcode .attr { color: #ff0000; }&lt;br /&gt;.csharpcode .alt &lt;br /&gt;{&lt;br /&gt;	background-color: #f4f4f4;&lt;br /&gt;	width: 100%;&lt;br /&gt;	margin: 0em;&lt;br /&gt;}&lt;br /&gt;.csharpcode .lnum { color: #606060; }&lt;br /&gt;&lt;/style&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Hope helps...&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-3836117253082980518?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/3836117253082980518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=3836117253082980518' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/3836117253082980518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/3836117253082980518'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2009/01/setting-image-source-from-code-wpf.html' title='Setting image source from code WPF'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-8653354446752766458</id><published>2008-12-22T18:08:00.001+06:00</published><updated>2008-12-22T18:25:40.117+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Bug in Flash player detectionkit provided by adobe (Flash player detection not working in windows/ie7)</title><content type='html'>&lt;p&gt;Adobe provided flash player detection kit has a bug in client-site detection&lt;/p&gt;  &lt;p&gt;file AC_OETags.js&lt;/p&gt;  &lt;p&gt;// Flash Player Version Detection - Rev 1.6    &lt;br /&gt;// Detect Client Browser type     &lt;br /&gt;// Copyright(c) 2005-2006 Adobe Macromedia Software, LLC. All rights reserved.     &lt;br /&gt;var isIE&amp;#160; = (navigator.appVersion.indexOf(&amp;quot;MSIE&amp;quot;) != -1) ? true : false;     &lt;br /&gt;var isWin = (navigator.&lt;font color="#ff0000"&gt;appVersion&lt;/font&gt;.toLowerCase().indexOf(&amp;quot;win&amp;quot;) != -1) ? true : false;     &lt;br /&gt;var isOpera = (navigator.userAgent.indexOf(&amp;quot;Opera&amp;quot;) != -1) ? true : false;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;You need to change &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;var isWin = (navigator.&lt;font color="#ff0000"&gt;platform&lt;/font&gt;.toLowerCase().indexOf(&amp;quot;win&amp;quot;) != -1) ? true : false;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;This bug also in adobe flex builder 2 AC_OETags.js file.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt; hope this help.    &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-8653354446752766458?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/8653354446752766458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=8653354446752766458' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8653354446752766458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8653354446752766458'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2008/12/bug-in-flash-player-detectionkit.html' title='Bug in Flash player detectionkit provided by adobe (Flash player detection not working in windows/ie7)'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-7857442385050953203</id><published>2008-11-22T12:33:00.001+06:00</published><updated>2008-12-22T18:27:28.523+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><title type='text'>Troubleshooting Wpf Xbap Error : Application Deployment Error</title><content type='html'>&lt;p&gt;&lt;a href="http://lh6.ggpht.com/_l6112UOpuQY/SSengG7uT3I/AAAAAAAAB_I/5JLkdhtzpRc/s1600-h/deploymenterror17.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="204" alt="deploymenterror" src="http://lh3.ggpht.com/_l6112UOpuQY/SSenhOkT3lI/AAAAAAAAB_M/YC5gvvo051A/deploymenterror_thumb13.jpg?imgmax=800" width="417" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;If you are deploy your application using click one some time you got &amp;quot;Application Deployment Error the application can not be deployed. Contract the application&amp;#160; publisher for assistance.&amp;quot;&lt;/p&gt;  &lt;p&gt;There are several reason can happen so that the application can't deploy in client machine. I'm found few cases like&lt;/p&gt;  &lt;p&gt;Reason 1.&lt;/p&gt;  &lt;p&gt;Some time if Internet explorer(IE) crash the presentationhost.exe will not be close and it lock the files it use. then next time another presentationhost can't access necessary file for boot the xbap application. if you are view the log by clicking on &amp;quot;Open Error Log&amp;quot; you will may find following&amp;#160; error details&lt;/p&gt;  &lt;p&gt;PLATFORM VERSION INFO    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Windows&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : 5.1.2600.131072 (Win32NT)     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Common Language Runtime&amp;#160;&amp;#160;&amp;#160;&amp;#160; : 2.0.50727.3053     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; System.Deployment.dll&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : 2.0.50727.3053 (netfxsp.050727-3000)     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; mscorwks.dll&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : 2.0.50727.3053 (netfxsp.050727-3000)     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; dfshim.dll&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : 2.0.50727.3053 (netfxsp.050727-3000) &lt;/p&gt;  &lt;p&gt;SOURCES    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Deployment url&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : &lt;a href="http://..../Home.xbap"&gt;http://..../Home.xbap&lt;/a&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Application url&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : &lt;a href="http://..../Application%20Files/Home_1_0_0_422/Home.exe.manifest"&gt;http://..../Application%20Files/Home_1_0_0_422/Home.exe.manifest&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;IDENTITIES    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Deployment Identity&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : Home.xbap, Version=1.0.0.422, Culture=en, PublicKeyToken=ca9bbb2917ceb712, processorArchitecture=msil     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Application Identity&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : Home.exe, Version=1.0.0.422, Culture=en, PublicKeyToken=ca9bbb2917ceb712, processorArchitecture=msil, type=win32 &lt;/p&gt;  &lt;p&gt;APPLICATION SUMMARY    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; * Online only application.     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; * Trust url parameter is set.&amp;#160;&amp;#160;&amp;#160; * Browser-hosted application. &lt;/p&gt;  &lt;p&gt;ERROR SUMMARY    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Below is a summary of the errors, details of these errors are listed later in the log.     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; * An exception occurred while downloading the application. Following failure messages were detected:     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; + Exception occurred during store operation.     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; + &lt;strong&gt;&lt;font color="#ff0000"&gt;The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)&lt;/font&gt; &lt;/strong&gt;lab lab la e huge log description........&lt;/p&gt;  &lt;p&gt;To solve this error find out why the presentationhost.exe not die after you kill the IE(Internet explorer) is there any code you write on you application exit that got faulted or do you capture any resource that's not release for any reason. primarily you can kill presentationhost.exe by forced (manually). then try again you application it should deploy now. &lt;/p&gt;  &lt;p&gt;Reason 2.&lt;/p&gt;  &lt;p&gt;Another deployment error can be occur if you publish same application in several domain like &lt;a href="http://lallabla.com"&gt;http://lallabla.com&lt;/a&gt; and &lt;a href="http://habhabla.com"&gt;http://habhabla.com&lt;/a&gt; and by mistake you forgot to update build number while you publish. it may be also true for same domain also like your already install latest build and now you publish a new build with same build number with different assembly.&lt;/p&gt;  &lt;p&gt;This type deployment error can solve easily by increasing build number and publishing again. And good practices is check &amp;quot;Automatically increment revision with each publish&amp;quot; from you project property. and never build with a disconnected solution from source safe or any other version control you use. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_l6112UOpuQY/SSeniKCoNVI/AAAAAAAAB_Q/_RG6wme3ixE/s1600-h/verssionnumber2.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="95" alt="verssionnumber" src="http://lh3.ggpht.com/_l6112UOpuQY/SSenigz9ycI/AAAAAAAAB_U/zhzTHnuV0rQ/verssionnumber_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;Reason 3.&lt;/p&gt;  &lt;p&gt;TrustNotGrantedException comes if you deploy your application with full trust but client not have enough privilege to grant you required permission. Check my another &lt;a href="http://nahidulkibria.blogspot.com/2008/05/how-to-run-wfpxbap-in-full-trust-mode.html"&gt;post (How to run wpf/xbap in full trust mode )&lt;/a&gt; about this issue&amp;#160; &lt;/p&gt;  &lt;p&gt;PLATFORM VERSION INFO   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Windows&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : 5.1.2600.131072 (Win32NT)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Common Language Runtime&amp;#160;&amp;#160;&amp;#160;&amp;#160; : 2.0.50727.3053    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; System.Deployment.dll&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : 2.0.50727.3053 (netfxsp.050727-3000)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; mscorwks.dll&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : 2.0.50727.3053 (netfxsp.050727-3000)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; dfshim.dll&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : 2.0.50727.3053 (netfxsp.050727-3000) &lt;/p&gt;  &lt;p&gt;SOURCES   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Deployment url&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : &lt;a href="http://.../home.xbap"&gt;http://.../home.xbap&lt;/a&gt;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Application url&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : &lt;a href="http://./Home_1_0_0_445/Home.exe.manifest"&gt;http://./Home_1_0_0_445/Home.exe.manifest&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;IDENTITIES   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Deployment Identity&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : Home.xbap, Version=1.0.0.445, Culture=en, PublicKeyToken=ca9bbb2917ceb712, processorArchitecture=msil    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Application Identity&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : Home.exe, Version=1.0.0.445, Culture=en, PublicKeyToken=ca9bbb2917ceb712, processorArchitecture=msil, type=win32 &lt;/p&gt;  &lt;p&gt;APPLICATION SUMMARY   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; * Online only application.    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; * Trust url parameter is set.&amp;#160;&amp;#160;&amp;#160; * Browser-hosted application. &lt;/p&gt;  &lt;p&gt;ERROR SUMMARY   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Below is a summary of the errors, details of these errors are listed later in the log.    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; * An exception occurred while determining trust. Following failure messages were detected:    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; + User has refused to grant required permissions to the application. &lt;/p&gt;  &lt;p&gt;COMPONENT STORE TRANSACTION FAILURE SUMMARY   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; No transaction error was detected. &lt;/p&gt;  &lt;p&gt;WARNINGS   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; There were no warnings during this operation. &lt;/p&gt;  &lt;p&gt;OPERATION PROGRESS STATUS   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; No phase information is available. &lt;/p&gt;  &lt;p&gt;ERROR DETAILS   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Following errors were detected during this operation.    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; * [11/23/2008 5:32:54 PM] System.Deployment.Application.TrustNotGrantedException (Unknown subtype)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; - User has refused to grant required permissions to the application.    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; - Source: System.Deployment    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; - Stack trace:    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Deployment.Application.ApplicationTrust.RequestTrust(SubscriptionState subState, Boolean isShellVisible, Boolean isUpdate, ActivationContext actCtx, TrustManagerContext tmc)    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Deployment.Application.DeploymentManager.DetermineTrustCore(Boolean blocking, TrustParams tp) &lt;/p&gt;  &lt;p&gt;COMPONENT STORE TRANSACTION DETAILS   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; No transaction information is available. &lt;/p&gt;  &lt;p&gt;Reason 4.&lt;/p&gt;  &lt;p&gt;More critical one is if your client use Authentication proxy to get his Internet connection. You may fall on 407 error &lt;/p&gt;  &lt;p&gt;PLATFORM VERSION INFO    &lt;br /&gt;Windows&amp;#160;&amp;#160;&amp;#160; : 5.1.2600.131072 (Win32NT)     &lt;br /&gt;Common Language Runtime&amp;#160; : 2.0.50727.42     &lt;br /&gt;System.Deployment.dll&amp;#160;&amp;#160; : 2.0.50727.42 (RTM.050727-4200)     &lt;br /&gt;mscorwks.dll&amp;#160;&amp;#160;&amp;#160; : 2.0.50727.42 (RTM.050727-4200)     &lt;br /&gt;dfshim.dll&amp;#160;&amp;#160;&amp;#160; : 2.0.50727.42 (RTM.050727-4200)&lt;/p&gt;  &lt;p&gt;SOURCES    &lt;br /&gt;Deployment url&amp;#160;&amp;#160; : &lt;a href="http://..../home.xbap"&gt;http://..../home.xbap&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;ERROR SUMMARY    &lt;br /&gt;Below is a summary of the errors, details of these errors are listed later in the log.     &lt;br /&gt;* An exception occurred while downloading the manifest. Following failure messages were detected:     &lt;br /&gt;&amp;#160; + Downloading &lt;a href="http://.../Home.xbap"&gt;http://.../Home.xbap&lt;/a&gt; did not succeed.     &lt;br /&gt;&amp;#160; + &lt;strong&gt;&lt;font color="#ff0000"&gt;The remote server returned an error: (407) Proxy Authentication Required.&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Check out this thread&lt;/p&gt;  &lt;p&gt;&lt;a title="http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d6b018bf-df4c-4cf8-90db-98e502d619e6/" href="http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d6b018bf-df4c-4cf8-90db-98e502d619e6/"&gt;http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/d6b018bf-df4c-4cf8-90db-98e502d619e6/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a title="http://geekswithblogs.net/mrnat/archive/2007/09/16/115405.aspx" href="http://geekswithblogs.net/mrnat/archive/2007/09/16/115405.aspx"&gt;http://geekswithblogs.net/mrnat/archive/2007/09/16/115405.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I can't solve it yet let you know when I can do it.&lt;/p&gt;  &lt;p&gt;hope it will solve by using&lt;/p&gt;  &lt;p&gt;&amp;lt;configuration&amp;gt;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; . . .     &lt;br /&gt;&amp;#160;&amp;#160; &amp;lt;system.net&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;defaultProxy enabled=&amp;quot;true&amp;quot; useDefaultCredentials=&amp;quot;true&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160; &amp;lt;/system.net&amp;gt;     &lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;/p&gt;  &lt;p&gt;good luck...&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Tips&lt;/p&gt;  &lt;p&gt;Worse way to solve deployment error is deleting previous application file from user cache. normally click once deployed file will cache here&lt;/p&gt;  &lt;p&gt;root...:\Documents and Settings\..user..\Local Settings\Apps&lt;/p&gt;  &lt;p&gt;you can clean it by manually or using mage tools come with .net framework sdk.Go vs command prompt and type&amp;#160; &amp;quot;mage -cc&amp;quot;&amp;#160; this will clear your previous cache.&lt;/p&gt;  &lt;p&gt;Another tips is if deployment fail the error window comes with a support link. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_l6112UOpuQY/SSenjrI2w_I/AAAAAAAAB_Y/HGpxi_E_jQ0/s1600-h/deploymenterror24.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="189" alt="deploymenterror2" src="http://lh6.ggpht.com/_l6112UOpuQY/SSenkaGl6OI/AAAAAAAAB_c/H4ESuDlJe4M/deploymenterror2_thumb2.jpg?imgmax=800" width="429" border="0" /&gt;&lt;/a&gt; You can configure this link from you application property window&amp;gt;&amp;gt;options &lt;a href="http://lh5.ggpht.com/_l6112UOpuQY/SSennvS7KeI/AAAAAAAAB_g/TrJdTsG4NHA/s1600-h/publish3.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="275" alt="publish" src="http://lh3.ggpht.com/_l6112UOpuQY/SSenpPwzPnI/AAAAAAAAB_k/1xSt35MCymk/publish_thumb1.jpg?imgmax=800" width="409" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_l6112UOpuQY/SSenqPnZr1I/AAAAAAAAB_o/s7172xIqcX8/s1600-h/publish29.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="235" alt="publish2" src="http://lh3.ggpht.com/_l6112UOpuQY/SSenq7DQ6bI/AAAAAAAAB_s/hRVIkTgm9OY/publish2_thumb5.jpg?imgmax=800" width="421" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;then set your Support Url.&lt;/p&gt;  &lt;p&gt;hope this helps.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-7857442385050953203?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/7857442385050953203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=7857442385050953203' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7857442385050953203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7857442385050953203'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2008/11/troubleshooting-wpf-xbap-error.html' title='Troubleshooting Wpf Xbap Error : Application Deployment Error'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_l6112UOpuQY/SSenhOkT3lI/AAAAAAAAB_M/YC5gvvo051A/s72-c/deploymenterror_thumb13.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-5917492611485651096</id><published>2008-10-26T15:25:00.005+06:00</published><updated>2008-12-22T18:28:27.565+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title type='text'>Got time out exception while calling java web service from wcf</title><content type='html'>While i was trying to call java base webservice got time out exception. Later on i sloved that by stoping NagleAlgorithm.&lt;br /&gt;&lt;br /&gt;ServicePointManager.Expect100Continue = false;&lt;br /&gt;ServicePointManager.UseNagleAlgorithm = false;&lt;br /&gt;&lt;br /&gt;ServiceClient sc=new ServiceClient ();&lt;br /&gt;&lt;br /&gt;UseNagleAlgorithm = false before creating your service endpoint client else its not working.&lt;br /&gt;&lt;br /&gt;The Nagle algorithm is used to reduce network traffic by buffering small packets of data and transmitting them as a single packet. This process is also referred to as "nagling"; it is widely used because it reduces the number of packets transmitted and lowers the overhead per packet.&lt;br /&gt;more on...&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.usenaglealgorithm.aspx"&gt;http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.usenaglealgorithm.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;other blog and link regading this issue&lt;br /&gt;&lt;a href="http://basildoncoder.com/blog/2007/12/"&gt;http://basildoncoder.com/blog/2007/12/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/810814"&gt;http://support.microsoft.com/kb/810814&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-5917492611485651096?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/5917492611485651096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=5917492611485651096' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5917492611485651096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5917492611485651096'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2008/10/got-time-out-exception-while-calling.html' title='Got time out exception while calling java web service from wcf'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-3925337445057308700</id><published>2008-10-20T15:11:00.002+06:00</published><updated>2008-12-22T18:29:05.237+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Detect the .NET Framework 3.5 sp1 from asp.net</title><content type='html'>After  installing NET Framework 3.5 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;sp&lt;/span&gt;1  from asp.net you will still get Request.Browser.ClrVersion.ToString() value is 3.5.21022 its not the latest &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;sp&lt;/span&gt;1 &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;version&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;therefore better check from Request.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;Params&lt;/span&gt;["HTTP_USER_AGENT"] where you will get all info contain at&lt;br /&gt;SOFTWARE\Microsoft\Windows\&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;CurrentVersion&lt;/span&gt;\Internet Settings\5.0\User Agent\Post Platform&lt;br /&gt;&lt;br /&gt;So check your require &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_5"&gt;version &lt;/span&gt;using following code&lt;br /&gt;&lt;br /&gt;if (Request.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;Params&lt;/span&gt;["HTTP_USER_AGENT"].Contains("NET CLR 3.5.30729")==false)&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;hasDotNet&lt;/span&gt; = false;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-3925337445057308700?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/3925337445057308700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=3925337445057308700' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/3925337445057308700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/3925337445057308700'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2008/10/detect-net-framework-35-sp1-from-aspnet.html' title='Detect the .NET Framework 3.5 sp1 from asp.net'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-5446274026729909079</id><published>2008-05-07T16:13:00.005+06:00</published><updated>2008-12-22T18:28:06.428+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title type='text'>Knowing when a WCF service in Fault state / Recover from fault state</title><content type='html'>&lt;div class="Section1"&gt; &lt;p class="Publishwithline"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;&lt;font face="Tahoma"&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;If you’re creating WCF dynamic proxy by using &lt;/span&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: #2b91af"&gt;ChannelFactory &lt;/span&gt;your channel can become fault state then you have to create a new channel before next request. To know about fault state and Fault Exception check following blog post&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;a href="http://dotnet.org.za/willy/archive/2006/12/19/WCF-FaultException-_2620_-why-use-it_3F00_.aspx"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;&lt;font face="Tahoma" size="2"&gt;http://dotnet.org.za/willy/archive/2006/12/19/WCF-FaultException-_2620_-why-use-it_3F00_.aspx&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;You can subscribe the &lt;span style="color: #2b91af"&gt;ICommunicationObject &lt;/span&gt;faulted event and create the channel again. Here is the code&lt;/span&gt;&lt;br&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="font-size: 85%; color: #2b91af; font-family: arial"&gt;ChannelFactory&lt;/span&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;&amp;lt;&lt;span style="color: #2b91af"&gt;ICalculationService&lt;/span&gt;&amp;gt; CalculationServiceCF = &lt;span style="color: blue"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;h1&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="font-size: 85%; color: blue; font-family: arial"&gt;public&lt;/span&gt;&lt;span style="font-size: 85%; font-family: arial"&gt; &lt;span style="color: #2b91af"&gt;ICalculationService&lt;/span&gt; CreateCalculationService()&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;&lt;/span&gt;&lt;font face="Tahoma" size="2"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;{&lt;/span&gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="color: #2b91af"&gt;EndpointAddress&lt;/span&gt; address = &lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;EndpointAddress&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;…………..&lt;/span&gt;);&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/h1&gt; &lt;h1&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="color: blue"&gt;if&lt;/span&gt; (CalculationServiceCF == &lt;span style="color: blue"&gt;null&lt;/span&gt;)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font face="Tahoma" size="2"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;CalculationServiceCF = &lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;ChannelFactory&lt;/span&gt;&amp;lt;&lt;span style="color: #2b91af"&gt;ICalculationService&lt;/span&gt;&amp;gt;(-------);&lt;/span&gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="color: #2b91af"&gt;ICalculationService&lt;/span&gt; client = CalculationServiceCF.CreateChannel();&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font face="Tahoma" size="2"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;((&lt;span style="color: #2b91af"&gt;ICommunicationObject&lt;/span&gt;)client).Faulted+= &lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;EventHandler&lt;/span&gt;(ProxyServiceFactory_Faulted);&lt;/span&gt;&lt;/font&gt;&lt;/h1&gt; &lt;h1&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="color: blue"&gt;return&lt;/span&gt; client;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/h1&gt; &lt;h1&gt;&lt;font face="Tahoma" size="2"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;} &lt;/span&gt;&lt;/font&gt;&lt;/h1&gt; &lt;p class="MsoNormal"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="color: blue"&gt;void&lt;/span&gt; ProxyServiceFactory_Faulted(&lt;span style="color: blue"&gt;object&lt;/span&gt; sender, &lt;span style="color: #2b91af"&gt;EventArgs&lt;/span&gt; e)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;&lt;font face="Tahoma" size="2"&gt;{&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;((&lt;span style="color: #2b91af"&gt;ICommunicationObject&lt;/span&gt;)sender).Abort();&lt;/span&gt;&lt;br&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;if&lt;/span&gt; (sender &lt;span style="color: blue"&gt;is&lt;/span&gt; &lt;span style="color: #2b91af"&gt;ICalculationService&lt;/span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;{&lt;/span&gt;&lt;br&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;sender = CalculationServiceCF.CreateChannel();&lt;/span&gt;&lt;br&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;}&lt;/span&gt; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;&lt;font face="Tahoma" size="2"&gt;}&lt;/font&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 85%; font-family: arial"&gt;&lt;font face="Tahoma" size="2"&gt;Careful you will find &lt;span style="color: #2b91af"&gt;ChannelFactory&lt;/span&gt;.Faulted event also. But do not try with this one.It will not fire when you channel become faulted. &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-5446274026729909079?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/5446274026729909079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=5446274026729909079' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5446274026729909079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5446274026729909079'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2008/05/knowing-when-wcf-service-in-fault-state.html' title='Knowing when a WCF service in Fault state / Recover from fault state'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-8037283609682433080</id><published>2008-05-04T17:06:00.014+06:00</published><updated>2008-12-22T18:27:28.522+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><title type='text'>How to run wpf/xbap in full trust mode</title><content type='html'>Windows Presentation Foundation (WPF) browser-hosted applications can be launched from the browser. You can deploy it by click once deployment and because of security reason &lt;span class="SpellE"&gt;xbap&lt;/span&gt; run on partial trust. Default client security settings should not run &lt;span class="SpellE"&gt;xbap&lt;/span&gt; in full trust. By changing client machine code group policy you can run &lt;span class="SpellE"&gt;xbap&lt;/span&gt; in full trust mode.&lt;br&gt;&lt;br&gt;For more info click &lt;a href="http://msdn.microsoft.com/en-us/library/aa970910.aspx"&gt;Windows Presentation Foundation Partial Trust Security&lt;/a&gt;.&lt;br&gt;&lt;br&gt;How to manually change code group to make your site full trust&lt;br&gt;&lt;br&gt;Go control panel&lt;span style="font-family: wingdings; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-char-type: symbolfont-family:wingdings"&gt;&lt;span style="font-family: wingdings; mso-char-type: symbol"&gt;à&lt;/span&gt;&lt;/span&gt;Administrative Tools&lt;span style="font-family: wingdings; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-char-type: symbolfont-family:wingdings"&gt;&lt;span style="font-family: wingdings; mso-char-type: symbol"&gt;à&lt;/span&gt;&lt;/span&gt;Microsoft .NET Framework 2.0 Configuration Add expand runtime security policyàCode Groups.Add a new code group with following settings&lt;br&gt;&lt;img id="BLOGGER_PHOTO_ID_5196486272571469698" style="display: block; margin: 0px auto 10px; cursor: hand; text-align: center" alt="" src="http://bp2.blogger.com/_l6112UOpuQY/SB2gu5TQ74I/AAAAAAAAADg/a1GK65u9Hbs/s320/pic1.JPG" border="0"&gt;&lt;br&gt;&lt;br&gt;&lt;a href="http://lh4.ggpht.com/nahidupa/SB2ZipTQ70I/AAAAAAAAAC8/XqUo-FxRZdA/s144/pic1.JPG"&gt;&lt;/a&gt;&lt;br&gt;&lt;img id="BLOGGER_PHOTO_ID_5196483781490437970" style="display: block; margin: 0px auto 10px; cursor: hand; text-align: center" alt="" src="http://bp2.blogger.com/_l6112UOpuQY/SB2ed5TQ71I/AAAAAAAAADE/RBeZt3VX_qE/s320/pic2.JPG" border="0"&gt;&lt;br&gt;&lt;img id="BLOGGER_PHOTO_ID_5196485362038402930" style="display: block; margin: 0px auto 10px; cursor: hand; text-align: center" alt="" src="http://bp2.blogger.com/_l6112UOpuQY/SB2f55TQ73I/AAAAAAAAADU/3THFy44huUI/s320/pic4.JPG" border="0"&gt;&lt;br&gt;&lt;br&gt; &lt;p class="MsoNormal" style="margin-left: 0.25in" align="left"&gt;&lt;/p&gt;&lt;br&gt;&lt;img id="BLOGGER_PHOTO_ID_5196484954016509794" style="display: block; margin: 0px auto 10px; cursor: hand; text-align: center" alt="" src="http://bp3.blogger.com/_l6112UOpuQY/SB2fiJTQ72I/AAAAAAAAADM/Oco35X9ugao/s320/pic3.JPG" border="0"&gt;This will make you site as full trust in for that client.For more info click &lt;a href="http://msdn.microsoft.com/en-us/library/930b76w0(VS.71).aspx"&gt;Code Access Security&lt;/a&gt;&lt;br&gt;&lt;br&gt;In real life it’s not possible to say your client to change his machine code group policy to overcome this you can give a patch that will create code group for you in client machine or you can make it totally encapsulate with help of activeX. Here is the code that will create code group.&lt;br&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="font-size: 85%; color: blue; font-family: arial; mso-no-proof: yes"&gt;namespace&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt; Environment&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;[&lt;span style="color: #2b91af"&gt;Guid&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"9E019B4B-C7EC-4951-AC6E-6E809940F753"&lt;/span&gt;)]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;public&lt;/span&gt; &lt;span style="color: blue"&gt;interface&lt;/span&gt; &lt;span style="color: #2b91af"&gt;COM_Interface&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;[&lt;span style="color: #2b91af"&gt;DispId&lt;/span&gt;(1)]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;void&lt;/span&gt; create(&lt;span style="color: blue"&gt;string&lt;/span&gt; siteName, &lt;span style="color: blue"&gt;string&lt;/span&gt; groupName);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;[&lt;span style="color: #2b91af"&gt;DispId&lt;/span&gt;(2)]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;bool&lt;/span&gt; HasFullTrust(&lt;span style="color: blue"&gt;string&lt;/span&gt; groupName);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;[&lt;span style="color: #2b91af"&gt;Guid&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"EE985754-3E90-4e0c-81F6-5C2F00784524"&lt;/span&gt;)]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;[&lt;span style="color: #2b91af"&gt;ClassInterface&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;ClassInterfaceType&lt;/span&gt;.AutoDual)]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&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: #2b91af"&gt;CodeGroupCreator1&lt;/span&gt;: COM_Interface &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;public&lt;/span&gt; &lt;span style="color: blue"&gt;void&lt;/span&gt; create(&lt;span style="color: blue"&gt;string&lt;/span&gt; siteName,&lt;span style="color: blue"&gt;string&lt;/span&gt; groupName)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="color: blue"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;try&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;const&lt;/span&gt; &lt;span style="color: blue"&gt;string&lt;/span&gt; userPolicyLevel = &lt;span style="color: #a31515"&gt;"Machine"&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="color: green"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;//// Locate the User policy level.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="color: green"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;po&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: #2b91af"&gt;licyLevel&lt;/span&gt; level = &lt;span style="color: blue"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;/span&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;System.Collections.&lt;span style="color: #2b91af"&gt;IEnumerator&lt;/span&gt; ph = &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;System.Security.&lt;span style="color: #2b91af"&gt;SecurityManager&lt;/span&gt;.PolicyHierarchy();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;/span&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;while&lt;/span&gt;(ph.MoveNext())&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;level = (&lt;span style="color: #2b91af"&gt;PolicyLevel&lt;/span&gt;)ph.Current;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;if&lt;/span&gt; (level.Label == userPolicyLevel)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;break&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;if&lt;/span&gt;(level.Label != userPolicyLevel)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;throw&lt;/span&gt; &lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;ApplicationException&lt;/span&gt;(&lt;span style="color: #a31515"&gt;"Could not find User policy level."&lt;/span&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: #2b91af"&gt;IMembershipCondition&lt;/span&gt; membership =&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;UrlMembershipCondition&lt;/span&gt;(siteName);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: #2b91af"&gt;UnionCodeGroup&lt;/span&gt; codeGroup = &lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;UnionCodeGroup&lt;/span&gt;(membership,&lt;br&gt;&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;PolicyStatement&lt;/span&gt;(&lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;PermissionSet&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;PermissionState&lt;/span&gt;.Unrestricted)));&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;codeGroup.Name = groupName;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;/span&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;codeGroup.PolicyStatement = &lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;PolicyStatement&lt;/span&gt;(level.GetNamedPermissionSet(&lt;span style="color: #a31515"&gt;"FullTrust"&lt;/span&gt;));&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;/span&gt;&lt;span style="color: green"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;// Add the code group to the User policy's root node.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;/span&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;System.Collections.&lt;span style="color: #2b91af"&gt;IEnumerator&lt;/span&gt; em = level.RootCodeGroup.Children.GetEnumerator();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;/span&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;bool&lt;/span&gt; alreadyHas = &lt;span style="color: blue"&gt;false&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;while&lt;/span&gt;(em.MoveNext())&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;if&lt;/span&gt; (((&lt;span style="color: #2b91af"&gt;CodeGroup&lt;/span&gt;)em.Current).Name == groupName)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;alreadyHas = &lt;span style="color: blue"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;break&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;if&lt;/span&gt;(alreadyHas == &lt;span style="color: blue"&gt;false&lt;/span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;br&gt;&lt;/span&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;level.RootCodeGroup.AddChild(codeGroup);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="color: green"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;//Save the changes to the policy level.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;System.Security.&lt;span style="color: #2b91af"&gt;SecurityManager&lt;/span&gt;.SavePolicy();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;/span&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;catch&lt;/span&gt; (&lt;span style="color: #2b91af"&gt;Exception&lt;/span&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;public&lt;/span&gt; &lt;span style="color: blue"&gt;bool&lt;/span&gt; HasFullTrust(&lt;span style="color: blue"&gt;string&lt;/span&gt; groupName)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;bool &lt;/span&gt;alreadyHas = &lt;span style="color: blue"&gt;false&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="color: blue"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;try&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;const&lt;/span&gt; &lt;span style="color: blue"&gt;string&lt;/span&gt; userPolicyLevel = &lt;span style="color: #a31515"&gt;"Machine"&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="color: green"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;////Locate the User policy level.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: #2b91af"&gt;PolicyLevel&lt;/span&gt; level = &lt;span style="color: blue"&gt;null&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;System.Collections.&lt;span style="color: #2b91af"&gt;IEnumerator&lt;/span&gt; ph =&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;System.Security.&lt;span style="color: #2b91af"&gt;SecurityManager&lt;/span&gt;.PolicyHierarchy();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="mso-spacerun: yes"&gt;&lt;/span&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;while&lt;/span&gt; (ph.MoveNext())&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;level = (&lt;span style="color: #2b91af"&gt;PolicyLevel&lt;/span&gt;)ph.Current;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;if&lt;/span&gt; (level.Label == userPolicyLevel)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;break;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;System.Collections.&lt;span style="color: #2b91af"&gt;IEnumerator&lt;/span&gt; em = level.RootCodeGroup.Children.GetEnumerator();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;while&lt;/span&gt; (em.MoveNext())&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;if&lt;/span&gt; (((&lt;span style="color: #2b91af"&gt;CodeGroup&lt;/span&gt;)em.Current).Name == groupName)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;alreadyHas = &lt;span style="color: blue"&gt;true&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;break&lt;/span&gt;; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;}&lt;span style="color: blue"&gt;catch&lt;/span&gt;{}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;return&lt;/span&gt; alreadyHas;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes"&gt;&lt;span style="font-family: arial"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 85%; font-family: arial; mso-no-proof: yes"&gt;}&lt;/span&gt;&lt;/p&gt;This code can be deployed as ActiveX.For more info about Packaging ActiveX Controls click &lt;a href="http://msdn.microsoft.com/en-us/library/aa751974(VS.85).aspx"&gt;here&lt;/a&gt;.&lt;br&gt;After installing this code as ActiveX you can call it by java script and create code group&lt;br&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="font-size: 85%; color: blue; font-family: 'Courier New'; mso-no-proof: yes"&gt;function &lt;/span&gt;&lt;span style="font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="font-size: 85%"&gt;CheckFullTrust(){&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;try&lt;/span&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;var&lt;/span&gt; x = &lt;span style="color: blue"&gt;new&lt;/span&gt; ActiveXObject(&lt;span style="color: #a31515"&gt;"Environment.CodeGroupCreator1"&lt;/span&gt;);&lt;/span&gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="MsoNormal" style="mso-layout-grid-align: none" align="left"&gt;&lt;span style="font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="font-size: 85%"&gt;&lt;span style="color: blue"&gt;if&lt;/span&gt;(!x.HasFullTrust(&lt;span style="color: #a31515"&gt;"MakeMeFulltrust"&lt;/span&gt;))&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="font-size: 85%"&gt;x.create(&lt;span style="color: #a31515"&gt;"http://lablalla/*"&lt;/span&gt;,&lt;span style="color: #a31515"&gt;"MakeMeFulltrust"&lt;/span&gt;); &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="font-size: 85%"&gt;}&lt;span style="color: blue"&gt;catch&lt;/span&gt;(e)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="font-size: 85%"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="font-size: 85%"&gt;window.location=&lt;span style="color: #a31515"&gt;"Error.aspx"&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New'; mso-no-proof: yes"&gt;&lt;span style="font-size: 85%"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" align="left"&gt;The idea is you can first check is the client considering you site as full trust or not?? By java script, then you can load your &lt;span class="SpellE"&gt;xbap&lt;/span&gt; or make first your site full trust by calling ActiveX method from java script later load &lt;span class="SpellE"&gt;xbap&lt;/span&gt;.&lt;br&gt;&lt;/p&gt; &lt;p class="MsoNormal" align="left"&gt;Related link&lt;/p&gt; &lt;h4&gt;&lt;font size="2"&gt;Creating A Full Trust Avalon Web Browser (.xbap) Application &lt;/font&gt;&lt;a title="http://blogs.msdn.com/karstenj/archive/2005/11/29/498061.aspx" href="http://blogs.msdn.com/karstenj/archive/2005/11/29/498061.aspx"&gt;&lt;font size="2"&gt;http://blogs.msdn.com/karstenj/archive/2005/11/29/498061.aspx&lt;/font&gt;&lt;/a&gt;&lt;/h4&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt;ClickOnce Deployment failed due to improper trusts&lt;a title="http://blogs.msdn.com/akshayns/archive/2007/05/02/clickonce-deployment.aspx" href="http://blogs.msdn.com/akshayns/archive/2007/05/02/clickonce-deployment.aspx"&gt;http://blogs.msdn.com/akshayns/archive/2007/05/02/clickonce-deployment.aspx&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;ClickOnce Deployment of XBAP/WPF Full Trust Application&lt;/p&gt;&lt;a title="http://sdolha.spaces.live.com/blog/cns!4121802308C5AB4E!4845.entry" href="http://sdolha.spaces.live.com/blog/cns!4121802308C5AB4E!4845.entry"&gt;http://sdolha.spaces.live.com/blog/cns!4121802308C5AB4E!4845.entry&lt;/a&gt;&lt;/p&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-8037283609682433080?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/8037283609682433080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=8037283609682433080' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8037283609682433080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8037283609682433080'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2008/05/how-to-run-wfpxbap-in-full-trust-mode.html' title='How to run wpf/xbap in full trust mode'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_l6112UOpuQY/SB2gu5TQ74I/AAAAAAAAADg/a1GK65u9Hbs/s72-c/pic1.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-6285731641103901545</id><published>2008-04-10T16:44:00.002+06:00</published><updated>2008-12-22T18:27:28.521+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WPF'/><title type='text'>WPF in web</title><content type='html'>&lt;div class="Section1"&gt;&lt;p class="MsoNormal"&gt;I’m recently working on a project where we come up with a&lt;br /&gt;decision to use wpf in web. The main reason behind taking this decision is we&lt;br /&gt;want to share some component already developed in desktop using wfp and our&lt;br /&gt;company we have some suit of products always can be share some module both web&lt;br /&gt;and desktop. Previously we need to develop a lots component with same feature&lt;br /&gt;for web and desktop. Huhh no more redundant work should come up a common&lt;br /&gt;platform. After some basic r&amp;amp;d we jump to develop some share module for&lt;br /&gt;both desktop and web using wfp. We are smoothly going with wfp in desktop but&lt;br /&gt;in each step in web we fall one by one problem (in bangle “minca chipa”). &lt;/p&gt;&lt;p class="MsoNormal"&gt;I’m short out some problem that not too much context&lt;br /&gt;specific and anybody want use wfp in web most frequently fall on those issues.&lt;br /&gt;Here some of those&lt;/p&gt;&lt;p class="MsoNormal"&gt;1. Hosting xbap on aspx pages.&lt;/p&gt;&lt;p class="MsoNormal"&gt;We are decide to use some component are sheared both web and&lt;br /&gt;desktop so we are choose hosting xbap inside aspx page rather then root&lt;br /&gt;application is xbap though it’s possible to call aspx pages from xbap using&lt;br /&gt;ifame. &lt;/p&gt;&lt;p class="MsoNormal"&gt;Here is example how to html in xbap. Carefully looks on&lt;br /&gt;source that’s a bit different in case of xbap.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;lt;Frame&lt;br /&gt;Source="pack://siteoforigin:,,,/example.aspx" Width="Auto"&lt;br /&gt;Height="Auto" MinHeight="600" MinWidth="1024"&lt;br /&gt;&amp;gt;&amp;lt;/Frame&amp;gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;But we don’t want to lose basic web programming model for&lt;br /&gt;just using xbap also we has already implemented authentication and other&lt;br /&gt;functionality using asp.net. If xbap become root application it will be nothing&lt;br /&gt;but a smart client. So we hosting xbap inside aspx page using iframe &lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;lt;iframe id="xbap"&lt;br /&gt;src="../EmbadedObjects/UIContainer.xbap?SessionID=mnwlgu2lzvcyfm45z4hixs45&amp;amp;ComponentID=Organiger"&lt;br /&gt;/&amp;gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;At the beginning we are expecting may be there must be some&lt;br /&gt;way to communicate with java script from xbap and vise versa very basic web&lt;br /&gt;developer expectation huhhh. And start getting disappointed from beginning&lt;br /&gt;there is no way to communicate java script and xbap. Ohh noooo can we read at&lt;br /&gt;least Query string and cookie from xbap?? Hmm yes we can&lt;/p&gt;&lt;p class="MsoNormal"&gt;Here is code&lt;/p&gt;&lt;p class="MsoNormal"&gt;//how to Query string from xbap&lt;/p&gt;&lt;p class="MsoNormal"&gt;BrowserInteropHelper.Source.Query.ToString();&lt;/p&gt;&lt;p class="MsoNormal"&gt;//cookie from xbap&lt;/p&gt;&lt;p class="MsoNormal"&gt;Application.SetCookie(new Uri("http://nahid2.kaz.com.bd/servicedep/WpfBrowserApplication1.xbap"),&lt;br /&gt;"Hellllo");&lt;/p&gt;&lt;p class="MsoNormal"&gt;Application.GetCookie(new&lt;br /&gt;Uri("http://nahid2.kaz.com.bd/servicedep/WpfBrowserApplication1.xbap");&lt;/p&gt;&lt;p class="MsoNormal"&gt;Important things to say about Query string in you will get&lt;br /&gt;the Iframe source as query string not from url you see in browser address bar&lt;br /&gt;if your host using iframe.&lt;/p&gt;&lt;p class="MsoNormal"&gt;Ok hosting is complete now we want to talk with server from&lt;br /&gt;xbap. wcf obviously good option and get another problem while using wcf from&lt;br /&gt;xbap &lt;/p&gt;&lt;p class="MsoNormal"&gt;You can easily use basicHttpBinding binding but we need&lt;br /&gt;session so we need wsHttpBinding but we are getting System.Web.Security&lt;br /&gt;exception &lt;/p&gt;&lt;p class="MsoNormal"&gt;And we find out the way how to call wcf with wsHttpBinding&lt;br /&gt;we need to do reliable session off and security none. Here is the configuration&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&amp;lt;wsHttpBinding&amp;gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;lt;binding name="WsHttpBindingNoSecurity"&amp;gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;lt;security mode="None" /&amp;gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;lt;reliableSession enabled="false" /&amp;gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;lt;/binding&amp;gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;lt;/wsHttpBinding&amp;gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;lt;service name="Service.Service"&amp;gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;lt;clear /&amp;gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;lt;endpoint&lt;br /&gt;address="http://localhost/ServiceHost/Service.svc"&lt;/p&gt;&lt;p class="MsoNormal"&gt;binding="wsHttpBinding"&lt;br /&gt;bindingConfiguration="WsHttpBindingNoSecurity"&lt;/p&gt;&lt;p class="MsoNormal"&gt;contract="Service.Service"&lt;br /&gt;listenUriMode="Explicit" /&amp;gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;lt;/service&amp;gt;&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;               To be Continue&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-6285731641103901545?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/6285731641103901545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=6285731641103901545' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/6285731641103901545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/6285731641103901545'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2008/04/wpf-in-web.html' title='WPF in web'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-4331976663866392552</id><published>2007-12-09T13:36:00.001+06:00</published><updated>2008-12-22T18:29:39.732+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>How to add executable java script in BlogSpot??</title><content type='html'>BlogSpot not allow you to add JavaScript  block. But you can add an external file that hosted on another sites using&lt;br /&gt;&lt;br /&gt;'&lt;'script src="File_URL" type="text/javascript"&gt;'&lt;'/script&gt; //ignore additional \’&lt;br /&gt;&lt;br /&gt;I’m upload a JavaScript script in my yahoo briefcase public folder and add it in my BlogSpot blog and java script working fine.&lt;br /&gt;&lt;br /&gt;'&lt;'script src="http://us.f13.yahoofs.com/bc/475a6643_5db0/bc/Public/test.js?bfgt3WHB3M0W1Gdm" type="text/javascript"&gt;'&lt;'/script&gt; //ignore additional \’&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-4331976663866392552?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/4331976663866392552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=4331976663866392552' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/4331976663866392552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/4331976663866392552'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/12/how-to-add-executable-java-script-in.html' title='How to add executable java script in BlogSpot??'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-4606606432360226915</id><published>2007-11-19T19:36:00.001+06:00</published><updated>2008-12-22T18:25:40.117+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>XML parsing using flex (Ignoring white space and newline)</title><content type='html'>In flex if you create XMLDocument following way&lt;br /&gt;var str:String="&lt;"root"&gt; &lt;"node"&gt;&lt;"/node"&gt;\n&lt;"/root"&gt;"; //there will be no extra "&lt;br /&gt;var doc:XMLDocument =new XMLDocument(str);&lt;br /&gt;doc.ignoreWhite=true;&lt;br /&gt;&lt;br /&gt;this will not ignore white space&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp2.blogger.com/_l6112UOpuQY/R0GReSv6ofI/AAAAAAAAACA/uKadMlWqnII/s1600-h/test.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5134544999793992178" style="CURSOR: hand" alt="" src="http://bp2.blogger.com/_l6112UOpuQY/R0GReSv6ofI/AAAAAAAAACA/uKadMlWqnII/s320/test.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;what you have to do is&lt;br /&gt;var str:String="&lt;"root"&gt; &lt;"node"&gt;&lt;"/node"&gt;\n&lt;"/root"&gt;";//there will be no extra "&lt;br /&gt;var doc:XMLDocument =new XMLDocument();&lt;br /&gt;doc.ignoreWhite=true;&lt;br /&gt;doc.parseXML(str);&lt;br /&gt;this will actually ignore the white space and new line&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-4606606432360226915?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/4606606432360226915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=4606606432360226915' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/4606606432360226915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/4606606432360226915'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/11/xml-parsing-using-flex-ignoring-white.html' title='XML parsing using flex (Ignoring white space and newline)'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_l6112UOpuQY/R0GReSv6ofI/AAAAAAAAACA/uKadMlWqnII/s72-c/test.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-6956819146525710019</id><published>2007-11-19T19:20:00.000+06:00</published><updated>2008-12-22T18:30:03.552+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>flex builder debug problem</title><content type='html'>If you get following message in flex builder just install flashplayer 9 debug from&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.adobe.com/support/flashplayer/downloads.html"&gt;http://www.adobe.com/support/flashplayer/downloads.html&lt;/a&gt;&lt;br /&gt;//for winxp&lt;br /&gt;&lt;a href="http://download.macromedia.com/pub/flashplayer/updaters/9/flashplayer_9_ax_debug.exe"&gt;http://download.macromedia.com/pub/flashplayer/updaters/9/flashplayer_9_ax_debug.exe&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;C:\WINDOWS\system32\Macromed\Flash\Flash9c.ocx&lt;br /&gt;Flex Builder cannot locate the required debug version of the Flash Player. You may need to install the debug version of Flash Player 9.0 or reinstall Flex Builder. Do you want to try to debug with the current version?&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp3.blogger.com/_l6112UOpuQY/R0GPPiv6oeI/AAAAAAAAAB4/-SlMiv3JMJg/s1600-h/error.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5134542547367666146" style="CURSOR: hand" alt="" src="http://bp3.blogger.com/_l6112UOpuQY/R0GPPiv6oeI/AAAAAAAAAB4/-SlMiv3JMJg/s320/error.JPG" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-6956819146525710019?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/6956819146525710019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=6956819146525710019' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/6956819146525710019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/6956819146525710019'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/11/flex-builder-debug-problem.html' title='flex builder debug problem'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_l6112UOpuQY/R0GPPiv6oeI/AAAAAAAAAB4/-SlMiv3JMJg/s72-c/error.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-7948392811970291200</id><published>2007-08-30T12:27:00.000+06:00</published><updated>2007-09-09T17:14:02.769+06:00</updated><title type='text'>I'm currently leave here</title><content type='html'>&lt;iframe src=http://wikimapia.org/s/#y=23747664&amp;x=90381727&amp;z=18&amp;l=0&amp;m=a&amp;v=2 width=545 height=211 frameborder=0&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-7948392811970291200?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/7948392811970291200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=7948392811970291200' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7948392811970291200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7948392811970291200'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/08/my-new-house-location.html' title='I&apos;m currently leave here'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-9068459826008822571</id><published>2007-05-22T16:44:00.001+06:00</published><updated>2008-12-22T18:30:42.271+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>JavaScript-Confirm using at AutoGenerateDeleteButton in case of grid view</title><content type='html'>Hook RowDataBound event of gridview and then use following code&lt;br /&gt;&lt;br /&gt;   protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)&lt;br /&gt;    {&lt;br /&gt;  LinkButton DeleteButton = (LinkButton)e.Row.Cells[0].Controls[0];&lt;br /&gt;            if (null != DeleteButton)&lt;br /&gt;            {&lt;br /&gt;                DeleteButton.OnClientClick = "return(confirm('Are you sure you want to delete this record?'))";&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-9068459826008822571?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/9068459826008822571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=9068459826008822571' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/9068459826008822571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/9068459826008822571'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/05/javascript-confirm-using-at.html' title='JavaScript-Confirm using at AutoGenerateDeleteButton in case of grid view'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-7536050127488562932</id><published>2007-05-21T15:26:00.000+06:00</published><updated>2007-09-02T16:42:52.549+06:00</updated><title type='text'>Some daily life code snippet</title><content type='html'>&lt;strong&gt;&lt;span style="font-family:arial;"&gt;Detect client explorer using java script&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;var isIE = navigator.userAgent.indexOf('MSIE') &gt; -1;&lt;br /&gt;var isFF = navigator.userAgent.indexOf('Firefox') &gt; -1;&lt;br /&gt;&lt;br /&gt;if (isIE) {&lt;br /&gt;//internet explorer&lt;br /&gt;}&lt;br /&gt;else if(isFF){&lt;br /&gt;//fire fox&lt;br /&gt;}else&lt;br /&gt;{&lt;br /&gt;//other&lt;br /&gt;}&lt;br /&gt;@server side&lt;br /&gt;String ua = request.getHeader( "User-Agent" );&lt;br /&gt;boolean isFirefox = ( ua != null &amp;&amp;amp;amp;amp;amp; ua.indexOf( "Firefox/" ) != -1 );&lt;br /&gt;boolean isMSIE = ( ua != null &amp;&amp;amp; ua.indexOf( "MSIE" ) != -1 );&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Detecting Internet Explorer More Effectively&lt;/span&gt;&lt;br /&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms537509.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms537509.aspx&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;Determining Browser Capabilities in ASP.NET&lt;/span&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/msdnmag/issues/05/01/aspcolumn/"&gt;http://msdn.microsoft.com/msdnmag/issues/05/01/aspcolumn/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Getting assembly version and storing it in application variable useful @ asp.net case&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;Assembly assembly = Assembly.GetExecutingAssembly();&lt;br /&gt;Application["Verssion"] =assembly.GetName().Version.ToString();&lt;br /&gt;&lt;br /&gt;//show it in a div&lt;br /&gt;verssionNumber.InnerText="Version:"+Application["Verssion"].ToString();&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Using resources is asp.net&lt;br /&gt;&lt;/strong&gt;ResourceManager oResourceManager = ResourceManager.CreateFileBasedResourceManager("DynamicConfiguration",Server.MapPath("bin") + Path.DirectorySeparatorChar,null);&lt;br /&gt;Application["RM"] =oResourceManager;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;clone tag using java script&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;function cloneNodes()&lt;br /&gt;{&lt;br /&gt;var y = document.body;&lt;br /&gt;var nodeToClone = y.getElementsByTagName('div')[0];&lt;br /&gt;if (y.importNode)&lt;br /&gt;var clonedNode = y.importNode(nodeToClone,true);&lt;br /&gt;else&lt;br /&gt;var clonedNode = nodeToClone.cloneNode(true);&lt;br /&gt;y.appendChild(clonedNode);&lt;br /&gt;}&lt;br /&gt;cloneNodes();&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Restore database SQL script&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;RESTORE DATABASE [Alluvion] FROM  DISK = N'C:\db\24-2007.bak' WITH  FILE = 1,  NOUNLOAD,  REPLACE,  STATS = 10&lt;br /&gt;GO&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-7536050127488562932?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/7536050127488562932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=7536050127488562932' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7536050127488562932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7536050127488562932'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/05/some-daily-life-code-snippet.html' title='Some daily life code snippet'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-8869128430337840805</id><published>2007-04-23T17:44:00.000+06:00</published><updated>2008-12-22T18:25:40.118+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Uploading file in flex 2 and asp.net</title><content type='html'>Here is the simple code to uploading a file to asp.net host server.&lt;br /&gt;&lt;br /&gt;var fileRef:FileReference = new FileReference();&lt;br /&gt;fileRef.addEventListener(Event.SELECT, selectHandler);&lt;br /&gt;fileRef.addEventListener(Event.COMPLETE, completeHandler);&lt;br /&gt;try{var success:Boolean = fileRef.browse();&lt;br /&gt;}catch (error:Error){&lt;br /&gt;trace("Unable to browse for files.");&lt;br /&gt;}&lt;br /&gt;function selectHandler(event:Event):void{&lt;br /&gt;var request:URLRequest = new URLRequest("http://www.yourdomain].com/FileReciver.aspx")&lt;br /&gt;try{fileRef.upload(request);&lt;br /&gt;}catch (error:Error){&lt;br /&gt;trace("Unable to upload file.");&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;function completeHandler(event:Event):void{trace("uploaded");}&lt;br /&gt;&lt;br /&gt;And the server side asp.net file receiver code is following&lt;br /&gt;&lt;br /&gt;public partial class receiver: System.Web.UI.Page{&lt;br /&gt;protected void Page_Load(object sender, EventArgs e) {&lt;br /&gt;HttpPostedFile oReciveFile = Request.Files[0];&lt;br /&gt;oReciveFile.SaveAs(Server.MapPath("./")+ "WOW.xml");}&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-8869128430337840805?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/8869128430337840805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=8869128430337840805' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8869128430337840805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8869128430337840805'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/04/uploading-file-in-flex-2-and-aspnet.html' title='Uploading file in flex 2 and asp.net'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-7362356910845755727</id><published>2007-04-07T10:44:00.000+06:00</published><updated>2007-04-07T10:54:16.119+06:00</updated><title type='text'>Enterprise Library 3.0 Released</title><content type='html'>This release of Enterprise Library includes: Caching Application Block, Cryptography Application Block, Data Access Application Block, Exception Handling Application Block, Logging Application Block, Policy Injection Application Block, Security Application Block and Validation Application Block.&lt;br /&gt;&lt;br /&gt;Policy Injection Application Block and Validation Application Block are new in this release.&lt;br /&gt;&lt;br /&gt;Download link&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=62ef5f79-daf2-43af-9897-d926f03b9e60&amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=62ef5f79-daf2-43af-9897-d926f03b9e60&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Get quick info from here &lt;a href="http://davidhayden.com/blog/dave/archive/2007/04/05/EnterpriseLibrary3ReleasedDownloadItNow.aspx"&gt;http://davidhayden.com/blog/dave/archive/2007/04/05/EnterpriseLibrary3ReleasedDownloadItNow.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Highlights of this Release&lt;br /&gt;&lt;a href="http://blogs.msdn.com/tomholl/archive/2007/04/05/just-released-enterprise-library-3-0-april-2007.aspx"&gt;http://blogs.msdn.com/tomholl/archive/2007/04/05/just-released-enterprise-library-3-0-april-2007.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-7362356910845755727?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/7362356910845755727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=7362356910845755727' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7362356910845755727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7362356910845755727'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/04/enterprise-library-30-released.html' title='Enterprise Library 3.0 Released'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-8276930214027469143</id><published>2007-03-28T17:51:00.000+06:00</published><updated>2008-12-22T18:31:41.916+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Asp.net 2.0 login.aspx page shown an error after publishing if login.aspx page class name is login</title><content type='html'>&lt;p&gt;An interesting error comes when I’m published my asp.net 2.0 project and try to browse login.aspx pages. Error like this&lt;/p&gt;&lt;p&gt;Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0030: Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls.Login'&lt;/p&gt;&lt;p&gt;It seems login class conflict with 'System.Web.UI.WebControls.Login' namespace thought I’m not using login control.&lt;/p&gt;&lt;p&gt;i'm changed the class name login to login_dam the problem was sloved...realy interesting ...&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-8276930214027469143?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/8276930214027469143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=8276930214027469143' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8276930214027469143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8276930214027469143'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/03/aspnet-20-loginaspx-page-shown-error.html' title='Asp.net 2.0 login.aspx page shown an error after publishing if login.aspx page class name is login'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-7400212836966740902</id><published>2007-03-12T11:26:00.000+06:00</published><updated>2007-03-12T11:53:16.864+06:00</updated><title type='text'>Windows Live Messager 8.1 Bug</title><content type='html'>&lt;img id="BLOGGER_PHOTO_ID_5040905482065197682" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://bp1.blogger.com/_l6112UOpuQY/RfTk0_zQunI/AAAAAAAAAA4/XI1kgQuFP2E/s320/windowslive+bug.JPG" border="0" /&gt; &lt;div&gt;Huh, Graphics bug of MS Live 8.1 while transfer a file. Transfer file window border also paint on tile. I don't know its known bug or not. Here are version details&lt;a href="http://bp3.blogger.com/_l6112UOpuQY/RfTmlfzQuqI/AAAAAAAAABQ/hwmoXQFTUwU/s1600-h/verssion.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5040907414800480930" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://bp3.blogger.com/_l6112UOpuQY/RfTmlfzQuqI/AAAAAAAAABQ/hwmoXQFTUwU/s320/verssion.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://bp3.blogger.com/_l6112UOpuQY/RfTl9fzQuoI/AAAAAAAAABA/5U7juOc0-UE/s1600-h/verssion.JPG"&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-7400212836966740902?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/7400212836966740902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=7400212836966740902' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7400212836966740902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7400212836966740902'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/03/windows-live-messager-81-bug.html' title='Windows Live Messager 8.1 Bug'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_l6112UOpuQY/RfTk0_zQunI/AAAAAAAAAA4/XI1kgQuFP2E/s72-c/windowslive+bug.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-5446707086323825803</id><published>2007-01-30T18:02:00.000+06:00</published><updated>2007-01-30T18:03:07.194+06:00</updated><title type='text'>DSL TOOLS compile error</title><content type='html'>I’m getting some error while compiling all kind of DSL project….Problems post in DSL forum&lt;br /&gt; &lt;a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1167687&amp;SiteID=1&amp;amp;mode=1"&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1167687&amp;SiteID=1&amp;amp;mode=1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And get the answer&lt;br /&gt;&lt;br /&gt;I’m found that’s in my PC I’m not installing c++ of VS 2005 but install VS 6.0 with VS source safe and VSC++. I remove VC++ but keep VS source safe and reboot and create a new DSL project and getting some fatal error then I’m installing VS 2005 C++ project reboot and create new DSL project..WOW!! Every thing OK…&lt;br /&gt;&lt;br /&gt;SO visual source safe can be running with DSL….&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-5446707086323825803?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/5446707086323825803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=5446707086323825803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5446707086323825803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/5446707086323825803'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/01/dsl-tools-compile-error.html' title='DSL TOOLS compile error'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-344470645031924899</id><published>2007-01-27T07:12:00.000+06:00</published><updated>2008-12-22T18:31:41.917+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>ASP.NET AJAX v1.0  Sys.Debug is null or not an object.</title><content type='html'>While I was migrated AJAX v1.0 RC to released AJAX v1.0 I had Sys.Debug is null or not an object.error. I try to debug java script its halt on a line where debug.assert (…)… are called. I restart IIS but problem not fixed yet…hmm…..Restart PC …every thing ok…&lt;br /&gt;&lt;br /&gt;Similar problem forum thread&lt;br /&gt;&lt;br /&gt;&lt;a href="http://forums.asp.net/thread/1546886.aspx"&gt;http://forums.asp.net/thread/1546886.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-344470645031924899?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/344470645031924899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=344470645031924899' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/344470645031924899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/344470645031924899'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/01/aspnet-ajax-v10-debug-is-undefined.html' title='ASP.NET AJAX v1.0  Sys.Debug is null or not an object.'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-3759502664228952363</id><published>2007-01-25T21:29:00.000+06:00</published><updated>2007-01-25T21:41:41.301+06:00</updated><title type='text'>download link</title><content type='html'>Save you time using direct link of following tools.. those download need registration …&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Guidance Automation Extensions&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Quick Details&lt;br /&gt;File Name:&lt;br /&gt;GuidanceAutomationExtensions.msi&lt;br /&gt;Version: June-2006&lt;br /&gt;Date Published: 10/31/2006&lt;br /&gt;Language: English&lt;br /&gt;Download Size: 1.3 MB&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/info.aspx?na=90&amp;p=&amp;amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;amp;SrcFamilyId=C0A394C0-5EEB-47C4-9F7B-71E51866A7ED&amp;u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fd%2ff%2f6%2fdf698135-aede-4aec-b078-dda5fdae68ff%2fGuidanceAutomationExtensions.msi"&gt;http://www.microsoft.com/downloads/info.aspx?na=90&amp;amp;p=&amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;SrcFamilyId=C0A394C0-5EEB-47C4-9F7B-71E51866A7ED&amp;amp;u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fd%2ff%2f6%2fdf698135-aede-4aec-b078-dda5fdae68ff%2fGuidanceAutomationExtensions.msi&lt;/a&gt;&lt;/p&gt;&lt;strong&gt;Guidance Automation Toolkit&lt;/strong&gt;&lt;br /&gt;Quick Details&lt;br /&gt;File Name: GuidanceAutomationToolkit.msi&lt;br /&gt;Version: June-2006&lt;br /&gt;Date Published: 10/31/2006&lt;br /&gt;Language: English&lt;br /&gt;Download Size: 2.2 MB&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/info.aspx?na=90&amp;p=&amp;amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;amp;SrcFamilyId=E3D101DB-6EE1-4EC5-884E-97B27E49EAAE&amp;u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fe%2fe%2f2%2fee255610-16e1-4ba1-9777-b45815983319%2fGuidanceAutomationToolkit.msi"&gt;http://www.microsoft.com/downloads/info.aspx?na=90&amp;amp;p=&amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;SrcFamilyId=E3D101DB-6EE1-4EC5-884E-97B27E49EAAE&amp;amp;u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fe%2fe%2f2%2fee255610-16e1-4ba1-9777-b45815983319%2fGuidanceAutomationToolkit.msi&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Web Service Software Factory&lt;/strong&gt;&lt;br /&gt;Web Service Software Factory December+2006.msi download direct link&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/info.aspx?na=90&amp;p=&amp;amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;amp;SrcFamilyId=db996113-6e92-4894-9b7e-0debb614d72f&amp;u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fe%2fe%2ff%2feef91d1f-6a9d-4486-8b31-c29f85e30300%2fWeb+Service+Software+Factory+-+December+2006.msi"&gt;http://www.microsoft.com/downloads/info.aspx?na=90&amp;amp;p=&amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;SrcFamilyId=db996113-6e92-4894-9b7e-0debb614d72f&amp;amp;u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2fe%2fe%2ff%2feef91d1f-6a9d-4486-8b31-c29f85e30300%2fWeb+Service+Software+Factory+-+December+2006.msi&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-3759502664228952363?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/3759502664228952363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=3759502664228952363' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/3759502664228952363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/3759502664228952363'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/01/web-service-software-factory.html' title='download link'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-4472226808535371</id><published>2007-01-25T07:47:00.000+06:00</published><updated>2008-12-22T18:27:28.522+06:00</updated><title type='text'>Hello word WCF service project ( service.Metadata publishing for this service is currently disabled. )</title><content type='html'>Today I’m just trying to experiment with WCF service project. While I trying to add service reference its show following error&lt;br /&gt;&lt;br /&gt;“This is a Windows© Communication Foundation service.Metadata publishing for this service is currently disabled.”&lt;br /&gt;&lt;br /&gt;I solved it by changing web.config of service project following tag &lt;br /&gt;&lt;br /&gt;Add “&lt;“serviceMetadata httpGetEnabled="true" /&gt; tag  &lt;br /&gt;&lt;br /&gt;“&lt;“serviceBehaviors&gt;&lt;br /&gt;  “&lt;“behavior name="returnFaults" &gt;&lt;br /&gt;“&lt;“serviceMetadata httpGetEnabled="true" /&gt;&lt;br /&gt;  “&lt;“/behavior&gt;&lt;br /&gt;“&lt;“/serviceBehaviors&gt;&lt;br /&gt;&lt;br /&gt;And two atribute(binding="mexHttpBinding" address="mex") in&lt;br /&gt;“&lt;“endpoint contract="IMyService" binding="mexHttpBinding" address="mex"/&gt;&lt;br /&gt;&lt;br /&gt;Default Web.config&lt;br /&gt;&lt;br /&gt;“&lt;“?xml version="1.0"?&gt;&lt;br /&gt;&lt;br /&gt;“&lt;“configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"&gt;&lt;br /&gt;  “&lt;“system.serviceModel&gt;&lt;br /&gt;    “&lt;“services&gt;&lt;br /&gt;      “&lt;“!-- Before deployment, you should remove the returnFaults behavior configuration to avoid disclosing information in exception messages --&gt;&lt;br /&gt;      “&lt;“service name="MyService" behaviorConfiguration="returnFaults"&gt;&lt;br /&gt;        “&lt;“endpoint contract="IMyService" binding="wsHttpBinding"/&gt;&lt;br /&gt;      “&lt;“/service&gt;&lt;br /&gt;    “&lt;“/services&gt;&lt;br /&gt;    “&lt;“behaviors&gt;&lt;br /&gt;      “&lt;“serviceBehaviors&gt;&lt;br /&gt;        “&lt;“behavior name="returnFaults" &gt;&lt;br /&gt;          “&lt;“serviceDebug includeExceptionDetailInFaults="true" /&gt;&lt;br /&gt;        “&lt;“/behavior&gt;&lt;br /&gt;      “&lt;“/serviceBehaviors&gt;&lt;br /&gt;    “&lt;“/behaviors&gt;&lt;br /&gt;  “&lt;“/system.serviceModel&gt;&lt;br /&gt;&lt;br /&gt;  “&lt;“system.web&gt;&lt;br /&gt;    “&lt;“compilation debug="true"/&gt;&lt;br /&gt;  “&lt;“/system.web&gt;&lt;br /&gt;&lt;br /&gt;“&lt;“/configuration&gt;&lt;br /&gt;&lt;br /&gt;Changed Web.config&lt;br /&gt;&lt;br /&gt;“&lt;“?xml version="1.0"?&gt;&lt;br /&gt;&lt;br /&gt;“&lt;“configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"&gt;&lt;br /&gt;  “&lt;“system.serviceModel&gt;&lt;br /&gt;    “&lt;“services&gt;&lt;br /&gt;      “&lt;“!-- Before deployment, you should remove the returnFaults behavior configuration to avoid disclosing information in exception messages --&gt;&lt;br /&gt;      “&lt;“service name="MyService" behaviorConfiguration="returnFaults"&gt;&lt;br /&gt;        “&lt;“endpoint contract="IMyService" binding="mexHttpBinding" address="mex"/&gt;&lt;br /&gt;      “&lt;“/service&gt;&lt;br /&gt;    “&lt;“/services&gt;&lt;br /&gt;    “&lt;“behaviors&gt;&lt;br /&gt;      “&lt;“serviceBehaviors&gt;&lt;br /&gt;        “&lt;“behavior name="returnFaults" &gt;&lt;br /&gt;          “&lt;“serviceDebug includeExceptionDetailInFaults="true" /&gt;&lt;br /&gt;                  “&lt;“serviceMetadata httpGetEnabled="true" /&gt;&lt;br /&gt;&lt;br /&gt;            “&lt;“/behavior&gt;&lt;br /&gt;      “&lt;“/serviceBehaviors&gt;&lt;br /&gt;    “&lt;“/behaviors&gt;&lt;br /&gt;  “&lt;“/system.serviceModel&gt;&lt;br /&gt;&lt;br /&gt;  “&lt;“system.web&gt;&lt;br /&gt;    “&lt;“compilation debug="true"/&gt;&lt;br /&gt;  “&lt;“/system.web&gt;&lt;br /&gt;&lt;br /&gt;“&lt;“/configuration&gt;&lt;br /&gt; &lt;/configuration&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-4472226808535371?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/4472226808535371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=4472226808535371' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/4472226808535371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/4472226808535371'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/01/hello-word-wcf-service-project.html' title='Hello word WCF service project ( service.Metadata publishing for this service is currently disabled. )'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-8379411732474135888</id><published>2007-01-25T06:34:00.000+06:00</published><updated>2008-12-22T18:31:41.917+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>ASP.NET 2.0 AJAX Extensions 1.0 Available</title><content type='html'>A usefull blog here&lt;br /&gt;&lt;br /&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2007/01/23/asp-net-ajax-1-0-released.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2007/01/23/asp-net-ajax-1-0-released.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you are migrating to this release from one of the earlier "Atlas" CTPs or from an ASP.NET AJAXBeta or RC release, refer to the following resources for details about migrating your applications and for information about breaking changes that can affect your applications when you use the RTM release.&lt;br /&gt;&lt;br /&gt;Converting ASP.NET "Atlas" Applications to Microsoft ASP.NET 2.0 AJAX Extensions 1.0    - &lt;br /&gt;&lt;br /&gt;This whitepaper provides information for developers who are migrating applications that were created with earlier "Atlas" CTPs to ASP.NET AJAX.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=79786"&gt;http://go.microsoft.com/fwlink/?LinkId=79786&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Converting Microsoft ASP.NET AJAX Beta 2 and RC Applications to ASP.NET AJAX RTM    -&lt;br /&gt;&lt;br /&gt;This whitepaper provides information for developers who are migrating applications that  were created with Beta or RC releases of ASP.NET AJAX to the ASP.NET AJAX RTM release.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=79787"&gt;http://go.microsoft.com/fwlink/?LinkId=79787&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Changes between the ASP.NET AJAX ("Atlas") CTP and the Beta 2 and RTM Releases    -----   &lt;br /&gt;&lt;br /&gt;This whitepaper describes in depth the breaking changes and new features that have    been implemented in the ASP.NET AJAX RC and RTM releases since the Beta releases.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=79784"&gt;http://go.microsoft.com/fwlink/?LinkId=79784&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-8379411732474135888?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/8379411732474135888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=8379411732474135888' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8379411732474135888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/8379411732474135888'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/01/aspnet-20-ajax-extensions-10-available.html' title='ASP.NET 2.0 AJAX Extensions 1.0 Available'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-763345954982442154</id><published>2007-01-24T10:36:00.000+06:00</published><updated>2007-01-24T10:39:06.830+06:00</updated><title type='text'>Domain Specific Language with DSL Tools resource link</title><content type='html'>Build a Domain Specific Language with DSL Tools&lt;br /&gt;&lt;a href="http://www.aspfree.com/c/a/BrainDump/Build-a-Domain-Specific-Language-with-DSL-Tools/"&gt;http://www.aspfree.com/c/a/BrainDump/Build-a-Domain-Specific-Language-with-DSL-Tools/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;DSL Known issue&lt;br /&gt;&lt;a href="http://msdn2.microsoft.com/en-us/vstudio/aa718369.aspx"&gt;http://msdn2.microsoft.com/en-us/vstudio/aa718369.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;DSL FAQ&lt;br /&gt;&lt;a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=64869&amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=64869&amp;amp;SiteID=1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;DSL Forum&lt;br /&gt;&lt;a href="http://forums.microsoft.com/msdn/showforum.aspx?forumid=61&amp;siteid=1"&gt;http://forums.microsoft.com/msdn/showforum.aspx?forumid=61&amp;amp;siteid=1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-763345954982442154?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/763345954982442154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=763345954982442154' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/763345954982442154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/763345954982442154'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/01/domain-specific-language-with-dsl-tools.html' title='Domain Specific Language with DSL Tools resource link'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-7918763439724617991</id><published>2007-01-21T12:02:00.000+06:00</published><updated>2007-01-21T12:12:36.926+06:00</updated><title type='text'>Easy Sort</title><content type='html'>Code snippet for .net GridView Sorting&lt;br /&gt;&lt;br /&gt;// property to keep of track of current sort column of Grid&lt;br /&gt;private string gridSortColumn&lt;br /&gt;{&lt;br /&gt;get&lt;br /&gt;{&lt;br /&gt;if (ViewState["gridSortColumn"] == null)&lt;br /&gt;{&lt;br /&gt;return String.Empty;&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;return ViewState["gridSortColumn"].ToString();&lt;br /&gt;}&lt;br /&gt;set&lt;br /&gt;{&lt;br /&gt;ViewState["gridSortColumn"] = value;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// property to keep track of current sort order of the current sort column of Grid&lt;br /&gt;private string gridSortOrder&lt;br /&gt;{&lt;br /&gt;get&lt;br /&gt;{&lt;br /&gt;if (ViewState["gridSortOrder"] == null)&lt;br /&gt;{&lt;br /&gt;return String.Empty;&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;return ViewState["gridSortOrder"].ToString();&lt;br /&gt;}&lt;br /&gt;set&lt;br /&gt;{&lt;br /&gt;ViewState["gridSortOrder"] = value;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;protected void Grid1_Sorting(object sender, GridViewSortEventArgs e)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;DataSet ds = new DataSet();&lt;br /&gt;&lt;br /&gt;// FILL DATA SOME HOW&lt;br /&gt;&lt;br /&gt;DataView oDataView = ds.Tables[0].DefaultView;&lt;br /&gt;&lt;br /&gt;if (oDataView != null)&lt;br /&gt;{&lt;br /&gt;if (gridSortColumn != e.SortExpression)&lt;br /&gt;{&lt;br /&gt;gridSortColumn = e.SortExpression;&lt;br /&gt;gridSortOrder = "ASC";&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;gridSortOrder = (gridSortOrder == "ASC") ? "DESC" : "ASC";&lt;br /&gt;}&lt;br /&gt;oDataView.Sort = gridSortColumn + " " + gridSortOrder;&lt;br /&gt;}&lt;br /&gt;Grid1.DataSource = oDataView;&lt;br /&gt;Grid1.DataBind();&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-7918763439724617991?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/7918763439724617991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=7918763439724617991' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7918763439724617991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/7918763439724617991'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/01/easy-sort.html' title='Easy Sort'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-1229783293874520441</id><published>2007-01-19T20:13:00.000+06:00</published><updated>2007-01-19T20:14:54.245+06:00</updated><title type='text'>Tagspace</title><content type='html'>Good start microsoft&lt;br /&gt;Microsoft.com Tagspace is all about giving you, the consumer of content on Microsoft.com and associated sites, the power to identify, define, catalogue, and share what interests you, in ways that make sense to you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-1229783293874520441?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='https://beta.communities.microsoft.com/tagspace' title='Tagspace'/><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/1229783293874520441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=1229783293874520441' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/1229783293874520441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/1229783293874520441'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/01/tagspace.html' title='Tagspace'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2599464925013219301.post-549166375456457308</id><published>2007-01-19T06:55:00.000+06:00</published><updated>2007-01-21T07:15:26.343+06:00</updated><title type='text'>First Post</title><content type='html'>Today is my first holiday after join KAZ.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2599464925013219301-549166375456457308?l=nahidulkibria.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nahidulkibria.blogspot.com/feeds/549166375456457308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2599464925013219301&amp;postID=549166375456457308' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/549166375456457308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2599464925013219301/posts/default/549166375456457308'/><link rel='alternate' type='text/html' href='http://nahidulkibria.blogspot.com/2007/01/first-post.html' title='First Post'/><author><name>Nahid</name><uri>http://www.blogger.com/profile/16354592040961367750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
