Friday, December 26, 2008

How to redirect our Custom Error Page

In IIS 6 Select Your web site--> Go to Custom Error Tab --> Select Error Code -->Edit Property --> Set Your Error Page
In IIS 7 Select Your Web site --> Feature View --> Error Page --> Select Error Code –->Edit –->Set your Custom Error Page

Friday, December 19, 2008

Custom Control or User Control

Most of the developer knows, how to implement the Custom Control or User Control an ASP.NET Page. we have well experience in using the directive tag.

if we need to use the Custom Control or User Control on numbers of pages, it is possible to register in web.config file. It is reduce the redundancy code and we don’t need to implement the directives.


the web.config section is
<-controls->
<-add src="~/Controls/FlashNews.ascx" tagprefix="skm" tagname=" FlashNews "->
<-controls->


Once we register the control here we can access the User Control on number of pages using following syntax

skm:flashnews id="cusFlash" runat="server" cssclass="small-tab"/

Monday, December 15, 2008

Integrate PHP application to Microsoft IIS server

1.Download file from here http://www.atksolutions.com/articles/php_ver5.2.3.zip
2.Install your file to here c:/PHP
3.Open IIS 7.0 Manager -> Default Website -> Properties -> Home Directory -> Configuration -> Add -> php5isapi.dll -> ok
4.Copy php.ini file and paste to c:/Windows
5.Reboot System
6.Now check PHP is working in IIS server