Posted by Ajay Matharu in Development, Featured Articles, PHP, WebApr 29th, 2009 | 1 Comment
Following are the steps to debug your PHP code using Zend Debugger on Windows machine via WAMP,
1. Download http://downloads.zend.com/pdt/server-debugger/ZendDebugger-5.2.12-cygwin_nt-i386.zip or check for new version at http://downloads.zend.com/pdt/server-debugger/
2. Locate ZendDebugger.so or ZendDebugger.dll file that is compiled for the
correct version of PHP (4.3.x, 4.4.x, 5.0.x, 5.1.x, 5.2.x) in the
appropriate directory.
Get debugger from folder called “5_2_x_comp” or you may receive some errors about a non-thread safe debugger if you take it from “5_2_x_nts_comp”
3....
Posted by Ajay Matharu in lifeApr 28th, 2009 | 1 Comment
Just got this mail about swine flu so just thought of sharing that with you all,
What is Swine Influenza?
Swine Influenza (swine flu) is a respiratory disease of pigs caused by type A influenza virus that regularly causes outbreaks of influenza in pigs. Swine flu viruses cause high levels of illness and low death rates in pigs. Swine influenza viruses may circulate among swine throughout the year, but most outbreaks occur during the late fall and winter months similar to outbreaks in humans. The classical swine flu virus (an influenza type A H1N1 virus) was first isolated from a pig in 1930.
How...
Posted by Ajay Matharu in Microsoft, SQLApr 23rd, 2009 | No Comments
Here is the script to rename an SQL column,
EXEC sp_rename
@objname = 'table_name.old_column_name',
@newname = 'new_column_name',
@objtype = 'COLUMN'
Posted by Ajay Matharu in .Net, ASP.Net, Visual StudioApr 21st, 2009 | 2 Comments
Source Error:
Line 1: <%@ Application Codebehind=”Global.asax.cs” Inherits=”Global’” %>
This error occurs when you create a new web application in asp.net using visual studio.net and without compiling the application, you try to browse a page in the application.
This occurs because of the Application DLL not having been formed.
asp.net will look in the Global Assembly Cache, and then in the application’s local bin directory. If it can’t find the class with the name you specified then it won’t load. When you do a codebehind file in Visual...
Posted by Ajay Matharu in Microsoft, Technical, TechnologyApr 20th, 2009 | No Comments
To add an unknown extension in IIS for your IIS to detect that extension perform the following steps.
To define a MIME type for a specific extension, follow these steps:
Open the IIS Microsoft Management Console (MMC), right-click the local computer name, and then click Properties.
Click MIME Types.
Click New.
In the Extension box, type the file name extension that you want (for example, .pdb).
In the MIME Type box, type application/octet-stream.
Apply the new settings. Note that you must restart the World Wide Web Publishing Service or wait for the worker process to recycle for the changes to...