Monday, July 6, 2009
Run Asp. Net Webiste on local machine
Initial Requirements:
1) Install the Microsoft .NET framework version 2.0 (available as free download in the official site of Microsoft).
2) Your system should have Microsoft Visual Studio 2005 or higher version (you can get free download of Visual Studio express edition from Microsoft’s site).
3) Do remember that you need Microsoft .NET SDK v2.0 for running the website in Visual studio (You can get this as free download from Microsoft’s site). Installing IIS:
1) Place the Windows XP Professional CD-ROM into your CD - ROM Drive.
2) Open Control Panel and select ‘Add/Remove Windows Components’ from the ‘Add/Remove programs’
3) Place a tick in the check box for 'Internet Information Services (IIS)' leaving all the default installation settings intact.
4) Once the installation is complete you can remove the XP CD from the drive.
5) In order to check the proper installation of IIS, open internet explorer and type 'http://localhost' in the address bar. On hitting enter, an ‘iishelp’ page will open.
6) If the page doesn’t open then there is a problem with the services.
7) To start the services, Run à Type ‘services.msc’.
8) In the services, right click ‘IIS Admin’ and select properties. In the properties, select ‘Automatic’ for the ‘Startup Type’. Click ‘apply’ and then ‘start’ (If ‘start’ is not highlighted don’t worry – it means the service has started)
9) Again in the services, right click ‘World Wide Web Publishing’ and select properties. In the properties, select ‘Automatic’ for the ‘Startup Type’. Click ‘apply’ and then click ‘start’.
10)Now type 'http://localhost' in internet explorer and check for the ‘iishelp’ page. If it opens then the IIS is working fine. Configuring IIS for the website: 1) Open command prompt (Run à cmd)2) Change the directory to
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
3) Type ‘iisreset /stop’. This will stop IIS. (Make sure Visual Studio is not open while keying in this command)
4) Now type ‘aspnet_regiis -i’. Wait for the installation to complete.
5) Now type ‘aspnet_regiis -c’.
6) Finally type ‘iisreset /start’. This will start the IIS.
7) If you find any trouble in starting the IIS then make sure that the ‘IIS Admin’ and ‘World Wide Web Publishing’ services are running correctly in ‘services.msc’.8) Now open IIS. Type ‘inetmgr’ in Run.
9) Expand ‘websites’. Right click ‘Default Web Site’ and select browse. You should be able to see the ‘iishelp’ page.
10)Now copy your website(which you developed using Visual Studio) folder into the path C:\Inetpub\wwwroot
11)Now right click the ‘websites’ folder in IIS and select ‘Refresh’. Now you should be able to see your website folder under ‘Default Web Site’.
12)Now we need to add the ‘virtual directory’. To add a new ‘virtual directory’ right click on 'Default Web Site' and select 'New', followed by 'Virtual Directory', from the drop down list.
13)Next you will see the 'Virtual Directory Creation Wizard' from the first screen click the 'next' button. 14)You will then be asked to type in an 'Alias' by which you will access the virtual directory from your web browser.
15)Next you will see a 'Browse...' button, click on this to select the directory your web site pages are in on your computer(The website should be in the path C:\Inetpub\wwwroot ), after which click on the 'next' button to continue.
16)On the final part of the wizard you will see a series of boxes, if you are not worried about security then select them all, if you are and want to run ASP scripts then check the first two, followed by the 'next' button.
17)Once the virtual directory is created you can view the web pages in the folder by typing 'http://localhost/aliasName' (where 'alias Name' is, place the alias you called the virtual directory) into the address bar of your web browser.
Edit Defualt path to save Email in Outlook 2003
Chanage Default location in Outlook 2003 for Saving mail
This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, see Description of the Microsoft Windows Registry.
This article discusses how to configure the default folder that is used by Outlook 2003 when you save e-mail messages and attachments.
By default, when you use the Save As command to save e-mail messages and attachments in Outlook 2003, these items are saved in your My Documents folder. The path where e-mail messages and attachments are saved in Outlook 2003 by default isdrive:\Documents and Settings\user name\My Documents, where drive is the drive where Microsoft Windows is installed, and where user name is your user name.
You can change the location where e-mail messages and attachments are saved by adding the following registry value:
HKEY_CURRENT USER\Software\Microsoft\Office\11.0\Outlook\Options\DefaultPath
To do this, do the following.
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
1. Click Start, and then click Run.
2. In the Open box, type regedit, and then press ENTER.
3. In Registry Editor, locate the following subkey in the registry: HKEY_CURRENT USER\Software\Microsoft\Office\11.0\Outlook\Options
4. On the Edit menu, point to New, and then click String Value.
5. Type DefaultPath, and then press ENTER.
6. Double-click the DefaultPath value.
7. In the Edit String dialog box, in the Value data box, type the path, including the drive letter, to the folder that you want to use for your Outlook saved items, and then click OK.
8. Exit Registry Editor.
Automatic covert folder in rar file
Convert folder in rar file automatic
Create rar.bat file
with this text
@echo off C:\"Program Files"\WinRAR\winRAR a -u -r -Eh d:\new folder.rar d:\Software\*.*
and shedule the tast for automatic run this file
1. click on start
2.click on control panel
3.now go on sheduleTask
4. configure your task.
Automatic shut down computer - pc
Create shut.bat file with this text
" Shutdown /s /f /t 00" and shedule this file for automatic run
1. click on start
2.click on control panel
3.now go on sheduleTask
4. configure your task.