<?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-8246459468616290334</id><updated>2011-11-27T16:50:45.259-08:00</updated><title type='text'>Soft Skills</title><subtitle type='html'>ASP.Net, MS SQL, PHP, MYSql, .Net 3.5, .Net 4.0, .Net 2.0, BizTalk Server 2006 R2, XMl, JavaScript, AJAX</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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>69</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8246459468616290334.post-6860512569403786506</id><published>2009-11-14T02:08:00.000-08:00</published><updated>2009-11-14T02:09:26.604-08:00</updated><title type='text'>Biztalk : PartUpdateDisallowedException Exception</title><content type='html'>&lt;div class="entry"&gt;          &lt;div class="snap_preview"&gt; &lt;p&gt;When you are going to update any message in Construct shape which is already constructed, then you will receive this type of error. Like you are receiving msg1 and just after this receive shape, you are going to construct this message once more. In this type of situation, you will receive this type of error.&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt; &lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br /&gt;To resolve this error,create a new message in orchestration view of same type. And use this new message in new message in construct shape. Same problem can occur when you are sending message to .net assembly too. So make sure when you want to update any message, it must be new.&lt;/p&gt; &lt;/blockquote&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/8246459468616290334-6860512569403786506?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/6860512569403786506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-partupdatedisallowedexception.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6860512569403786506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6860512569403786506'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-partupdatedisallowedexception.html' title='Biztalk : PartUpdateDisallowedException Exception'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-2005645573226972496</id><published>2009-11-14T02:06:00.000-08:00</published><updated>2009-11-14T02:07:15.009-08:00</updated><title type='text'>Biztalk : tracking database doesn’t have any records about the selected service instance yet</title><content type='html'>I was getting this error while running my biztalk application. After searching on search engine, I have not received any response. Then I tried to see the host instances are working properly or not. And there I found the actual solution. That my application reunning in a host instance(test) was not running. I start that orchestraion and test my application. Its working fine now. Check your Host Instances working properly in which you have configured your BizTalk application. It will resolve your error.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-2005645573226972496?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/2005645573226972496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-tracking-database-doesnt-have.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2005645573226972496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2005645573226972496'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-tracking-database-doesnt-have.html' title='Biztalk : tracking database doesn’t have any records about the selected service instance yet'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-4147144413809066505</id><published>2009-11-14T02:04:00.001-08:00</published><updated>2009-11-14T02:04:53.485-08:00</updated><title type='text'>MySql: Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.</title><content type='html'>&lt;div class="entry"&gt;          &lt;div class="snap_preview"&gt; &lt;p&gt;To resolve this error, please go into the following location:&lt;br /&gt;C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.1\Data &lt;/p&gt;&lt;p&gt;and delete “ib_logfile0″ and “ib_logfile1″. &lt;/p&gt;&lt;p&gt;Then go to Services and start your MySql. It will resolve the error and start you MySql.&lt;br /&gt;Why: According to my search: Open the my.ini file and check the InnoDB variables’s size. When above file exides the mentioned size it will prompt this(“Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.”) error.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Vijay Modi&lt;br /&gt;&lt;/p&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/8246459468616290334-4147144413809066505?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/4147144413809066505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/mysql-plugin-innodb-registration-as.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/4147144413809066505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/4147144413809066505'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/mysql-plugin-innodb-registration-as.html' title='MySql: Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-4266564179129045311</id><published>2009-11-14T02:02:00.000-08:00</published><updated>2009-11-14T02:03:05.392-08:00</updated><title type='text'>How to Use C# code in vb project. ?</title><content type='html'>Today, I was facing a problem to how to use C# code in vb WebProject. I got the solution from the following URL:&lt;br /&gt;http://timheuer.com/blog/archive/2007/02/28/14002.aspx&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-4266564179129045311?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/4266564179129045311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/how-to-use-c-code-in-vb-project.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/4266564179129045311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/4266564179129045311'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/how-to-use-c-code-in-vb-project.html' title='How to Use C# code in vb project. ?'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-643982337957343565</id><published>2009-11-14T01:58:00.000-08:00</published><updated>2009-11-14T02:00:33.700-08:00</updated><title type='text'>Barcode Specifications</title><content type='html'>&lt;div class="entry"&gt;          &lt;div class="snap_preview"&gt;&lt;p&gt;I created an application to generate barcode based on the user inputed data. I have written an application for generating barcode based on “Code 128″. I generated that Borcode based on the following specification.&lt;br /&gt;http://www.spatula.net:8000/proc/barcode/code128.src&lt;br /&gt;You can find all barcode specifications on the following link:&lt;br /&gt;http://www.spatula.net:8000/proc/barcode/index.src&lt;/p&gt; &lt;p&gt;Thanks &amp;amp; Regards,&lt;br /&gt;Vijay Modi&lt;/p&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/8246459468616290334-643982337957343565?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/643982337957343565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/barcode-specifications.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/643982337957343565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/643982337957343565'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/barcode-specifications.html' title='Barcode Specifications'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-8067220246915208314</id><published>2009-11-14T01:56:00.001-08:00</published><updated>2009-11-14T01:56:33.061-08:00</updated><title type='text'>Validation on User Registration</title><content type='html'>&lt;div class="entry"&gt;          &lt;div class="snap_preview"&gt;&lt;p&gt;Mostly we are giving functionality for registration on the website and use the website. And using our registration page, user can register him/her and set the UserName and password whatever he/she want. Here we are inserting some validations on client side and server side for checking the data entered by user is valid or not. However one more validation we require on Server side. This is regarding the UserName. We are providing functionality like user can create any UserName. We are checking on server side that the UserName enetered by User is exist or not. And if userName not exist we are creating that User with the UserName that he/she set on registration page.&lt;/p&gt; &lt;p&gt;However we should set one more validation on this registration page for UserName that the user cannot create UserName with the website domain name. Like if site domain name is “www.testing.com”, then user cannot create UserName, which contains the Domain Name in his UserName. Means user cannot register with UserNmae like ‘testing’, ‘testing123′, ‘123testing123′, ‘123testing’, ect…&lt;br /&gt;This is very important as once user register with these name, he can sent mail to other person using that same ID from the website. So we should add validation on server side that the User cannot register with the UserName which contains domain name.&lt;/p&gt; &lt;p&gt;We should also add validation for some common names too. Like we should add validation on server side that the user cannot register with some common names like “hr”, “info”, “information”, “contacts”. So we should also add these list in our Server Side validation. So that user cannot register with these types of UserName.&lt;/p&gt; &lt;p&gt;Let me know your input for the same.&lt;/p&gt; &lt;p&gt;Thanks &amp;amp; Regards,&lt;br /&gt;Vijay Modi&lt;/p&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/8246459468616290334-8067220246915208314?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/8067220246915208314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/validation-on-user-registration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8067220246915208314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8067220246915208314'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/validation-on-user-registration.html' title='Validation on User Registration'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-6197563165298627679</id><published>2009-11-14T01:49:00.000-08:00</published><updated>2009-11-14T01:51:53.562-08:00</updated><title type='text'>Find table from Column Name in an MSSQL Database</title><content type='html'>&lt;div class="entry"&gt;          &lt;div class="snap_preview"&gt;&lt;p&gt;From the following query you can find all the tables contains the ‘FirstName’ column.&lt;/p&gt; &lt;p&gt;SELECT&lt;br /&gt;table_name=sysobjects.name,&lt;br /&gt;column_name=syscolumns.name&lt;br /&gt;FROM sysobjects&lt;br /&gt;JOIN syscolumns ON sysobjects.id = syscolumns.id&lt;br /&gt;WHERE sysobjects.xtype=’U’ AND syscolumns.name like ‘FirstName’&lt;br /&gt;ORDER BY sysobjects.name,syscolumns.colid&lt;/p&gt; &lt;p&gt;Regards,&lt;br /&gt;Vijay Modi&lt;/p&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/8246459468616290334-6197563165298627679?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/6197563165298627679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/find-table-from-column-name-in-mssql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6197563165298627679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6197563165298627679'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/find-table-from-column-name-in-mssql.html' title='Find table from Column Name in an MSSQL Database'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-5020840100776219049</id><published>2009-10-16T23:17:00.000-07:00</published><updated>2009-10-16T23:18:29.962-07:00</updated><title type='text'>Barcode Specifications</title><content type='html'>I created an application to generate barcode based on the user inputed data. I have written an application for generating barcode based on “Code 128″. I generated that Borcode based on the following specification.&lt;br /&gt;http://www.spatula.net:8000/proc/barcode/code128.src&lt;br /&gt;You can find all barcode specifications on the following link:&lt;br /&gt;http://www.spatula.net:8000/proc/barcode/index.src&lt;br /&gt;&lt;br /&gt;Thanks &amp; Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-5020840100776219049?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/5020840100776219049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/10/barcode-specifications.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5020840100776219049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5020840100776219049'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/10/barcode-specifications.html' title='Barcode Specifications'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-4681049078991166109</id><published>2009-07-08T02:12:00.000-07:00</published><updated>2009-11-20T16:24:45.358-08:00</updated><title type='text'>BizTalk: Pass an XLANG message or an XLANG message part to a .Net method call as a parameter in Orchestration. / Call .Net assembly to update the XLan</title><content type='html'>&lt;p&gt;Today, I go through a solution to send XLangMessage to .net assembly from an Orchestration and update it. After update I need it in my Orchestration. For this I have created a project which I think it can help others. &lt;/p&gt;&lt;p&gt;I have created an Orchestration project named “CallNetAssemblyBySendingXLangMessageAndUpdate”. I have added the following simple schema in this project named “Book.xsd”.&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://vijaymodi.files.wordpress.com/2008/07/windowslivewriterbiztalkpassanxlangmessageoranxlangmessa-b38aclip-image0021.jpg" mce_src="http://vijaymodi.files.wordpress.com/2008/07/windowslivewriterbiztalkpassanxlangmessageoranxlangmessa-b38aclip-image0021.jpg" width="497" height="221" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Then I have created added an orchestration named “CallAssemblyXLangMessage.odx” in project. In this orchestration I am receiving the Book.xsd type message in receive shape. After this I have added the message assignment shape in the transform shape to update the values of message received of Book.xsd type. In this Construct shape I am creating a new message of Book.xsd type. In this message assignment shape I am calling the .net assembly in which I am updating the message. &lt;/p&gt;&lt;p&gt;I am sending the message in .Net assembly method as XLANGMessage parameter. Before going further I want to explain how I am accepting the message and updating it and return it. &lt;/p&gt;&lt;p&gt;For this I have added a new Class Library Project named “UpdateXLangMessage” in the Solution. &lt;/p&gt;&lt;p&gt;You need to create the Book class of Book.xsd created in Orchestration project by using XSD.exe util. You can create this class by using the following command at Visual Studio Command Prompt:&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;xsd.exe /c Book.xsd&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;This will create a Book.cs class. Add this project in class library project UpdateXLangMessage. &lt;/p&gt;&lt;p&gt;Now to receive XLangMessage and update it I have added the following class in this project. &lt;/p&gt;&lt;p&gt;========================================================&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;using System;&lt;br /&gt;using Microsoft.XLANGs.BaseTypes;&lt;br /&gt;namespace UpdateXLangMessage&lt;br /&gt;{&lt;br /&gt;public class UpdateMessage&lt;br /&gt;{&lt;br /&gt;public static Book UpdateBookMessage(XLANGMessage xlngMsg)&lt;br /&gt;{&lt;br /&gt;//Serialize message into Book Object&lt;br /&gt;Book objBook = (Book)xlngMsg[0].RetrieveAs(typeof(Book));&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;//Update Book Object&lt;br /&gt;objBook.Author = "Vijay Modi"&lt;br /&gt;objBook.BookID = "00001"&lt;br /&gt;objBook.BookName = "Biztalk 2006 R2"&lt;br /&gt;objBook.Price = "Free"&lt;br /&gt;objBook.Publisher = "Testing Publisher"&lt;br /&gt;}&lt;br /&gt;catch (XLANGsException xlngEx)&lt;br /&gt;{&lt;br /&gt;throw xlngEx;&lt;br /&gt;}&lt;br /&gt;catch (Exception ex)&lt;br /&gt;{&lt;br /&gt;throw ex;&lt;br /&gt;}&lt;br /&gt;//return book object&lt;br /&gt;return objBook;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;========================================================= &lt;/p&gt;&lt;p&gt;Build this class. Assign a Strong Name key to this project and add it in GAC using following command in Visual Studio Command Prompt. &lt;/p&gt;&lt;p&gt;gacutil /i UpdateXLangMessage.dll &lt;/p&gt;&lt;p&gt;Now we are going back to our Orchestration project. In Orchestration project add the reference of the .Net class library project. &lt;/p&gt;&lt;p&gt;Now in our Orchestration’s message assignment shape write the following expression:&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;//msgBookNew is the new message created of Book.xsd schema type &lt;/p&gt;&lt;p&gt;//msgBook is the message received in receive shape &lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;i&gt;msgBookNew = UpdateXLangMessage.UpdateMessage.UpdateBookMessage(msgBook);&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Add the send shape just below the Transform shape in the orchestration. Assign the msgBookNew message in this send shape. The orchestration will look like as below:&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;img src="http://vijaymodi.files.wordpress.com/2008/07/windowslivewriterbiztalkpassanxlangmessageoranxlangmessa-b38aclip-image0041.jpg" mce_src="http://vijaymodi.files.wordpress.com/2008/07/windowslivewriterbiztalkpassanxlangmessageoranxlangmessa-b38aclip-image0041.jpg" width="436" height="385" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Now deploy your orchestration project and test it. Some important reference I have found on the net are as below:&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Reference:&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/917841" mce_href="http://support.microsoft.com/kb/917841"&gt;http://support.microsoft.com/kb/917841&lt;/a&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa995576.aspx" mce_href="http://msdn.microsoft.com/en-us/library/aa995576.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa995576.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;You can write your comments here:) &lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Vijay Modi&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-4681049078991166109?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/4681049078991166109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-pass-xlang-message-or-xlang.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/4681049078991166109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/4681049078991166109'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-pass-xlang-message-or-xlang.html' title='BizTalk: Pass an XLANG message or an XLANG message part to a .Net method call as a parameter in Orchestration. / Call .Net assembly to update the XLan'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-2001477286455359489</id><published>2009-07-05T02:15:00.000-07:00</published><updated>2009-11-20T16:24:17.816-08:00</updated><title type='text'>Biztalk WSE Web Services Publishing Wizard Unable to load the assembly "…..\BTSTest.dll" [System.IO.FileNotFoundException] File or assembly name......</title><content type='html'>Error: Biztalk WSE Web Services Publishing Wizard Unable to load the assembly "…..\BTSTest.dll" [System.IO.FileNotFoundException] File or assembly name Microsoft.XMLANGs.BaseTypes, or one of its dependencies, was not found.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;p&gt;To resolve this error you need to install the BtsAdpaterForWSE20-SP1 and need to add the ASPNet Users in BizTalk Isolated Host user group. &lt;/p&gt;&lt;p&gt;You can use the Start -&gt; Administrator Tools-&gt; Computer Mangement -&gt; Local Users &amp;amp; Groups -&gt; Group -&gt; Double click on BizTalk Isolated Host Users and add the ASPNet user. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-2001477286455359489?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/2001477286455359489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-wse-web-services-publishing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2001477286455359489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2001477286455359489'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-wse-web-services-publishing.html' title='Biztalk WSE Web Services Publishing Wizard Unable to load the assembly &quot;…..\BTSTest.dll&quot; [System.IO.FileNotFoundException] File or assembly name......'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-5220482430276628765</id><published>2009-07-01T02:18:00.000-07:00</published><updated>2009-11-20T16:23:18.106-08:00</updated><title type='text'>Could not retrieve transport type data for Receive Location ‘RCVTestLoaction’ from config store. Primary SSO server ‘MYMachine’ failed. Could not ....</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Error:&lt;/span&gt; Could not retrieve transport type data for Receive Location ‘RCVTestLoaction’ from config store. Primary SSO server ‘MYMachine’ failed. Could not contact the SSO server ‘MYMachine’. Check that SSo is configured and that the SSo service is running on that server.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution:&lt;/span&gt;&lt;br /&gt;&lt;div class="entry"&gt;&lt;div class="snap_preview"&gt;&lt;p&gt;You will receive this error when you have changed password of your local machine. Please note here, when you changes the password of your local machine, it will not set at the SSO’s configuration. Means it will not change the password in the configuration of SSO. So at this time you will receive this type of error. So to resolve this error you need to go to SSO’s configuration and set the new password of local machine. It will resolve your error. &lt;/p&gt;&lt;p&gt;Note: Whenever you change the password of local machine at this time you need to change the password of all Biztalk services including SSO server too. &lt;/p&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/8246459468616290334-5220482430276628765?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/5220482430276628765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/could-not-retrieve-transport-type-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5220482430276628765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5220482430276628765'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/could-not-retrieve-transport-type-data.html' title='Could not retrieve transport type data for Receive Location ‘RCVTestLoaction’ from config store. Primary SSO server ‘MYMachine’ failed. Could not ....'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-1151762097936122112</id><published>2009-06-30T02:22:00.000-07:00</published><updated>2009-11-20T16:22:47.217-08:00</updated><title type='text'>How to check xml parameter’s node value is null or empty in MS Sql</title><content type='html'>&lt;p&gt;Suppose you are receving XML datatype of message in your stored procedure and you need to extract value from&lt;br /&gt;that xml parameter. Before extracting data you need to check the node is exist or not. Means is that node is empty or not.&lt;br /&gt;You can do it by using the .exist() in MS Sql. &lt;/p&gt;&lt;p&gt;Let me explain using an example. &lt;/p&gt;&lt;p&gt;Suppose we have a @XmlDoc and it contains the ‘&lt;student&gt;&lt;subject&gt;&lt;maths&gt;&lt;/maths&gt;&lt;/subject&gt;&lt;/student&gt;’ data.&lt;br /&gt;Here in example we are checking is there any Student contains Maths subject. As you can see in our Xml, it is there so it will return 1. Like the&lt;br /&gt;same way we can check the particular node is exist in xml or not. So to check the value, we can use this way.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;DECLARE @XmlDoc XML &lt;/p&gt;&lt;p&gt;SET @XmlDoc = ‘&lt;student&gt;&lt;subject&gt;&lt;maths&gt;&lt;/maths&gt;&lt;/subject&gt;&lt;/student&gt;’&lt;br /&gt;DECLARE @docHandle int &lt;/p&gt;&lt;p&gt;IF (@XmlDoc.exist(‘/Student/Subject/Maths’)=1)&lt;br /&gt;PRINT ‘Maths Exist’&lt;br /&gt;ELSE&lt;br /&gt;PRINT ‘Maths Not Exist’ &lt;/p&gt;&lt;p&gt;IF (@XmlDoc.exist(‘/Student/Subject/Science’)=1)&lt;br /&gt;PRINT ‘Scienct Exist’&lt;br /&gt;ELSE&lt;br /&gt;PRINT ‘Science Not Exist’&lt;/p&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-1151762097936122112?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/1151762097936122112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/how-to-check-xml-parameters-node-value.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/1151762097936122112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/1151762097936122112'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/how-to-check-xml-parameters-node-value.html' title='How to check xml parameter’s node value is null or empty in MS Sql'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-1975685291160054909</id><published>2009-06-27T02:25:00.000-07:00</published><updated>2009-11-20T16:22:10.776-08:00</updated><title type='text'>XML parsing: line 1, character 38, unable to switch the encoding</title><content type='html'>&lt;p&gt;When you will create an Xml file with the Encoding type UTF-8, they it will give you this error:&lt;br /&gt;“XML parsing: line 1, character 38, unable to switch the encoding”&lt;/p&gt;&lt;p&gt;To resolve this error you need to set the Encoding type to &lt;strong&gt;UNICODE i.e. UTF-16&lt;/strong&gt;. Test it using this encoding type &lt;strong&gt;UNICODE / UTF-16&lt;/strong&gt;, it will resolve your error.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Vijay Modi&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-1975685291160054909?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/1975685291160054909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/xml-parsing-line-1-character-38-unable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/1975685291160054909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/1975685291160054909'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/xml-parsing-line-1-character-38-unable.html' title='XML parsing: line 1, character 38, unable to switch the encoding'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-8856358505455197089</id><published>2009-06-22T02:27:00.000-07:00</published><updated>2009-11-20T16:21:45.369-08:00</updated><title type='text'>Biztalk : Illegal attempt to update the value of part ‘part’ in XLANG/s message ‘testMsg’ after the message construction was complete.</title><content type='html'>When you are receiving a message and will go to update it in the expression shape, you will receive this type of error. To resolve this you need to construct the new message of the same type and needs to update the value of it in the construct shape using Message Assignment shape.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-8856358505455197089?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/8856358505455197089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-illegal-attempt-to-update-value.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8856358505455197089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8856358505455197089'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-illegal-attempt-to-update-value.html' title='Biztalk : Illegal attempt to update the value of part ‘part’ in XLANG/s message ‘testMsg’ after the message construction was complete.'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-409981705960943452</id><published>2009-06-18T02:30:00.000-07:00</published><updated>2009-11-20T16:21:19.927-08:00</updated><title type='text'>MS SQl + XML parsing error: Reference to undeclared namespace prefix</title><content type='html'>&lt;p&gt;When a namespace is declared in your xml document / String and you will use the OpenXml in your stored Procedure / Sql Query, you will get this type of error. To remove this error you need to define the namespace while you write the EXECUTE statement in you query/stored procedure. &lt;/p&gt;&lt;p&gt;Suppose you have written the following statement:&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;EXEC sp_xml_preparedocument @docHandle OUTPUT, @XmlDoc&lt;/strong&gt; &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;So you need to change it with the following one:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;EXEC sp_xml_preparedocument @docHandle OUTPUT, @XmlDoc, ‘&lt;root ns0="http://vijaymodi.wordpress.com" /&gt;’ &lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Where ns0 is the namespace of your xmlDocument, which is defined in the first node of your xml document. Suppose my xml document is as follows:&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;ns0:root ns0="href="http://vijaymodi.wordpress.com /&gt;&lt;br /&gt;&lt;id&gt;ID_0&lt;/id&gt;&lt;br /&gt;&lt;name&gt;Name_0&lt;/name&gt;&lt;br /&gt;&lt;address&gt;Address_0&lt;/address&gt;&lt;br /&gt;&lt;city&gt;City_0&lt;/city&gt;&lt;br /&gt;&lt;/ns0:root&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Let me know if you have any query:) &lt;/p&gt;&lt;p&gt;&lt;strong&gt;Regards,&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Vijay Modi&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-409981705960943452?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/409981705960943452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/ms-sql-xml-parsing-error-reference-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/409981705960943452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/409981705960943452'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/ms-sql-xml-parsing-error-reference-to.html' title='MS SQl + XML parsing error: Reference to undeclared namespace prefix'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-3756401841730964495</id><published>2009-06-14T02:37:00.000-07:00</published><updated>2009-11-20T16:20:56.883-08:00</updated><title type='text'>"Service Unavailable" error message</title><content type='html'>When you are going to browse your web service or WCF Service, you can get this error “Serviec Unavailable”.&lt;br /&gt;&lt;br /&gt;This error may occur if the password of Application pool assigned to Web Service or WCF Service is not correct. So to resolve this one you need to change it. You can change it using the IIS Services.&lt;br /&gt;&lt;br /&gt;To change the password of application pool, see the properties of the application pool using IIS Services. and change the password. Restart the IIS using IISReset in Start=&gt;Run.&lt;br /&gt;&lt;br /&gt;Test your Web Service or WCF Service, it will work. &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-3756401841730964495?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/3756401841730964495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/service-unavailable-error-message.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/3756401841730964495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/3756401841730964495'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/service-unavailable-error-message.html' title='&quot;Service Unavailable&quot; error message'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-5904096461982012555</id><published>2009-06-10T02:40:00.000-07:00</published><updated>2009-11-20T16:20:27.641-08:00</updated><title type='text'>BizTalk: Dynamically create schema nodes using XSLT</title><content type='html'>First let us discussed about the problem:I have a source schema which is in the following format:&lt;img src="http://vijaymodi.files.wordpress.com/2008/06/windowslivewriterbiztalkcreatemultiplenodesindestination-11135clip-image002.jpg" alt="" width="382" height="104" /&gt;Now I want my destination schema in the following format:&lt;img src="http://vijaymodi.files.wordpress.com/2008/06/windowslivewriterbiztalkcreatemultiplenodesindestination-11135clip-image004.jpg" alt="" width="442" height="136" /&gt;Note: Check I want the Ord1 and OrdName1 in OrderInfo as well as Ord2 and OrdName2 in OrderInfo too. So I need the value of above in one record (node) of Destination schema. So for to do the above functionality I have used the BizTalk map. What I have done is I have created a BizTalk map and assign Source.xsd in SourceSchema and Destination.xsd in Destination schema of this map.You can see the snap of my Mapping as follows:&lt;img src="http://vijaymodi.files.wordpress.com/2008/06/windowslivewriterbiztalkcreatemultiplenodesindestination-11135clip-image006.jpg" alt="" width="624" height="132" /&gt;Here you can find that I have added just one script Functoids in the mapping of source and destination schema. I have written the following code (XSLT Code) to map both schemas.==========================================================================&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:for-each select="//Order"&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:element name="OrderInfo"&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:element name="OrderID"&amp;gt;&amp;lt;xsl:value-of select="Ord1" /&amp;gt;&amp;lt;/xsl:element&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:element name="OrderName"&amp;gt;&amp;lt;xsl:value-of select="OrdName1" /&amp;gt;&amp;lt;/xsl:element&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;/xsl:element&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;/xsl:for-each&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt; &lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:for-each select="//Order"&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:element name="OrderInfo"&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:element name="OrderID"&amp;gt;&amp;lt;xsl:value-of select="Ord2" /&amp;gt;&amp;lt;/xsl:element&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:element name="OrderName"&amp;gt;&amp;lt;xsl:value-of select="OrdName2" /&amp;gt;&amp;lt;/xsl:element&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;/xsl:element&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;/xsl:for-each&amp;gt; &lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;==========================================================================So Test the map and check the generated destination file.Enjoy BizTalking:)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-5904096461982012555?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/5904096461982012555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-dynamically-create-schema-nodes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5904096461982012555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5904096461982012555'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-dynamically-create-schema-nodes.html' title='BizTalk: Dynamically create schema nodes using XSLT'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-4162661535263561099</id><published>2009-06-04T04:17:00.000-07:00</published><updated>2009-11-20T16:18:59.037-08:00</updated><title type='text'>Biztalk : Could not load file or assembly ‘Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d</title><content type='html'>Error: Biztalk : Could not load file or assembly ‘Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified&lt;br /&gt;&lt;br /&gt;Solution: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This error will come when you will call .net assembly from BizTalk orchestration using Expression shape or Message Assignment shape. The error telling you that the .Net assembly could not loaded means the .Net assembly is not exist in Globle Assembly Cache(GAC). So you have to put the particular assembly in GAC.&lt;br /&gt;&lt;br /&gt;You can keep the assembly in GAC using the GACUtil command. Suppose you have the “Microsoft.Practices.EnterpriseLibrary.Logging” file in “C:\program Files\Microsoft Enterprise Library 3.1 – May 2007\Bin” folder. Open the microsoft Visual Studio Command Prompt. Then  change the directory to this path(“C:\program Files\Microsoft Enterprise Library 3.1 – May 2007\Bin” ) and write the following command to put the assembly in GAC:GACUtil i/ Microsoft.Practices.EnterpriseLibrary.Logging.dllIts will install the Microsoft.Practices.EnterpriseLibrary.Logging.dll in GAC.Now restart your BizTalk Service Host and stop and start your BizTalk application. Then test your orchestration. It will resolve your problem.Cheers:)&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-4162661535263561099?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/4162661535263561099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-could-not-load-file-or-assembly.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/4162661535263561099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/4162661535263561099'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-could-not-load-file-or-assembly.html' title='Biztalk : Could not load file or assembly ‘Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-2525180370711652766</id><published>2009-06-04T04:05:00.000-07:00</published><updated>2009-11-20T16:20:02.502-08:00</updated><title type='text'>Biztalk : Log entry using Microsoft Practice Enterprise Library in .Net assembly / Call .Net assembly using Biztalk Orchestration Expression Shape……</title><content type='html'>Its one of the important task in Biztalk to do the Log entry whenever you want in the orchestration. Suppose you have got an error and you need to log it before the Message going in suspended mode. One of the best solution we can use to loggin is the Microsoft Practise Enterprise library. So how will we do it? If you will implement it the first time you will face many problems like how to call .net assembly from an orchestration, configuration etc… So I thought to write an article on this full functionality. I am trying to write here as easy as possible from my side. Please let me know your comments if you have found any mistake in this article.&lt;br /&gt;&lt;br /&gt;Important: You need to install the Microsoft Practise Enterprise Library 3.1 in your machine. You can download it from the following link:&lt;br /&gt;&lt;br /&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=4c557c63-708f-4280-8f0c-637481c31718&amp;displaylang=en&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First you need to create a .Net class library project using VS .net 2005. Like I am creating a project named ‘TestEntLibLogging’.&lt;br /&gt;Create a class named ‘EntLibraryErrorHandler.cs’ in you project.&lt;br /&gt;Make it public and serializable.&lt;br /&gt;Please create a method named ‘LogErrorbyEntLibrary(Exception ex)’ in the above class.&lt;br /&gt;&lt;br /&gt;Now you need to add reference Microsoft.Practices.EnterpriseLibrary.Logging.dll in you project. To add reference in your project just right click on your project and select ‘Add Reference’. And select the ‘Microsoft.Practices.EnterpriseLibrary.Logging.dll’ from list of assembly.&lt;br /&gt;&lt;br /&gt;Now add the following library in you class named ‘EntLibraryErrorHandler.cs’:&lt;br /&gt;using Microsoft.Practices.EnterpriseLibrary.Logging;&lt;br /&gt;&lt;br /&gt;Now in you method ‘LogErrorbyEntLibrary(Exception ex)’, write the following code to log entry:&lt;br /&gt;&lt;br /&gt;======================================================&lt;br /&gt;//Create an object of LogEntry&lt;br /&gt;LogEntry objEntry = new LogEntry();&lt;br /&gt;&lt;br /&gt;//Assign properties to LogEntry object.&lt;br /&gt;objEntry.Message = ex.ToString();&lt;br /&gt;objEntry.Priority = 1;&lt;br /&gt;objEntry.TimeStamp = DateTime.Now;&lt;br /&gt;objEntry.Categories.Add(“Exception”);&lt;br /&gt;&lt;br /&gt;//Do the Log entry.&lt;br /&gt;Logger.Write(objEntry);&lt;br /&gt;========================================================&lt;br /&gt;&lt;br /&gt;This code will work perfectly. Now we are going to implement the configuration of the config file using ‘Enterprise Library Configuration’ tool. You can find this too in the Start &gt; Program Files &gt; Microsoft patterns &amp; practices &gt; Enterprise Library 3.1 – May 2007 &gt; Enterprise Library Configuration.&lt;br /&gt;&lt;br /&gt;Now open you config file in this by selecting the File Menu &gt; Open.&lt;br /&gt;&lt;br /&gt;Now one of the question should come in your mind is which configuration file you need to configure here. Because you have not added any configuration file in you class library project. So the answer is:&lt;br /&gt;&lt;br /&gt;You need to configure the ‘BTSNTSvc.exe.config’. You can find this file in your ‘C:\Program Files\Microsoft BizTalk Server 2006′ folder. i.e. where you have install your BizTalk.&lt;br /&gt;&lt;br /&gt;So open this configuration file in your Enterprise Library Configuration wizard. Now right click on your config file and add new Logging Application Block by clicking on ‘New &gt; Logging Application Block’.&lt;br /&gt;&lt;br /&gt;There select the ‘Tract Listeners’. Right click on it and select the New &gt; Rolling File Trace Listener.&lt;br /&gt;&lt;br /&gt;You can select Flat File Trace Listener. Here I am creating Rolling File Trace Listener to creating the File separately for each day.&lt;br /&gt;&lt;br /&gt;There see the properties of new added ‘Rolling Flat File Trace Listener’. Select the Formatter and select the ‘Text Formatter’ from the list.&lt;br /&gt;You can update the Template properties inside the Formatter property whatever you want. To chaange the looging file’s path you have to change the property of the FileName. If you want to put the File in C:/Log/rolling.log, then you have to write it in the FileName property.&lt;br /&gt;&lt;br /&gt;Now we have created a Rolling File Trace Listener. Now we need to assign it to ‘Formatted EventLog TraceListener’, which is in the ‘Special Sources &gt; Logging Errors &amp; Warnings node’. Select the ‘Formatted EventLog TraceListener’ and in the property window select the Reference Trace Listener to ‘Rolling Flat File Trace Listener’ from the dropdown. You can change the header and footer whatever you want in your logging file.&lt;br /&gt;&lt;br /&gt;Now you can find two properties which are very important here. One is the RollFileExistsBehavior and another is RollInterval. The default value of RollFileExistsBehavior has set to OverWrite, which means it will overwrite the existing file. This we need to update to increament. For this just select the dropdown and select increament. This will create a new file based on the interval set there.&lt;br /&gt;&lt;br /&gt;The second one is the RollInterval, which is default set to None, means it will not create new file. It will just overwrite the existing file. This we need to set depends on the requirements. I am setting it to Day, means it will daily create a new file for log entry.&lt;br /&gt;&lt;br /&gt;Now another property ‘RollSizeKB’, This is one important property if we want to restrict to write in file more than particular size. Like I want to create the logger file not more than 5 kb size. So I will set this property. But for now I don’t require here. But if you want you can set it there.&lt;br /&gt;&lt;br /&gt;Now you need to set the ‘Rolling Flat File Trace Listener’ in the ‘Category Sources &gt; General &gt; Formatted EventLog TraceListener’. Just select this node and select the Referenced TraceListener to ‘Rolling Flat File Trace Listener’ from the dropdown.&lt;br /&gt;&lt;br /&gt;So your configuration of the config file has been completed now.&lt;br /&gt;&lt;br /&gt;Now our remaining part is how to call the .Net assembly (that we have created the .net class library project) from Biztalk orchestration:&lt;br /&gt;&lt;br /&gt;I am here write the following code to call the .net assembly from an Expression shape. You need to add the reference in your biztalk project. You have to right click on your biztalk project and select the Add reference. In the add reference wizard, select the Projects tab. There you will find our Class Library project. Select this project and click ok button. So now we have added the Class Library Project’s reference in our BizTalk project. Now you can access all accessible methods in your expression shape.&lt;br /&gt;&lt;br /&gt;Write the following sentence in you catch block of the orchestration. Here I expect that you know how to use the catch exception in orchestration. Add an expression shape and write the following sentence to call the method ‘EntLibraryErrorHandler(Exception ex)’.&lt;br /&gt;======================================================&lt;br /&gt;TestEntLibLogging.EntLibraryErrorHandler.LogErrorbyEntLibrary(ex);&lt;br /&gt;//Where ex is the Exception Object Name&lt;br /&gt;======================================================&lt;br /&gt;&lt;br /&gt;Note: Now when you run your orchestration you will face a runtime error that the EntLibraryErrorHandler not found. Its reason is that we have not add the Class Library project in GAC. To add the above file in GAC write the following command on Visual Studio Command Prompt:&lt;br /&gt;======================================================&lt;br /&gt;GACUTIL /i EntLibraryErrorHandler.dll&lt;br /&gt;======================================================&lt;br /&gt;&lt;br /&gt;Now test your orchestration.&lt;br /&gt;I am first time writing this type of big article on my blog. So there can be some problem. And for time purpose I have not write the steps. But I think you have the initial knowledge of the Biztalk and you can understand it. Let me know if you will have any confusion or query with this article. You can add your comments here.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-2525180370711652766?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/2525180370711652766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-log-entry-using-microsoft.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2525180370711652766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2525180370711652766'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-log-entry-using-microsoft.html' title='Biztalk : Log entry using Microsoft Practice Enterprise Library in .Net assembly / Call .Net assembly using Biztalk Orchestration Expression Shape……'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-462872044257226131</id><published>2009-06-02T11:47:00.000-07:00</published><updated>2009-11-20T16:18:31.345-08:00</updated><title type='text'>BizTalk: Dynamically create schema nodes using XSLT</title><content type='html'>First let us discussed about the problem:I have a source schema which is in the following format:&lt;img src="http://vijaymodi.files.wordpress.com/2008/06/windowslivewriterbiztalkcreatemultiplenodesindestination-11135clip-image002.jpg" alt="" width="382" height="104" /&gt;Now I want my destination schema in the following format:&lt;img src="http://vijaymodi.files.wordpress.com/2008/06/windowslivewriterbiztalkcreatemultiplenodesindestination-11135clip-image004.jpg" alt="" width="442" height="136" /&gt;Note: Check I want the Ord1 and OrdName1 in OrderInfo as well as Ord2 and OrdName2 in OrderInfo too. So I need the value of above in one record (node) of Destination schema. So for to do the above functionality I have used the BizTalk map. What I have done is I have created a BizTalk map and assign Source.xsd in SourceSchema and Destination.xsd in Destination schema of this map.You can see the snap of my Mapping as follows:&lt;img src="http://vijaymodi.files.wordpress.com/2008/06/windowslivewriterbiztalkcreatemultiplenodesindestination-11135clip-image006.jpg" alt="" width="624" height="132" /&gt;Here you can find that I have added just one script Functoids in the mapping of source and destination schema. I have written the following code (XSLT Code) to map both schemas.==========================================================================&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:for-each select="//Order"&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:element name="OrderInfo"&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:element name="OrderID"&amp;gt;&amp;lt;xsl:value-of select="Ord1" /&amp;gt;&amp;lt;/xsl:element&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:element name="OrderName"&amp;gt;&amp;lt;xsl:value-of select="OrdName1" /&amp;gt;&amp;lt;/xsl:element&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;/xsl:element&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;/xsl:for-each&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt; &lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:for-each select="//Order"&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:element name="OrderInfo"&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:element name="OrderID"&amp;gt;&amp;lt;xsl:value-of select="Ord2" /&amp;gt;&amp;lt;/xsl:element&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;xsl:element name="OrderName"&amp;gt;&amp;lt;xsl:value-of select="OrdName2" /&amp;gt;&amp;lt;/xsl:element&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;/xsl:element&amp;gt;&lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;&lt;em&gt;&amp;lt;/xsl:for-each&amp;gt; &lt;/em&gt;&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;==========================================================================So Test the map and check the generated destination file.Enjoy BizTalking:)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-462872044257226131?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/462872044257226131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-dynamically-create-schema-nodes_20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/462872044257226131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/462872044257226131'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-dynamically-create-schema-nodes_20.html' title='BizTalk: Dynamically create schema nodes using XSLT'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-8884476031561016707</id><published>2009-05-30T12:56:00.000-07:00</published><updated>2009-11-20T16:15:20.981-08:00</updated><title type='text'>BizTalk: Message Assignment shape. Assign value from one Schema to another Schema.</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;We can assign one schema to another by many ways. But best way to assign values to one schema from another schema is to use the Message assignment Shape inside the Message Construct shape. Let’s take an example for it. &lt;p&gt;&lt;b&gt;Example&lt;/b&gt;: Conversion of BillingAddress to ShippingAddress. For this I have two Schemas BillingAddress.xsd and ShippingAddress.xsd. All the elements of both schemas are promoted to Distinguished Fields, so that we can access them in message assignment shape. Both schemas are as follows: &lt;p&gt;&lt;b&gt;&lt;u&gt;BillingAddress.xsd&lt;/u&gt;&lt;/b&gt; &lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;img height="403" src="http://vijaymodi.files.wordpress.com/2008/04/windowslivewriterbiztalkmessageassignmentshapeassignval-beb3clip-image0023.jpg" width="623" /&gt;&lt;/u&gt;&lt;/b&gt; &lt;p&gt;&lt;b&gt;&lt;u&gt;ShippingAddress.xsd:&lt;/u&gt;&lt;/b&gt; &lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;img height="392" src="http://vijaymodi.files.wordpress.com/2008/04/windowslivewriterbiztalkmessageassignmentshapeassignval-beb3clip-image0042.jpg" width="624" /&gt;&lt;/u&gt;&lt;/b&gt; &lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt; &lt;p&gt;Now I have created an orchestration, in which I am assigning the values of BillingAddress.xsd to ShippingAddress.xsd. For this I have created two messages msgBillingAddress and msgShippingAddress of BillingAddress.xsd and ShippingAddress.xsd types respectively. I have created a variable named &lt;b&gt;varXmlDoc&lt;/b&gt; of System.Xml.XmlDocument type. My orchestration will look like the follows: &lt;p&gt;You can see in the image that there I have added a Receive Shape which will accept the msgBillingAddress and at the last you can see that I have added a Send Shape to send the ShippingAddress using msgShippingAddress. Between these two shapes(Receive &amp;amp; Send Shape), I have added a shape through which I am assigning values of BillingAddress to ShippingAddress message. And for this I have added a Construct shape and inside it I have added a Message Assignment Shape.  &lt;p&gt;&lt;img height="585" src="http://vijaymodi.files.wordpress.com/2008/04/windowslivewriterbiztalkmessageassignmentshapeassignval-beb3clip-image0062.jpg" width="492" /&gt; &lt;p&gt;Now the purpose of this article is to share how to assign one message to another one. I have added the following code to assign BillingAddress to ShippingAddress message.  &lt;p&gt;&lt;b&gt;//Create a new object of XMLDocument. For this we will use the Variable&lt;/b&gt; created as XMLDocument. &lt;p&gt;varXmlDoc = new System.Xml.XmlDocument(); &lt;p&gt;&lt;b&gt;//We need to Load the variable with dummy XML. &lt;/b&gt; &lt;p&gt;&lt;b&gt;//It can be same as generated instance. &lt;/b&gt; &lt;p&gt;&lt;b&gt;//Note here we have to assign that instance that we need in target, not the //source schema.&lt;/b&gt; &lt;p&gt;varXmlDoc.LoadXml(@"&amp;lt;ns0:ShippingAddress xmlns:ns0=""http://SampleXPath.ShippingAddress""&amp;gt; &lt;p&gt;&amp;lt;Address1&amp;gt;Test Address1&amp;lt;/Address1&amp;gt; &lt;p&gt;&amp;lt;Address2&amp;gt; Test Address2&amp;lt;/Address2&amp;gt; &lt;p&gt;&amp;lt;City&amp;gt;Test City&amp;lt;/City&amp;gt; &lt;p&gt;&amp;lt;State&amp;gt;Test State&amp;lt;/State&amp;gt; &lt;p&gt;&amp;lt;Country&amp;gt;Test Country&amp;lt;/Country&amp;gt; &lt;p&gt;&amp;lt;Zip&amp;gt;00000&amp;lt;/Zip&amp;gt; &lt;p&gt;&amp;lt;/ns0:ShippingAddress&amp;gt;"); &lt;p&gt;//Assign XMLDocument varSmlDoc variable to ShippingAddress message. &lt;p&gt;msgShippingAddress = varXmlDoc; &lt;p&gt;//Assign data to each element &lt;p&gt;msgShippingAddress.Address1 = msgBillignAddress.Address1; &lt;p&gt;msgShippingAddress.Address2 = msgBillignAddress.Address2; &lt;p&gt;msgShippingAddress.City = msgBillignAddress.City; &lt;p&gt;msgShippingAddress.Country = msgBillignAddress.Country; &lt;p&gt;msgShippingAddress.State = msgBillignAddress.State; &lt;p&gt;msgShippingAddress.Zip = msgBillignAddress.Zip; &lt;p&gt;I think now you can understand how to assign one schema to another schema using Message Assignment shape in BizTalk Orchestration.  &lt;p&gt;Let me know if you have any confusion in this article. &lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-8884476031561016707?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/8884476031561016707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-message-assignment-shape-assign.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8884476031561016707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8884476031561016707'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-message-assignment-shape-assign.html' title='BizTalk: Message Assignment shape. Assign value from one Schema to another Schema.'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-8770551596547006915</id><published>2009-05-26T12:48:00.000-07:00</published><updated>2009-11-20T16:16:50.090-08:00</updated><title type='text'>BizTalk : The configuration section for Logging cannot be found in the configuration source.</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;You will find this error while you will running / testing your orchestration. The error is telling that the configuration section for logging cannot be found in the configuration source.&lt;br /&gt;&lt;br /&gt;So You will go to change your configuration file. I have done the same.&lt;br /&gt;&lt;br /&gt;But it will not resolve your problem. The main problem is not in your application's configuration file. But the problem is in the BTSNTSvc.exe.config file, located in your installcation directory. So please enter the logging details in this file. Then test your Orchestration. I am sure it will resolve your problem.Cheers:)&lt;br /&gt;&lt;br /&gt;I am adding the following(at 14th August,2008) after getting comments from some friends(&lt;strong&gt;E.R. Joell &amp;amp; &lt;span style="font-size: x-small; color: #2583ad;"&gt;PeteM). Thanks buddy&lt;/span&gt;&lt;/strong&gt;:&lt;br /&gt;&lt;br /&gt;We needs to add the following block in the BTSNTSVC.exe.config file (that you can find  in C:/Program Files/Microsoft BizTalk Server 2006) inside the &amp;lt;configSections&amp;gt;&amp;lt;/configSections&amp;gt;:&lt;br /&gt;&lt;br /&gt;======================================================&lt;br /&gt;&lt;br /&gt;&amp;lt;section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&amp;gt;&lt;br /&gt;&lt;br /&gt;======================================================&lt;br /&gt;&lt;br /&gt;And add the following block just after &amp;lt;/ConsigSection&amp;gt;:&lt;br /&gt;&lt;br /&gt;======================================================&lt;br /&gt;&lt;br /&gt;&amp;lt;loggingConfiguration name="Logging Application Block" tracingEnabled="true"&lt;br /&gt;defaultCategory="General" logWarningsWhenNoCategoriesMatch="true"&amp;gt;&lt;br /&gt;&amp;lt;listeners&amp;gt;&lt;br /&gt;&amp;lt;add fileName="C:/log/testrolling.log" rollSizeKB="0" timeStampPattern="yyyy-MM-dd"&lt;br /&gt;rollFileExistsBehavior="Increment" rollInterval="Day" formatter="Text Formatter"&lt;br /&gt;header="----------------------------------------" footer="----------------------------------------"&lt;br /&gt;listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"&lt;br /&gt;traceOutputOptions="DateTime, ProcessId" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"&lt;br /&gt;name="Rolling Flat File Trace Listener" /&amp;gt;&lt;br /&gt;&amp;lt;add listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.SystemDiagnosticsTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"&lt;br /&gt;traceOutputOptions="DateTime, ProcessId" type="System.Diagnostics.TextWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;br /&gt;name="System.Diagnostics TraceListener" initializeData="C:/Trace/TestTractListener.log" /&amp;gt;&lt;br /&gt;&amp;lt;/listeners&amp;gt;&lt;br /&gt;&amp;lt;formatters&amp;gt;&lt;br /&gt;&amp;lt;add template="Timestamp: {timestamp}&amp;amp;#xD;&amp;amp;#xA;title: {title}&amp;amp;#xD;&amp;amp;#xA;Message: {message}&amp;amp;#xD;&amp;amp;#xA;Category: {category}&amp;amp;#xD;&amp;amp;#xA;priority: {priority}"&lt;br /&gt;type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"&lt;br /&gt;name="Text Formatter" /&amp;gt;&lt;br /&gt;&amp;lt;/formatters&amp;gt;&lt;br /&gt;&amp;lt;categorySources&amp;gt;&lt;br /&gt;&amp;lt;add switchValue="All" name="General"&amp;gt;&lt;br /&gt;&amp;lt;listeners&amp;gt;&lt;br /&gt;&amp;lt;add name="Rolling Flat File" /&amp;gt;&lt;br /&gt;&amp;lt;/listeners&amp;gt;&lt;br /&gt;&amp;lt;/add&amp;gt;&lt;br /&gt;&amp;lt;/categorySources&amp;gt;&lt;br /&gt;&amp;lt;specialSources&amp;gt;&lt;br /&gt;&amp;lt;allEvents switchValue="All" name="All Events" /&amp;gt;&lt;br /&gt;&amp;lt;notProcessed switchValue="All" name="Unprocessed Category" /&amp;gt;&lt;br /&gt;&amp;lt;errors switchValue="All" name="Logging Errors &amp;amp;amp; Warnings"&amp;gt;&lt;br /&gt;&amp;lt;listeners&amp;gt;&lt;br /&gt;&amp;lt;add name="Rolling Flat File Trace Listener" /&amp;gt;&lt;br /&gt;&amp;lt;/listeners&amp;gt;&lt;br /&gt;&amp;lt;/errors&amp;gt;&lt;br /&gt;&amp;lt;/specialSources&amp;gt;&lt;br /&gt;&amp;lt;/loggingConfiguration&amp;gt;&lt;br /&gt;&lt;br /&gt;====================================================&lt;br /&gt;&lt;br /&gt;Once more thank to give me a such type of comments so that I can update my articles. I like this.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-8770551596547006915?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/8770551596547006915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-configuration-section-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8770551596547006915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8770551596547006915'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-configuration-section-for.html' title='BizTalk : The configuration section for Logging cannot be found in the configuration source.'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-676355363939554588</id><published>2009-05-25T13:07:00.000-07:00</published><updated>2009-11-20T16:14:52.357-08:00</updated><title type='text'>The application is already precompiled.</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;&lt;p&gt;You will get this error when you are going to build your Web Service. To resolve this error please first make sure no .keep file exist in you this web service. Please remove all .keep files and also move the PrecompiledApp.config file. Its resolve my problem. I think its the solution of this error. &lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-676355363939554588?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/676355363939554588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/application-is-already-precompiled.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/676355363939554588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/676355363939554588'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/application-is-already-precompiled.html' title='The application is already precompiled.'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-6770296692609754868</id><published>2009-05-14T13:12:00.000-07:00</published><updated>2009-11-20T16:14:26.334-08:00</updated><title type='text'>BizTalk Orchestration: How to assign Called Orchestration property of CallOrchestration shape:</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;When we have Orchestration in the same project, we can select it directly in Called Orchestration property of the CallOrchestration shape. But when we have called orchestration in reference assembly (Another Project), we need to set the Type Modifier property of that orchestration to Public. By default it is Internal. But to use any orchestration as Referece Assembly in another project for CallOrchestration shape, we need to set its Type Modifier property to public and one more thing that the receive shape of that called orchestration must not Activated(i.e. its Activate property should be False). So an so we can find that orchstration in CallOrchestration's reference assembly else not.&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-6770296692609754868?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/6770296692609754868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-orchestration-how-to-assign.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6770296692609754868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6770296692609754868'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-orchestration-how-to-assign.html' title='BizTalk Orchestration: How to assign Called Orchestration property of CallOrchestration shape:'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-3409087899032194148</id><published>2009-05-09T12:46:00.000-07:00</published><updated>2009-11-20T16:17:18.781-08:00</updated><title type='text'>Biztalk : How to comment the Shape used in orchestration?</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;I am working on &lt;strong&gt;Biztalk 2006 R2&lt;/strong&gt; and facing a big problem. I have created an orchestration and for temporary purpose I want to comment some shapes that I have used in this orchestration like we are commenting the code in .net. But I have not found any facility in Biztalk to do it. I think microsoft has to add this functionality in this technology. Let me know your reviews, if you want to add.&lt;br /&gt;&lt;br /&gt;At this time to resolve this issue, I am using the decide shape and keeping all unwanted shapes in this decide shape which cannot execute. I have added such type of condition which will never true (i.e. 1==0). So at this time I can run my orchestration and can use those commented shapes(insude the above decide shape) in future if I want. Is it ok?&lt;br /&gt;&lt;br /&gt;Let me know if you have any new idea.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-3409087899032194148?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/3409087899032194148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-how-to-comment-shape-used-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/3409087899032194148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/3409087899032194148'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-how-to-comment-shape-used-in.html' title='Biztalk : How to comment the Shape used in orchestration?'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-7450518759284954447</id><published>2009-05-05T13:16:00.000-07:00</published><updated>2009-11-20T16:13:15.804-08:00</updated><title type='text'>ASP.Net + Access to the path 'C:\Inetpub\wwwroot\Test\images\upload\test.jpeg' is denied.</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;&lt;p&gt;This error is coming when you are going to upload the file on specified folder. Here I am going to upload test.jpeg in upload folder. When I am going to upload I am getting the following error:&lt;/p&gt;&lt;p&gt;&lt;i&gt;Access to the path 'C:\Inetpub\wwwroot\Test\images\upload\test.jpeg' is denied.&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Solution:&lt;/p&gt;&lt;p&gt;For this you have to give the access to this folder. Please follow the steps to resolve this error:&lt;/p&gt;&lt;p&gt;1&amp;gt; Right click on upload folder. Click on properties.&lt;/p&gt;&lt;p&gt;2&amp;gt; Click on Security tab. You can find the window like following:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;a href="http://vijaymodi.files.wordpress.com/2007/12/windowslivewriteraspnetaccesstothepathcinetpubwwwrootte-c10dimage03.png"&gt;&lt;img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="240" src="http://vijaymodi.files.wordpress.com/2007/12/windowslivewriteraspnetaccesstothepathcinetpubwwwrootte-c10dimage02.png" width="183" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;3&amp;gt; Click on Add button. You will find the following window.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;a href="http://vijaymodi.files.wordpress.com/2007/12/windowslivewriteraspnetaccesstothepathcinetpubwwwrootte-c10dimage05.png"&gt;&lt;img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="131" src="http://vijaymodi.files.wordpress.com/2007/12/windowslivewriteraspnetaccesstothepathcinetpubwwwrootte-c10dimage04.png" width="240" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;4&amp;gt; Write the Everyone in the "Enter the objecdt names to select[Select]:" textarea.&lt;/p&gt;&lt;p&gt;5&amp;gt; Click on Check Name button and click on ok button.&lt;/p&gt;&lt;p&gt;6&amp;gt; Give full control rights to this Everyone user.&lt;/p&gt;&lt;p&gt;Now test your application. It will works fine. &lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-7450518759284954447?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/7450518759284954447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/aspnet-access-to-path.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/7450518759284954447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/7450518759284954447'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/aspnet-access-to-path.html' title='ASP.Net + Access to the path &apos;C:\Inetpub\wwwroot\Test\images\upload\test.jpeg&apos; is denied.'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-7112071764388853831</id><published>2009-05-01T13:26:00.000-07:00</published><updated>2009-11-20T16:12:53.177-08:00</updated><title type='text'>Javascript + Replace forward slashes '/' with backward slashes '\'.</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;Hi friends,&lt;br /&gt;&lt;br /&gt;Using following Javascript sysntax you can replace forward slashes ('/') with backward slashes ('\') :&lt;br /&gt;&lt;blockquote&gt;var strReplace = "C&lt;a href="http://vijaymodi.wordpress.com/wp-admin/" title="http://vijaymodi.wordpress.com/wp-admin/"&gt;:\Temp\Temp1\Temp2\text.jpeg&lt;/a&gt;";&lt;br /&gt;&lt;br /&gt;strReplace = strReplace.replace(new RegExp(/\\/g),"/");&lt;/blockquote&gt;&lt;br /&gt;Regardes,&lt;br /&gt;&lt;br /&gt;Vijay&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-7112071764388853831?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/7112071764388853831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/javascript-replace-forward-slashes-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/7112071764388853831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/7112071764388853831'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/javascript-replace-forward-slashes-with.html' title='Javascript + Replace forward slashes &apos;/&apos; with backward slashes &apos;\&apos;.'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-9042474401909114979</id><published>2009-04-28T13:29:00.000-07:00</published><updated>2009-11-20T16:10:58.465-08:00</updated><title type='text'>Developers confused with microsoft products like .Net 3.5 ?</title><content type='html'>&lt;p&gt;Hi,&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Before some days I met my friends and asked microsoft has launched the Visual Studio 2010 with .Net Framework 4.0. I was really very happy to use it. But they (my friends) confused. They told me why microsoft launching new versions quickly. They told me that Microsoft has launched .Net 2.0 in 2005, .Net 3.5 in 2008 and now they have  the  version in .Net 4.0 2010. Just in distance of two years they have launched three different versions. Even developers have not used the 2.0 properly. May be microsoft has many intelligent software engineers who are developing new versions very quickly. Whatever we are not microsoft. :P &lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;Some one also told me "Microsoft is not solving their problem in their existing product. But launches  new version as earlier as others could not find the bugs in earlier version." So I like to ask you are you all now ready to use .net 4.0 2010. I know there are too many features in this version, but ask your self how much do you know about .net 2.0? You can write your comments here.....&lt;/p&gt;&lt;p&gt;Microsoft is very quickly launching new version. Is this good for you or not?&lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Vijay Modi&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-9042474401909114979?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/9042474401909114979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/developers-confused-with-microsoft.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/9042474401909114979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/9042474401909114979'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/developers-confused-with-microsoft.html' title='Developers confused with microsoft products like .Net 3.5 ?'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-6928943934951915469</id><published>2009-04-20T13:29:00.000-07:00</published><updated>2009-11-20T16:10:33.534-08:00</updated><title type='text'>Context Menu on Mouse Right Click for IE, FireFox Mozilla, Safari.</title><content type='html'>After long time, I like to write an article on JavaScript compatibility on different browsers. In this article I am creating a context menu on mouse right click. As we know we can easily create the context menu using javascript, but the main problem is the browser compatibility with this context menu. I am here giving some code to create a context menu. You can use this in any browser. I tested it in Internet Explorer 6.0, Firefox Mozilla 2.0 and Safari 3.0. It's working fine.&lt;br /&gt;&lt;br /&gt;Copy and paste the following code in notepad and save it as TestContextMenu.html and test it.&lt;br /&gt;&lt;br /&gt;=============================================================&lt;br /&gt;&lt;br /&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&amp;gt;&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;TITLE&amp;gt;¦¦-Browser Compatible Context Menu-¦¦&amp;lt;/TITLE&amp;gt;&lt;br /&gt;&amp;lt;META NAME='Generator' CONTENT='Javascript Context Menu'&amp;gt;&lt;br /&gt;&amp;lt;META NAME='Author' CONTENT='Context Menu on Mouse Right Click'&amp;gt;&lt;br /&gt;&amp;lt;META NAME='Keywords' CONTENT='Browser compatible context menu'&amp;gt;&lt;br /&gt;&amp;lt;META NAME='Description' CONTENT='Internet Explorer IE, FireFox, Safari compatible context menu'&amp;gt;&lt;br /&gt;&amp;lt;style&amp;gt;&lt;br /&gt;&amp;lt;!–&lt;br /&gt;.skin0&lt;br /&gt;{&lt;br /&gt;position:absolute;&lt;br /&gt;width:165px;&lt;br /&gt;border:2px solid black;&lt;br /&gt;background-color:#eeddee;&lt;br /&gt;font-family:Verdana;&lt;br /&gt;line-height:20px;&lt;br /&gt;cursor:default;&lt;br /&gt;font-size:14px;&lt;br /&gt;z-index:100;&lt;br /&gt;visibility:hidden;&lt;br /&gt;}&lt;br /&gt;.menuitems&lt;br /&gt;{&lt;br /&gt;padding-left:10px;&lt;br /&gt;padding-right:10px;&lt;br /&gt;}&lt;br /&gt;–&amp;gt;&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;script language=javascript&amp;gt;&lt;br /&gt;//Following function will fired when we click on the right click menu option.&lt;br /&gt;function getSelText(obj)&lt;br /&gt;{&lt;br /&gt;menuobj.style.visibility='hidden'&lt;br /&gt;alert(obj);&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;&amp;lt;CENTER&amp;gt;&lt;br /&gt;&amp;lt;P&amp;gt;&amp;lt;B&amp;gt;&lt;br /&gt;&amp;lt;H2&amp;gt;Right Click on the document and select an option from the context menu. &amp;lt;BR&amp;gt;This example is tested in Internet Explorer 6.0, Mozila Firefox 2.0 and Safari 3.0. Its working fine in all these browser.&amp;lt;B&amp;gt; &amp;lt;/H2&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;H1&amp;gt;Hurrey…..&amp;lt;/H1&amp;gt;&lt;br /&gt;&amp;lt;/P&amp;gt;&amp;lt;/CENTER&amp;gt;&lt;br /&gt;&amp;lt;div id='ie5menu' class='skin0' onMouseover='highlightie5(event)' onMouseout='lowlightie5(event)' onClick='jumptoie5(event)' display:none&amp;gt;&lt;br /&gt;&amp;lt;div class='menuitems' url='#' onmousedown=getSelText('Copy');&amp;gt;Copy&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div class='menuitems' url='#' onmousedown=getSelText('Cut');&amp;gt;Cut&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div class='menuitems' url='#' onmousedown=getSelText('Paste');&amp;gt;Paste&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div class='menuitems' url='#' onmousedown=getSelText('New');&amp;gt;New&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div class='menuitems' url='#' onmousedown=getSelText('Edit');&amp;gt;Edit&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;div class='menuitems' url='#' onmousedown=getSelText('Submit');&amp;gt;Submit&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script language='JavaScript1.2'&amp;gt;&lt;br /&gt;//set this variable to 1 if you wish the URLs of the highlighted menu to be displayed in the status bar&lt;br /&gt;var display_url=0&lt;br /&gt;&lt;br /&gt;var ie5=document.all&amp;amp;&amp;amp;document.getElementById&lt;br /&gt;var ns6=document.getElementById&amp;amp;&amp;amp;!document.all&lt;br /&gt;if (ie5||ns6)&lt;br /&gt;var menuobj=document.getElementById('ie5menu')&lt;br /&gt;&lt;br /&gt;function showmenuie5(e)&lt;br /&gt;{&lt;br /&gt;//Find out how close the mouse is to the corner of the window&lt;br /&gt;var rightedge=ie5? document.body.clientWidth-event.clientX : window.innerWidth-e.clientX&lt;br /&gt;var bottomedge=ie5? document.body.clientHeight-event.clientY : window.innerHeight-e.clientY&lt;br /&gt;&lt;br /&gt;//if the horizontal distance isn't enough to accomodate the width of the context menu&lt;br /&gt;if (rightedge&amp;lt;menuobj.offsetWidth)&lt;br /&gt;//move the horizontal position of the menu to the left by it's width&lt;br /&gt;menuobj.style.left=ie5? document.body.scrollLeft+event.clientX-menuobj.offsetWidth : window.pageXOffset+e.clientX-menuobj.offsetWidth&lt;br /&gt;else&lt;br /&gt;//position the horizontal position of the menu where the mouse was clicked&lt;br /&gt;menuobj.style.left=ie5? document.body.scrollLeft+event.clientX : window.pageXOffset+e.clientX&lt;br /&gt;&lt;br /&gt;//same concept with the vertical position&lt;br /&gt;if (bottomedge&amp;lt;menuobj.offsetHeight)&lt;br /&gt;menuobj.style.top=ie5? document.body.scrollTop+event.clientY-menuobj.offsetHeight : window.pageYOffset+e.clientY-menuobj.offsetHeight&lt;br /&gt;else&lt;br /&gt;menuobj.style.top=ie5? document.body.scrollTop+event.clientY : window.pageYOffset+e.clientY&lt;br /&gt;&lt;br /&gt;menuobj.style.visibility='visible'&lt;br /&gt;return false&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function hidemenuie5(e)&lt;br /&gt;{&lt;br /&gt;menuobj.style.visibility='hidden'&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function highlightie5(e)&lt;br /&gt;{&lt;br /&gt;var firingobj=ie5? event.srcElement : e.target&lt;br /&gt;if (firingobj.className=='menuitems'||ns6&amp;amp;&amp;amp;firingobj.parentNode.className=='menuitems')&lt;br /&gt;{&lt;br /&gt;if (ns6&amp;amp;&amp;amp;firingobj.parentNode.className=='menuitems') firingobj=firingobj.parentNode //up one node&lt;br /&gt;firingobj.style.backgroundColor='#00AAff'&lt;br /&gt;firingobj.style.color='white'&lt;br /&gt;if (display_url==1)&lt;br /&gt;window.status=event.srcElement.url&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function lowlightie5(e)&lt;br /&gt;{&lt;br /&gt;var firingobj=ie5? event.srcElement : e.target&lt;br /&gt;if (firingobj.className=='menuitems'||ns6&amp;amp;&amp;amp;firingobj.parentNode.className=='menuitems')&lt;br /&gt;{&lt;br /&gt;if (ns6&amp;amp;&amp;amp;firingobj.parentNode.className=='menuitems')&lt;br /&gt;{&lt;br /&gt;firingobj=firingobj.parentNode;&lt;br /&gt;}&lt;br /&gt;firingobj.style.backgroundColor='' ;&lt;br /&gt;firingobj.style.color='black' ;&lt;br /&gt;window.status='';&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function jumptoie5(e)&lt;br /&gt;{&lt;br /&gt;var firingobj=ie5? event.srcElement : e.target;&lt;br /&gt;if (firingobj.className=='menuitems'||ns6&amp;amp;&amp;amp;firingobj.parentNode.className=='menuitems')&lt;br /&gt;{&lt;br /&gt;if (ns6&amp;amp;&amp;amp;firingobj.parentNode.className=='menuitems') firingobj=firingobj.parentNode;&lt;br /&gt;if (firingobj.getAttribute('target'))&lt;br /&gt;window.open(firingobj.getAttribute('url'),firingobj.getAttribute('target'));&lt;br /&gt;else&lt;br /&gt;window.location=firingobj.getAttribute('url');&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if (ie5||ns6)&lt;br /&gt;{&lt;br /&gt;menuobj.style.display='';&lt;br /&gt;document.oncontextmenu=showmenuie5 ;&lt;br /&gt;document.onclick=hidemenuie5;&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;==============================================================&lt;br /&gt;&lt;br /&gt;Note: I came to know from some comments that the Code is not working. I here note that the code was not working due to the problem with " character. I don't know but it was encrypted. I retype the code here and think that it will work. Let me know if you found any problem. Thank you...&lt;br /&gt;&lt;blockquote&gt;Enjoy this......&lt;/blockquote&gt;&lt;br /&gt;Reference: &lt;a href="http://www.dynamicdrive.com/"&gt;http://www.dynamicdrive.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-6928943934951915469?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/6928943934951915469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/context-menu-on-mouse-right-click-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6928943934951915469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6928943934951915469'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/context-menu-on-mouse-right-click-for.html' title='Context Menu on Mouse Right Click for IE, FireFox Mozilla, Safari.'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-5370660978624729430</id><published>2009-04-15T13:40:00.000-07:00</published><updated>2009-11-20T16:09:22.615-08:00</updated><title type='text'>Syntax Difference between MS Sql and My Sql</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;I got some problem with the guys that they want to know the exact difference between the syntax of MS Sql and My Sql. So I like to write this article on this blog. As you see my articles, I have also write an article for the commercial difference between these two Databases. You can see this article on the following url: &lt;br /&gt;&lt;br /&gt;&lt;a href="http://vijaymodi.wordpress.com/2007/03/28/my-sql-vs-ms-sql/" title="http://vijaymodi.wordpress.com/2007/03/28/my-sql-vs-ms-sql/"&gt;http://vijaymodi.wordpress.com/2007/03/28/my-sql-vs-ms-sql/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now I like to give the syntax difference between these two databases. Let me start it now...&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;&amp;gt; If you want to retrieve the first (Top) four rows from a table by using query you have to write TOP in MS Sql. While for the same purpose, you need to write LIMIT in mysql. The syntax are as follows:&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;MS SQL&lt;/strong&gt;:&lt;br /&gt;&lt;blockquote&gt;SELECT TOP(4) * FROM TableName ORDER BY FieldName&lt;/blockquote&gt;&lt;br /&gt;&lt;strong&gt;MY Sql&lt;/strong&gt;:&lt;br /&gt;&lt;blockquote&gt;SELECT * FROM TableName ORDER BY FieldName LIMIT 4&lt;/blockquote&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;&amp;gt; My Sql can insert multiple rows at a time, while MS Sql cannot.&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;strong&gt;MS SQL:&lt;/strong&gt; &lt;/code&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;INSERT INTO tablename VALUES (1,'AAA');&lt;br /&gt;INSERT INTO tablename VALUES (2,'BBB');&lt;br /&gt;INSERT INTO tablename VALUES (3,'CCC');&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;code&gt;&lt;strong&gt;MY SQL:&lt;/strong&gt; &lt;/code&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;code&gt;INSERT INTO tablename&lt;br /&gt;VALUES (1,'AAA') , (2,'BBB') , (3,'CCC');&lt;/code&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;code&gt;&amp;gt; &lt;span style="color:#000000;"&gt;MSSQL&lt;/span&gt; doesn't have CHARACTER_LENGTH. Provides the &lt;code&gt;LEN&lt;/code&gt; and &lt;code&gt;DATALENGTH&lt;/code&gt; functions instead (the latter is especially valid for 'special' data types like the &lt;code&gt;TEXT&lt;/code&gt; type).while MYSQL &lt;/code&gt;Provides CHARACTER_LENGTH.&lt;br /&gt;Aliases: CHAR_LENGTH, LENGTH. Note that MySQL removes trailing (not leading) spaces from CHAR values before counting.&lt;br /&gt;&lt;br /&gt;To See the other more important difference visit the following link:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://troels.arvin.dk/db/rdbms/" title="http://troels.arvin.dk/db/rdbms/"&gt;http://troels.arvin.dk/db/rdbms/&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-5370660978624729430?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/5370660978624729430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/syntax-difference-between-ms-sql-and-my.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5370660978624729430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5370660978624729430'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/syntax-difference-between-ms-sql-and-my.html' title='Syntax Difference between MS Sql and My Sql'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-8401570304886872472</id><published>2009-04-09T13:44:00.000-07:00</published><updated>2009-11-20T16:08:57.424-08:00</updated><title type='text'>VS 2008 Beta 2 Silverlight Reference Problems</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;I have installed VS 2008 Beta 2, Silverlight Alpha Refresh and the Silverlight tools for VS.&lt;br /&gt;&lt;br /&gt;Then I have created a SilverLightProject. But when I am going to build this project I am getting the following warnings:&lt;br /&gt;&lt;br /&gt;The following reference not found:&lt;br /&gt;&lt;blockquote&gt;'agclr'&lt;br /&gt;'mscorlib'&lt;br /&gt;'system'&lt;br /&gt;'System.Core'&lt;br /&gt;'system.Xml.core'&lt;br /&gt;'system.silverlight'&lt;/blockquote&gt;&lt;br /&gt;I cannot understand why this problem is comming.&lt;br /&gt;&lt;br /&gt;I tried on the net. But not getting any solution. Then I tyied the following and solve the problem.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;First I Install the "Microsoft Silverlight Tools Alpha for Visual Studio 2008 Beta 2".&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Then re open the Visual Studio SilveLightProject, which I was created before. Then tried to build it. Still facing the same problem.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Second I Install the "Microsoft Silverlight 1.1 Alpha".&lt;br /&gt;&lt;/strong&gt;Then re open the Visual Studio SilveLightProject, which I was created before. Then tried to build it. &lt;strong&gt;Its amazing....:) Its working fine now....&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Its working now.&lt;br /&gt;&lt;br /&gt;I found that before installaton of "Microsoft Silverlight 1.1 Alpha" that, there in "Program Files\Microsoft Silverlight" folder did not contan the above reference dll. So I was getting errors. But after complete this installation, I got these all dll's there and so my problem was solved.&lt;br /&gt;&lt;br /&gt;So try like this. Enjoy the SilveLight.:)&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-8401570304886872472?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/8401570304886872472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/vs-2008-beta-2-silverlight-reference.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8401570304886872472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8401570304886872472'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/vs-2008-beta-2-silverlight-reference.html' title='VS 2008 Beta 2 Silverlight Reference Problems'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-8636942002030574940</id><published>2009-04-02T13:47:00.000-07:00</published><updated>2009-11-20T16:08:30.229-08:00</updated><title type='text'>Cannot insert explicit value for identity column in table 'tblTestTable' when IDENTITY_INSERT is set to OFF.</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;Suppose you have a table in MS Sql with two Columns.&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;CREATE TABLE [dbo].[tblTest](&lt;br /&gt;[Test_Id] [int] IDENTITY(1,1) NOT NULL,&lt;br /&gt;[Test_Name] [varchar](200) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,&lt;br /&gt;CONSTRAINT [PK_tblTest] PRIMARY KEY CLUSTERED&lt;br /&gt;(&lt;br /&gt;[Test_Id] ASC&lt;br /&gt;)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 90) ON [PRIMARY]&lt;br /&gt;) ON [PRIMARY]&lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;Now you are inserting the three values in this table:&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;Insert Into tblTest(Test_Name) values("Test1")&lt;br /&gt;Insert Into tblTest(Test_Name) values("Test2")&lt;br /&gt;Insert Into tblTest(Test_Name) values("Test3")&lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;So your table will look like as follows:&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;1 Test1&lt;br /&gt;2 Test2&lt;br /&gt;3 Test3&lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;Now you are deleting second row of the table using the following syntax:&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;DELETE From tblTest where Test_Id=2&lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;Now you table will looks like the following:&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;1 Test1&lt;br /&gt;3 Test3 &lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;Now you are going to insert a row with the following query:&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;Insert Into tblTest(Test_Id,Test_Name) values(2, "TestTemp2") &lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;when you execute this query, you will face the following error:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;This error is coming when we have a Identity Specification is 'Yes' and IsIdentity is also 'Yes', Identity Increament is set to(1/2/...). &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;So you are unable to insert this type of row, because sql know that the Test_Id is the Identity_Column and so you cannot insert the value which already inserted. So to resolve this error, you have to set the Column_Identity ON by using the following syntax.&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;SET IDENTITY_INSERT tblOrderItemStatus ON &lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;Then try to insert the row using the above same query, which was as following:&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;Insert Into tblTest(Test_Id,Test_Name) values(2, "TestTemp2") &lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;Now you need to reset the Column_Identity OFF. You can do it just by the following syntax:&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;SET IDENTITY_INSERT tblOrderItemStatus OFF &lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;Is it resolve your problem. Howdy buddy?....&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-8636942002030574940?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/8636942002030574940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/cannot-insert-explicit-value-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8636942002030574940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8636942002030574940'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/cannot-insert-explicit-value-for.html' title='Cannot insert explicit value for identity column in table &apos;tblTestTable&apos; when IDENTITY_INSERT is set to OFF.'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-129216939145002709</id><published>2009-03-29T13:49:00.000-07:00</published><updated>2009-11-20T16:08:04.627-08:00</updated><title type='text'>.Net 3.5 XAMP: {System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.UIPermission, mscorlib, Version=2.0</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Today I am trying to work on WPFBrowserApplication. I face the following error. I don't understand how to resolve this problem. I tried on search engine. Then I go to the project's property. There I found in the 'Security' tab that the permission was given are: FileDialogPermission &amp;amp; IsolatedStorageFilePermission. But for this I need FileIOPermission too. So I check radio button 'This is a full trust application'. Then I tried to run the application. And its running very fine. Your security tab should look like the following:  &lt;p&gt;&lt;p&gt;&lt;a href="http://vijaymodi.files.wordpress.com/2007/09/windowslivewriter.net3.5xampsystem.security.securityexce-e825image03.png"&gt;&lt;img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="550" src="http://vijaymodi.files.wordpress.com/2007/09/windowslivewriter.net3.5xampsystem.security.securityexce-e825image0-thumb1.png" width="808" border="0" /&gt;&lt;/a&gt;  &lt;p&gt;&lt;p&gt;Sometimes problems are too easy then time spent to resolve it. &lt;p&gt;Vijay Modi&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-129216939145002709?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/129216939145002709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/net-35-xamp-systemsecuritysecurityexcep.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/129216939145002709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/129216939145002709'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/net-35-xamp-systemsecuritysecurityexcep.html' title='.Net 3.5 XAMP: {System.Security.SecurityException: Request for the permission of type &apos;System.Security.Permissions.UIPermission, mscorlib, Version=2.0'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-5315121476912137914</id><published>2009-03-26T13:50:00.000-07:00</published><updated>2009-11-20T16:07:39.271-08:00</updated><title type='text'>MS Sql Server: Alter Table set default value</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;Hi Friends,&lt;br /&gt;&lt;br /&gt;Do you want to know how to Alter Table for adding new column with Default value? The sysntax of sql server is:&lt;br /&gt;&lt;br /&gt;ALTER TABLE table&lt;br /&gt;{&lt;br /&gt;ADD&lt;br /&gt;{&lt;br /&gt;column_name data_type [ ( size ) ]&lt;br /&gt;[ DEFAULT value ]&lt;br /&gt;{ [ NULL | NOT NULL ] | [ { PRIMARY KEY | UNIQUE } ] }&lt;br /&gt;{ [ CONSTRAINT constraint_name ] }&lt;br /&gt;}&lt;br /&gt;|&lt;br /&gt;ALTER COLUMN column_name&lt;br /&gt;{&lt;br /&gt;data_type [ ( size ) ] [ ( precision [ , scale ] ) ]&lt;br /&gt;[ NULL | NOT NULL ]&lt;br /&gt;}&lt;br /&gt;|&lt;br /&gt;DROP { COLUMN column_name | [ CONSTRAINT ] constraint_name }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;dl&gt;&lt;dt&gt;table &lt;/dt&gt;&lt;dd&gt;Specifies which table is to be altered. &lt;/dd&gt;&lt;dt&gt;column_name &lt;/dt&gt;&lt;dd&gt;The name of the column being added, altered, or dropped. &lt;/dd&gt;&lt;dt&gt;data_type &lt;/dt&gt;&lt;dd&gt;The data type of the column being added or altered. &lt;/dd&gt;&lt;dt&gt;size &lt;/dt&gt;&lt;dd&gt;Is the length of the data that can be entered into a field. &lt;/dd&gt;&lt;dt&gt;DEFAULT value &lt;/dt&gt;&lt;dd&gt;Is the default value for the column being altered. &lt;/dd&gt;&lt;dt&gt;NULL | NOT NULL &lt;/dt&gt;&lt;dd&gt;Is a parameter that indicates whether a column can or cannot contain null values. &lt;/dd&gt;&lt;dt&gt;PRIMARY KEY &lt;/dt&gt;&lt;dd&gt;Is a parameter that identifies the column or set of columns whose values uniquely identify each row in a table. Each table can only have one primary key constraint. &lt;/dd&gt;&lt;dt&gt;UNIQUE &lt;/dt&gt;&lt;dd&gt;Is a constraint that enforces the uniqueness of the values in a set of columns. &lt;/dd&gt;&lt;dt&gt;constraint_name &lt;/dt&gt;&lt;dd&gt;The name of the constraint to be added or dropped. &lt;/dd&gt;&lt;dt&gt;precision &lt;/dt&gt;&lt;dd&gt;Specifies the precision for the data type. &lt;/dd&gt;&lt;dt&gt;scale &lt;/dt&gt;&lt;dd&gt;Specifies the scale for the data type.&lt;/dd&gt;&lt;/dl&gt;The ALTER TABLE statement can be used to modify an existing table by adding, altering, or dropping columns and indexes.&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://www.devguru.com/technologies/t-sql/7120.asp" title="http://www.devguru.com/technologies/t-sql/7120.asp"&gt;http://www.devguru.com/technologies/t-sql/7120.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So when you want to set the default value when you are adding a new column in the databse table, you can use the following example. I have created a column named 'tempTest' and its datatype is 'bit' and default value is '0' i.e. false.&lt;br /&gt;&lt;br /&gt;ALTER TABLE tblTable&lt;br /&gt;ADD isTempTest bit NOT NULL&lt;br /&gt;CONSTRAINT [DF_tblTable_isTempTest] DEFAULT ((0))&lt;br /&gt;&lt;br /&gt;I have added CONSTRAINT 'DF_tblTable_isTempTest' to set the default value 0.&lt;br /&gt;&lt;br /&gt;You can add you comment here.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-5315121476912137914?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/5315121476912137914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/ms-sql-server-alter-table-set-default.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5315121476912137914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5315121476912137914'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/ms-sql-server-alter-table-set-default.html' title='MS Sql Server: Alter Table set default value'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-5554214918119023668</id><published>2009-03-21T13:50:00.000-07:00</published><updated>2009-11-20T16:07:14.053-08:00</updated><title type='text'>ASP.Net Error: The web server is not configured correctly</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;&lt;strong&gt;This error will be as follows:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://vijaymodi.files.wordpress.com/2007/08/windowslivewriterasp.neterrorthewebserverisnotconfiguredc-ec4dclip-image0028.jpg"&gt;&lt;img border="0" width="600" src="http://vijaymodi.files.wordpress.com/2007/08/windowslivewriterasp.neterrorthewebserverisnotconfiguredc-ec4dclip-image002-thumb5.jpg" height="140" style="border-width:0;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I resolve this error by following steps:&lt;br /&gt;&lt;br /&gt;1&amp;gt; Right click on the project and select property option.&lt;br /&gt;&lt;br /&gt;2&amp;gt; Go to the Web tag and you have to set the &lt;strong&gt;Use &lt;u&gt;V&lt;/u&gt;isual Studio Development server&lt;/strong&gt; instead of &lt;strong&gt;User IIS &lt;u&gt;W&lt;/u&gt;eb Server.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://vijaymodi.files.wordpress.com/2007/08/windowslivewriterasp.neterrorthewebserverisnotconfiguredc-ec4dclip-image00414.jpg"&gt;&lt;img border="0" width="600" src="http://vijaymodi.files.wordpress.com/2007/08/windowslivewriterasp.neterrorthewebserverisnotconfiguredc-ec4dclip-image004-thumb11.jpg" height="189" style="border-width:0;margin:0;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have resolved this problem just by following above steps. I think it will help you to resolve your problem too.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-5554214918119023668?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/5554214918119023668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/aspnet-error-web-server-is-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5554214918119023668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5554214918119023668'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/aspnet-error-web-server-is-not.html' title='ASP.Net Error: The web server is not configured correctly'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-3586137550605656507</id><published>2009-03-18T13:53:00.000-07:00</published><updated>2009-11-20T16:06:49.399-08:00</updated><title type='text'>Retrieving the COM class factory for component with CLSID {...} failed due to the following error: 80040154.</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;hi,&lt;br /&gt;&lt;br /&gt;you can find the solution on the following link:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://riteshk.blogspot.com/2007/05/retrieving-com-class-factory-failed-due.html"&gt;http://riteshk.blogspot.com/2007/05/retrieving-com-class-factory-failed-due.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;U can also check the following one.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://forums.asp.net/p/1249300/2317080.aspx"&gt;http://forums.asp.net/p/1249300/2317080.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Vijay Modi&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-3586137550605656507?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/3586137550605656507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/retrieving-com-class-factory-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/3586137550605656507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/3586137550605656507'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/retrieving-com-class-factory-for.html' title='Retrieving the COM class factory for component with CLSID {...} failed due to the following error: 80040154.'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-8951489725402276054</id><published>2009-03-15T13:53:00.000-07:00</published><updated>2009-11-20T16:06:21.158-08:00</updated><title type='text'>DataReader problem + OutPutParameter</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;I was faced this problem yesterday. I search on Google Search engine, but found that we cannot get the OutPutParameter before closing the datareader. So if you want to get the output parameter, you have to close the datareader. After closing datareader, you can got the output parameter. But after closing the datareader you cannot retrieve out data. So if you want to resolve this problme, You have to go through the following :&lt;br /&gt;&lt;br /&gt;If you output parament name is @IsExist&lt;br /&gt;SET it with your conditions and query in Stored Procedure&lt;br /&gt;&lt;blockquote&gt;SET @IsExist =1&lt;/blockquote&gt;&lt;br /&gt;Then Just add the SELECT statement like :&lt;br /&gt;&lt;blockquote&gt;SELECT @IsExist AS IsExist&lt;/blockquote&gt;&lt;br /&gt;Now you can get this variable from Coding(C#) as following&lt;br /&gt;&lt;blockquote&gt;IDataReader = db.Execure(dbCommand);&lt;br /&gt;bool blnIsExist = (Boolean)dr["IsExist"];&lt;/blockquote&gt;&lt;br /&gt;Enjoying na:)&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-8951489725402276054?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/8951489725402276054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/datareader-problem-outputparameter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8951489725402276054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8951489725402276054'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/datareader-problem-outputparameter.html' title='DataReader problem + OutPutParameter'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-5148424087458521808</id><published>2009-03-12T13:54:00.000-07:00</published><updated>2009-11-20T16:05:48.600-08:00</updated><title type='text'>Server Side ViewState + Performance Improvement</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;I assume you all who are reading this article knows about ViewState. So now some times our webpage contains lot of controls, or datagrid/gridview or some dead controls. In this situation it can grow very large. And if we are using viewstate then It will dead effect on performance.&lt;br /&gt;&lt;br /&gt;So the solution is to remove viewstate from the client side and keep it on Seaver. There are some drawbacks to store the it on Searver Side. What I am doing is that I have override the method that store and retrieves the ViewState, namely &lt;strong&gt;SavePageStateToPersistenceMedium&lt;/strong&gt; and &lt;strong&gt;LoadPageStateFromPersistenceMedium&lt;/strong&gt;. By overriding these two intrinsic methods, we can intercept the ViewState process and perform our magic. What we are doing is simply this: You have a bunch of baggage. Probably way too much. But you only really need it when you visit the server (such as on a postback). So, instead of making you carry it all with you (which can slow down the plane and make other passengers very unhappy), we are going to arrange for you to leave it in a special place at the server, and pick it up again when you get back there. Everything works the same; you just don't have to lug it all with you. Make sense?&lt;br /&gt;&lt;br /&gt;This is far from a new idea; there are a number of implementations of this technique. The best one I found is by &lt;a href="http://authors.aspalliance.com/robertb/articles.aspx?articleId=2"&gt;Robert Boedigheimer here&lt;/a&gt;. Robert's solution provides a new BasePage class which handles these operations, and a viewStateServerMgr class that handles the serialization and deserialization. His implementation is the only one I've seen that also accounts for the fact that with IE, users can hit the back button and we would need to "go back" to the previous viewstate for that page in the cache. Robert made the assumption that since ViewState is unique to each user, he would store and retrieve the ViewState for each page in Session state. However, there are at least three other "places" that we can stick our serialized ViewState object, and we can still account for unique users with a unique key such as the SessionID. If we do this, we can set Session to be readonly (assuming we don't need to write to it) and thus get an additional performance boost. Those options are Application, Cache, and a static global class instance holding, for example, a Hashtable. &lt;br /&gt;&lt;br /&gt;A simplified code example of this model, with a different implementation of a unique user key, could be as follow:&lt;br /&gt;&lt;blockquote&gt;protected override void SavePageStateToPersistenceMedium(object viewState)&lt;br /&gt;{&lt;br /&gt;string str = "VIEWSTATE_" + Request.UserHostAddress + "_" + DateTime.Now.Ticks.ToString();&lt;br /&gt;Cache.Add(str, viewState, null, DateTime.Now.AddMinutes(Session.Timeout),TimeSpan.Zero, CacheItemPriority.Default, null);&lt;br /&gt;RegisterHiddenField("__VIEWSTATE_KEY", str);&lt;br /&gt;RegisterHiddenField("__VIEWSTATE", "");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;protected override object LoadPageStateFromPersistenceMedium()&lt;br /&gt;{&lt;br /&gt;string str = Request.Form["__VIEWSTATE_KEY"];&lt;br /&gt;if (!str.StartsWith("VIEWSTATE_")) {&lt;br /&gt;throw new Exception("Invalid viewstate key:" + str);&lt;br /&gt;}&lt;br /&gt;return Cache[str];&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;So what I did was to wire up Robert's class with some choices that could be set in the web.config -- to make it automatically use Session, Application, Cache, or my global static class, depending on the web.config setting. I then set about to create two pages. The first page uses Robert's BasePage class to inherit from, and implements the server - side ViewState scheme. The second page inherits from the typical System.Web.UI.Page class, and Viewstate is stored "in the page" as usual. Each page is essentially the same, and each page creates 1000 small viewstate entries in the Page_Load handler on first load. Each page also has a bit of javascript written to it with "Defer" - which makes the script wait until the page and all other script is rendered, and then it causes the page to postback. In this manner, I could easily run a series of web stress tests with Homer (now called "Web Application Stress") and I wouldn't have to bother with making a GET and a POST in my tests. All I am really interested in is the throughput and average requests per second under load for each scenario.&lt;br /&gt;&lt;br /&gt;As an informational note, many developers will ask "Why didn't you use ACT from Visual Studio.NET?". ACT is great for demos where you want to show people a nice real-time graph, but my personal opinion is that it is nowhere near as reliable or feature-rich as Homer. After a number of years of this testing thing, including several eye-opening weeks at the MS Testing Lab in Charlotte, I have come to trust Homer.&lt;br /&gt;&lt;br /&gt;Before going any further, let's take a look at the test results, which may&lt;br /&gt;surprise you. We ran this test with a client machine and a server machine over a&lt;br /&gt;wireless network. The server is a P4 with 1 GB RAM running Windows Server 2003&lt;br /&gt;and IIS in Worker Process Isolation (HTTP.SYS) mode. We ran a two minute test&lt;br /&gt;with 20 simultaneous threads and no delay. This can be considered moderate&lt;br /&gt;stress. None of the tests had any HTTP or socket errors. The regular ViewState&lt;br /&gt;test without the server-side scheme is in the first column, then the four server&lt;br /&gt;side schemes follow:&lt;br /&gt;&lt;table style="width:419px;height:151px;" border="0" cellspacing="2" cellpadding="1" width="419" align="center"&gt;&lt;tbody&gt;&lt;tr class="pullstyle"&gt;&lt;td class="xl30" width="118" height="17"&gt; &lt;/td&gt;&lt;td class="style3" colspan="4"&gt;VIEWSTATE WEB STRESS COMPARISON&lt;/td&gt;&lt;td class="style3" width="75"&gt; &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="style3" height="17"&gt;TEST NAME&lt;/td&gt;&lt;td class="style8" width="96"&gt;VIEWSTATE&lt;/td&gt;&lt;td class="style8" width="76"&gt;SESSION&lt;/td&gt;&lt;td class="style8" width="111"&gt;APPLICATION&lt;/td&gt;&lt;td class="style8" width="79"&gt;CACHE&lt;/td&gt;&lt;td class="style8"&gt;GLOBALS&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="style4" height="17"&gt;NUMBER OF HITS&lt;/td&gt;&lt;td align="right"&gt;3322&lt;/td&gt;&lt;td align="right"&gt;18483&lt;/td&gt;&lt;td align="right"&gt;18476&lt;/td&gt;&lt;td align="right"&gt;20170&lt;/td&gt;&lt;td align="right"&gt;16723&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="style4" height="17"&gt;REQUESTS /SEC&lt;/td&gt;&lt;td class="style6" align="right"&gt;27.64&lt;/td&gt;&lt;td class="style6" align="right"&gt;153.8&lt;/td&gt;&lt;td class="style6" align="right"&gt;153.74&lt;/td&gt;&lt;td class="style6" align="right"&gt;167.84&lt;/td&gt;&lt;td class="style6" align="right"&gt;140.32&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="style4" height="17"&gt;TOTAL BYTES REC'D (KB)&lt;/td&gt;&lt;td class="style7" align="right"&gt;68016.63&lt;/td&gt;&lt;td class="style7" align="right"&gt;22923.25&lt;/td&gt;&lt;td class="style7" align="right"&gt;22977.13&lt;/td&gt;&lt;td class="style7" align="right"&gt;25074.51&lt;/td&gt;&lt;td class="style7" align="right"&gt;20798&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="style4" height="17"&gt;PERCENT DIFFERENCE&lt;/td&gt;&lt;td class="style8"&gt;&lt;br /&gt;&lt;p align="right"&gt;N/A&lt;/p&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class="style6" align="right"&gt;456.44%&lt;/td&gt;&lt;td class="style6" align="right"&gt;456.22%&lt;/td&gt;&lt;td class="style6" align="right"&gt;507.24%&lt;/td&gt;&lt;td class="style6" align="right"&gt;407.67%&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;As can be seen above, the winner is - surprise - storing the ViewState in&lt;br /&gt;Cache, at almost 168 requests per second. That is an approximate &lt;strong&gt;500&lt;br /&gt;percent improvement in throughput&lt;/strong&gt; over regular ViewState. All of the&lt;br /&gt;server-side options outperformed regular ViewState, with static global Hashtable&lt;br /&gt;storage being the worst performer. You can download the solution I used to&lt;br /&gt;create these tests below, and tweak it if you like. I'd be interested in anyone&lt;br /&gt;else's results in this area.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Conclusion:&lt;/strong&gt; ASP.NET ViewState is a great invention that makes the developer's life easier. It also can create a lot of HTML baggage that slows down performance. By storing ViewState in either Session or Cache, you can have your ViewState and eat it, too.&lt;br /&gt;Taking the time to develop a quality stress testing scenario to prove out (or disprove) one's hypotheses provides the scientific basis in fact to help developers make educated, sound decisions about their application architecture.&lt;br /&gt;&lt;br /&gt;You can get an example of it from the following link:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.eggheadcafe.com/articles/20040613.zip"&gt;&lt;strong&gt;Download the Solution that accompanies this article &lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Reference: &lt;span style="font-family:Verdana;"&gt;Peter A. Bromberg : &lt;/span&gt;&lt;a href="http://www.eggheadcafe.com/articles/20040613.asp"&gt;http://www.eggheadcafe.com/articles/20040613.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.codeproject.com/aspnet/ServerViewState.asp"&gt;http://www.codeproject.com/aspnet/ServerViewState.asp&lt;/a&gt;&lt;br /&gt;Regards, &lt;br /&gt;Vijay Modi&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-5148424087458521808?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/5148424087458521808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/server-side-viewstate-performance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5148424087458521808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5148424087458521808'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/server-side-viewstate-performance.html' title='Server Side ViewState + Performance Improvement'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-7085773791975770797</id><published>2009-03-08T13:55:00.000-07:00</published><updated>2009-11-20T16:05:25.245-08:00</updated><title type='text'>The following module was built either with optimizations enabled or without debug information</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;When you find this bug, follow the following steps in sequence:&lt;br /&gt;&lt;blockquote&gt;1&amp;gt;Go to bin folder of you project and remove the dll where you find above error.&lt;br /&gt;2&amp;gt; Browse the project and right click on bin folder and uncheck readonly checkbox. Click OK.&lt;br /&gt;3&amp;gt; Right click on project and click on add reference option. Add the existing project as dependency project.&lt;br /&gt;4&amp;gt; Build web service and test it.&lt;/blockquote&gt;&lt;br /&gt;It will resolve your problem. If you find more help send me reply he in comments.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-7085773791975770797?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/7085773791975770797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/following-module-was-built-either-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/7085773791975770797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/7085773791975770797'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/following-module-was-built-either-with.html' title='The following module was built either with optimizations enabled or without debug information'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-868205269178305813</id><published>2009-03-07T13:59:00.000-08:00</published><updated>2009-11-20T16:03:25.629-08:00</updated><title type='text'>Button onClick and onClientClick</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;Today I got a comment regarding what is the difference between onClick and onClientClick. So I think to write a small article on it.    &lt;br /&gt;&lt;br /&gt;Please find the following code for. I write the code for .aspx page. Copy and paste this code in your aspx page.&lt;br /&gt;&lt;br /&gt;========================================================================================&lt;br /&gt;&lt;blockquote&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml" &amp;gt;&lt;br /&gt;&amp;lt;head runat="server"&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;Untitled Page&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;script language="javascript" type="text/javascript"&amp;gt;&lt;br /&gt;function confirmthis()&lt;br /&gt;{&lt;br /&gt;if(confirm("Do you want to do a server trip?"))&lt;br /&gt;{&lt;br /&gt;return true;&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;return false;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;lt;form id="form1" runat="server"&amp;gt;&lt;br /&gt;&amp;lt;div&amp;gt;&lt;br /&gt;&amp;lt;asp:TextBox ID="TextBox1" runat="server"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&lt;br /&gt;&amp;lt;asp:Button ID="Button1" runat="server" OnClick="Button1_Click" OnClientClick="return confirmthis();" Text="Click Me..." /&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/blockquote&gt;&lt;br /&gt;========================================================================================&lt;br /&gt;&lt;br /&gt;Copy and paste following code in your code behind(aspx.cs) page.&lt;br /&gt;&lt;br /&gt;========================================================================================&lt;br /&gt;&lt;blockquote&gt;protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;protected void Button1_Click(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;TextBox1.Text="U click Button1"&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;========================================================================================&lt;br /&gt;&lt;br /&gt;Now run your project. just Click on the button "Click Me...". It will ask to "Do you want to do a server trip?". If you select YES then you will do a server trip and when you select NO you will not redirect to server. So here for validation purpose we are using onClientClick and for doing process on server side, we are using onClick.&lt;br /&gt;Best Regards,&lt;br /&gt;Vijay Modi&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-868205269178305813?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/868205269178305813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/button-onclick-and-onclientclick.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/868205269178305813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/868205269178305813'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/button-onclick-and-onclientclick.html' title='Button onClick and onClientClick'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-1953290120462139582</id><published>2009-03-06T13:59:00.000-08:00</published><updated>2009-11-20T16:05:00.320-08:00</updated><title type='text'>JavaScript + Blinking /Flash behind TextBox</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;Hi today I trying to make a blinking text box and found an important script from the web. I have created a html page and test it. Its really very good script. So if do you want to craete a blinking textbox, go through the following code and you can create your own blinking textbox.&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;TITLE&amp;gt; Blinking TextBox &amp;lt;/TITLE&amp;gt;&lt;br /&gt;&amp;lt;script&amp;gt;&lt;br /&gt;window.Blink = function(args)&lt;br /&gt;{&lt;br /&gt;args = (/,/.test(args))? args.split(/,/): [args,'#FFD100',10];&lt;br /&gt;var who = document.getElementById(args[0]);&lt;br /&gt;var count = parseInt(args[2]);&lt;br /&gt;if (--count &amp;lt;=0)&lt;br /&gt;{&lt;br /&gt;who.style.backgroundColor = '';&lt;br /&gt;if(who.focus) who.focus();&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;args[2]=count+'';&lt;br /&gt;who.style.backgroundColor=(count%2==0)? '': args[1];&lt;br /&gt;args='\"'+args.join(',')+'\"';&lt;br /&gt;setTimeout("Blink("+args+")",500);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;BODY onLoad="Blink('name');"&amp;gt;&lt;br /&gt;&amp;lt;table&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td width="50"&amp;gt;&amp;lt;b&amp;gt;Name:&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td width="300"&amp;gt;&lt;br /&gt;&amp;lt;input id="name" type="text"&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td width="50"&amp;gt;&amp;lt;b&amp;gt;E-mail:&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td width="300"&amp;gt;&lt;br /&gt;&amp;lt;input id="email" type="text"&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td colspan="2" align="center"&amp;gt;&lt;br /&gt;&amp;lt;input type="button" value="Submit" onClick="alert('Your form would have been submitted')"&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/blockquote&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-1953290120462139582?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/1953290120462139582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/javascript-blinking-flash-behind.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/1953290120462139582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/1953290120462139582'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/javascript-blinking-flash-behind.html' title='JavaScript + Blinking /Flash behind TextBox'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-3999655394509605607</id><published>2009-03-04T14:00:00.000-08:00</published><updated>2009-11-20T16:02:43.436-08:00</updated><title type='text'>JavaScript Events</title><content type='html'>&lt;h5&gt;&lt;strong&gt;Hi Friends,&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;p&gt;I am here giving some Events regarding buttons in JavaScript.&lt;/p&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;onClick&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;p&gt;We've already used this event quite a lot. But you can use it with buttons, images, links, radio buttons, check boxes. Here's a simple onClick event used with an image:&lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;&amp;lt;IMG SRC = red.jpg &lt;strong&gt;onClick = "alert('No stealing the images!')"&lt;/strong&gt;&amp;gt;&lt;/p&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;onDblClick&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;p&gt;Same as above, really. Try inserting Dbl into onClick and see what happens.&lt;/p&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;onKeyDown&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;p&gt;This events fires when a key on your keyboard is pressed. It applies to buttons, textboxes, text areas, and links. If you had a search box on a form, for example, you might want to activate the search when the user presses the Return/Enter key on the keyboard. For Netscape users, though, you need to use this:&lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;window.captureEvents(Event.KEYPRESS)&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;p&gt;And that's only the start of your problems!&lt;/p&gt;&lt;br /&gt;&lt;p&gt;An easier example of the KeyDown event that works in both browsers is this:&lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;&amp;lt;INPUT type = text &lt;strong&gt;onKeyDown&lt;/strong&gt; = "alert('Key pressed')"&amp;gt;&lt;/p&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;h5&gt;onMouseOver&lt;/h5&gt;&lt;br /&gt;&lt;p&gt;You've seen this in action already when we wrote the script for the "dancing hand". Associated events are onMouseOut and onMouseDown. They are mainly used for links and images. A typical use of onMouseOver is to swap images around when creating a rollover effect.&lt;/p&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;Onblur&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;p&gt;This event takes places when objects lose focus. If you click inside one text box then click outside it the textbox has lost focus. That's when the onBlur event fires.&lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;&amp;lt;INPUT TYPE = text &lt;strong&gt;onBlur &lt;/strong&gt;= "alert('Lost focus')"&amp;gt;&lt;/p&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;p&gt;Here's an example. Click inside the first text box, then click inside the second one.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;When you move away from the textbox, you should see the alert box. You can write code to check if something like an email address is correct. If not, you can reset the text box to a blank string.&lt;/p&gt;&lt;br /&gt;&lt;h5&gt;&lt;strong&gt;onSubmit&lt;/strong&gt;&lt;/h5&gt;&lt;br /&gt;&lt;p&gt;This is a very useful event that can be used for data validation on a form. You can use this event with a Submit button. The details on the form can then be checked for errors. If you catch any errors, you can then stop the form's details from being submitted. Here's an example. Note the use of the word &lt;strong&gt;return&lt;/strong&gt;. This is set to a Boolean value. If return is false then the form doesn't get submitted; if it's true then the form is submitted. (More about return in the next section.)&lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;&amp;lt;FORM name = f1 &lt;strong&gt;onSubmit = &lt;/strong&gt;"return Validate()"&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;INPUT Type = Submit Value = " Send "&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/FORM&amp;gt;&lt;/p&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;p&gt;The form is not much good because it only has a submit button. But notice where the onSubmit event is - in the FORM tag, and not with the Submit button.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Here's the Validate() function. It doesn't do any checking. All it does is to display an alert message.&lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;function Validate() {&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Details = false&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if (Details == false) {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;alert("errors detected")&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;return false&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;/p&gt;&lt;br /&gt;&lt;p&gt;if (Details == true) {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;alert("Form Submitted")&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;return true&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;/p&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;p&gt;In the function, we've set a variable (Details) to false. This is just for testing purposes, and means the user has filled out the form incorrectly. Look at the two return values, though. If the Details are false then return gets set to false, and the form isn't submitted; if the Details are true then return is true, and the form is submitted.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;If you want, add a Method and an Action to your Form. Like this one:&lt;/p&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;p&gt;&amp;lt;form name = f1 onSubmit = "return Validate()"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Method = post Action="Mailto:MyEmailAddress@MyISP.com" Enctype="text/plain"&amp;gt;&lt;/p&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;p&gt;(The Enctype will send the details in plain text that's much easier to read.)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Test out the code on a web page. Change the Details variable to true and click the button. We're going to do some real error checking in the next section, and we'll meet onSubmit again.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Speaking of that next section - let's get right to it.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Reference: &lt;a href="http://homepage.ntlworld.com/kayseycarvey/jss3p3.html"&gt;http://homepage.ntlworld.com/kayseycarvey/jss3p3.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Vijay Modi&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-3999655394509605607?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/3999655394509605607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/javascript-events.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/3999655394509605607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/3999655394509605607'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/javascript-events.html' title='JavaScript Events'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-5260514709782315404</id><published>2009-02-28T14:00:00.000-08:00</published><updated>2009-11-20T16:02:11.498-08:00</updated><title type='text'>Javascript Parent Child window / window.open method / Open PopUp window</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;Do you want to open PopUp window from your current window. It can open by using javascript's window.open method. The new opened window is called the Child window and from which window you have open it is called Parent window.&lt;br /&gt;&lt;br /&gt;The syntax of window.open is as follows:&lt;br /&gt;&lt;br /&gt;open (URL, windowName[, windowFeatures])&lt;br /&gt;&lt;br /&gt;Where URL is the url of the page which you want to open.&lt;br /&gt;windowname is a name given to the new window&lt;br /&gt;windowFeatures is the string which can include status bar, address bar etc.. window features will be included in the new popup window.&lt;br /&gt;&lt;br /&gt;For example:&lt;br /&gt;window.open ("&lt;a href="http://vijaymodi.wordpress.com"&gt;http://vijaymodi.wordpress.com","Vijay&lt;/a&gt; Modi's Blog");&lt;br /&gt;&lt;br /&gt;will opens a new browser window with standard features.&lt;br /&gt;&lt;br /&gt;To open a window with statusbar and toolbar you have to write the following code:&lt;br /&gt;&lt;blockquote&gt;window.open ("&lt;a href="http://vijaymodi.wordpress.com"&gt;http://vijaymodi.wordpress.com","Vijay&lt;/a&gt; Modi's Blog","status=1,toolbar=1");&lt;/blockquote&gt;&lt;br /&gt;The following table shows the features and the string tokens you can use in the features depends on your requirements:&lt;br /&gt;&lt;blockquote&gt;status       The status bar at the bottom of the window.&lt;br /&gt;toolbar      The standard browser toolbar, with buttons such as Back and Forward.&lt;br /&gt;location     The Location entry field where you enter the URL.&lt;br /&gt;menubar    The menu bar of the window&lt;br /&gt;directories The standard browser directory buttons, such as What's New and What's Cool&lt;br /&gt;resizable    Allow/Disallow the user to resize the window.&lt;br /&gt;scrollbars    Enable the scrollbars if the document is bigger than the window&lt;br /&gt;height        Specifies the height of the window in pixels. (example: height='350')&lt;br /&gt;width         Specifies the width of the window in pixels.&lt;/blockquote&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-5260514709782315404?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/5260514709782315404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/javascript-parent-child-window.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5260514709782315404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5260514709782315404'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/javascript-parent-child-window.html' title='Javascript Parent Child window / window.open method / Open PopUp window'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-2061459015768068613</id><published>2009-02-22T14:00:00.000-08:00</published><updated>2009-11-20T16:01:44.284-08:00</updated><title type='text'>Javascript Parent Child window / window.open method / Open PopUp window</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;Do you want to open PopUp window from your current window. It can open by using javascript's window.open method. The new opened window is called the Child window and from which window you have open it is called Parent window.&lt;br /&gt;&lt;br /&gt;The syntax of window.open is as follows:&lt;br /&gt;&lt;br /&gt;open (URL, windowName[, windowFeatures])&lt;br /&gt;&lt;br /&gt;Where URL is the url of the page which you want to open.&lt;br /&gt;windowname is a name given to the new window&lt;br /&gt;windowFeatures is the string which can include status bar, address bar etc.. window features will be included in the new popup window.&lt;br /&gt;&lt;br /&gt;For example:&lt;br /&gt;window.open ("&lt;a href="http://vijaymodi.wordpress.com"&gt;http://vijaymodi.wordpress.com","Vijay&lt;/a&gt; Modi's Blog");&lt;br /&gt;&lt;br /&gt;will opens a new browser window with standard features.&lt;br /&gt;&lt;br /&gt;To open a window with statusbar and toolbar you have to write the following code:&lt;br /&gt;&lt;blockquote&gt;window.open ("&lt;a href="http://vijaymodi.wordpress.com"&gt;http://vijaymodi.wordpress.com","Vijay&lt;/a&gt; Modi's Blog","status=1,toolbar=1");&lt;/blockquote&gt;&lt;br /&gt;The following table shows the features and the string tokens you can use in the features depends on your requirements:&lt;br /&gt;&lt;blockquote&gt;status       The status bar at the bottom of the window.&lt;br /&gt;toolbar      The standard browser toolbar, with buttons such as Back and Forward.&lt;br /&gt;location     The Location entry field where you enter the URL.&lt;br /&gt;menubar    The menu bar of the window&lt;br /&gt;directories The standard browser directory buttons, such as What's New and What's Cool&lt;br /&gt;resizable    Allow/Disallow the user to resize the window.&lt;br /&gt;scrollbars    Enable the scrollbars if the document is bigger than the window&lt;br /&gt;height        Specifies the height of the window in pixels. (example: height='350')&lt;br /&gt;width         Specifies the width of the window in pixels.&lt;/blockquote&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-2061459015768068613?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/2061459015768068613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/02/javascript-parent-child-window.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2061459015768068613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2061459015768068613'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/02/javascript-parent-child-window.html' title='Javascript Parent Child window / window.open method / Open PopUp window'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-859464401662148110</id><published>2009-02-18T14:15:00.000-08:00</published><updated>2009-11-20T16:00:41.699-08:00</updated><title type='text'>ASP.Net Send mail</title><content type='html'>I have write a function to send mail in asp.net. Sending mail is an important feature of each and every project. And so I write this article and providing one function to send mail.      &lt;br /&gt;&lt;br /&gt;Public Function SendMail(ByVal Sender As String, ByVal Receiver As String, ByVal Subject As String, _&lt;br /&gt;ByVal CC As String, ByVal BCC As String, ByVal Message As String)&lt;br /&gt;&lt;br /&gt;Dim NewMailToUser As New MailMessage&lt;br /&gt;NewMailToUser.To = Receiver&lt;br /&gt;NewMailToUser.From = Sender&lt;br /&gt;&lt;br /&gt;If Not (CC = String.Empty) OrElse Not IsNothing(CC) Then&lt;br /&gt;NewMailToUser.Cc = CC&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;If Not (BCC = String.Empty) OrElse Not IsNothing(BCC) Then&lt;br /&gt;NewMailToUser.Bcc = BCC&lt;br /&gt;&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;NewMailToUser.Subject = Subject&lt;br /&gt;NewMailToUser.BodyFormat = MailFormat.Html&lt;br /&gt;NewMailToUser.Body = Message&lt;br /&gt;SmtpMail.SmtpServer = String.Empty 'SMTP server name or address. You have to change depends on your SMTP server&lt;br /&gt;SmtpMail.Send(NewMailToUser)&lt;br /&gt;&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;You can use this function to send mail and you can call it as following:&lt;br /&gt;&lt;br /&gt;SendMail(strSender, strTo, strSubject, Nothing, Nothing, strMessage)&lt;br /&gt;&lt;br /&gt;Enjoying Programming,&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-859464401662148110?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/859464401662148110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/aspnet-send-mail.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/859464401662148110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/859464401662148110'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/aspnet-send-mail.html' title='ASP.Net Send mail'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-7124058351026217053</id><published>2009-02-18T14:14:00.000-08:00</published><updated>2009-11-20T16:01:11.665-08:00</updated><title type='text'>CGI Error-The specified CGI application misbehaved by not returning a complete set of HTTP headers</title><content type='html'>The "CGI Header" error typically this happens more on a faster machine (it has to do with timing of IIS/PHP and database connections). Logging out of the PureCMS system might result in IIS responding with a CGI Error. Refreshing the client browser (press the F5 key) typically results in the login page correctly appearing. If this error happens regularly, try configuring your web server to be optimized for Programs (not Background Services). These options can be found in the System control panel under Performance Options.&lt;br /&gt;&lt;br /&gt;There is another option if optimizing your Web server for Programs does not solve the problem. There is a free utility called "FastCGI" that is a generic "plug in" for IIS that helps to execute CGI applications (PHP, Perl, etc.) faster by pooling those processes rather than making IIS launch them for every request. This has been shown to work well with PureCMS to avoid the "CGI Header Error" issues mentioned above.&lt;br /&gt;&lt;br /&gt;Setting Up FastCGI on IIS for PureCMS&lt;br /&gt;&lt;br /&gt;Download http://www.caraveo.com/fastcgi/fastcgi-0.6.zip and unpack isapi_fcgi.dll.&lt;br /&gt;Place the "isapi_fcgi.dll" file into the "App\PHP" subfolder of your PureCMS installation directory, e.g. "D:\PureCMS\App\PHP" (the same directory as php.e-x-e)&lt;br /&gt;Copy and paste the following text (between the "----" lines) into a text editor (such as Notepad). Modify the file path for PHP appropriately (point it to your installation folder for PureCMS), and save the file with a ".reg" extension. Then double-click that file and click "Yes" to merge this information into your registry.   Make sure that the file names are in 8.3 format. For example, instead of "c:\program files\globalscape\purecms" use "c:\progra~1\global~1\purecms".&lt;br /&gt;------------------- fastcgi.reg -------------------------&lt;br /&gt;Windows Registry Editor Version 5.00&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\FASTCGI]&lt;br /&gt;"StartServers"=dword:00000005&lt;br /&gt;"IncrementServers"=dword:00000002&lt;br /&gt;"MaxServers"=dword:00000019&lt;br /&gt;"Timeout"=dword:00000258&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\FASTCGI\.php]&lt;br /&gt;"AppPath"="D:\\PureCMS\\app\\php\\php.exe"&lt;br /&gt;"BindPath"="php-fcgi"&lt;br /&gt;---------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Change script mappings for .PHP to point to D:\PureCMS\app\php\isapi_fcgi.dll instead of PHP.exe.  This is done in the IIS manager: right-click on the PureCMS site and choose "Properties." Change to the "Home Directory" tab and click the "Configuration" button in the bottom right. Go to the "App Mappings" tab. Find the ".php" extension in the "Application Mappings" list, click it and choose "Edit." For the Executable entry, "Browse" and find the isapi_fcgi.dll location and choose that.&lt;br /&gt;If you are configuring IIS on a Win2K3 machine, you must also take the extra step of adding it as an allowed ISAPI extension. (see IIS help file for more details, or ask us to help!)&lt;br /&gt;If you are not running on Win2K3, you should toggle Application protection from "High" to Medium" to "High" due to some weird IIS issue. To do so, right-click on your PureCMS site in IIS manager and choose Properties. In the "Home Directory" tab, change the "Application Protection" list to "Medium" and press APPLY. Then change it back to "High" and press Apply again. If you are curious about why this is necessary, read here: http://www.ensim.com/support/wwp/documents/wwp_pro_3.2_docs/wwp32_applHelp/WebHelp/Sites-related.htm&lt;br /&gt;Copy PHP.INI from d:\PureCMS\Main\ into d:\PureCMS\App\php\php.ini (this is a very important step!!!)&lt;br /&gt;8) For FastCGI to work properly, you will need to use PHP 4.3.4; PureCMS ships with PHP 4.3.3.&lt;br /&gt;Download PHP 4.3.4 here, and unzip the following files into your PureCMS PHP folder (e.g. c:\program files\globalscape\purecms\app\php\) -- overwrite whatever files are already there:  php.exe, php_ts.dll, and mssql.dll&lt;br /&gt;Restarted the web server. To do so, open a command prompt window and type "iisreset".&lt;br /&gt;Access PureCMS from a browser. Installing FastCGI should eliminate the "This application has misbehaved" errors.&lt;br /&gt;Reference: http://help.globalscape.com/help/purecms3/Error_Message__CGI_Error-The_specified_CGI_application_misbehaved_by_not_returning_a_complete_set_of_HTTP_headers.htm&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-7124058351026217053?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/7124058351026217053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/cgi-error-specified-cgi-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/7124058351026217053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/7124058351026217053'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/cgi-error-specified-cgi-application.html' title='CGI Error-The specified CGI application misbehaved by not returning a complete set of HTTP headers'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-141675959181586272</id><published>2009-02-14T14:15:00.000-08:00</published><updated>2009-11-20T16:00:14.968-08:00</updated><title type='text'>Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of</title><content type='html'>Hello Friends,&lt;br /&gt;&lt;br /&gt;Its not actually an error. Its a message telling you that you cannot view the error.&lt;br /&gt;&lt;br /&gt;You have to do the following to resolve this problem.&lt;br /&gt;&lt;br /&gt;First setting in the web.config will display you the actual errror. Also check if you have the correct .NET version installed on the server and your \test folder is configured to the right .net version.&lt;br /&gt;&lt;br /&gt;If still getting the same error the do the following:&lt;br /&gt;&lt;br /&gt;In the IIS, right click on your website and in the properties dialog, click on the ASP.NET tab and set the correct version. For example see the following snap.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you find this article resolved your problem, please add your comments. You can add your suggesions too.&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-141675959181586272?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/141675959181586272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/runtime-error-description-application.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/141675959181586272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/141675959181586272'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/runtime-error-description-application.html' title='Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-6167240416435356336</id><published>2009-02-09T14:33:00.000-08:00</published><updated>2009-11-20T15:59:49.144-08:00</updated><title type='text'>COM+ was unable to talk to the Microsoft Distributed Transaction Coordinator</title><content type='html'>To resolve this problem go through the following steps: &lt;br /&gt;&lt;br /&gt;Go to Start &gt; Run&lt;br /&gt;Write the cmd and click on ok button. Command prompt will open.&lt;br /&gt;Write the following commands&lt;br /&gt;&gt; msdtc -uninstall&lt;br /&gt;&gt; msdtc -install&lt;br /&gt;&lt;br /&gt;This will resolve your problem.&lt;br /&gt;&lt;br /&gt;You can see another solution on the following link too:&lt;br /&gt;http://support.microsoft.com/kb/867520&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-6167240416435356336?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/6167240416435356336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/com-was-unable-to-talk-to-microsoft.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6167240416435356336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6167240416435356336'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/com-was-unable-to-talk-to-microsoft.html' title='COM+ was unable to talk to the Microsoft Distributed Transaction Coordinator'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-1007746786906785878</id><published>2009-02-05T14:33:00.000-08:00</published><updated>2009-11-20T15:59:24.679-08:00</updated><title type='text'>ASP.Net + Removing controls from groupbox using ForEach loop</title><content type='html'>Hi Friends,&lt;br /&gt;&lt;br /&gt;Yesterday I was resolving a problem. I was getting that I am removing same control from a group box. I am giving you an example. I add 10 same controls dynamically in the group box. Then on one click on Remove button, I need to remove all these controls from group box. The code was written by me was as follows: &lt;br /&gt;&lt;br /&gt;foreach (Control ctl in grp1.Controls)&lt;br /&gt;{&lt;br /&gt;if (ctl.GetType().ToString().EndsWith(".ctl1"))&lt;br /&gt;{&lt;br /&gt;grp1.Controls.Remove(ctl);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;When I debug this code, understand the problem that all the controls are not removing from this group box. Then I change the logic with the following one.&lt;br /&gt;&lt;br /&gt;int intNoOfControls = grp1.Controls.Count;&lt;br /&gt;for (int i = intNoOfControls - 1; i &gt;= 0; i--)&lt;br /&gt;{&lt;br /&gt;if (grp1.Controls[i].GetType().ToString().EndsWith(".ctl1"))&lt;br /&gt;{&lt;br /&gt;grp1.Controls.Remove(grp1.Controls[i]);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;This code working perfect and resolve the problem. But do you know what was the problem there in for each loop? Its really very interesting. When I am going to remove control from for each loop its removing and compare with the (group box controls -1) controls (i.e. its reinitialize the controls). So its not removing all the controls from the group box.&lt;br /&gt;&lt;br /&gt;Note: If you want to add your comments for this article please add it below. Your suggesion are really great advice for me.&lt;br /&gt;&lt;br /&gt;Thanks Buddy,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-1007746786906785878?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/1007746786906785878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/aspnet-removing-controls-from-groupbox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/1007746786906785878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/1007746786906785878'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/aspnet-removing-controls-from-groupbox.html' title='ASP.Net + Removing controls from groupbox using ForEach loop'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-2324549209867942422</id><published>2009-02-02T14:33:00.000-08:00</published><updated>2009-11-20T15:58:40.185-08:00</updated><title type='text'>DataGridView + Focus to a Row Cell</title><content type='html'>I have to check the validation of DataGridView and have to check the value should not repeate more then one time. I Solve this problem just by adding the following two lines of code and its working very fine. Do you facing the same problem, Please go through and it will definetely resolve your problem.  &lt;br /&gt;&lt;br /&gt;If you know the cell, like having a reference to it from the variable desiredCell you can simply do the following:&lt;br /&gt;&lt;br /&gt;dataGridView1.CurrentCell = desiredCell;&lt;br /&gt;dataGridView1.BeginEdit(true);&lt;br /&gt;&lt;br /&gt;Solve na?? Now add your comments buddy. :)&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-2324549209867942422?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/2324549209867942422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/datagridview-focus-to-row-cell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2324549209867942422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2324549209867942422'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/datagridview-focus-to-row-cell.html' title='DataGridView + Focus to a Row Cell'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-4330650314137959951</id><published>2009-01-30T14:34:00.000-08:00</published><updated>2009-11-20T15:58:06.121-08:00</updated><title type='text'>BizTalk : Deployment cannot initialize the connection to the database "BizTalkMgmtDb" on server "HOME".</title><content type='html'>To resolve this problem on the project properties inside Visual Studios, you need to change that to the server(HOME) you want to deploy to.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-4330650314137959951?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/4330650314137959951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-deployment-cannot-initialize.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/4330650314137959951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/4330650314137959951'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/biztalk-deployment-cannot-initialize.html' title='BizTalk : Deployment cannot initialize the connection to the database &amp;quot;BizTalkMgmtDb&amp;quot; on server &amp;quot;HOME&amp;quot;.'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-5874566922189790665</id><published>2009-01-28T14:34:00.000-08:00</published><updated>2009-11-20T15:57:40.137-08:00</updated><title type='text'>Error creating window handle</title><content type='html'>I faced this problem during a search screen. When I got the record in my GridView and click on a link I am opening a window form. The problem arise when I open 15 to 16 times the window.  &lt;br /&gt;&lt;br /&gt;Problem:The error is because windows has a limit of 1000 windows handles so I presume data grid returns more than 1000 or near enough rows.  We need to reuse the same object rather than creating a new control every time.&lt;br /&gt;&lt;br /&gt;Solution: To resolve this problem we have to open the task manager and add the columns Handles, Threads, User Objects, GDI Objects by clicking the View-&gt; Select column. Now run your application and check which is increasing frequently once you complete the functionality. In my application I found the USER Objects increasing very quickly. I check my code and found that I was not disposing the objects and so its increasing. In my application I found that User Objects reach 10000 and it locks to load controls. So to resolve it I have set the objects to null and dispose the controls which were not required and when the window is going to close. It can possible that problem can arise from the Handlers. So at this time we have to detach all the event handlers when we close the window or we have to check is the handler is exist and if not exist then we have to create it else not. So this is one of the important article I faced it and really interested thats possible even .Net has Garbage Collection features. So we should remember that we don't require any control just dispose it. So keep in mind it because its very important.&lt;br /&gt;&lt;br /&gt;You can add your comments and suggesions here. Do it yaar......&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-5874566922189790665?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/5874566922189790665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/error-creating-window-handle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5874566922189790665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/5874566922189790665'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/error-creating-window-handle.html' title='Error creating window handle'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-8819591236042104116</id><published>2009-01-25T14:41:00.001-08:00</published><updated>2009-11-20T15:57:11.820-08:00</updated><title type='text'>Sys.WebForms.PageRequestManagerParserErrorException</title><content type='html'>passA partial-page update is initiated by a client request (an asynchronous postback) to the server. The server processes the request and returns a response to the client.  &lt;br /&gt;&lt;br /&gt;If the browser does not receive a response in a specified time, the    Sys.WebForms.PageRequestManagerTimeoutException is raised. To change the interval that elapses before asynchronous postbacks time out, set the AsyncPostBackTimeout property of the ScriptManager control.    &lt;br /&gt;&lt;br /&gt;If an error occurs on the server while the request is being processed, an error response is returned to the browser and the Sys.WebForms.PageRequestManagerServerErrorException exception is raised. To customize error handling and to display more information about the server error, handle the AsyncPostBackError event and use the AsyncPostBackErrorMessage and AllowCustomErrorsRedirect properties. For an example of how to provide custom error handling during partial-page updates, see Customizing Error Handling for UpdatePanel Controls.  &lt;br /&gt;&lt;br /&gt;If the response to an asynchronous postback returns without an error but there is an error processing the response in the client, the Sys.WebForms.PageRequestManagerParserErrorException is raised. For information about how to handle this error condition, see ASP.NET AJAX Debugging and Tracing Overview.    &lt;br /&gt;&lt;br /&gt;How to avoid this problem: &lt;br /&gt;&lt;br /&gt;1. Calls to Response.Write(): &lt;br /&gt;Place an &lt;asp:Label&gt; or similar control on your page and set its Text property. The added benefit is that your pages will be valid HTML. When using Response.Write() you typically end up with pages that contain invalid markup.&lt;br /&gt;&lt;br /&gt;2. Response filters:&lt;br /&gt;The fix might just be to not use the filter. They're not used very often anyway. If possible, filter things at the control level and not at the response level.&lt;br /&gt;&lt;br /&gt;3. HttpModules:&lt;br /&gt;Same as response filters.&lt;br /&gt;&lt;br /&gt;4. Server trace is enabled:&lt;br /&gt;Use some other form of tracing, such as writing to a log file, the Windows event log, or a custom mechanism.&lt;br /&gt;&lt;br /&gt;5. Calls to Server.Transfer():&lt;br /&gt;I'm not really sure why people use Server.Transfer() at all. Perhaps it's a legacy thing from Classic ASP. I'd suggest using Response.Redirect() with query string parameters or cross-page posting.&lt;br /&gt;&lt;br /&gt;Another way to avoid the parse error is to do a regular postback instead of an asynchronous postback. For example, if you have a button that absolutely must do a Server.Transfer(), make it do regular postbacks. There are a number of ways of doing this:&lt;br /&gt;&lt;br /&gt;1. The easiest is to simply place the button outside of any UpdatePanels. Unfortunately the layout of your page might not allow for this.&lt;br /&gt;2. Add a PostBackTrigger to your UpdatePanel that points at the button. This works great if the button is declared statically through markup on the page.&lt;br /&gt;3. Call ScriptManager.RegisterPostBackControl() and pass in the button in question. This is the best solution for controls that are added dynamically, such as those inside a repeating template.&lt;br /&gt;&lt;br /&gt;Support: http://weblogs.asp.net/leftslipper/archive/2007/02/26/sys-webforms-pagerequestmanagerparsererrorexception-what-it-is-and-how-to-avoid-it.aspx#1820815&lt;br /&gt;&lt;br /&gt;Hope it will resolve this problem. You can add your comments here.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-8819591236042104116?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/8819591236042104116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/syswebformspagerequestmanagerparsererro.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8819591236042104116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8819591236042104116'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/syswebformspagerequestmanagerparsererro.html' title='Sys.WebForms.PageRequestManagerParserErrorException'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-6862031728408417879</id><published>2009-01-25T14:41:00.000-08:00</published><updated>2009-11-20T15:55:47.126-08:00</updated><title type='text'>Set Parameter in Crystal Reports using ASP.Net</title><content type='html'>Some one send me a mail and ask for help regarding setting parameters in Crystal Reports using asp.net.   &lt;br /&gt;&lt;br /&gt;My advice is always to download the web samples at:     &lt;br /&gt;&lt;br /&gt;Visual Basic .NET Web Samples&lt;br /&gt;&lt;br /&gt;C# .NET Web Sample Applications &lt;br /&gt;&lt;br /&gt;Then, follow the Readme file to install the “Discrete Parameters” example.  This has been my guide, and it works great.  &lt;br /&gt;&lt;br /&gt;Additional help and tutorials are in the CR SDK:&lt;br /&gt;&lt;br /&gt;Crystal Reports .NET SDK – Additional Conceptual Documentation and Tutorials&lt;br /&gt;&lt;br /&gt;This file contains additional conceptual information and tutorials for using Crystal Reports in Visual Studio .NET (including a developer reference). This documentation applies to Crystal Reports 9 &amp; 10 and Crystal Reports for Visual Studio .NET 2002 &amp; 2003. Sample applications built using these tutorials are available for download (cr_net_sdk_tutorial_samples_en.zip).&lt;br /&gt;&lt;br /&gt;Crystal Reports .NET SDK – Sample Applications from Tutorials&lt;br /&gt;&lt;br /&gt;This file contains C# and VB .NET Windows and web sample applications. These samples were built using the tutorials provided in the ‘Crystal Reports .NET SDK – Additional Documentation and Tutorials’ (cr_net_sdk_additional_en.zip). These sample applications applies to: Crystal Reports 9 &amp; 10 and Crystal Reports for Visual Studio .NET 2002 &amp; 2003. &lt;br /&gt;&lt;br /&gt;If you're new to Crystal Reports .NET, get this book:&lt;br /&gt;&lt;br /&gt;Crystal Reports .NET Programming&lt;br /&gt;&lt;br /&gt;It is both an introduction to Crystal Reports .NET, as well as a object model programming guide/reference.  Examples are in both VB.NET and C#.&lt;br /&gt;&lt;br /&gt;A number of methods out there use the CrystalReportViewer control to set parameters.  That's great unless you need to export your report to PDF (or XLS or RTF).  This is a code snippet I use, it comes from Business Objects tech support:&lt;br /&gt;&lt;br /&gt;================================================&lt;br /&gt;&lt;br /&gt;rptCount = New ReportDocument&lt;br /&gt;rptCount.Load(Server.MapPath("reportname.rpt"))&lt;br /&gt;''Get the collection of parameters from the report&lt;br /&gt;crParameterFieldDefinitions = rptCount.DataDefinition.ParameterFields&lt;br /&gt;''Access the specified parameter from the collection&lt;br /&gt;crParameter1 = crParameterFieldDefinitions.Item("Param1")&lt;br /&gt;crParameter2 = crParameterFieldDefinitions.Item(“Param2")&lt;br /&gt;&lt;br /&gt;''Get the current values from the parameter field.  At this point&lt;br /&gt;''there are zero values set.&lt;br /&gt;crParameter1Values = crParameter1.CurrentValues&lt;br /&gt;crParameter2Values = crParameter2.CurrentValues&lt;br /&gt;&lt;br /&gt;''Set the current values for the parameter field&lt;br /&gt;crDiscrete1Value = New ParameterDiscreteValue&lt;br /&gt;crDiscrete1Value.Value = Request.Form(“param1value“)&lt;br /&gt;&lt;br /&gt;crDiscrete2Value = New ParameterDiscreteValue&lt;br /&gt;crDiscrete2Value.Value = Request.Form(“param2value“)&lt;br /&gt;&lt;br /&gt;''Add the first current value for the parameter field&lt;br /&gt;crParameter1Values.Add(crDiscrete1Value)&lt;br /&gt;crParameter2Values.Add(crDiscrete2Value)&lt;br /&gt;&lt;br /&gt;''All current parameter values must be applied for the parameter field.&lt;br /&gt;crParameter1.ApplyCurrentValues(crParameter1Values)&lt;br /&gt;crParameter2.ApplyCurrentValues(crParameter2Values)&lt;br /&gt;&lt;br /&gt;=========================================&lt;br /&gt;&lt;br /&gt;Once you get used to working with parameters, you can “automagically” display them on your web pages.  This series of articles shows you how to get a list of parameters from your report file, and display them on your web form, where you can prompt for inputs:&lt;br /&gt;&lt;br /&gt;Automagically displaying a Crystal Reports Parameters - Part I&lt;br /&gt;Automagically displaying a Crystal Reports Parameters - Part II&lt;br /&gt;&lt;br /&gt;Support: http://aspadvice.com/blogs/rjdudley/archive/2005/02/21/2554.aspx&lt;br /&gt;&lt;br /&gt;You can add comments regarding this article.&lt;br /&gt;&lt;br /&gt;Thanks &amp; Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-6862031728408417879?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/6862031728408417879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/set-parameter-in-crystal-reports-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6862031728408417879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6862031728408417879'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/set-parameter-in-crystal-reports-using.html' title='Set Parameter in Crystal Reports using ASP.Net'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-2906465487646912040</id><published>2009-01-20T14:41:00.000-08:00</published><updated>2009-11-20T15:55:21.658-08:00</updated><title type='text'>Convert MySql Database Script to MsSql</title><content type='html'>Yesterday I need to export data from MySql database to MSSql database. I tried, but I could not solve it. I try today once more and I got solution and its solved. Please download the demo version from the following link and test it. Its working fine. Really very good. Its automatically convert mysql database to mssql database.    &lt;br /&gt;http://www.convert-in.com/sql2mss.htm &lt;br /&gt;&lt;br /&gt;Kindly add your comments and suggestions.   &lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-2906465487646912040?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/2906465487646912040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/convert-mysql-database-script-to-mssql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2906465487646912040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2906465487646912040'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/convert-mysql-database-script-to-mssql.html' title='Convert MySql Database Script to MsSql'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-6955633425284110422</id><published>2009-01-14T14:41:00.000-08:00</published><updated>2009-11-20T15:54:59.215-08:00</updated><title type='text'>MS Sql Server: Stored procedures vs. functions</title><content type='html'>In many instances you can accomplish the same task using either a stored procedure or a function. Both functions and stored procedures can be custom defined and part of any application. Functions, on the other hand, are designed to send their output to a query or T-SQL statement. For example, User Defined Functions (UDFs) can run an executable file from SQL SELECT or an action query, while Stored Procedures (SPROC) use EXECUTE or EXEC to run. Both are instantiated using CREATE FUNCTION.  UDFs are instantiated using CREATE FUNCTION and SPROC instantiated by using CREATE PROCEDURE. &lt;br /&gt;&lt;br /&gt;To decide between using one of the two, keep in mind the fundamental difference between them: stored procedures are designed to return its output to the application. A UDF returns table variables, while a SPROC can't return a table variable although it can create a table. Another significant difference between them is that UDFs can't change the server environment or your operating system environment, while a SPROC can. Operationally, when T-SQL encounters an error the function stops, while T-SQL will ignore an error in a SPROC and proceed to the next statement in your code (provided you've included error handling support). You'll also find that although a SPROC can be used in an XML FOR clause, a UDF cannot be. &lt;br /&gt;&lt;br /&gt;If you have an operation such as a query with a FROM clause that requires a rowset be drawn from a table or set of tables, then a function will be your appropriate choice. However, when you want to use that same rowset in your application the better choice would be a stored procedure.&lt;br /&gt;&lt;br /&gt;There's quite a bit of debate about the performance benefits of UDFs vs. SPROCs. You might be tempted to believe that stored procedures add more overhead to your server than a UDF. Depending upon how your write your code and the type of data you're processing, this might not be the case. It's always a good idea to text your data in important or time-consuming operations by trying both types of methods on them.&lt;br /&gt;&lt;br /&gt;Reference: http://searchsqlserver.techtarget.com/tip/1,289483,sid87_gci1063700,00.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-6955633425284110422?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/6955633425284110422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/ms-sql-server-stored-procedures-vs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6955633425284110422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6955633425284110422'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/ms-sql-server-stored-procedures-vs.html' title='MS Sql Server: Stored procedures vs. functions'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-6799283016985993854</id><published>2009-01-09T14:49:00.000-08:00</published><updated>2009-11-20T15:54:19.079-08:00</updated><title type='text'>ASP.Net: The request failed with HTTP status 503: Service Unavailable.</title><content type='html'>Hi Friends, &lt;br /&gt;&lt;br /&gt;I faced this problem in my asp.net project with web service. This problem will occur when you are working with web services using ASP.Net. You need to check you app.config file and check the your web service path provided in this app.config file. Just change this path with your existing web service path. You can view your web service path just by right clicking on the web service project and by clicking "View In Browser" option. Just copy path and replace it with the existing wrong path.   &lt;br /&gt;&lt;br /&gt;You can insert your comments and suggestions. &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-6799283016985993854?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/6799283016985993854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/aspnet-request-failed-with-http-status.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6799283016985993854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6799283016985993854'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/aspnet-request-failed-with-http-status.html' title='ASP.Net: The request failed with HTTP status 503: Service Unavailable.'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-4712843909395069364</id><published>2009-01-06T14:49:00.000-08:00</published><updated>2009-11-20T15:53:39.226-08:00</updated><title type='text'>'System.Web.UI.Compatibility.CompareValidator' Could not Load Type</title><content type='html'>Hi Friends,&lt;br /&gt;&lt;br /&gt;I found this problem during my first use of ASP.Net AJaX toolkit. To resolve this problem you have to add the validation.dll file in your bin folder and just commnet your tagMapping block exist in the Web.Config file and add the following:    &lt;br /&gt;&lt;br /&gt;&lt;tagmapping&gt;&lt;br /&gt;&lt;add tagType="System.Web.UI.WebControls.CompareValidator" mappedTagType="Sample.Web.UI.Compatibility.CompareValidator, Validators, Version=1.0.0.0"/&gt;&lt;br /&gt;&lt;add tagType="System.Web.UI.WebControls.CustomValidator" mappedTagType="Sample.Web.UI.Compatibility.CustomValidator, Validators, Version=1.0.0.0"/&gt;&lt;br /&gt;&lt;add tagType="System.Web.UI.WebControls.RangeValidator" mappedTagType="Sample.Web.UI.Compatibility.RangeValidator, Validators, Version=1.0.0.0"/&gt;&lt;br /&gt;&lt;add tagType="System.Web.UI.WebControls.RegularExpressionValidator" mappedTagType="Sample.Web.UI.Compatibility.RegularExpressionValidator, Validators, Version=1.0.0.0"/&gt;&lt;br /&gt;&lt;add tagType="System.Web.UI.WebControls.RequiredFieldValidator" mappedTagType="Sample.Web.UI.Compatibility.RequiredFieldValidator, Validators, Version=1.0.0.0"/&gt;&lt;br /&gt;&lt;add tagType="System.Web.UI.WebControls.ValidationSummary" mappedTagType="Sample.Web.UI.Compatibility.ValidationSummary, Validators, Version=1.0.0.0"/&gt;&lt;br /&gt;&lt;/tagMapping&gt;  &lt;br /&gt;&lt;br /&gt;Hope it will resolve your problem.    &lt;br /&gt;Regards&lt;br /&gt;VBM&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-4712843909395069364?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/4712843909395069364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/systemwebuicompatibilitycomparevalidato.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/4712843909395069364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/4712843909395069364'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/systemwebuicompatibilitycomparevalidato.html' title='&apos;System.Web.UI.Compatibility.CompareValidator&apos; Could not Load Type'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-1237589808083566575</id><published>2009-01-05T14:49:00.000-08:00</published><updated>2009-11-20T15:53:08.188-08:00</updated><title type='text'>Method Not Allowed / The requested method POST is not allowed for the URL</title><content type='html'>Really a very interesting and common problem I found today. The solution is more interesting than the Problem.  &lt;br /&gt;&lt;br /&gt;This error can occur in several situations. The following list includes some of the most common reasons developers encounter this issue:    &lt;br /&gt;&lt;br /&gt;The action attribute of a form does not point to an executable script or there is no file specified for the action (in which case, the action field in the Property inspector is blank). &lt;br /&gt;The form's action attribute points to an HTML file. &lt;br /&gt;A developer saves web pages with an HTM or HTML file extension instead of ASP, PHP, CFM or JSP file extensions, and specifies HTM or HTML as the default file extension in the site definition.&lt;br /&gt;Things to look for when receiving this error:&lt;br /&gt;&lt;br /&gt;Specify an action attribute in the form's Property inspector&lt;br /&gt;The action field cannot be left blank and must specify an executable file. Common valid file types for the form action attribute include ASP, JSP, CFM, PHP, EXE, DLL or CGI. If you use one of Dreamweaver's application objects—such as an Insert Record or Update Record—you may instead see a variable similar to &lt;%=MM_editAction%&gt;.&lt;br /&gt;Check file extension of the web page producing the error&lt;br /&gt;The page must have a file extension of ASP, PHP, ASPX, CFM or JSP. If the page has an extension of HTM or HTML, it will need to be renamed with the default extension for the server model specified in the site definition.&lt;br /&gt;Check that the correct page type is specified in the site definition&lt;br /&gt;Check the server model field in the Testing Server category of the site definition. The server model should match the correct language.&lt;br /&gt;Another solution:&lt;br /&gt;&lt;br /&gt;PHP: This is almost always due to Apache not being configured to treat the file you are trying to POST to as a CGI script. You can not POST to a normal HTML file; the operation has no meaning.&lt;br /&gt;&lt;br /&gt;Please visit to find the solution: http://www.somacon.com/p126.php&lt;br /&gt;&lt;br /&gt;One most important thing is that "your web server must support the php, asp or cgi whatever scripting language you are using". Please check is your web server support the scripting language you are using in your web site else it can generate this error. This is one of the major issue found in various problem. So plz check your web server. &lt;br /&gt;&lt;br /&gt;If you feel this blog gives you a proper solution, please post your comments. &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-1237589808083566575?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/1237589808083566575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/method-not-allowed-requested-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/1237589808083566575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/1237589808083566575'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/method-not-allowed-requested-method.html' title='Method Not Allowed / The requested method POST is not allowed for the URL'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-6717684930985297514</id><published>2009-01-04T14:49:00.000-08:00</published><updated>2009-11-20T15:51:39.302-08:00</updated><title type='text'>Ms Sql Vs My Sql</title><content type='html'>DBMS Comparisons: MySQL 5.0 vs. Microsoft SQL Server 2005&lt;br /&gt;&lt;br /&gt;Database engines are a crucial fixture for businesses today. There is no shortage of both commercial and open source database engines to choose from. Microsoft SQL Server 2005 is Microsoft’s next-generation data management solution that claims to deliver secure and scalable applications while making them easy to deploy and manage. MySQL has long been the DBMS of choice in the open source community. The recent release of MySQL 5.0 has seen major changes in both features and performance to bring the database system into enterprise-level standards.   &lt;br /&gt;This paper aims to give the low-down on features most desirable to database developers and compare both database management systems in light of these features.&lt;br /&gt;&lt;br /&gt;Topics in this Paper:FeaturesThe Open Source vs. Commercial Database ParadigmPerformance ReplicationSecurity&lt;br /&gt;&lt;br /&gt;Recovery&lt;br /&gt;&lt;br /&gt;Features&lt;br /&gt;&lt;br /&gt;The most obvious difference between the two products is in philosophy. SQL server is essentially a proprietary storage engine. Once you purchase the product, you are only limited to the Sybase-derived engine. By contrast, MySQL is an open storage engine offering multiple choices: InnoDb, BerkleyDB, MyISAM and Heap amongst other supported engines. &lt;br /&gt;&lt;br /&gt;The second marked difference between the two database systems is in the technical features and specifications implemented. SQL Server is a fully-fledged database system developed specifically for large enterprise databases. All advanced features of a relational database are fully implemented. MySQL, on the other hand, has only come out of edge in the “relational” front, with recent support for foreign keys.&lt;br /&gt;&lt;br /&gt;The latest release of MySQL, the 5.X offering, has rounded up on features that lagged commercial equivalents such as SQL Server. There is now full support for cursors, complete views and stored procedures according to the SQL 2003 syntax. Other features that were a major differentiator between MySQL and SQL Server are now part of the 5.X release. Triggers, stored procedures and foreign keys are fully implemented.&lt;br /&gt;&lt;br /&gt;But is MySQL 5.0 really up to industry-level database standards? The features outlined above have only been implemented in the latest release and are yet to fully stabilise. They are yet to be rationalised across the different databases in the MySQL suite of products – InnoDB, MyISAM, MaxDB and the new data clusters. MySQL is still carrying four distinct database architectures and it proves very challenging to fully implement replication, parallel processing, journaling and recovery across different databases. &lt;br /&gt;&lt;br /&gt;SQL Server continues to have the edge, as the advanced features list has long stabilised. The latest release of SQL Server 2005 provides the necessary technological underpinnings to keep it in the higher-end of database systems. There is now a far greater integration with Microsoft’s .NET Framework, a development environment that greatly facilitates coding without the need to learn advanced features of SQL. It is also tightly integrated with Visual Studio .NET. This will provide better support for XML, querying multi-dimensional data in the SQL server and a set of advanced reporting controls. Finally, XML is now a native data type within XML. This enables a DBA to modify an XML document within the DBMS environment, query the document and validate it against an XML schema.    &lt;br /&gt;&lt;br /&gt;The Open Source versus Commercial License Paradigm&lt;br /&gt;&lt;br /&gt;Another difference between the two database engines is licensing costs. Both databases have a two-tiered licensing scheme, but have little else in common.&lt;br /&gt;&lt;br /&gt;The first licensing scheme is essentially free. SQL Server provides a free license for "development use only". What this means is that the database system cannot be deployed in a commercial environment. MySQL, on the other hand, is free to use under any environment, provided one abides by GPL license rules.&lt;br /&gt;&lt;br /&gt;This brings us to the second-tier of licensing. For use in a commercial environment, one would need to purchase the SQL Standard Edition license. It costs a whopping $1,400, a substantial investment for a small business. However, it is a fully-fledged relational database system complete with all features needed to develop and deploy enterprise databases. This goes a long way towards justifying the hefty price tag.&lt;br /&gt;&lt;br /&gt;MySQL also provides licensing schemes to circumvent some of the restrictions of the GPL license. This is especially important for companies that deal with proprietary information. These commercial licenses are piloted by MySQL AB, the company behind the development of MySQL, and cost a very affordable $400. Non-profit organisations and educational establishments are exempt from this fee.&lt;br /&gt;&lt;br /&gt;Performance&lt;br /&gt;&lt;br /&gt;In terms of performance, MySQL fairs better than SQL on a variety of platforms thanks to the default table format of its MyISAM database. They are compact on disk and use less memory and CPU cycles. While the database system performs well on Windows, it is better suited for UNIX and UNIX-like systems. The performance can further be tuned on 64-bit processors (such as SPARC stations) because of the internal use of 64 integers in the database. The latest release of MySQL 5.0 has seen further improvements in engine performance, through compact mode support. Engines such as InnoDB and NDB Cluster uses 20% less space than it required in previous versions. &lt;br /&gt;&lt;br /&gt;For additional non-default MySQL features, there is an increased demand on resource usage and this has obviously an effect on performance. For instance, alternative table formats on MyISAM or transactions on Berkeley DB will require additional memory usage. These features will, however, offer additional functionality.&lt;br /&gt;&lt;br /&gt;For SQL Server, the full-set of powerful features that surpasses that of most competitors has a negative effect on performance. It's true that many of these features are geared towards performance tuning, but overall the system is more complex, places additional requirements on memory and disk storage. This results in a poorer performance compared with MySQL. The performance will benefit greatly with RAID and a dedicated hard drive for the data store.&lt;br /&gt;&lt;br /&gt;Replication&lt;br /&gt;&lt;br /&gt;Both Database systems are scalable and support replication to a different degree of complexity.&lt;br /&gt;&lt;br /&gt;Replication on MYSQL is easy because all SQL statements that change data are kept in a binary log. Because of the binary nature of the records, data can be replicated easily and quickly to one or more slave machines. This also means that data remains intact and replication takes place even when the server goes down. On the scalability front, MYSQL scales easily into large, query-heavy databases.&lt;br /&gt;&lt;br /&gt;Unlike MySQL one-way replication, SQL Server offers replication in a number of models: snapshot, transactional and merge. A snapshot application is a simple snapshot of the entire replicated database. It is a time consuming process but can be useful for databases that rarely change or as a way to establish a baseline for replication between systems. A transactional replication is a more flexible solution for databases that regularly change. The database is monitored for any changes by a replication agent monitor. When changes do take place, they are transmitted to the subscribers. Finally, merge replication allows simultaneous changes to the database by both the publisher and subscribers. Changes can be made without an active network connection, and any conflicting changes are resolved through a predefined conflict resolution algorithm.&lt;br /&gt;&lt;br /&gt;However, increased replication support comes at the expense of a greater degree of complexity. This is due to SQL's complex transaction and record locking mechanism, cursor manipulation and synchronisation of dynamic data replication. If you’re skilled in these elaborate mechanisms, then replication and migration shouldn’t be an issue.&lt;br /&gt;&lt;br /&gt;Security&lt;br /&gt;&lt;br /&gt;Security remains a major concern for most businesses and a compelling consideration in choosing a database system.&lt;br /&gt;&lt;br /&gt;Both DBMS support security at the base level. MySQL is limited to supporting basic security at the table level, via the SQL command. By contrast, SQL server fully supports security at the column level.&lt;br /&gt;&lt;br /&gt;Another important consideration is security certificates - the verification of the database security by a third party. SQL Server has been certified as C-2 compliant, which means the database system has adequate security for government applications. MySQL has no such certification.&lt;br /&gt;&lt;br /&gt;Moving on to more advanced features of protecting data on the database, the SQL Server 2005 have implemented more advanced authentication and authorisation features. The database supports native encryption capabilities, obfuscating the DBA from writing user-defined functions using column encryption APIs. The encryption mechanism is based on a combination of third-party certificates, symmetric keys and asymmetric keys. You can specify asymmetric keys for increased security or symmetric keys for better performance. A DBA has also the choice of specifying his own user-defined security functions through the encryption facility implemented in the .NET Framework.&lt;br /&gt;&lt;br /&gt;Recovery&lt;br /&gt;&lt;br /&gt;SQL Server is more failsafe and less prone to data corruption. SQL has a robust checkpoint mechanism whereby the data passes from the keyboard to the hard drive before showing in the monitor. Even if the databases shut down unexpectedly without warning, the data can be recovered.&lt;br /&gt;&lt;br /&gt;New features in the SQL 2005 release provide enhanced mechanisms to manage data protection and rapid restoration. Mirrored backups allow you to create multiple copies of the backup file. These backups have identical content, so you can always mix the files in case one of the sets becomes corrupt. &lt;br /&gt;&lt;br /&gt;Copy only backups enable you to make a copy of the database without interrupting the sequence of other backup files. This copy can be used to restore your database, instead of going through the full backup and translation log. You can also save time by using partial backups for all filegroups, except those marked as read-only. &lt;br /&gt;&lt;br /&gt;MySQL falls short in recovery with its default MyISAM mechanism. The UPS assumes uninterrupted data, and in the event of an unexpected shutdown your data can be lost and the data store corrupted.&lt;br /&gt;&lt;br /&gt;Concluding Thoughts&lt;br /&gt;&lt;br /&gt;From a database developer’s perspective, choosing between a MySQL and SQL Server DBMS is a matter of the scale of the database application. For enterprise-level applications, SQL Server wins hands down. It has advanced set of SQL features, superior replication, clustering, security and management tools. &lt;br /&gt;&lt;br /&gt;For lower-tier database applications, MySQL can offer the core functionality you require at a very low cost. Some might argue that the latest offering from MySQL has made the open source database system enterprise “worthy”, but this remains to be seen. The advanced functionalities implemented are yet to stabilise and be rationalised across the database engine. What's more, Microsoft has upped the ante with even more advanced features of its own. It’s up to MySQL to rise up to the challenge, but at this point in time MySQL is nowhere near the competitive enterprise field of the more established SQL Server 2005.  &lt;br /&gt;&lt;br /&gt;Please visit: http://www.tometasoftware.com/MySQL-5-vs-Microsoft-SQL-Server-2005.asp&lt;br /&gt;&lt;br /&gt;You can add you comments and suggestions for this article. &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-6717684930985297514?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/6717684930985297514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/ms-sql-vs-my-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6717684930985297514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/6717684930985297514'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/ms-sql-vs-my-sql.html' title='Ms Sql Vs My Sql'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-7463135196935567100</id><published>2009-01-03T14:55:00.000-08:00</published><updated>2009-11-20T15:51:09.311-08:00</updated><title type='text'>Synchronous AND Asynchronous</title><content type='html'>•&gt; Asynchronous&lt;br /&gt;– examples &lt;br /&gt;• Google Maps – http://maps.google.com&lt;br /&gt;– asynchronously loads graphic tiles to support map scrolling  &lt;br /&gt;• Google Suggest – http://www.google.com/suggest&lt;br /&gt;– asynchronously updates list of possible topic matches&lt;br /&gt;based on what has been typed so far&lt;br /&gt;•&gt; Synchronous  &lt;br /&gt;– even when there is nothing useful for the user to do after a request is submitted to a server, AJaX can be used to retrieve data and update selected parts of the page&lt;br /&gt;without refreshing the entire page. &lt;br /&gt;• better user experience&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-7463135196935567100?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/7463135196935567100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/synchronous-and-asynchronous.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/7463135196935567100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/7463135196935567100'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/synchronous-and-asynchronous.html' title='Synchronous AND Asynchronous'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-3809910588960983501</id><published>2009-01-02T14:55:00.000-08:00</published><updated>2009-11-20T15:50:34.251-08:00</updated><title type='text'>php configuration, apache, mysql, phpMyAdmin installation / setup through Wamp server:</title><content type='html'>Do you facing problem during installation of php &amp; Mysql. You can install it very very easy. Let me go in detail... &lt;br /&gt;&lt;br /&gt;I am using WAMP server for more then one year. I think its really very good for configuring the php, MySql and apache. Its ready tool for installing Php, MySql and Apache on your windows operating system. Its install all above very easily. You can configure PhpMyAdmin too by using this tool. Really very important too for easily configuring the php with apache server.  &lt;br /&gt;&lt;br /&gt;Link : www.wampserver.com&lt;br /&gt;&lt;br /&gt;Regards... &lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-3809910588960983501?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/3809910588960983501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/php-configuration-apache-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/3809910588960983501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/3809910588960983501'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/php-configuration-apache-mysql.html' title='php configuration, apache, mysql, phpMyAdmin installation / setup through Wamp server:'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-2323878176086324751</id><published>2009-01-01T14:55:00.000-08:00</published><updated>2009-11-20T15:49:55.050-08:00</updated><title type='text'>SQL Server Index Tuning / Clustered vs Non-Clustered Indexes</title><content type='html'>Hello Friends, &lt;br /&gt;&lt;br /&gt;What is cluster and Non-Cluster index and why we need it? Do you know? Just reat this article you will know all about it.&lt;br /&gt;&lt;br /&gt;Most database administrators are familiar with the potential performance benefits they can gain through the judicious use of indexes on database tables. Indexes allow you to speed query performance on commonly used columns and improve the overall processing speed of your database.  &lt;br /&gt;Microsoft SQL Server supports two types of indexes: &lt;br /&gt;&lt;br /&gt;-&gt; Clustered indexes define the physical sorting of a database table’s rows in the storage media. For this reason, each database table may have only one clustered index. If a PRIMARY KEY constraint is created for a database table and no clustered index currently exists for that table, SQL Server automatically creates a clustered index on the primary key. &lt;br /&gt;-&gt; Non-clustered indexes are created outside of the database table and contain a sorted list of references to the table itself. &lt;br /&gt;SQL Server 2000 supports a maximum of 249 non-clustered indexes per table. However, it’s important to keep in mind that non-clustered indexes slow down the data modification and insertion process, so indexes should be kept to a minimum&lt;br /&gt;&lt;br /&gt;One of the hardest tasks facing database administrators is the selection of appropriate columns for non-clustered indexes. You should consider creating non-clustered indexes on any columns that are frequently referenced in the WHERE clauses of SQL statements. Other good candidates are columns referenced by JOIN and GROUP BY operations.&lt;br /&gt;You may wish to also consider creating non-clustered indexes that cover all of the columns used by certain frequently issued queries. These queries are referred to as “covered queries” and experience excellent performance gains.&lt;br /&gt;SQL Server provides a wonderful facility known as the Index Tuning Wizard which greatly enhances the index selection process. To use this tool, first use SQL Profiler to capture a trace of the activity for which you wish to optimize performance. You may wish to run the trace for an extended period of time to capture a wide range of activity. Then, using Enterprise Manager, start the Index Tuning Wizard and instruct it to recommend indexes based upon the captured trace. It will not only suggest appropriate columns for queries but also provide you with an estimate of the performance increase you’ll experience after making those changes!   &lt;br /&gt;&lt;br /&gt;Reference Link: http://databases.about.com/od/sqlserver/a/indextuning.htm &lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Vijay Modi:)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-2323878176086324751?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/2323878176086324751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/sql-server-index-tuning-clustered-vs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2323878176086324751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/2323878176086324751'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/sql-server-index-tuning-clustered-vs.html' title='SQL Server Index Tuning / Clustered vs Non-Clustered Indexes'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-8712969450037873885</id><published>2008-05-10T13:13:00.000-07:00</published><updated>2009-11-20T16:13:56.593-08:00</updated><title type='text'>PHP Interview Questions And Answers</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande',Verdana,Arial,'Bitstream Vera Sans',sans-serif; font-size: 13px; line-height: 19px; white-space: pre-wrap;"&gt;&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;What's PHP ?&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;The PHP Hypertext Preprocessor is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What Is a Session? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A session is a logical object created by the PHP engine to allow you to preserve data across subsequent HTTP requests.There is only one session object available to your PHP scripts at any time. Data saved to the session by a script can be retrieved by the same script or another script when requested from the same visitor.Sessions are commonly used to store temporary data to allow multiple PHP pages to offer a complete functional transaction for the same visitor.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is meant by PEAR in php? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Answer1:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;PEAR is the next revolution in PHP. This repository is bringing higher level programming to PHP. PEAR is a framework and distribution system for reusable PHP components. It eases installation by bringing an automated wizard, and packing the strength and experience of PHP users into a nicely organised OOP library. PEAR also provides a command-line interface that can be used to automatically install "packages"&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Answer2:&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;PEAR is short for "PHP Extension and Application Repository" and is pronounced just like the fruit. The purpose of PEAR is to provide:&lt;br /&gt;&lt;br /&gt;A structured library of open-sourced code for PHP users&lt;br /&gt;&lt;br /&gt;A system for code distribution and package maintenance&lt;br /&gt;&lt;br /&gt;A standard style for code written in PHP&lt;br /&gt;&lt;br /&gt;The PHP Foundation Classes (PFC),&lt;br /&gt;&lt;br /&gt;The PHP Extension Community Library (PECL),&lt;br /&gt;&lt;br /&gt;A web site, mailing lists and download mirrors to support the PHP/PEAR community&lt;br /&gt;&lt;br /&gt;PEAR is a community-driven project with the PEAR Group as the governing body. The project has been founded by Stig S. Bakken in 1999 and quite a lot of people have joined the project since then.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we know the number of days between two given dates using PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Simple arithmetic:&lt;br /&gt;&lt;br /&gt;$date1 = date('Y-m-d');&lt;br /&gt;&lt;br /&gt;$date2 = '2006-07-01';&lt;br /&gt;&lt;br /&gt;$days = (strtotime() - strtotime()) / (60 * 60 * 24);&lt;br /&gt;&lt;br /&gt;echo "Number of days since '2006-07-01': $days";&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we repair a MySQL table? &lt;/span&gt;&lt;/strong&gt;The syntex for repairing a mysql table is:&lt;br /&gt;&lt;br /&gt;REPAIR TABLE tablename&lt;br /&gt;&lt;br /&gt;REPAIR TABLE tablename QUICK&lt;br /&gt;&lt;br /&gt;REPAIR TABLE tablename EXTENDED&lt;br /&gt;&lt;br /&gt;This command will repair the table specified.&lt;br /&gt;&lt;br /&gt;If QUICK is given, MySQL will do a repair of only the index tree.&lt;br /&gt;&lt;br /&gt;If EXTENDED is given, it will create index row by row.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the difference between $message and $$message? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Anwser 1:&lt;br /&gt;&lt;br /&gt;$message is a simple variable whereas $$message is a reference variable. Example:&lt;br /&gt;&lt;br /&gt;$user = 'bob'&lt;br /&gt;&lt;br /&gt;is equivalent to&lt;br /&gt;&lt;br /&gt;$holder = 'user';&lt;br /&gt;&lt;br /&gt;$$holder = 'bob';Anwser 2:&lt;br /&gt;&lt;br /&gt;They are both variables. But $message is a variable with a fixed name. $$message is a variable who's name is stored in $message. For example, if $message contains "var", $$message is the same as $var.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What Is a Persistent Cookie? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A persistent cookie is a cookie which is stored in a cookie file permanently on the browser's computer. By default, cookies are created as temporary cookies which stored only in the browser's memory. When the browser is closed, temporary cookies will be erased. You should decide when to use temporary cookies and when to use persistent cookies based on their differences:&lt;br /&gt;&lt;br /&gt;*Temporary cookies can not be used for tracking long-term information.&lt;br /&gt;&lt;br /&gt;*Persistent cookies can be used for tracking long-term information.&lt;br /&gt;&lt;br /&gt;*Temporary cookies are safer because no programs other than the browser can access them.&lt;br /&gt;&lt;br /&gt;*Persistent cookies are less secure because users can open cookie files see the cookie values.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What does a special set of tags &amp;lt;?= and ?&amp;gt; do in PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The output is displayed directly to the browser.How do you define a constant?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Via define() directive, like define ("MYCONSTANT", 100);&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the differences between require and include, include_once? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Anwser 1:&lt;br /&gt;&lt;br /&gt;require_once() and include_once() are both the functions to include and evaluate the specified file only once. If the specified file is included previous to the present call occurrence, it will not be done again.But require() and include() will do it as many times they are asked to do.&lt;br /&gt;&lt;br /&gt;Anwser 2:&lt;br /&gt;&lt;br /&gt;The include_once() statement includes and evaluates the specified file during the execution of the script. This is a behavior similar to the include() statement, with the only difference being that if the code from a file has already been included, it will not be included again. The major difference between include() and require() is that in failure include() produces a warning message whereas require() produces a fatal errors.&lt;br /&gt;&lt;br /&gt;Anwser 3:&lt;br /&gt;&lt;br /&gt;All three are used to an include file into the current page.&lt;br /&gt;&lt;br /&gt;If the file is not present, require(), calls a fatal error, while in include() does not.&lt;br /&gt;&lt;br /&gt;The include_once() statement includes and evaluates the specified file during the execution of the script. This is a behavior similar to the include() statement, with the only difference being that if the code from a file has already been included, it will not be included again. It des not call a fatal error if file not exists. require_once() does the same as include_once(), but it calls a fatal error if file not exists.&lt;br /&gt;&lt;br /&gt;Anwser 4:&lt;br /&gt;&lt;br /&gt;File will not be included more than once. If we want to include a file once only and further calling of the file will be ignored then we have to use the PHP function include_once(). This will prevent problems with function redefinitions, variable value reassignments, etc.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is meant by urlencode and urldecode?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Anwser 1:&lt;br /&gt;&lt;br /&gt;urlencode() returns the URL encoded version of the given string. URL coding converts special characters into % signs followed by two hex digits. For example: urlencode("10.00%") will return "10%2E00%25". URL encoded strings are safe to be used as part of URLs.&lt;br /&gt;&lt;br /&gt;urldecode() returns the URL decoded version of the given string.Anwser 2:&lt;br /&gt;&lt;br /&gt;string urlencode(str) - Returns the URL encoded version of the input string. String values to be used in URL query string need to be URL encoded. In the URL encoded version:&lt;br /&gt;&lt;br /&gt;Alphanumeric characters are maintained as is.&lt;br /&gt;&lt;br /&gt;Space characters are converted to "+" characters.&lt;br /&gt;&lt;br /&gt;Other non-alphanumeric characters are converted "%" followed by two hex digits representing the converted character.&lt;br /&gt;&lt;br /&gt;string urldecode(str) - Returns the original string of the input URL encoded string.For example:&lt;br /&gt;&lt;br /&gt;$discount ="10.00%";&lt;br /&gt;&lt;br /&gt;$url = "http://domain.com/submit.php?disc=".urlencode($discount);&lt;br /&gt;&lt;br /&gt;echo $url;You will get "http://domain.com/submit.php?disc=10%2E00%25".&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How To Get the Uploaded File Information in the Receiving Script? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Once the Web server received the uploaded file, it will call the PHP script specified in the form action attribute to process them. This receiving PHP script can get the uploaded file information through the predefined array called $_FILES. Uploaded file information is organized in $_FILES as a two-dimensional array as:&lt;br /&gt;&lt;br /&gt;$_FILES[$fieldName]['name'] - The Original file name on the browser system.&lt;br /&gt;&lt;br /&gt;$_FILES[$fieldName]['type'] - The file type determined by the browser.&lt;br /&gt;&lt;br /&gt;$_FILES[$fieldName]['size'] - The Number of bytes of the file content.&lt;br /&gt;&lt;br /&gt;$_FILES[$fieldName]['tmp_name'] - The temporary filename of the file in which the uploaded file was stored on the server.&lt;br /&gt;&lt;br /&gt;$_FILES[$fieldName]['error'] - The error code associated with this file upload.&lt;br /&gt;&lt;br /&gt;The $fieldName is the name used in the &amp;lt;INPUT TYPE=FILE, NAME=fieldName&amp;gt;.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the difference between mysql_fetch_object and mysql_fetch_array? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;MySQL fetch object will collect first single matching record where mysql_fetch_array will collect all matching records from the table in an array&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can I execute a PHP script using command line? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Just run the PHP CLI (Command Line Interface) program and provide the PHP script file name as the command line argument. For example, "php myScript.php", assuming "php" is the command to invoke the CLI program.&lt;br /&gt;&lt;br /&gt;Be aware that if your PHP script was written for the Web CGI interface, it may not execute properly in command line environment.I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?&lt;br /&gt;&lt;br /&gt;PHP Interpreter treats numbers beginning with 0 as octal. Look at the similar PHP interview questions for more numeric problems.Would I use print "$a dollars" or "{$a} dollars" to print out the amount of dollars in this example?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;In this example it wouldn’t matter, since the variable is all by itself, but if you were to print something like "{$a},000,000 mln dollars", then you definitely need to use the braces.What are the different tables present in MySQL? Which type of table is generated when we are creating a table in the following syntax: create table employee(eno int(2),ename varchar(10))?&lt;br /&gt;&lt;br /&gt;Total 5 types of tables we can create&lt;br /&gt;&lt;br /&gt;1. MyISAM2. Heap&lt;br /&gt;&lt;br /&gt;3. Merge&lt;br /&gt;&lt;br /&gt;4. INNO DB&lt;br /&gt;&lt;br /&gt;5. ISAM&lt;br /&gt;&lt;br /&gt;MyISAM is the default storage engine as of MySQL 3.23. When you fire the above create query MySQL will create a MyISAM table.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How To Create a Table? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;If you want to create a table, you can run the CREATE TABLE statement as shown in the following sample script:&lt;br /&gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;include "mysql_connection.php";&lt;br /&gt;&lt;br /&gt;$sql = "CREATE TABLE Tech_links ("&lt;br /&gt;&lt;br /&gt;. " id INTEGER NOT NULL"&lt;br /&gt;&lt;br /&gt;. ", url VARCHAR(80) NOT NULL"&lt;br /&gt;&lt;br /&gt;. ", notes VARCHAR(1024)"&lt;br /&gt;&lt;br /&gt;. ", counts INTEGER"&lt;br /&gt;&lt;br /&gt;. ", time TIMESTAMP DEFAULT sysdate()"&lt;br /&gt;&lt;br /&gt;. ")";&lt;br /&gt;&lt;br /&gt;if (mysql_query($sql, $con)) {&lt;br /&gt;&lt;br /&gt;print("Table Tech_links created.\n");&lt;br /&gt;&lt;br /&gt;} else {&lt;br /&gt;&lt;br /&gt;print("Table creation failed.\n");&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;mysql_close($con);&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;br /&gt;Remember that mysql_query() returns TRUE/FALSE on CREATE statements. If you run this script, you will get something like this:&lt;br /&gt;&lt;br /&gt;Table Tech_links created.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we encrypt the username and password using PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Answer1&lt;br /&gt;&lt;br /&gt;You can encrypt a password with the following Mysql&amp;gt;SET PASSWORD=PASSWORD("Password");&lt;br /&gt;&lt;br /&gt;Answer2&lt;br /&gt;&lt;br /&gt;You can use the MySQL PASSWORD() function to encrypt username and password. For example,&lt;br /&gt;&lt;br /&gt;INSERT into user (password, ...) VALUES (PASSWORD($password”)), ...);&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How do you pass a variable by value? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Just like in C++, put an ampersand in front of it, like $a = &amp;amp;$b&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the functionality of the functions STRSTR() and STRISTR()? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;string strstr ( string haystack, string needle ) returns part of haystack string from the first occurrence of needle to the end of haystack. This function is case-sensitive.&lt;br /&gt;&lt;br /&gt;stristr() is idential to strstr() except that it is case insensitive.When are you supposed to use endif to end the conditional statement?&lt;br /&gt;&lt;br /&gt;When the original if was followed by : and then the code block without braces.How can we send mail using JavaScript?&lt;br /&gt;&lt;br /&gt;No. There is no way to send emails directly using JavaScript.&lt;br /&gt;&lt;br /&gt;But you can use JavaScript to execute a client side email program send the email using the "mailto" code. Here is an example:&lt;br /&gt;&lt;br /&gt;function myfunction(form)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;tdata=document.myform.tbox1.value;&lt;br /&gt;&lt;br /&gt;location="mailto:mailid@domain.com?subject=...";&lt;br /&gt;&lt;br /&gt;return true;&lt;br /&gt;&lt;br /&gt;}&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the functionality of the function strstr and stristr? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;strstr() returns part of a given string from the first occurrence of a given substring to the end of the string. For example: strstr("user@example.com","@") will return "@example.com".&lt;br /&gt;&lt;br /&gt;stristr() is idential to strstr() except that it is case insensitive.What is the difference between ereg_replace() and eregi_replace()?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;eregi_replace() function is identical to ereg_replace() except that it ignores case distinction when matching alphabetic characters.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How do I find out the number of parameters passed into function9. ? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;func_num_args() function returns the number of parameters passed in.What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?&lt;br /&gt;&lt;br /&gt;In MySQL, the default table type is MyISAM.&lt;br /&gt;&lt;br /&gt;Each MyISAM table is stored on disk in three files. The files have names that begin with the table name and have an extension to indicate the file type.&lt;br /&gt;&lt;br /&gt;The '.frm' file stores the table definition.&lt;br /&gt;&lt;br /&gt;The data file has a '.MYD' (MYData) extension.&lt;br /&gt;&lt;br /&gt;The index file has a '.MYI' (MYIndex) extension,&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;If the variable $a is equal to 5 and variable $b is equal to character a, what’s the value of $$b? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;100, it’s a reference to existing variable.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How To Protect Special Characters in Query String? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;If you want to include special characters like spaces in the query string, you need to protect them by applying the urlencode() translation function. The script below shows how to use urlencode():&lt;br /&gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;print("&amp;lt;html&amp;gt;");&lt;br /&gt;&lt;br /&gt;print("&amp;lt;p&amp;gt;Please click the links below"&lt;br /&gt;&lt;br /&gt;." to submit comments about TECHPreparation.com:&amp;lt;/p&amp;gt;");&lt;br /&gt;&lt;br /&gt;$comment = 'I want to say: "It\'s a good site! :-&amp;gt;"';&lt;br /&gt;&lt;br /&gt;$comment = urlencode($comment);&lt;br /&gt;&lt;br /&gt;print("&amp;lt;p&amp;gt;"&lt;br /&gt;&lt;br /&gt;."&amp;lt;a href=\"processing_forms.php?name=Guest&amp;amp;comment=$comment\"&amp;gt;"&lt;br /&gt;&lt;br /&gt;."It's an excellent site!&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;");&lt;br /&gt;&lt;br /&gt;$comment = 'This visitor said: "It\'s an average site! :-("';&lt;br /&gt;&lt;br /&gt;$comment = urlencode($comment);&lt;br /&gt;&lt;br /&gt;print("&amp;lt;p&amp;gt;"&lt;br /&gt;&lt;br /&gt;.'&amp;lt;a href="processing_forms.php?'.$comment.'"&amp;gt;'&lt;br /&gt;&lt;br /&gt;."It's an average site.&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;");&lt;br /&gt;&lt;br /&gt;print("&amp;lt;/html&amp;gt;");&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Are objects passed by value or by reference? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Everything is passed by value.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the differences between DROP a table and TRUNCATE a table? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;DROP TABLE table_name - This will delete the table and its data.&lt;br /&gt;&lt;br /&gt;TRUNCATE TABLE table_name - This will delete the data of the table, but not the table definition.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How do you call a constructor for a parent class? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;parent::constructor($value)&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;WHAT ARE THE DIFFERENT TYPES OF ERRORS IN PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Here are three basic types of runtime errors in PHP:&lt;br /&gt;&lt;br /&gt;1. Notices: These are trivial, non-critical errors that PHP encounters while executing a script - for example, accessing a variable that has not yet been defined. By default, such errors are not displayed to the user at all - although you can change this default behavior.&lt;br /&gt;&lt;br /&gt;2. Warnings: These are more serious errors - for example, attempting to include() a file which does not exist. By default, these errors are displayed to the user, but they do not result in script termination.&lt;br /&gt;&lt;br /&gt;3. Fatal errors: These are critical errors - for example, instantiating an object of a non-existent class, or calling a non-existent function. These errors cause the immediate termination of the script, and PHP's default behavior is to display them to the user when they take place.&lt;br /&gt;&lt;br /&gt;Internally, these variations are represented by twelve different error types&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What’s the special meaning of __sleep and __wakeup? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;__sleep returns the array of all the variables than need to be saved, while __wakeup retrieves them.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we submit a form without a submit button? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;If you don't want to use the Submit button to submit a form, you can use normal hyper links to submit a form. But you need to use some JavaScript code in the URL of the link. For example:&lt;br /&gt;&lt;br /&gt;&amp;lt;a href="javascript: document.myform.submit();"&amp;gt;Submit Me&amp;lt;/a&amp;gt;  Why doesn’t the following code print the newline properly? &amp;lt;?php $str = ‘Hello, there.\nHow are you?\nThanks for visiting techpreparation’; print $str; ?&amp;gt;&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Because inside the single quotes the \n character is not interpreted as newline, just as a sequence of two characters - \ and n.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Would you initialize your strings with single quotes or double quotes? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Since the data inside the single-quoted string is not parsed for variable substitution, it’s always a better idea speed-wise to initialize a string with single quotes, unless you specifically need variable substitution.How can we extract string 'abc.com ' from a string http://info@abc.com using regular expression of php?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;We can use the preg_match() function with "/.*@(.*)$/" as&lt;br /&gt;&lt;br /&gt;the regular expression pattern. For example:&lt;br /&gt;&lt;br /&gt;preg_match("/.*@(.*)$/","http://info@abc.com",$data);&lt;br /&gt;&lt;br /&gt;echo $data[1];&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the differences between GET and POST methods in form submitting, give the case where we can use GET and we can use POST methods? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Anwser 1:&lt;br /&gt;&lt;br /&gt;When we submit a form, which has the GET method it displays pair of name/value used in the form at the address bar of the browser preceded by url. Post method doesn't display these values.&lt;br /&gt;&lt;br /&gt;Anwser 2:&lt;br /&gt;&lt;br /&gt;When you want to send short or small data, not containing ASCII characters, then you can use GET” Method. But for long data sending, say more then 100 character you can use POST method.&lt;br /&gt;&lt;br /&gt;Once most important difference is when you are sending the form with GET method. You can see the output which you are sending in the address bar. Whereas if you send the form with POST” method then user can not see that information.&lt;br /&gt;&lt;br /&gt;Anwser 3:&lt;br /&gt;&lt;br /&gt;What are "GET" and "POST"?&lt;br /&gt;&lt;br /&gt;GET and POST are methods used to send data to the server: With the GET method, the browser appends the data onto the URL. With the Post method, the data is sent as "standard input."&lt;br /&gt;&lt;br /&gt;Major Difference&lt;br /&gt;&lt;br /&gt;In simple words, in POST method data is sent by standard input (nothing shown in URL when posting while in GET method data is sent through query string.&lt;br /&gt;&lt;br /&gt;Ex: Assume we are logging in with username and password.&lt;br /&gt;&lt;br /&gt;GET: we are submitting a form to login.php, when we do submit or similar action, values are sent through visible query string (notice ./login.php?username=...&amp;amp;password=... as URL when executing the script login.php) and is retrieved by login.php by $_GET['username'] and $_GET['password'].&lt;br /&gt;&lt;br /&gt;POST: we are submitting a form to login.php, when we do submit or similar action, values are sent through invisible standard input (notice ./login.php) and is retrieved by login.php by $_POST['username'] and $_POST['password'].&lt;br /&gt;&lt;br /&gt;POST is assumed more secure and we can send lot more data than that of GET method is limited (they say Internet Explorer can take care of maximum 2083 character as a query string).&lt;br /&gt;&lt;br /&gt;Anwser 4:&lt;br /&gt;&lt;br /&gt;In the get method the data made available to the action page ( where data is received ) by the URL so data can be seen in the address bar. Not advisable if you are sending login info like password etc. In the post method the data will be available as data blocks and not as query string in case of get method.&lt;br /&gt;&lt;br /&gt;Anwser 5:&lt;br /&gt;&lt;br /&gt;When we submit a form, which has the GET method it pass value in the form of query string (set of name/value pair) and display along with URL. With GET we can a small data submit from the form (a set of 255 character) whereas Post method doesn't display value with URL. It passes value in the form of Object and we can submit large data from the form.&lt;br /&gt;&lt;br /&gt;Anwser 6:&lt;br /&gt;&lt;br /&gt;On the server side, the main difference between GET and POST is where the submitted is stored. The $_GET array stores data submitted by the GET method. The $_POST array stores data submitted by the POST method.&lt;br /&gt;&lt;br /&gt;On the browser side, the difference is that data submitted by the GET method will be displayed in the browser’s address field. Data submitted by the POST method will not be displayed anywhere on the browser.&lt;br /&gt;&lt;br /&gt;GET method is mostly used for submitting a small amount and less sensitive data. POST method is mostly used for submitting a large amount or sensitive data.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the difference between the functions unlink and unset? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;unlink() is a function for file system handling. It will simply delete the file in context.&lt;br /&gt;&lt;br /&gt;unset() is a function for variable management. It will make a variable undefined.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How come the code works, but doesn’t for two-dimensional array of mine? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Any time you have an array with more than one dimension, complex parsing syntax is required. print "Contents: {$arr[1][2]}" would’ve worked.How can we register the variables into a session?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;session_register($session_var);&lt;br /&gt;&lt;br /&gt;$_SESSION['var'] = 'value';&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the difference between characters 23 and \x23? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The first one is octal 23, the second is hex 23.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;With a heredoc syntax, do I get variable substitution inside the heredoc contents? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Yes.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we submit form without a submit button? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;We can use a simple JavaScript code linked to an event trigger of any form field. In the JavaScript code, we can call the document.form.submit() function to submit the form. For example: &amp;lt;input type=button value="Save" onClick="document.form.submit()"&amp;gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we create a database using PHP and mysql? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;We can create MySQL database with the use of mysql_create_db($databaseName) to create a database.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How many ways we can retrieve the date in result set of mysql using php? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;As individual objects so single record or as a set or arrays.Can we use include ("abc.php") two times in a php page "makeit.php"? &lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;Yes.For printing out strings, there are echo, print and printf. Explain the differences. &lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;echo is the most primitive of them, and just outputs the contents following the construct to the screen. print is also a construct (so parentheses are optional when calling it), but it returns TRUE on successful output and FALSE if it was unable to print out the string. However, you can pass multiple parameters to echo, like:&lt;br /&gt;&lt;br /&gt;&amp;lt;?php echo 'Welcome ', 'to', ' ', 'techpreparations!'; ?&amp;gt;&lt;br /&gt;&lt;br /&gt;and it will output the string "Welcome to techpreparations!" print does not take multiple parameters. It is also generally argued that echo is faster, but usually the speed advantage is negligible, and might not be there for future versions of PHP. printf is a function, not a construct, and allows such advantages as formatted output, but it’s the slowest way to print out data out of echo, print and printf.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;I am writing an application in PHP that outputs a printable version of driving directions. It contains some long sentences, and I am a neat freak, and would like to make sure that no line exceeds 50 characters. How do I accomplish that with PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;On large strings that need to be formatted according to some length specifications, use wordwrap() or chunk_split().&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What’s the output of the ucwords function in this example? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;$formatted = ucwords("TECHPREPARATIONS IS COLLECTION OF INTERVIEW QUESTIONS");&lt;br /&gt;&lt;br /&gt;print $formatted;&lt;br /&gt;&lt;br /&gt;What will be printed is TECHPREPARATIONS IS COLLECTION OF INTERVIEW QUESTIONS.&lt;br /&gt;&lt;br /&gt;ucwords() makes every first letter of every word capital, but it does not lower-case anything else. To avoid this, and get a properly formatted string, it’s worth using strtolower() first.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What’s the difference between htmlentities() and htmlspecialchars()? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;htmlspecialchars only takes care of &amp;lt;, &amp;gt;, single quote ‘, double quote " and ampersand. htmlentities translates all occurrences of character sequences that have different meaning in HTML.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we extract string "abc.com" from a string "mailto:info@abc.com?subject=Feedback" using regular expression of PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;$text = "mailto:info@abc.com?subject=Feedback";&lt;br /&gt;&lt;br /&gt;preg_match('|.*@([^?]*)|', $text, $output);&lt;br /&gt;&lt;br /&gt;echo $output[1];&lt;br /&gt;&lt;br /&gt;Note that the second index of $output, $output[1], gives the match, not the first one, $output[0].So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?&lt;br /&gt;&lt;br /&gt;Crypto usage in PHP is simple, but that doesn’t mean it’s free. First off, depending on the data that you’re encrypting, you might have reasons to store a 32-bit value in the database instead of the 160-bit value to save on space. Second, the more secure the crypto is, the longer is the computation time to deliver the hash value. A high volume site might be significantly slowed down, if frequent md5() generation is required. How can we destroy the session, how can we unset the variable of a session?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;session_unregister() - Unregister a global variable from the current session&lt;br /&gt;&lt;br /&gt;session_unset() - Free all session variables&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the different functions in sorting an array? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Sorting functions in PHP:&lt;br /&gt;&lt;br /&gt;asort()&lt;br /&gt;&lt;br /&gt;arsort()&lt;br /&gt;&lt;br /&gt;ksort()krsort()&lt;br /&gt;&lt;br /&gt;uksort()&lt;br /&gt;&lt;br /&gt;sort()&lt;br /&gt;&lt;br /&gt;natsort()&lt;br /&gt;&lt;br /&gt;rsort()&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we know the count/number of elements of an array? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;2 ways:&lt;br /&gt;&lt;br /&gt;a) sizeof($array) - This function is an alias of count()&lt;br /&gt;&lt;br /&gt;b) count($urarray) - This function returns the number of elements in an array.&lt;br /&gt;&lt;br /&gt;Interestingly if you just pass a simple var instead of an array, count() will return 1.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How many ways we can pass the variable through the navigation between the pages? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;At least 3 ways:&lt;br /&gt;&lt;br /&gt;1. Put the variable into session in the first page, and get it back from session in the next page.&lt;br /&gt;&lt;br /&gt;2. Put the variable into cookie in the first page, and get it back from the cookie in the next page.&lt;br /&gt;&lt;br /&gt;3. Put the variable into a hidden form field, and get it back from the form in the next page.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the maximum length of a table name, a database name, or a field name in MySQL? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Database name: 64 characters&lt;br /&gt;&lt;br /&gt;Table name: 64 characters&lt;br /&gt;&lt;br /&gt;Column name: 64 characters&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How many values can the SET function of MySQL take? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;MySQL SET function can take zero or more values, but at the maximum it can take 64 values.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the other commands to know the structure of a table using MySQL commands except EXPLAIN command? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;DESCRIBE table_name;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we find the number of rows in a table using MySQL?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Use this for MySQL&lt;br /&gt;&lt;br /&gt;SELECT COUNT(*) FROM table_name;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What’s the difference between md5(), crc32() and sha1() crypto on PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The major difference is the length of the hash generated. CRC32 is, evidently, 32 bits, while sha1() returns a 128 bit value, and md5() returns a 160 bit value. This is important when avoiding collisions.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we find the number of rows in a result set using PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Here is how can you find the number of rows in a result set in PHP:&lt;br /&gt;&lt;br /&gt;$result = mysql_query($any_valid_sql, $database_link);&lt;br /&gt;&lt;br /&gt;$num_rows = mysql_num_rows($result);&lt;br /&gt;&lt;br /&gt;echo "$num_rows rows found";&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How many ways we can we find the current date using MySQL? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;SELECT CURDATE();&lt;br /&gt;&lt;br /&gt;SELECT CURRENT_DATE();&lt;br /&gt;&lt;br /&gt;SELECT CURTIME();&lt;br /&gt;&lt;br /&gt;SELECT CURRENT_TIME();&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Give the syntax of GRANT commands? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The generic syntax for GRANT is as following&lt;br /&gt;&lt;br /&gt;GRANT [rights] on [database] TO [username@hostname] IDENTIFIED BY [password]&lt;br /&gt;&lt;br /&gt;Now rights can be:&lt;br /&gt;&lt;br /&gt;a) ALL privilages&lt;br /&gt;&lt;br /&gt;b) Combination of CREATE, DROP, SELECT, INSERT, UPDATE and DELETE etc.&lt;br /&gt;&lt;br /&gt;We can grant rights on all databse by usingh *.* or some specific database by database.* or a specific table by database.table_name.Give the syntax of REVOKE commands?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;The generic syntax for revoke is as following&lt;br /&gt;&lt;br /&gt;REVOKE [rights] on [database] FROM [username@hostname]&lt;br /&gt;&lt;br /&gt;Now rights can be:&lt;br /&gt;&lt;br /&gt;a) ALL privileges&lt;br /&gt;&lt;br /&gt;b) Combination of CREATE, DROP, SELECT, INSERT, UPDATE and DELETE etc.We can grant rights on all database by using *.* or some specific database by database.* or a specific table by database.table_name.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the difference between CHAR and VARCHAR data types? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;CHAR is a fixed length data type. CHAR(n) will take n characters of storage even if you enter less than n characters to that column. For example, "Hello!" will be stored as "Hello! " in CHAR(10) column.&lt;br /&gt;&lt;br /&gt;VARCHAR is a variable length data type. VARCHAR(n) will take only the required storage for the actual number of characters entered to that column. For example, "Hello!" will be stored as "Hello!" in VARCHAR(10) column.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we encrypt and decrypt a data present in a mysql table using mysql?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;AES_ENCRYPT() and AES_DECRYPT()&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Will comparison of string "10" and integer 11 work in PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Yes, internally PHP will cast everything to the integer type, so numbers 10 and 11 will be compared.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the functionality of MD5 function in PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;string md5(string)&lt;br /&gt;&lt;br /&gt;It calculates the MD5 hash of a string. The hash is a 32-character hexadecimal number.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can I load data from a text file into a table? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The MySQL provides a LOAD DATA INFILE command. You can load data from a file. Great tool but you need to make sure that:&lt;br /&gt;&lt;br /&gt;a) Data must be delimited&lt;br /&gt;&lt;br /&gt;b) Data fields must match table columns correctly&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we know the number of days between two given dates using MySQL? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Use DATEDIFF()&lt;br /&gt;&lt;br /&gt;SELECT DATEDIFF(NOW(),'2006-07-01');&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we change the name of a column of a table? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This will change the name of column:&lt;br /&gt;&lt;br /&gt;ALTER TABLE table_name CHANGE old_colm_name new_colm_name&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we change the data type of a column of a table? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This will change the data type of a column:&lt;br /&gt;&lt;br /&gt;ALTER TABLE table_name CHANGE colm_name same_colm_name [new data type]&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the difference between GROUP BY and ORDER BY in SQL? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To sort a result, use an ORDER BY clause.&lt;br /&gt;&lt;br /&gt;The most general way to satisfy a GROUP BY clause is to scan the whole table and create a new temporary table where all rows from each group are consecutive, and then use this temporary table to discover groups and apply aggregate functions (if any).&lt;br /&gt;&lt;br /&gt;ORDER BY [col1],[col2],...[coln]; Tells DBMS according to what columns it should sort the result. If two rows will have the same value in col1 it will try to sort them according to col2 and so on.&lt;br /&gt;&lt;br /&gt;GROUP BY [col1],[col2],...[coln]; Tells DBMS to group (aggregate) results with same value of column col1. You can use COUNT(col1), SUM(col1), AVG(col1) with it, if you want to count all items in group, sum all values or view average.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is meant by MIME? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Answer 1:&lt;br /&gt;&lt;br /&gt;MIME is Multipurpose Internet Mail Extensions is an Internet standard for the format of e-mail. However browsers also uses MIME standard to transmit files. MIME has a header which is added to a beginning of the data. When browser sees such header it shows the data as it would be a file (for example image)&lt;br /&gt;&lt;br /&gt;Some examples of MIME types:&lt;br /&gt;&lt;br /&gt;audio/x-ms-wmp&lt;br /&gt;&lt;br /&gt;image/png&lt;br /&gt;&lt;br /&gt;application/x-shockwave-flash&lt;br /&gt;&lt;br /&gt;Answer 2:&lt;br /&gt;&lt;br /&gt;Multipurpose Internet Mail Extensions.&lt;br /&gt;&lt;br /&gt;WWW's ability to recognize and handle files of different types is largely dependent on the use of the MIME (Multipurpose Internet Mail Extensions) standard. The standard provides for a system of registration of file types with information about the applications needed to process them. This information is incorporated into Web server and browser software, and enables the automatic recognition and display of registered file types. …How can we know that a session is started or not?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;A session starts by session_start() function.&lt;br /&gt;&lt;br /&gt;This session_start() is always declared in header portion. it always declares first. then we write session_register().What are the differences between  mysql_fetch_array(),  mysql_fetch_object(),  mysql_fetch_row()?&lt;br /&gt;&lt;br /&gt;Answer 1:&lt;br /&gt;&lt;br /&gt;mysql_fetch_array() -&amp;gt; Fetch a result row as a combination of associative array and regular array.mysql_fetch_object() -&amp;gt; Fetch a result row as an object.&lt;br /&gt;&lt;br /&gt;mysql_fetch_row() -&amp;gt; Fetch a result set as a regular array().&lt;br /&gt;&lt;br /&gt;Answer 2:&lt;br /&gt;&lt;br /&gt;The difference between mysql_fetch_row() and mysql_fetch_array() is that the first returns the results in a numeric array ($row[0], $row[1], etc.), while the latter returns a the results an array containing both numeric and associative keys ($row['name'], $row['email'], etc.). mysql_fetch_object() returns an object ($row-&amp;gt;name, $row-&amp;gt;email, etc.).&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Session depends on browser. If browser is closed then session is lost. The session data will be deleted after session time out. If connection is lost and you recreate connection, then session will continue in the browser.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the MySQL database files stored in system ? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Data is stored in name.myd&lt;br /&gt;&lt;br /&gt;Table structure is stored in name.frm&lt;br /&gt;&lt;br /&gt;Index is stored in name.myi&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the difference between PHP4 and PHP5? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;PHP4 cannot support oops concepts and Zend engine 1 is used.&lt;br /&gt;&lt;br /&gt;PHP5 supports oops concepts and Zend engine 2 is used.&lt;br /&gt;&lt;br /&gt;Error supporting is increased in PHP5.&lt;br /&gt;&lt;br /&gt;XML and SQLLite will is increased in PHP5.Can we use include(abc.PHP) two times in a PHP page makeit.PHP”? &lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;Yes we can include that many times we want, but here are some things to make sure of:&lt;br /&gt;&lt;br /&gt;(including abc.PHP, the file names are case-sensitive)&lt;br /&gt;&lt;br /&gt;there shouldn't be any duplicate function names, means there should not be functions or classes or variables with the same name in abc.PHP and makeit.php&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;mysql_fetch_array - Fetch a result row as an associative array and a numeric array.&lt;br /&gt;&lt;br /&gt;mysql_fetch_object - Returns an object with properties that correspond to the fetched row and moves the internal data pointer ahead. Returns an object with properties that correspond to the fetched row, or FALSE if there are no more rows&lt;br /&gt;&lt;br /&gt;mysql_fetch_row() - Fetches one row of data from the result associated with the specified result identifier. The row is returned as an array. Each result column is stored in an array offset, starting at offset 0.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is meant by nl2br()? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Anwser1:&lt;br /&gt;&lt;br /&gt;nl2br() inserts a HTML tag &amp;lt;br&amp;gt; before all new line characters \n in a string.&lt;br /&gt;&lt;br /&gt;echo nl2br("god bless \n you");&lt;br /&gt;&lt;br /&gt;output:&lt;br /&gt;&lt;br /&gt;god bless&amp;lt;br&amp;gt;&lt;br /&gt;&lt;br /&gt;you&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we encrypt and decrypt a data presented in a table using MySQL? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You can use functions: AES_ENCRYPT() and AES_DECRYPT() like:&lt;br /&gt;&lt;br /&gt;AES_ENCRYPT(str, key_str)&lt;br /&gt;&lt;br /&gt;AES_DECRYPT(crypt_str, key_str)&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can I retrieve values from one database server and store them in other database server using PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;For this purpose, you can first read the data from one server into session variables. Then connect to other server and simply insert the data into the database.Who is the father of PHP and what is the current version of PHP and MYSQL?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Rasmus Lerdorf.&lt;br /&gt;&lt;br /&gt;PHP 5.1. Beta&lt;br /&gt;&lt;br /&gt;MySQL 5.0&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;In how many ways we can retrieve data in the result set of MYSQL using PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;mysql_fetch_array - Fetch a result row as an associative array, a numeric array, or both&lt;br /&gt;&lt;br /&gt;mysql_fetch_assoc - Fetch a result row as an associative arraymysql_fetch_object - Fetch a result row as an object&lt;br /&gt;&lt;br /&gt;mysql_fetch_row —- Get a result row as an enumerated array&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the functions for IMAP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;imap_body - Read the message body&lt;br /&gt;&lt;br /&gt;imap_check - Check current mailbox&lt;br /&gt;&lt;br /&gt;imap_delete - Mark a message for deletion from current mailbox&lt;br /&gt;&lt;br /&gt;imap_mail - Send an email message&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are encryption functions in PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;CRYPT()&lt;br /&gt;&lt;br /&gt;MD5()&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the difference between htmlentities() and htmlspecialchars()? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;htmlspecialchars() - Convert some special characters to HTML entities (Only the most widely used)&lt;br /&gt;&lt;br /&gt;htmlentities() - Convert ALL special characters to HTML entities&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the functionality of the function htmlentities? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;htmlentities() - Convert all applicable characters to HTML entities&lt;br /&gt;&lt;br /&gt;This function is identical to htmlspecialchars() in all ways, except with htmlentities(), all characters which have HTML character entity equivalents are translated into these entities.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we get the properties (size, type, width, height) of an image using php image functions? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To know the image size use getimagesize() function&lt;br /&gt;&lt;br /&gt;To know the image width use imagesx() function&lt;br /&gt;&lt;br /&gt;To know the image height use imagesy() function&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we increase the execution time of a php script? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;By the use of void set_time_limit(int seconds)&lt;br /&gt;&lt;br /&gt;Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the php.ini. If seconds is set to zero, no time limit is imposed.&lt;br /&gt;&lt;br /&gt;When called, set_time_limit() restarts the timeout counter from zero. In other words, if the timeout is the default 30 seconds, and 25 seconds into script execution a call such as set_time_limit(20) is made, the script will run for a total of 45 seconds before timing out.HOW CAN WE TAKE A BACKUP OF A MYSQL TABLE AND HOW CAN WE RESTORE IT?&lt;br /&gt;&lt;br /&gt;Answer 1:&lt;br /&gt;&lt;br /&gt;Create a full backup of your database: shell&amp;gt; mysqldump tab=/path/to/some/dir opt db_name&lt;br /&gt;&lt;br /&gt;Or: shell&amp;gt; mysqlhotcopy db_name /path/to/some/dir&lt;br /&gt;&lt;br /&gt;The full backup file is just a set of SQL statements, so restoring it is very easy:&lt;br /&gt;&lt;br /&gt;shell&amp;gt; mysql "."Executed";&lt;br /&gt;&lt;br /&gt;Answer 2:&lt;br /&gt;&lt;br /&gt;To backup: BACKUP TABLE tbl_name TO /path/to/backup/directory&lt;br /&gt;&lt;br /&gt;’ To restore: RESTORE TABLE tbl_name FROM /path/to/backup/directory&lt;br /&gt;&lt;br /&gt;mysqldump: Dumping Table Structure and Data&lt;br /&gt;&lt;br /&gt;Utility to dump a database or a collection of database for backup or for transferring the data to another SQL server (not necessarily a MySQL server). The dump will contain SQL statements to create the table and/or populate the table.&lt;br /&gt;&lt;br /&gt;-t, no-create-info&lt;br /&gt;&lt;br /&gt;Don't write table creation information (the CREATE TABLE statement).&lt;br /&gt;&lt;br /&gt;-d, no-data&lt;br /&gt;&lt;br /&gt;Don't write any row information for the table. This is very useful if you just want to get a dump of the structure for a table!&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How to set cookies? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;setcookie('variable','value','time')&lt;br /&gt;&lt;br /&gt;;&lt;br /&gt;&lt;br /&gt;variable - name of the cookie variable&lt;br /&gt;&lt;br /&gt;value - value of the cookie variable&lt;br /&gt;&lt;br /&gt;time - expiry time&lt;br /&gt;&lt;br /&gt;Example: setcookie('Test',$i,time()+3600);&lt;br /&gt;&lt;br /&gt;Test - cookie variable name&lt;br /&gt;&lt;br /&gt;$i - value of the variable 'Test'&lt;br /&gt;&lt;br /&gt;time()+3600 - denotes that the cookie will expire after an one hourHow to reset/destroy a cookie ?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Reset a cookie by specifying expire time in the past:&lt;br /&gt;&lt;br /&gt;Example: setcookie('Test',$i,time()-3600); // already expired time&lt;br /&gt;&lt;br /&gt;Reset a cookie by specifying its name only&lt;br /&gt;&lt;br /&gt;Example: setcookie('Test');&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What types of images that PHP supports ? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Using imagetypes() function to find out what types of images are supported in your PHP engine.imagetypes() - Returns the image types supported.&lt;br /&gt;&lt;br /&gt;This function returns a bit-field corresponding to the image formats supported by the version of GD linked into PHP. The following bits are returned, IMG_GIF | IMG_JPG | IMG_PNG | IMG_WBMP | IMG_XPM.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Check if a variable is an integer in JAVASCRIPT ?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;var myValue =9.8;&lt;br /&gt;&lt;br /&gt;if(parseInt(myValue)== myValue)&lt;br /&gt;&lt;br /&gt;alert('Integer');&lt;br /&gt;&lt;br /&gt;else&lt;br /&gt;&lt;br /&gt;alert('Not an integer');&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Tools used for drawing ER diagrams. &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Case Studio&lt;br /&gt;&lt;br /&gt;Smart Draw&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can I know that a variable is a number or not using a JavaScript? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Answer 1:&lt;br /&gt;&lt;br /&gt;bool is_numeric( mixed var)&lt;br /&gt;&lt;br /&gt;Returns TRUE if var is a number or a numeric string, FALSE otherwise.&lt;br /&gt;&lt;br /&gt;Answer 2:&lt;br /&gt;&lt;br /&gt;Definition and Usage&lt;br /&gt;&lt;br /&gt;The isNaN() function is used to check if a value is not a number.&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;isNaN(number)&lt;br /&gt;&lt;br /&gt;Parameter Description&lt;br /&gt;&lt;br /&gt;number Required. The value to be tested&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we submit from without a submit button? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Trigger the JavaScript code on any event ( like onSelect of drop down list box, onfocus, etc ) document.myform.submit(); This will submit the form.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How many ways can we get the value of current session id? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;session_id() returns the session id for the current session.How can we destroy the cookie? &lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;Set the cookie with a past expiration time.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the current versions of Apache, PHP, and MySQL? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;PHP: PHP 5.2.5&lt;br /&gt;&lt;br /&gt;MySQL: MySQL 5.1&lt;br /&gt;&lt;br /&gt;Apache: Apache 2.1&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the reasons for selecting LAMP (Linux, Apache, MySQL, Php) instead of combination of other software programs, servers and operating systems? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;All of those are open source resource. Security of  Linux is very more than windows. Apache is a better server that IIS both in functionality and security. Mysql is world most popular open source database. Php is more faster that asp or any other scripting language.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the features and advantages of OBJECT ORIENTED PROGRAMMING? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;One of the main advantages of OO programming is its ease of modification; objects can easily be modified and added to a system there by reducing maintenance costs. OO programming is also considered to be better at modeling the real world than is procedural programming. It allows for more complicated and flexible interactions. OO systems are also easier for non-technical personnel to understand and easier for them to participate in the maintenance and enhancement of a system because it appeals to natural human cognition patterns. For some systems, an OO approach can speed development time since many objects are standard across systems and can be reused. Components that manage dates, shipping, shopping carts, etc. can be purchased and easily modified for a specific system. &lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we get second of the current time using date function? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;$second = date("s");What is the use of friend function?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Friend functions&lt;br /&gt;&lt;br /&gt;Sometimes a function is best shared among a number of different classes. Such functions can be declared either as member functions of one class or as global functions. In either case they can be set to be friends of other classes, by using a friend specifier in the class that is admitting them. Such functions can use all attributes of the class which names them as a friend, as if they were themselves members of that class. A friend declaration is essentially a prototype for a member function, but instead of requiring an implementation with the name of that class attached by the double colon syntax, a global function or member function of another class provides the match.class mylinkage&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;private:&lt;br /&gt;&lt;br /&gt;mylinkage * prev;&lt;br /&gt;&lt;br /&gt;mylinkage * next;&lt;br /&gt;&lt;br /&gt;protected:&lt;br /&gt;&lt;br /&gt;friend void set_prev(mylinkage* L, mylinkage* N);&lt;br /&gt;&lt;br /&gt;void set_next(mylinkage* L);&lt;br /&gt;&lt;br /&gt;public:&lt;br /&gt;&lt;br /&gt;mylinkage * succ();&lt;br /&gt;&lt;br /&gt;mylinkage * pred();&lt;br /&gt;&lt;br /&gt;mylinkage();&lt;br /&gt;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;void mylinkage::set_next(mylinkage* L) { next = L; }&lt;br /&gt;&lt;br /&gt;void set_prev(mylinkage * L, mylinkage * N ) { N-&amp;gt;prev = L; }&lt;br /&gt;&lt;br /&gt;Friends in other classes&lt;br /&gt;&lt;br /&gt;It is possible to specify a member function of another class as a friend as follows:&lt;br /&gt;&lt;br /&gt;class C&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;friend int B::f1();&lt;br /&gt;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;class B&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;int f1();&lt;br /&gt;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;It is also possible to specify all the functions in another class as friends, by specifying the entire class as a friend.&lt;br /&gt;&lt;br /&gt;class A&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;friend class B;&lt;br /&gt;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;Friend functions allow binary operators to be defined which combine private data in a pair of objects. This is particularly powerful when using the operator overloading features of C++. We will return to it when we look at overloading.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can we get second of the current time using date function? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;$second = date("s");&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the maximum size of a file that can be uploaded using PHP and how can we change this? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You can change maximum size of a file set upload_max_filesize variable in php.ini file&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can I make a script that can be bilingual (supports English, German)? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You can change char set variable in above line in the script to support bi language.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the difference between abstract class and interface? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Abstract class: abstract classes are the class where one or more methods are abstract but not necessarily all method has to be abstract. Abstract methods are the methods, which are declare in its class but not define. The definition of those methods must be in its extending class.&lt;br /&gt;&lt;br /&gt;Interface: Interfaces are one type of class where all the methods are abstract. That means all the methods only declared but not defined. All the methods must be define by its implemented class.What are the advantages of stored procedures, triggers, indexes? &lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;A stored procedure is a set of SQL commands that can be compiled and stored in the server. Once this has been done, clients don't need to keep re-issuing the entire query but can refer to the stored procedure. This provides better overall performance because the query has to be parsed only once, and less information needs to be sent between the server and the client. You can also raise the conceptual level by having libraries of functions in the server. However, stored procedures of course do increase the load on the database server system, as more of the work is done on the server side and less on the client (application) side. Triggers will also be implemented. A trigger is effectively a type of stored procedure, one that is invoked when a particular event occurs. For example, you can install a stored procedure that is triggered each time a record is deleted from a transaction table and that stored procedure automatically deletes the corresponding customer from a customer table when all his transactions are deleted. Indexes are used to find rows with specific column values quickly. Without an index, MySQL must begin with the first row and then read through the entire table to find the relevant rows. The larger the table, the more this costs. If the table has an index for the columns in question, MySQL can quickly determine the position to seek to in the middle of the data file without having to look at all the data. If a table has 1,000 rows, this is at least 100 times faster than reading sequentially. If you need to access most of the rows, it is faster to read sequentially, because this minimizes disk seeks.What is maximum size of a database in mysql?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;If the operating system or filesystem places a limit on the number of files in a directory, MySQL is bound by that constraint. The efficiency of the operating system in handling large numbers of files in a directory can place a practical limit on the number of tables in a database. If the time required to open a file in the directory increases significantly as the number of files increases, database performance can be adversely affected.&lt;br /&gt;&lt;br /&gt;The amount of available disk space limits the number of tables.&lt;br /&gt;&lt;br /&gt;MySQL 3.22 had a 4GB (4 gigabyte) limit on table size. With the MyISAM storage engine in MySQL 3.23, the maximum table size was increased to 65536 terabytes (2567 – 1 bytes). With this larger allowed table size, the maximum effective table size for MySQL databases is usually determined by operating system constraints on file sizes, not by MySQL internal limits.&lt;br /&gt;&lt;br /&gt;The InnoDB storage engine maintains InnoDB tables within a tablespace that can be created from several files. This allows a table to exceed the maximum individual file size. The tablespace can include raw disk partitions, which allows extremely large tables. The maximum tablespace size is 64TB.&lt;br /&gt;&lt;br /&gt;The following table lists some examples of operating system file-size limits. This is only a rough guide and is not intended to be definitive. For the most up-to-date information, be sure to check the documentation specific to your operating system.&lt;br /&gt;&lt;br /&gt;Operating System File-size Limit&lt;br /&gt;&lt;br /&gt;Linux 2.2-Intel 32-bit 2GB (LFS: 4GB)&lt;br /&gt;&lt;br /&gt;Linux 2.4+ (using ext3 filesystem) 4TB&lt;br /&gt;&lt;br /&gt;Solaris 9/10 16TB&lt;br /&gt;&lt;br /&gt;NetWare w/NSS filesystem 8TB&lt;br /&gt;&lt;br /&gt;Win32 w/ FAT/FAT32 2GB/4GB&lt;br /&gt;&lt;br /&gt;Win32 w/ NTFS 2TB (possibly larger)&lt;br /&gt;&lt;br /&gt;MacOS X w/ HFS+ 2TB&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Explain normalization concept? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The normalization process involves getting our data to conform to three progressive normal forms, and a higher level of normalization cannot be achieved until the previous levels have been achieved (there are actually five normal forms, but the last two are mainly academic and will not be discussed).&lt;br /&gt;&lt;br /&gt;First Normal Form&lt;br /&gt;&lt;br /&gt;The First Normal Form (or 1NF) involves removal of redundant data from horizontal rows. We want to ensure that there is no duplication of data in a given row, and that every column stores the least amount of information possible (making the field atomic).&lt;br /&gt;&lt;br /&gt;Second Normal Form&lt;br /&gt;&lt;br /&gt;Where the First Normal Form deals with redundancy of data across a horizontal row, Second Normal Form (or 2NF) deals with redundancy of data in vertical columns. As stated earlier, the normal forms are progressive, so to achieve Second Normal Form, your tables must already be in First Normal Form.&lt;br /&gt;&lt;br /&gt;Third Normal Form&lt;br /&gt;&lt;br /&gt;I have a confession to make; I do not often use Third Normal Form. In Third Normal Form we are looking for data in our tables that is not fully dependant on the primary key, but dependant on another value in the table&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What’s the difference between accessing a class method via -&amp;gt; and via ::? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;:: is allowed to access methods that can perform static operations, i.e. those, which do not require object initialization.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the advantages and disadvantages of CASCADE STYLE SHEETS? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;External Style Sheets&lt;br /&gt;&lt;br /&gt;Advantages&lt;br /&gt;&lt;br /&gt;Can control styles for multiple documents at once Classes can be created for use on multiple HTML element types in many documents Selector and grouping methods can be used to apply styles under complex contexts&lt;br /&gt;&lt;br /&gt;Disadvantages&lt;br /&gt;&lt;br /&gt;An extra download is required to import style information for each document The rendering of the document may be delayed until the external style sheet is loaded Becomes slightly unwieldy for small quantities of style definitions&lt;br /&gt;&lt;br /&gt;Embedded Style Sheets&lt;br /&gt;&lt;br /&gt;Advantages&lt;br /&gt;&lt;br /&gt;Classes can be created for use on multiple tag types in the document Selector and grouping methods can be used to apply styles under complex contexts No additional downloads necessary to receive style information&lt;br /&gt;&lt;br /&gt;Disadvantage&lt;br /&gt;&lt;br /&gt;This method can not control styles for multiple documents at once&lt;br /&gt;&lt;br /&gt;Inline Styles&lt;br /&gt;&lt;br /&gt;Advantages&lt;br /&gt;&lt;br /&gt;Useful for small quantities of style definitions Can override other style specification methods at the local level so only exceptions need to be listed in conjunction with other style methods&lt;br /&gt;&lt;br /&gt;Disadvantages&lt;br /&gt;&lt;br /&gt;Does not distance style information from content (a main goal of SGML/HTML) Can not control styles for multiple documents at once Author can not create or control classes of elements to control multiple element types within the document Selector grouping methods can not be used to create complex element addressing scenarios&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What type of inheritance that php supports? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In PHP an extended class is always dependent on a single base class, that is, multiple inheritance is not supported. Classes are extended using the keyword 'extends'.How can increase the performance of MySQL select query?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;We can use LIMIT to stop MySql for further search in table after we have received our required no. of records, also we can use LEFT JOIN or RIGHT JOIN instead of full join in cases we have related data in two or more tables.How can we change the name of a column of a table?&lt;br /&gt;&lt;br /&gt;MySQL query to rename table: RENAME TABLE tbl_name TO new_tbl_nameALTER TABLE tableName CHANGE OldName newName.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;When you want to show some part of a text displayed on an HTML page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;There are 2 ways to show some part of a text in red:&lt;br /&gt;&lt;br /&gt;1. Using HTML tag &amp;lt;font color="red"&amp;gt;&lt;br /&gt;&lt;br /&gt;2. Using HTML tag &amp;lt;span style="color: red"&amp;gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;When viewing an HTML page in a Browser, the Browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;When you use the metatag in the header section at the beginning of an HTML Web page, the Web page may still be cached in the Temporary Internet Files folder.&lt;br /&gt;&lt;br /&gt;A page that Internet Explorer is browsing is not cached until half of the 64 KB buffer is filled. Usually, metatags are inserted in the header section of an HTML document, which appears at the beginning of the document. When the HTML code is parsed, it is read from top to bottom. When the metatag is read, Internet Explorer looks for the existence of the page in cache at that exact moment. If it is there, it is removed. To properly prevent the Web page from appearing in the cache, place another header section at the end of the HTML document.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What are the different ways to login to a remote server? Explain the means, advantages and disadvantages? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;There is at least 3 ways to logon to a remote server:&lt;br /&gt;&lt;br /&gt;Use ssh or telnet if you concern with security&lt;br /&gt;&lt;br /&gt;You can also use rlogin to logon to a remote server.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Please give a regular expression (preferably Perl/PREG style), which can be used to identify the URL from within a HTML link tag. &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Try this: /href="([^"]*)"/iHow can I use the COM components in php?&lt;br /&gt;&lt;br /&gt;The COM class provides a framework to integrate (D)COM components into your PHP scripts.&lt;br /&gt;&lt;br /&gt;string COM::COM( string module_name [, string server_name [, int codepage]]) - COM class constructor.&lt;br /&gt;&lt;br /&gt;Parameters:&lt;br /&gt;&lt;br /&gt;module_name: name or class-id of the requested component.&lt;br /&gt;&lt;br /&gt;server_name: name of the DCOM server from which the component should be fetched. If NULL, localhost is assumed. To allow DCOM com, allow_dcom has to be set to TRUE in php.ini.&lt;br /&gt;&lt;br /&gt;codepage - specifies the codepage that is used to convert php-strings to unicode-strings and vice versa. Possible values are CP_ACP, CP_MACCP, CP_OEMCP, CP_SYMBOL, CP_THREAD_ACP, CP_UTF7 and CP_UTF8.&lt;br /&gt;&lt;br /&gt;Usage:&lt;br /&gt;&lt;br /&gt;$word-&amp;gt;Visible = 1; //open an empty document&lt;br /&gt;&lt;br /&gt;$word-&amp;gt;Documents-&amp;gt;Add(); //do some weird stuff&lt;br /&gt;&lt;br /&gt;$word-&amp;gt;Selection-&amp;gt;TypeText("This is a test…");&lt;br /&gt;&lt;br /&gt;$word-&amp;gt;Documents[1]-&amp;gt;SaveAs("Useless test.doc"); //closing word&lt;br /&gt;&lt;br /&gt;$word-&amp;gt;Quit(); //free the object&lt;br /&gt;&lt;br /&gt;$word-&amp;gt;Release();&lt;br /&gt;&lt;br /&gt;$word = null;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How many ways we can give the output to a browser? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;HTML output&lt;br /&gt;&lt;br /&gt;PHP, ASP, JSP, Servlet Function&lt;br /&gt;&lt;br /&gt;Script Language output Function&lt;br /&gt;&lt;br /&gt;Different Type of embedded Package to output to a browser&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the default session time in php and how can I change it? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The default session time in php is until closing of browser &lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What changes I have to do in php.ini file for file uploading? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Make the following line uncomment like:&lt;br /&gt;&lt;br /&gt;; Whether to allow HTTP file uploads.&lt;br /&gt;&lt;br /&gt;file_uploads = On&lt;br /&gt;&lt;br /&gt;; Temporary directory for HTTP uploaded files (will use system default if not&lt;br /&gt;&lt;br /&gt;; specified).&lt;br /&gt;&lt;br /&gt;upload_tmp_dir = C:\apache2triad\temp&lt;br /&gt;&lt;br /&gt;; Maximum allowed size for uploaded files.&lt;br /&gt;&lt;br /&gt;upload_max_filesize = 2MHow can I set a cron and how can I execute it in Unix, Linux, and windows?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Cron is very simply a Linux module that allows you to run commands at predetermined times or intervals. In Windows, it's called Scheduled Tasks. The name Cron is in fact derived from the same word from which we get the word chronology, which means order of time.&lt;br /&gt;&lt;br /&gt;The easiest way to use crontab is via the crontab command.# crontabThis command 'edits' the crontab. Upon employing this command, you will be able to enter the commands that you wish to run. My version of&lt;br /&gt;&lt;br /&gt;Linux uses the text editor vi. You can find information on using vi here.&lt;br /&gt;&lt;br /&gt;The syntax of this file is very important – if you get it wrong, your crontab will not function properly. The syntax of the file should be as follows:&lt;br /&gt;&lt;br /&gt;minutes hours day_of_month month day_of_week command&lt;br /&gt;&lt;br /&gt;All the variables, with the exception of the command itself, are numerical constants. In addition to an asterisk (*), which is a wildcard that allows any value, the ranges permitted for each field are as follows:&lt;br /&gt;&lt;br /&gt;Minutes: 0-59&lt;br /&gt;&lt;br /&gt;Hours: 0-23&lt;br /&gt;&lt;br /&gt;Day_of_month: 1-31&lt;br /&gt;&lt;br /&gt;Month: 1-12&lt;br /&gt;&lt;br /&gt;Weekday: 0-6&lt;br /&gt;&lt;br /&gt;We can also include multiple values for each entry, simply by separating each value with a comma.&lt;br /&gt;&lt;br /&gt;command can be any shell command and, as we will see momentarily, can also be used to execute a Web document such as a PHP file.&lt;br /&gt;&lt;br /&gt;So, if we want to run a script every Tuesday morning at 8:15 AM, our mycronjob file will contain the following content on a single line:&lt;br /&gt;&lt;br /&gt;15 8 * * 2 /path/to/scriptname&lt;br /&gt;&lt;br /&gt;This all seems simple enough, right? Not so fast! If you try to run a PHP script in this manner, nothing will happen (barring very special configurations that have PHP compiled as an executable, as opposed to an Apache module). The reason is that, in order for PHP to be parsed, it needs to be passed through Apache. In other words, the page needs to be called via a browser or other means of retrieving&lt;br /&gt;&lt;br /&gt;Web content. For our purposes, I'll assume that your server configuration includes wget, as is the case with most default configurations. To test your configuration, log in to shell. If you're using an RPM-based system (e.g. Redhat or Mandrake), type the following:&lt;br /&gt;&lt;br /&gt;# wget help&lt;br /&gt;&lt;br /&gt;If you are greeted with a wget package identification, it is installed in your system.&lt;br /&gt;&lt;br /&gt;You could execute the PHP by invoking wget on the URL to the page, like so:&lt;br /&gt;&lt;br /&gt;# wget http://www.example.com/file.php&lt;br /&gt;&lt;br /&gt;Now, let's go back to the mailstock.php file we created in the first part of this article. We saved it in our document root, so it should be accessible via the Internet. Remember that we wanted it to run at 4PM Eastern time, and send you your precious closing bell report? Since I'm located in the Eastern timezone, we can go ahead and set up our crontab to use 4:00, but if you live elsewhere, you might have to compensate for the time difference when setting this value.&lt;br /&gt;&lt;br /&gt;This is what my crontab will look like:&lt;br /&gt;&lt;br /&gt;0 4 * * 1,2,3,4,5 we get http://www.example.com/mailstock.php&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Steps for the payment gateway processing? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;An online payment gateway is the interface between your merchant account and your Web site. The online payment gateway allows you to immediately verify credit card transactions and authorize funds on a customer's credit card directly from your Web site. It then passes the transaction off to your merchant bank for processing, commonly referred to as transaction batching&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How many ways I can redirect a PHP page? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Here are the possible ways of php page redirection.&lt;br /&gt;&lt;br /&gt;1. Using Java script:&lt;br /&gt;&lt;br /&gt;'; echo 'window.location.href="'.$filename.'";'; echo ''; echo ''; echo ''; echo ''; } } redirect('http://maosjb.com'); ?&amp;gt;&lt;br /&gt;&lt;br /&gt;2. Using php function: header("Location:http://maosjb.com ");&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;List out different arguments in PHP header function? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;void header ( string string [, bool replace [, int http_response_code]])&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What type of headers have to be added in the mail function to attach a file? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;$boundary = '--' . md5( uniqid ( rand() ) );&lt;br /&gt;&lt;br /&gt;$headers = "From: \"Me\"\n";&lt;br /&gt;&lt;br /&gt;$headers .= "MIME-Version: 1.0\n";&lt;br /&gt;&lt;br /&gt;$headers .= "Content-Type: multipart/mixed; boundary=\"$boundary\"";&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What is the difference between Reply-to and Return-path in the headers of a mail function? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Reply-to: Reply-to is where to delivery the reply of the mail.&lt;br /&gt;&lt;br /&gt;Return-path: Return path is when there is a mail delivery failure occurs then where to delivery the failure notification.How to store the uploaded file to the final location?&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;move_uploaded_file ( string filename, string destination)&lt;br /&gt;&lt;br /&gt;This function checks to ensure that the file designated by filename is a valid upload file (meaning that it was uploaded via PHP's HTTP POST upload mechanism). If the file is valid, it will be moved to the filename given by destination.&lt;br /&gt;&lt;br /&gt;If filename is not a valid upload file, then no action will occur, and move_uploaded_file() will return FALSE.If filename is a valid upload file, but cannot be moved for some reason, no action will occur, and move_uploaded_file() will return FALSE. Additionally, a warning will be issued.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Explain about Type Juggling in php? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;PHP does not require (or support) explicit type definition in variable declaration; a variable's type is determined by the context in which that variable is used. That is to say, if you assign a string value to variable $var, $var becomes a string. If you then assign an integer value to $var, it becomes an integer.&lt;br /&gt;&lt;br /&gt;An example of PHP's automatic type conversion is the addition operator '+'. If any of the operands is a float, then all operands are evaluated as floats, and the result will be a float. Otherwise, the operands will be interpreted as integers, and the result will also be an integer. Note that this does NOT change the types of the operands themselves; the only change is in how the operands are evaluated.&lt;br /&gt;&lt;br /&gt;$foo += 2; // $foo is now an integer (2)&lt;br /&gt;&lt;br /&gt;$foo = $foo + 1.3; // $foo is now a float (3.3)&lt;br /&gt;&lt;br /&gt;$foo = 5 + "10 Little Piggies"; // $foo is integer (15)&lt;br /&gt;&lt;br /&gt;$foo = 5 + "10 Small Pigs"; // $foo is integer (15)&lt;br /&gt;&lt;br /&gt;If the last two examples above seem odd, see String conversion to numbers.&lt;br /&gt;&lt;br /&gt;If you wish to change the type of a variable, see settype().&lt;br /&gt;&lt;br /&gt;If you would like to test any of the examples in this section, you can use the var_dump() function.&lt;br /&gt;&lt;br /&gt;Note: The behavior of an automatic conversion to array is currently undefined.&lt;br /&gt;&lt;br /&gt;Since PHP (for historical reasons) supports indexing into strings via offsets using the same syntax as array indexing, the example above leads to a problem: should $a become an array with its first element being "f", or should "f" become the first character of the string $a? The current versions of PHP interpret the second assignment as a string offset identification, so $a becomes "f", the result of this automatic conversion however should be considered undefined. PHP 4 introduced the new curly bracket syntax to access characters in string, use this syntax instead of the one presented above:&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How can I embed a java programme in php file and what changes have to be done in php.ini file? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;There are two possible ways to bridge PHP and Java: you can either integrate PHP into a Java Servlet environment, which is the more stable and efficient solution, or integrate Java support into PHP. The former is provided by a SAPI module that interfaces with the Servlet server, the latter by this Java extension.&lt;br /&gt;&lt;br /&gt;The Java extension provides a simple and effective means for creating and invoking methods on Java objects from PHP. The JVM is created using JNI, and everything runs in-process.&lt;br /&gt;&lt;br /&gt;Example Code:&lt;br /&gt;&lt;br /&gt;getProperty('java.version') . ''; echo 'Java vendor=' . $system-&amp;gt;getProperty('java.vendor') . ''; echo 'OS=' . $system-&amp;gt;getProperty('os.name') . ' ' . $system-&amp;gt;getProperty('os.version') . ' on ' . $system-&amp;gt;getProperty('os.arch') . ' '; // java.util.Date example $formatter = new Java('java.text.SimpleDateFormat', "EEEE, MMMM dd, yyyy 'at' h:mm:ss a zzzz"); echo $formatter-&amp;gt;format(new Java('java.util.Date')); ?&amp;gt;&lt;br /&gt;&lt;br /&gt;The behaviour of these functions is affected by settings in php.ini.&lt;br /&gt;&lt;br /&gt;Table 1. Java configuration options&lt;br /&gt;&lt;br /&gt;Name&lt;br /&gt;&lt;br /&gt;Default&lt;br /&gt;&lt;br /&gt;Changeable&lt;br /&gt;&lt;br /&gt;java.class.path&lt;br /&gt;&lt;br /&gt;NULL&lt;br /&gt;&lt;br /&gt;PHP_INI_ALL&lt;br /&gt;&lt;br /&gt;Name Default Changeable&lt;br /&gt;&lt;br /&gt;java.home&lt;br /&gt;&lt;br /&gt;NULL&lt;br /&gt;&lt;br /&gt;PHP_INI_ALL&lt;br /&gt;&lt;br /&gt;java.library.path&lt;br /&gt;&lt;br /&gt;NULL&lt;br /&gt;&lt;br /&gt;PHP_INI_ALL&lt;br /&gt;&lt;br /&gt;java.library&lt;br /&gt;&lt;br /&gt;JAVALIB&lt;br /&gt;&lt;br /&gt;PHP_INI_ALL&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Explain the ternary conditional operator in PHP? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Expression preceding the ? is evaluated, if it’s true, then the expression preceding the : is executed, otherwise, the expression following : is executed.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What’s the difference between include and require? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;It’s how they handle failures. If the file is not found by require(), it will cause a fatal error and halt the execution of the script. If the file is not found by include(), a warning will be issued, but execution will continue.&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;How many ways can we get the value of current session id? &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;session_id() returns the session id for the current session.&lt;br /&gt;&lt;br /&gt;(Ref:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://techpreparation.com/computer-interview-questions"&gt;http://techpreparation.com/computer-interview-questions&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://dev.fyicenter.com/Interview-Questions/PHP/How_many_ways_we_can_pass_the_variable_through_t.html"&gt;http://dev.fyicenter.com/Interview-Questions/PHP/&lt;/a&gt; )&lt;/p&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-8712969450037873885?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/8712969450037873885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/php-interview-questions-and-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8712969450037873885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/8712969450037873885'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/php-interview-questions-and-answers.html' title='PHP Interview Questions And Answers'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-7477262373176670867</id><published>2008-02-24T12:32:00.000-08:00</published><updated>2009-11-20T16:18:00.045-08:00</updated><title type='text'>MSSql : convert dd/mm/yyyy ('24/02/2008') to MMM/dd/YYYY ('Feb/24/2008')?</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;div style="margin: 0px; padding: 0.6em; background-color: rgb(255, 255, 255); font-family: Georgia,'Times New Roman','Bitstream Charter',Times,serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: 19px; font-size-adjust: none; font-stretch: normal;"&gt;&lt;p&gt;Its just simple. Try the following query and it will give you the result.&lt;/p&gt;&lt;p&gt;&lt;span mce_name="strong" mce_style="font-weight: bold;" class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span mce_name="em" mce_style="font-style: italic;" class="Apple-style-span" style="font-style: italic;"&gt;SELECT REPLACE(convert(varchar(11), getdate(), 109),' ','/')&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Enjoy:)&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-7477262373176670867?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/7477262373176670867/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/mssql-convert-ddmmyyyy-24022008-to_20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/7477262373176670867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/7477262373176670867'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/mssql-convert-ddmmyyyy-24022008-to_20.html' title='MSSql : convert dd/mm/yyyy (&apos;24/02/2008&apos;) to MMM/dd/YYYY (&apos;Feb/24/2008&apos;)?'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-28009478122665460</id><published>2008-02-24T04:15:00.000-08:00</published><updated>2009-11-20T16:19:34.771-08:00</updated><title type='text'>MSSql : convert dd/mm/yyyy (‘24/02/2008′) to MMM/dd/YYYY (‘Feb/24/2008′)?</title><content type='html'>Its just simple. Try the following query and it will give you the result.&lt;br /&gt;&lt;br /&gt;SELECT REPLACE(convert(varchar(11), getdate(), 109),’ ‘,’/')&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-28009478122665460?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/28009478122665460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/mssql-convert-ddmmyyyy-24022008-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/28009478122665460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/28009478122665460'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/mssql-convert-ddmmyyyy-24022008-to.html' title='MSSql : convert dd/mm/yyyy (‘24/02/2008′) to MMM/dd/YYYY (‘Feb/24/2008′)?'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-3975417355336277332</id><published>2007-11-20T23:03:00.000-08:00</published><updated>2009-11-20T15:49:13.593-08:00</updated><title type='text'>PHP Vs. .Net</title><content type='html'>In the world of web development, the choice of which development language to use commonly comes down to two popular choices.&lt;br /&gt;&lt;br /&gt;Web applications, specifically those relying on back end databases, are typically being created using either Microsoft's ASP.Net language, or the Open Source alternative language of PHP. Reasons why one might choose one over the other can include: The cost of development tools, or availability of such tools, or even ones comfort level with the Open Source initiative. The goal of this article is to provide some perspective on reasons why one might choose one over the other. &lt;br /&gt;&lt;br /&gt;Active Server Pages or ASP has long been an option for creating dynamic web content. Active Server Pages facilitates the ability to use databases such as Access or SQL just to name a few, to create dynamic, feature rich websites. The work going on behind the scenes in serving up the dynamic content is being done at the server level by the Active Server Pages source code.  &lt;br /&gt;&lt;br /&gt;Microsoft has spent a great deal of time and resources promoting their .Net family of programming languages of which ASP.Net is a member. We can develop ASP.Net two ways: 1&gt; We can develop only thru any text editor like notepad by inline code. Its not necessary to have code behind. 2&gt; A web developer tool from microsoft which is free ... visual web developer express. That is only for web based i.e. asp.net. You cannot develop win apps in visual web developer.  As with all of Microsoft's products, support and updates are constantly made available for ASP.Net. The shear amount of features that Microsoft packs into Visual Studio, coupled with Microsoft's extensive support make certainly make ASP.Net an attractive solution for any corporation's web development needs, but the cost can be prohibitive, if not impossible to afford for the individual web developer. &lt;br /&gt;&lt;br /&gt;PHP which is in its 5th revision now, is an Open Source web development language that also facilitates the creation of feature rich, dynamic websites that can use databases. Being Open Source means simply that PHP isn't owned by anyone. Just as with Active Server Pages, the work going on behind the scenes of serving up the dynamic web content is being done by PHP at the server level.   &lt;br /&gt;&lt;br /&gt;As with most Open Source products, the resources available to a PHP developer are free of charge. This makes PHP extremely attractive to the independent web developer. There are some commercial quality development suites available from companies like Zend, but there is also wealth of free resources just a Google Search away. Because there is really no corporate entity behind PHP, support and development on PHP is done by the community of its users and developers themselves. Surprisingly this does not seem to adversely affect the ability to find support for PHP.&lt;br /&gt;&lt;br /&gt;All in all, ASP.Net and PHP are both excellent options, offering basically the same functionality. Whether the decision comes down to the cost of initial investment, or the comfort level one has regarding Open Source, or something else entirely, the end result depends upon the mastery of whichever language is chosen.&lt;br /&gt;&lt;br /&gt;Ian Wilson Lockwood is a support analyst for Apollo Hosting. Apollo Hosting provides website hosting, ecommerce hosting, vps hosting, and web design services to a wide range of customers.&lt;br /&gt;&lt;br /&gt;I'll say what I have to say (from someone who uses both daily)ASP.NET Its a great language, alot of power and functionality. Can easily move between web and desktop application (code wise) and its "moreless" a compiled lang. (I know I know about its bytecode, don't want to get into that discussion). So it runs exceptionally fast after the first time its run, which is great for a site with major traffic.&lt;br /&gt;&lt;br /&gt;It's a windows only lang. (Has be run on a windows server. And I know about Projects like MONO, but I'm talking about native support) Personally I love Windows Server, but it does limit you to a platform. This is probably its biggest con, cause as you know, if your on a budget, Windows Server isn't cheap. I would say that it native support for MSSQL Server is a con, but now with SQL Server Express, thats no longer (to me) a vaild agrument.&lt;br /&gt;&lt;br /&gt;PHP&lt;br /&gt;I love PHP. Its portable, now also has OOP support, and myself as a java and c# programmer, I was able to jump on this language and build complex apps inside a day or two. Very easy to get into. PHP has a large community, and I have seen some high traffic PHP sites (meaning it can be interrputed really fast) The greatest benefit to PHP is that you can develop on it for nearly free. You can host it on free OS's, PHP is free (although so is .NET) and its native support for mysql is top notch, and MYSQL is free. The only con I really see, is that if your not a c type programmer, and you did moreless basic type programming, you will have a bit of a learning curve.&lt;br /&gt;My summary:&lt;br /&gt;Both languages are EXTREMELY well suited. Its a perference thing. Don't sit here and listen to .NET fanboys or PHP fanboys agrue and rave because its the only language they know. I have seen exceptionally well coded .NET and PHP sites, and I have seen poorly coded .NET and PHP sites. Both supports the major players in the DB formats (MSSQL and MYSQL). It boils down to this...&lt;br /&gt;1.) If your on a budget, I say go with PHP (Free everything)&lt;br /&gt;2.) If your wanting to build a site and a complimenting desktop application, go with .NET You will be able to reuse alot of code (if coded correctly of course)&lt;br /&gt;3.) If your wanting to use a free OS or hosting on a linux box, go with PHP&lt;br /&gt;4.) If your not c type programmer and BASIC makes more sense to you, go with .NET&lt;br /&gt;5.) If your using SQL Server, or SQL Server EXPRESS, "I" Say go with .NET although PHP can hook into these as well, its just that .NET has great native support for MSSQL, and MSSQL Express &lt;br /&gt;6.) If your working with webservices again "I" say go with .NET, you can handle webservices with great ease. But so can PHP. So this is a perference for me.  &lt;br /&gt;&lt;br /&gt;You can insert your comments and suggestions for this article.&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-3975417355336277332?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/3975417355336277332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/php-vs-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/3975417355336277332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/3975417355336277332'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/php-vs-net.html' title='PHP Vs. .Net'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-965373364049221027</id><published>2007-11-20T12:09:00.000-08:00</published><updated>2009-11-20T15:47:08.353-08:00</updated><title type='text'>How to get values from Child window to parent window</title><content type='html'>Sometimes we have a simple problem and we think its really very complex and leave it. But listen its wrong attitude. We have to solve each and every problem which are comming in our life. I face a problem that I was unable to get the values from child(Popup) window to parent window. what we need to do for setting values from child window(PopUp window/Dialog) to parent window's control(textbox). Just required to add the following javascript where we required to add the values from child to parent windows control. &lt;br /&gt;&lt;br /&gt;I am here inserting a value in parent windows TextBox named txtTo from my child windows(PopUp dialog's) TextBox values.&lt;br /&gt;&lt;br /&gt;Dim strScript As String = "&lt;script language='javascript'&gt;window.opener.document.getElementById('txtTo').value='" &amp; str.ToString() &amp; "';"strScript &amp;= "this.close();&lt;/script&gt;"&lt;br /&gt;Response.Write(strScript)&lt;br /&gt;&lt;br /&gt;This will get the value of txtPopUpTitle textbox and set it in the txtTo.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-965373364049221027?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/965373364049221027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/how-to-get-values-from-child-window-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/965373364049221027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/965373364049221027'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/how-to-get-values-from-child-window-to.html' title='How to get values from Child window to parent window'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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-8246459468616290334.post-760582753391785946</id><published>2007-11-20T12:01:00.000-08:00</published><updated>2009-11-20T15:48:32.875-08:00</updated><title type='text'>php.ini settings</title><content type='html'>Hello Friends,&lt;br /&gt;&lt;br /&gt;A article which describe what is the use of particular variable in php.ini files and how to do settings in this file.  How to set each variable in php.ini file and what is the purpose of each is explain in this article. Please go through and will definetely get the solution.&lt;br /&gt;&lt;br /&gt;Php.ini setting for each variable:&lt;br /&gt;&lt;br /&gt;1 &gt; allow_call_time_pass_reference Boolean&lt;br /&gt;&lt;br /&gt;Whether to enable the ability to force arguments to be passed by reference at function call time. This method is deprecated and is likely to be unsupported in future versions of PHP/Zend. The encouraged method of specifying which arguments should be passed by reference is in the function declaration. You're encouraged to try and turn this option Off and make sure your scripts work properly with it in order to ensure they will work with future versions of the language (you will receive a warning each time you use this feature, and the argument will be passed by value instead of by reference).&lt;br /&gt;&lt;br /&gt;Passing arguments by reference at function call time was deprecated for code cleanliness reason. Function can modify its argument in undocumented way if it didn't declare that the argument is passed by reference. To prevent side effects it's better to specify which arguments are passed by reference in function declaration only.&lt;br /&gt;&lt;br /&gt;====================================================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2 &gt; allow_url_fopen&lt;br /&gt;&lt;br /&gt;This option enables the URL-aware fopen wrappers that enable accessing URL object like files. Default wrappers are provided for the access of remote files using the ftp or http protocol, some extensions like zlib may register additional wrappers.&lt;br /&gt;&lt;br /&gt;This setting can only be set in php.ini due to security reasons.&lt;br /&gt;&lt;br /&gt;This option was introduced immediately after the release of version 4.0.3. For versions up to and including 4.0.3 you can only disable this feature at compile time by using the configuration switch --disable-url-fopen-wrapper.&lt;br /&gt;&lt;br /&gt;====================================================&lt;br /&gt;&lt;br /&gt;3 &gt; always_populate_raw_post_data Boolean&lt;br /&gt;&lt;br /&gt;Always populate the $HTTP_RAW_POST_DATA variable.&lt;br /&gt;&lt;br /&gt;4 &gt; arg_separator.input&lt;br /&gt;&lt;br /&gt;List of separator(s) used by PHP to parse input URLs into variables&lt;br /&gt;&lt;br /&gt;5 &gt; arg_separator.output&lt;br /&gt;&lt;br /&gt;The separator used in PHP generated URLs to separate arguments&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6 &gt; asp_tags&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Enables the use of ASP-like &lt;% %&gt; tags in addition to the usual &lt;?php ?&gt; tags. This includes the variable-value printing shorthand of &lt;%= $value %&gt;.&lt;br /&gt;&lt;br /&gt;7 &gt; auto_globals_jit Boolean&lt;br /&gt;&lt;br /&gt;When enabled, the SERVER and ENV variables are created when they're first used (Just In Time) instead of when the script starts. If these variables are not used within a script, having this directive on will result in a performance gain&lt;br /&gt;&lt;br /&gt;The PHP directives register_globals, register_long_arrays, and register_argc_argv must be disabled for this directive to have any affect.&lt;br /&gt;&lt;br /&gt;8 &gt; display_error and display_startup_errors&lt;br /&gt;&lt;br /&gt;These two settings control whether PHP should display errors in the browser or be silent. It is recommended that you turn these two settings Off during production so that you don't accidentally display sensitive information about your Web site. This is especially true for dynamic Web sites that send usernames and password to access a database. In your php.ini file, this configuration will look like:&lt;br /&gt;&lt;br /&gt;display_errors = off&lt;br /&gt;&lt;br /&gt;display_startup_errors = off&lt;br /&gt;&lt;br /&gt;9 &gt; log_erros and error_log&lt;br /&gt;&lt;br /&gt;There two settings control how PHP logs errors for later review. It is helpful to use these two settings if you have turned Off display_errors and display_startup_errors. In your php.ini file, this configuration will look like&lt;br /&gt;&lt;br /&gt;Log_errors = On&lt;br /&gt;&lt;br /&gt;Error_log = /hwxx/daxx/uwnetid/phperrors.log&lt;br /&gt;&lt;br /&gt;Replace /hwxx/daxx/uwnetid/ with the path to your Web directory. Make sure that you have a file called phperrors.log in the root of your Web directory (typically public_html) and make sure it is read and writable by you&lt;br /&gt;&lt;br /&gt;10 &gt; session.save_path&lt;br /&gt;&lt;br /&gt;This setting controls the location of server-side session cookies when your script uses PHP's session management functions. The server default php.ini file has this variable set to /use/a/folder/in/your/web/root, disabling the user of sessions. In order to use PHP sessions, you will need to create a temp folder in your web directory and change this option to point to it:&lt;br /&gt;&lt;br /&gt;There are a number of reasons for requiring this configuration:&lt;br /&gt;&lt;br /&gt;(1) To make sure that another user doesn't tamper with these cookies. (2)To keep the /tmp folder from filling up, causing other programs to fail. (3) Due to the clustered nature of the UW webservers, session info should be stored in a place that is available on all machines in the cluster&lt;br /&gt;&lt;br /&gt;session.save_path = /hwxx/daxx/uwnetid/tmp&lt;br /&gt;&lt;br /&gt;Replace /hwxx/daxx/uwnetid/ with the path to your Web directory. Again, make sure that you have a directory called tmp in the root of your Web directory (typically public_html) and make sure it is read and writable by you only&lt;br /&gt;&lt;br /&gt;11 &gt; upload_temp_dir&lt;br /&gt;&lt;br /&gt;This setting controls the temporary location of files uploaded with an HTML form. If you don't specify a path for this setting, uploaded files will be temporarily stored in a world-readable location on the server. To protect ease of manipulation and the confidentiality of such files, you should create a directory in your account and specify the new path in your php.ini file&lt;br /&gt;&lt;br /&gt;upload_tmp_dir = /hwxx/daxx/uwnetid/tmp&lt;br /&gt;&lt;br /&gt;Replace /hwxx/daxx/uwnetid/ with the path to your Web directory. Make sure that you have a directory called tmp in the root of your Web directory (typically public_html) and make sure it is read and writable by you only.&lt;br /&gt;&lt;br /&gt;13 &gt; enable_dl&lt;br /&gt;&lt;br /&gt;This directive is really only useful in the Apache module version of PHP. You can turn dynamic loading of PHP extensions with dl() on and off per virtual server or per directory.&lt;br /&gt;&lt;br /&gt;The main reason for turning dynamic loading off is security. With dynamic loading, it's possible to ignore all open_basedir restrictions. The default is to allow dynamic loading, except when using safe mode. In safe mode, it's always impossible to use dl().&lt;br /&gt;&lt;br /&gt;14 &gt; extension_dir string&lt;br /&gt;&lt;br /&gt;In what directory PHP should look for dynamically loadable extensions&lt;br /&gt;&lt;br /&gt;15 &gt; file_uploads&lt;br /&gt;&lt;br /&gt;Whether or not to allow HTTP file uploads. See also the upload_max_filesize, upload_tmp_dir, and post_max_size directives&lt;br /&gt;&lt;br /&gt;16 &gt; gpc_order&lt;br /&gt;&lt;br /&gt;Set the order of GET/POST/COOKIE variable parsing. The default setting of this directive is "GPC". Setting this to "GP", for example, will cause PHP to completely ignore cookies and to overwrite any GET method variables with POST-method variables of the same name&lt;br /&gt;&lt;br /&gt;This option is not available in PHP 4. Use variables_order instead&lt;br /&gt;&lt;br /&gt;17 &gt; include_path&lt;br /&gt;&lt;br /&gt;Specifies a list of directories where the require(), include() and fopen_with_path() functions look for files. The format is like the system's PATH environment variable: a list of directories separated with a colon in Unix or semicolon in Windows&lt;br /&gt;&lt;br /&gt;Unix include_path&lt;br /&gt;&lt;br /&gt;include_path=".:/php/includes”&lt;br /&gt;&lt;br /&gt;Window include_path&lt;br /&gt;&lt;br /&gt;include_path=".;c:\php\includes”&lt;br /&gt;&lt;br /&gt;Using a . in the include path allows for relative includes as it means the current directory&lt;br /&gt;&lt;br /&gt;18 &gt; magic_quotes_gpc&lt;br /&gt;&lt;br /&gt;Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When magic_quotes are on, all ' (single-quote), " (double quote), \ (backslash) and NUL's are escaped with a backslash automatically.&lt;br /&gt;&lt;br /&gt;19 &gt; magic_quotes_runtime&lt;br /&gt;&lt;br /&gt;If magic_quotes_runtime is enabled, most functions that return data from any sort of external source including databases and text files will have quotes escaped with a backslash. If magic_quotes_sybase is also on, a single-quote is escaped with a single-quote instead of a backslash.&lt;br /&gt;&lt;br /&gt;20 &gt; magic_quotes_sybase&lt;br /&gt;&lt;br /&gt;If the magic_quotes_sybase directive is also ON it will completely override magic_quotes_gpc. Having both directives enabled means only single quotes are escaped as ''. Double quotes, backslashes and NUL's will remain untouched and unescaped&lt;br /&gt;&lt;br /&gt;21 &gt; max_execution_time&lt;br /&gt;&lt;br /&gt;This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser. This helps prevent poorly written scripts from tying up the server. The default setting is 30.&lt;br /&gt;&lt;br /&gt;The maximum execution time is not affected by system calls, stream operations etc. Please see the set_time_limit() function for more details.&lt;br /&gt;&lt;br /&gt;You can not change this setting with ini_set() when running in safe mode. The only workaround is to turn off safe mode or by changing the time limit in the php.ini.&lt;br /&gt;&lt;br /&gt;Your webserver can have other timeouts. E.g. Apache has Timeout directive, IIS has CGI timeout function, both default to 300 seconds. See the webserver documentation for meaning of it.&lt;br /&gt;&lt;br /&gt;22 &gt; max_input_time&lt;br /&gt;&lt;br /&gt;This sets the maximum time in seconds a script is allowed to receive input data, like POST, GET and file uploads&lt;br /&gt;&lt;br /&gt;23 &gt; open_basedir&lt;br /&gt;&lt;br /&gt;Limit the files that can be opened by PHP to the specified directory-tree, including the file itself. This directive is NOT affected by whether Safe Mode is turned On or Off.&lt;br /&gt;&lt;br /&gt;When a script tries to open a file with, for example, fopen() or gzopen(), the location of the file is checked. When the file is outside the specified directory-tree, PHP will refuse to open it. All symbolic links are resolved, so it's not possible to avoid this restriction with a symlink.&lt;br /&gt;&lt;br /&gt;The special value . indicates that the working directory of the script will be used as the base-directory. This is, however, a little dangerous as the working directory of the script can easily be changed with chdir().&lt;br /&gt;&lt;br /&gt;In httpd.conf, open_basedir can be turned off (e.g. for some virtual hosts) the same way as any other configuration directive with "php_admin_value open_basedir none".&lt;br /&gt;&lt;br /&gt;Under Windows, separate the directories with a semicolon. On all other systems, separate the directories with a colon. As an Apache module, open_basedir paths from parent directories are now automatically inherited.&lt;br /&gt;&lt;br /&gt;The restriction specified with open_basedir is actually a prefix, not a directory name. This means that "open_basedir = /dir/incl" also allows access to "/dir/include" and "/dir/incls" if they exist. When you want to restrict access to only the specified directory, end with a slash. For example: "open_basedir = /dir/incl/"&lt;br /&gt;&lt;br /&gt;Note: Support for multiple directories was added in 3.0.7.&lt;br /&gt;&lt;br /&gt;The default is to allow all files to be opened.&lt;br /&gt;&lt;br /&gt;24 &gt; output_buffering&lt;br /&gt;&lt;br /&gt;Normally, session, cookie or HTTP header data in a PHP script must be sent before any output is generated by the script. If this is not possible in your application, you can enable what PHP calls output buffering, with the output_buffering variable.&lt;br /&gt;&lt;br /&gt;With output buffering on, PHP stores the output of your script in a special memory buffer and sends it only when explicitly told to do so. This allows you to send special HTTP headers and cookie data even in the middle or at the end of your script; however, it can degrade performance marginally.&lt;br /&gt;&lt;br /&gt;output_buffering = Off&lt;br /&gt;&lt;br /&gt;You can also pass the output_buffering variable a number indicating the size of the buffer, for example:&lt;br /&gt;&lt;br /&gt;output_buffering = 2048&lt;br /&gt;&lt;br /&gt;25 &gt; output_handler&lt;br /&gt;&lt;br /&gt;You can redirect all of the output of your scripts to a function. For example, if you set output_handler to mb_output_handler(), character encoding will be transparently converted to the specified encoding. Setting any output handler automatically turns on output buffering.&lt;br /&gt;&lt;br /&gt;Note: You cannot use both mb_output_handler() with ob_iconv_handler() and you cannot use both ob_gzhandler() and zlib.output_compression.&lt;br /&gt;&lt;br /&gt;Note: Only built-in functions can be used with this directive. For user defined functions, use ob_start().&lt;br /&gt;&lt;br /&gt;26 &gt; post_max_size&lt;br /&gt;&lt;br /&gt;Also related to form submission is the post_max_size variable, which controls the maximum amount of data that PHP will accept in a single form submission with the POST method. It's unlikely you'll ever need to increase this from the default value of 8 MB; instead, you should probably reduce it to a more realistic figure. However, if you're planning on using the file upload features of PHP, keep this value greater than the value of upload_max_filesize.&lt;br /&gt;&lt;br /&gt;post_max_size = 8M&lt;br /&gt;&lt;br /&gt;27 &gt; precision&lt;br /&gt;&lt;br /&gt;The number of significant digits displayed in floating point numbers.&lt;br /&gt;&lt;br /&gt;28 &gt; register_argc_argv&lt;br /&gt;&lt;br /&gt;Tells PHP whether to declare the argv &amp; argc variables (that would contain the GET information).&lt;br /&gt;&lt;br /&gt;29 &gt; register_globals&lt;br /&gt;&lt;br /&gt;New to PHP 4.1.0, the register_globals setting controls how you access form, server, and environment variables. By default this variable is set to Off, requiring you to use special arrays to access these variables. Those familiar with older versions of PHP will be used to an environment in which the register_globals variable is effectively On; with this setting, you can access form, server and environment variables simply by name&lt;br /&gt;&lt;br /&gt;Note: This change occurred in PHP 4.1.0 because when register_globals is set to On, PHP scripts are more vulnerable to attacks. Some older PHP applications will require this setting to be on, but it is safer to write new scripts with the assumption that register_globals will be set to Off&lt;br /&gt;&lt;br /&gt;To retrieve the value of &lt;input name="formVariable"&gt; from a form submitted with the POST method, use the following syntax&lt;br /&gt;&lt;br /&gt;PHP code when register_globals = On&lt;br /&gt;&lt;br /&gt;$myNewVariable = $formVariable&lt;br /&gt;&lt;br /&gt;PHP code when register_globals = Off&lt;br /&gt;&lt;br /&gt;$myNewVariable = $_POST['formVariable'];&lt;br /&gt;&lt;br /&gt;30 &gt; report_memleaks&lt;br /&gt;&lt;br /&gt;report_memleaks is one of the few directives in the php.ini file that I've never had reason to change. Setting this to "Off" will prevent memory leak errors being displayed. However, memory leaks are only displayed when you compile PHP with "--enable-debug" (which allows you to perform some advanced tasks (eg backtraces). This would never affect a production environment, and rarely a development one.&lt;br /&gt;Values: On (default), Off&lt;br /&gt;&lt;br /&gt;31 &gt; safe_mode&lt;br /&gt;&lt;br /&gt;The PHP safe mode is an attempt to solve the shared-server security problem. It is architecturally incorrect to try to solve this problem at the PHP level, but since the alternatives at the web server and OS levels aren't very realistic, many people, especially ISP's, use safe mode for now&lt;br /&gt;&lt;br /&gt;Whether to enable PHP's safe mode. Read the Security chapter for more information.&lt;br /&gt;&lt;br /&gt;32 &gt; safe_mode_exec_dir&lt;br /&gt;&lt;br /&gt;If PHP is used in safe mode, system() and the other functions executing system programs refuse to start programs that are not in this directory. You have to use / as directory separator on all environments including Windows.&lt;br /&gt;&lt;br /&gt;One Safe Mode trouble maker is safe_mode_exec_dir. By default safe_mode_exec_dir is empty, so external programs like `convert' cannot be started.&lt;br /&gt;&lt;br /&gt;In my testing, on one (Debian) server I was able to use Image Magick's `convert' command (but not for converting gallery images) by using the following steps:&lt;br /&gt;&lt;br /&gt;Create a link to `convert' in /usr/local/bin/ with&lt;br /&gt;&lt;br /&gt;ln -s /usr/bin/convert /usr/local/bin/&lt;br /&gt;Enable starting programs in that directory with a line in php.ini&lt;br /&gt;&lt;br /&gt;safe_mode_exec_dir = "/usr/local/bin"&lt;br /&gt;Restart the web server.&lt;br /&gt;Make Qdig aware of the new location with&lt;br /&gt;&lt;br /&gt;$convert_cmd = '/usr/bin/convert';@@&lt;br /&gt;This also works:&lt;br /&gt;&lt;br /&gt;Enable starting /usr/bin programs in php.ini with&lt;br /&gt;&lt;br /&gt;safe_mode_exec_dir = "/usr/local/bin"&lt;br /&gt;Restart the web server.&lt;br /&gt;&lt;br /&gt;so does this:&lt;br /&gt;&lt;br /&gt;Create a directory for PHP-safe binaries&lt;br /&gt;&lt;br /&gt;mkdir /usr/local/php_safe_bin&lt;br /&gt;Create a link to `convert' in /usr/local/bin/ with&lt;br /&gt;&lt;br /&gt;ln -s /usr/bin/convert /usr/local/php_safe_bin/&lt;br /&gt;Enable starting programs in that directory with a line in php.ini&lt;br /&gt;&lt;br /&gt;safe_mode_exec_dir = "/usr/local/php_safe_bin"&lt;br /&gt;Restart the web server.&lt;br /&gt;Make Qdig aware of the new location with&lt;br /&gt;&lt;br /&gt;$convert_cmd = '/usr/php_safe_bin/convert';@@&lt;br /&gt;The reason for creating a link rather than copying the file is because otherwise system updates will not replace the copy you are using.&lt;br /&gt;&lt;br /&gt;For review, the three pertinent settings in php.ini are&lt;br /&gt;&lt;br /&gt;safe_mode = On&lt;br /&gt;safe_mode_gid = On&lt;br /&gt;safe_mode_exec_dir = "/path/to/convert/executable"&lt;br /&gt;where only the top two lines are necessary if you are using GD to convert images.&lt;br /&gt;&lt;br /&gt;33 &gt; safe_mode_gid&lt;br /&gt;&lt;br /&gt;By default, Safe Mode does a UID compare check when opening files. If you want to relax this to a GID compare, then turn on safe_mode_gid. Whether to use UID (FALSE) or GID (TRUE) checking upon file access&lt;br /&gt;&lt;br /&gt;To avoid the server-can't-access-files-it-has-written error, the server administrator can enable PHP's safe_mode_gid by adding this line&lt;br /&gt;&lt;br /&gt;safe_mode_gid = On&lt;br /&gt;to the the server's PHP configuration file (php.ini) and restarting the web server daemon.&lt;br /&gt;&lt;br /&gt;Your web hosting provider should be willing to enable safe_mode_gid (manual page) for you because the security benefit probably exceeds the security risk. This is because&lt;br /&gt;&lt;br /&gt;· files written in ordinary (non-SetGID) directories still will be blocked, and&lt;br /&gt;&lt;br /&gt;· leaving it disabled encourages users to use world-writable directories and files.&lt;br /&gt;&lt;br /&gt;Enabling safe_mod_gid, combined with using (temporarily) "2777" (versus "777") permissions for the qdig-files/ directory during setup, will cause your Qdig installation to Just Work as long PHP's GD extension is loaded and available for image conversion&lt;br /&gt;&lt;br /&gt;34 &gt; safe_mode_include_dir&lt;br /&gt;&lt;br /&gt;UID/GID checks are bypassed when including files from this directory and its subdirectories (directory must also be in include_path or full path must including).&lt;br /&gt;&lt;br /&gt;As of PHP 4.2.0, this directive can take a colon (semi-colon on Windows) separated path in a fashion similar to the include_path directive, rather than just a single directory.&lt;br /&gt;&lt;br /&gt;The restriction specified is actually a prefix, not a directory name. This means that "safe_mode_include_dir = /dir/incl" also allows access to "/dir/include" and "/dir/incls" if they exist. When you want to restrict access to only the specified directory, end with a slash. For example: "safe_mode_include_dir = /dir/incl/"&lt;br /&gt;&lt;br /&gt;If the value of this directive is empty, no files with different UID/GID can be included in PHP 4.2.3 and as of PHP 4.3.3. In earlier versions, all files could be included.&lt;br /&gt;&lt;br /&gt;35 &gt; sendmail_from&lt;br /&gt;&lt;br /&gt;In either case, you'll want to set the sendmail_from option to your email address, or whichever address you'd like to appear as the default 'from' address for emails sent from PHP scripts.&lt;br /&gt;&lt;br /&gt;Here's how the section might look on a typical Windows server, or on a Linux server without sendmail:&lt;br /&gt;&lt;br /&gt;[mail function]&lt;br /&gt;; Setup for Windows systems&lt;br /&gt;SMTP = smtp.my.isp.net&lt;br /&gt;sendmail_from = me@myserver.com&lt;br /&gt;&lt;br /&gt;And here's how it might look on a Linux server with sendmail:&lt;br /&gt;&lt;br /&gt;[mail function]&lt;br /&gt;; Setup for Linux systems&lt;br /&gt;sendmail_path = /usr/sbin/sendmail -t&lt;br /&gt;sendmail_from = me@myserver.com&lt;br /&gt;&lt;br /&gt;36 &gt; sendmail_path&lt;br /&gt;&lt;br /&gt;If you're going to use PHP's mail() function, there are three variables you may need to set. The SMTP and sendmail_from variables (on Windows) or the sendmail_path variable (on UNIX) are used when sending e-mail messages through PHP's mail() function. On Windows, these variables set the SMTP server to be used and the From: address to display in e-mail messages; on UNIX, the sendmail_path variable sets the path of the MTA (mail transfer agent) for mail delivery:&lt;br /&gt;&lt;br /&gt;SMTP = myserver.localnet.com&lt;br /&gt;sendmail_from = me@localhost.com&lt;br /&gt;sendmail_path = /usr/sbin/sendmail&lt;br /&gt;37 &gt; short_open_tag&lt;br /&gt;&lt;br /&gt;Tells whether the short form (&lt;? ?&gt;) of PHP's open tag should be allowed. If you want to use PHP in combination with XML, you can disable this option in order to use &lt;?xml ?&gt; inline. Otherwise, you can print it with PHP, for example: &lt;?php echo '&lt;?xml version="1.0"'; ?&gt;. Also if disabled, you must use the long form of the PHP open tag (&lt;?php ?&gt;).&lt;br /&gt;&lt;br /&gt;Note: This directive also affects the shorthand &lt;?=, which is identical to &lt;? echo. Use of this shortcut requires short_open_tag to be on.38 &gt; SMTP&lt;br /&gt;&lt;br /&gt;If you're going to use PHP's mail() function, there are three variables you may need to set. The SMTP and sendmail_from variables (on Windows) or the sendmail_path variable (on UNIX) are used when sending e-mail messages through PHP's mail() function. On Windows, these variables set the SMTP server to be used and the From: address to display in e-mail messages; on UNIX, the sendmail_path variable sets the path of the MTA (mail transfer agent) for mail delivery:&lt;br /&gt;&lt;br /&gt;SMTP = myserver.localnet.com&lt;br /&gt;&lt;br /&gt;39 &gt; smtp_port&lt;br /&gt;&lt;br /&gt;Used under Windows only: Number of the port to connect to the server specified with the SMTP setting when sending mail with mail(); defaults to 25. Only available since PHP 4.3.0.&lt;br /&gt;&lt;br /&gt;40 &gt; track_errors&lt;br /&gt;&lt;br /&gt;If enabled, the last error message will always be present in the global variable $php_errormsg&lt;br /&gt;&lt;br /&gt;In addition, if you set the php.ini setting track_errors = On, the last error message encountered will be stored in $php_errormsg. This is true regardless of whether you have used the @ syntax for error suppression&lt;br /&gt;&lt;br /&gt;41 &gt; unserialize_callback_func&lt;br /&gt;&lt;br /&gt;The unserialize_callback_func directive is one of the more advanced settings in the php.ini file, and the chances are very good that if you change this before you are familiar with serialization, you will cause massive problems on your own server. I'd leave this well alone!&lt;br /&gt;&lt;br /&gt;42 &gt; upload_max_filesize&lt;br /&gt;&lt;br /&gt;The maximum size of an uploaded file. When an integer is used, the value is measured in bytes. You may also use shorthand notation as described in this FAQ.&lt;br /&gt;&lt;br /&gt;43 &gt; upload_tmp_dir&lt;br /&gt;&lt;br /&gt;This setting controls the temporary location of files uploaded with an HTML form. If you don't specify a path for this setting, uploaded files will be temporarily stored in a world-readable location on the server. To protect ease of manipulation and the confidentiality of such files, you should create a directory in your account and specify the new path in your php.ini file:&lt;br /&gt;&lt;br /&gt;upload_tmp_dir = /hwxx/daxx/uwnetid/tmp&lt;br /&gt;&lt;br /&gt;Replace /hwxx/daxx/uwnetid/ with the path to your Web directory. Make sure that you have a directory called tmp in the root of your Web directory (typically public_html) and make sure it is read and writable by you only.&lt;br /&gt;&lt;br /&gt;44 &gt; user_dir&lt;br /&gt;&lt;br /&gt;The base name of the directory used on a user's home directory for PHP files, for example public_html.&lt;br /&gt;&lt;br /&gt;45 &gt; variables_order&lt;br /&gt;&lt;br /&gt;Set the order of the EGPCS (Environment, GET, POST, Cookie, Server) variable parsing. The default setting of this directive is "EGPCS". Setting this to "GP", for example, will cause PHP to completely ignore environment variables, cookies and server variables, and to overwrite any GET method variables with POST-method variables of the same name&lt;br /&gt;&lt;br /&gt;46 &gt; y2k_compliance&lt;br /&gt;&lt;br /&gt;The y2k_compliance directive instructs PHP to use 4-digit years. This setting can apparently cause problems with some browsers (Navigator 3, and possibly others - any that can't understand 4-digit years) when set to On. However, not having it On will possibly cause problems with modern browsers, which can have problems with 2-digit years. I leave this on.&lt;br /&gt;&lt;br /&gt;Values: On (default), Off&lt;br /&gt;&lt;br /&gt;47 &gt; zend.ze1_compatibility_mode&lt;br /&gt;&lt;br /&gt;Enable compatibility mode with Zend Engine 1 (PHP 4). It affects the cloning, casting, and comparing of objects&lt;br /&gt;&lt;br /&gt;SESSION&lt;br /&gt;&lt;br /&gt;48 &gt; Session Support&lt;br /&gt;&lt;br /&gt;Session support in PHP consists of a way to preserve certain data across subsequent accesses. This enables you to build more customized applications and increase the appeal of your web site.&lt;br /&gt;&lt;br /&gt;A visitor accessing your web site is assigned an unique id, the so-called session id. This is either stored in a cookie on the user side or is propagated in the URL.&lt;br /&gt;&lt;br /&gt;The session support allows you to register arbitrary numbers of variables to be preserved across requests. When a visitor accesses your site, PHP will check automatically (if session.auto_start is set to 1) or on your request (explicitly through session_start() or implicitly through session_register()) whether a specific session id has been sent with the request. If this is the case, the prior saved environment is recreated.&lt;br /&gt;&lt;br /&gt;49 &gt; session.name string&lt;br /&gt;&lt;br /&gt;session.name specifies the name of the session which is used as cookie name. It should only contain alphanumeric characters. Defaults to PHPSESSID. See also session_name().&lt;br /&gt;&lt;br /&gt;50 &gt; session.auto_start boolean&lt;br /&gt;&lt;br /&gt;session.auto_start specifies whether the session module starts a session automatically on request startup. Defaults to 0 (disabled).&lt;br /&gt;&lt;br /&gt;51 &gt; session.serialize_handler string&lt;br /&gt;&lt;br /&gt;session.serialize_handler defines the name of the handler which is used to serialize/deserialize data. Currently, a PHP internal format (name php) and WDDX is supported (name wddx). WDDX is only available, if PHP is compiled with WDDX support. Defaults to php.&lt;br /&gt;&lt;br /&gt;52 &gt; session.gc_probability integer&lt;br /&gt;&lt;br /&gt;session.gc_probability in conjunction with session.gc_divisor is used to manage probability that the gc (garbage collection) routine is started. Defaults to 1. See session.gc_divisor for details.&lt;br /&gt;&lt;br /&gt;53 &gt; session.gc_divisor integer&lt;br /&gt;&lt;br /&gt;session.gc_divisor coupled with session.gc_probability defines the probability that the gc (garbage collection) process is started on every session initialization. The probability is calculated by using gc_probability/gc_divisor, e.g. 1/100 means there is a 1% chance that the GC process starts on each request. session.gc_divisor defaults to 100.&lt;br /&gt;&lt;br /&gt;54 &gt; session.gc_maxlifetime integer&lt;br /&gt;&lt;br /&gt;session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up.&lt;br /&gt;&lt;br /&gt;Note: If you are using the default file-based session handler, your filesystem must keep track of access times (atime). Windows FAT does not so you will have to come up with another way to handle garbage collecting your session if you are stuck with a FAT filesystem or any other fs where atime tracking is not available. Since PHP 4.2.3 it has used mtime (modified date) instead of atime. So, you won't have problems with filesystems where atime tracking is not available.&lt;br /&gt;&lt;br /&gt;55 &gt; session.referer_check string&lt;br /&gt;&lt;br /&gt;session.referer_check contains the substring you want to check each HTTP Referer for. If the Referer was sent by the client and the substring was not found, the embedded session id will be marked as invalid. Defaults to the empty string.&lt;br /&gt;&lt;br /&gt;56 &gt; session.entropy_file string&lt;br /&gt;&lt;br /&gt;session.entropy_file gives a path to an external resource (file) which will be used as an additional entropy source in the session id creation process. Examples are /dev/random or /dev/urandom which are available on many Unix systems.&lt;br /&gt;&lt;br /&gt;57 &gt; session.entropy_length integer&lt;br /&gt;&lt;br /&gt;session.entropy_length specifies the number of bytes which will be read from the file specified above. Defaults to 0 (disabled).&lt;br /&gt;&lt;br /&gt;58 &gt; session.use_cookies boolean&lt;br /&gt;&lt;br /&gt;session.use_cookies specifies whether the module will use cookies to store the session id on the client side. Defaults to 1 (enabled).&lt;br /&gt;&lt;br /&gt;59 &gt; session.use_only_cookies boolean&lt;br /&gt;&lt;br /&gt;session.use_only_cookies specifies whether the module will only use cookies to store the session id on the client side. Defaults to 0 (disabled, for backward compatibility). Enabling this setting prevents attacks involved passing session ids in URLs. This setting was added in PHP 4.3.0.&lt;br /&gt;&lt;br /&gt;60 &gt; session.cookie_lifetime integer&lt;br /&gt;&lt;br /&gt;session.cookie_lifetime specifies the lifetime of the cookie in seconds which is sent to the browser. The value 0 means "until the browser is closed." Defaults to 0. See also session_get_cookie_params() and session_set_cookie_params().&lt;br /&gt;&lt;br /&gt;61 &gt; session.cookie_path string&lt;br /&gt;&lt;br /&gt;session.cookie_path specifies path to set in session_cookie. Defaults to /. See also session_get_cookie_params() and session_set_cookie_params().&lt;br /&gt;&lt;br /&gt;62 &gt; session.cookie_domain string&lt;br /&gt;&lt;br /&gt;session.cookie_domain specifies the domain to set in session_cookie. Default is none at all. See also session_get_cookie_params() and session_set_cookie_params().&lt;br /&gt;&lt;br /&gt;63 &gt; session.cookie_secure boolean&lt;br /&gt;&lt;br /&gt;session.cookie_secure specifies whether cookies should only be sent over secure connections. Defaults to off. This setting was added in PHP 4.0.4. See also session_get_cookie_params() and session_set_cookie_params().&lt;br /&gt;&lt;br /&gt;64 &gt; session.cache_limiter string&lt;br /&gt;&lt;br /&gt;session.cache_limiter specifies cache control method to use for session pages (none/nocache/private/private_no_expire/public). Defaults to nocache. See also session_cache_limiter().&lt;br /&gt;&lt;br /&gt;65 &gt; session.cache_expire integer&lt;br /&gt;&lt;br /&gt;session.cache_expire specifies time-to-live for cached session pages in minutes, this has no effect for nocache limiter. Defaults to 180. See also session_cache_expire().&lt;br /&gt;&lt;br /&gt;66 &gt; session.use_trans_sid boolean&lt;br /&gt;&lt;br /&gt;session.use_trans_sid whether transparent sid support is enabled or not. Defaults to 0 (disabled).&lt;br /&gt;&lt;br /&gt;Note: For PHP 4.1.2 or less, it is enabled by compiling with --enable-trans-sid. From PHP 4.2.0, trans-sid feature is always compiled.&lt;br /&gt;&lt;br /&gt;URL based session management has additional security risks compared to cookie based session management. Users may send a URL that contains an active session ID to their friends by email or users may save a URL that contains a session ID to their bookmarks and access your site with the same session ID always, for example.&lt;br /&gt;&lt;br /&gt;67 &gt; session.bug_compat_42 boolean&lt;br /&gt;&lt;br /&gt;PHP versions 4.2.3 and lower have an undocumented feature/bug that allows you to initialize a session variable in the global scope, albeit register_globals is disabled. PHP 4.3.0 and later will warn you, if this feature is used, and if session.bug_compat_warn is also enabled. This feature/bug can be disabled by disabling this directive.&lt;br /&gt;&lt;br /&gt;68 &gt; session.bug_compat_warn boolean&lt;br /&gt;&lt;br /&gt;PHP versions 4.2.3 and lower have an undocumented feature/bug that allows you to initialize a session variable in the global scope, albeit register_globals is disabled. PHP 4.3.0 and later will warn you, if this feature is used by enabling both session.bug_compat_42 and session.bug_compat_warn.&lt;br /&gt;&lt;br /&gt;69 &gt; session.hash_function integer&lt;br /&gt;&lt;br /&gt;session.hash_function allows you to specify the hash algorithm used to generate the session IDs. '0' means MD5 (128 bits) and '1' means SHA-1 (160 bits).&lt;br /&gt;&lt;br /&gt;Note: This was introduced in PHP 5.&lt;br /&gt;&lt;br /&gt;70 &gt; session.hash_bits_per_character integer&lt;br /&gt;&lt;br /&gt;session.hash_bits_per_character allows you to define how many bits are stored in each character when converting the binary hash data to something readable. The possible values are '4' (0-9, a-f), '5' (0-9, a-v), and '6' (0-9, a-z, A-Z, "-", ",").&lt;br /&gt;&lt;br /&gt;Note: This was introduced in PHP 5.&lt;br /&gt;&lt;br /&gt;71 &gt; url_rewriter.tags string&lt;br /&gt;&lt;br /&gt;url_rewriter.tags specifies which HTML tags are rewritten to include session id if transparent sid support is enabled. Defaults to a=href,area=href,frame=src,input=src,form=fakeentry,fieldset=&lt;br /&gt;&lt;br /&gt;Note: If you want XHTML conformity, remove the form entry and use the &lt;fieldset&gt;tags around your form fields.&lt;br /&gt;&lt;br /&gt;You can add your comments and suggesions regarding this article.          &lt;br /&gt;&lt;br /&gt;Great Na? &lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Vijay Modi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8246459468616290334-760582753391785946?l=mysoftskill.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mysoftskill.blogspot.com/feeds/760582753391785946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/phpini-settings.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/760582753391785946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8246459468616290334/posts/default/760582753391785946'/><link rel='alternate' type='text/html' href='http://mysoftskill.blogspot.com/2009/11/phpini-settings.html' title='php.ini settings'/><author><name>Vijay Modi</name><uri>http://www.blogger.com/profile/11166253610538684035</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>
