Friday, 30 March 2012

Changing ASP execution time-- IIS

Some tiems you need to cheng the asp script execution time, especially in the case of asp uploads

steps to follow

1. Open IIS

2. Navigate to

IIS-->websites-->domainname.com-->properties( right click)-->Home directory-->configuration (in the bottom half of home directory)-->options (second tab) // here you can find the asp execition time (usually one) change it

 /*!!!! DONT RESTART IIS !!!*/

IIS Commands

Start IIS from command prompt

iisreset /start

Stop IIS from command prompt

iisreset /stop

Authentication Methods in IIS

Intoduction
In IIS you can setup various authentication methods for entire sites or virtual directories. These authentication methods determine who can access the Web pages in the site/virtual directory. The three Authentication methods available are:

1. Anonymous Access - This authentication method requires NO username or password to access the site. Anyone can just type in the URL and access the site. This is the default access method for IIS sites/virtual directories and is the authentication mode for 99.9999% of the World Wide Web.

2. Basic Authentication - The authentication method requires you to type in a valid NT login and password to gain access to the system (the NT login must be a valid NT login for the NT domain that the Web server is on). Where Basis Authentication is enabled you will get a popup window asking for the username and password when trying to first visit a resource in that protected site/virtual directory. After you enter the required information the username and password will be transmitted over the network WITHOUT any encryption. This will enable anyone trying to compromise your site examine passwords during the authentication process.

3. Windows NT Challenge/Response (referred to as Integrated Windows Authentication in IIS 5) - This is supposedly the most secure form of Authentication in IIS. When you login, NT validates your login and ONLY the username is transmitted over the network. No password is transmitted. So under no circumstances can your password be compromised. Note that this method will NOT work with Netscape!.

Wednesday, 28 March 2012

How to Reduce the SQL Database Size


Please see the Following steps for Reduce the MS SQL Database size

    1)    Don’t try to truncate any table
    2)    select DATABASE-> right click ->Tasks->Shrink->Database
    3)    select DATABASE-> right click ->Tasks->Shrink->files
    4)    select DATABASE-> right click ->Tasks-> take offline
    5)    select DATABASE-> right click ->Tasks-> detach
    6)    delete or rename log file

   Go to your Database directory 
   ~\Program Files (x86)\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\

   Delete or rename ” DatabaseName. LDF” file

    7)    Click Database -> Attach




Monday, 26 March 2012

How can I back up IIS settings?

There are a number of ways to do this. The properties and values set in the Internet Information Services Manager console (the IIS snap-in) are stored in the Metabase.bin file located at C:\winnt\system32\inetsrv by default. In IIS 5.0, you can back up the metabase from inside the IIS snap-in. To do this, select the computer icon and right-click. Then select Backup/Restore configuration. You can then choose to back up your current metabase settings or restore a previous version. This same option is also available in MetaEdit 2.2.

When you save the metabase in this way, your backup is stored in the C:\winnt\system32\instrv\metaback folder as an .md0 file. The file will have the name you assigned when you made the backup, such as Pre-Lockdown.md0. If you create multiple backups with the same name, they will have incremental extensions such as Backup.md0, Backup.md1, and so forth.

In the event that your metabase is seriously corrupted, you may be unable to start IIS. In that case, you will not be able to do a restore from the IIS snap-in or metaedit. Should this occur, you can restore by replacing Metabase.bin with the most appropriate .md0 (.md1, etc.) metabase backup file from the metaback folder. Assuming that your backups are good, IIS will start right up.

There are two other means to make a backup of the metabase. You can simply copy Metabase.bin using xcopy, scopy, or any other copy routine. You should stop the Internet services first so that your metabase is up to date and not in use.

Finally, there are two scripts provided—metaback.vbs and metarest.vbs—which are located in Inetpub\IISSamples\sdk\admin (if you installed the IIS SDK on IIS 5.0) or in the IIS Resource Kit\Utility\ADSI Admin Scripts folder (if you installed the IIS 4.0 Resource Kit). These .vbs scripts use an ADSI command specifically provided to make metabase backups. 

USEFUL LINKS

Here you get all needed Redhat 9 and older rpms. You also get updates here.
http://fedoralegacy.org/download/fedoralegacy-mirrors.php

The Rocket Turtle page is essential for Plesk/Virtuozzo installed servers.
http://www.atomicorp.com/channels/

Latest MySQL, PHP, Apache packages ported for RHEL/CentOS.
http://www.jasonlitka.com/media/EL5/

To download phpMyFAQ and documents to install it:
http://www.phpmyfaq.de/download.php
http://www.phpmyfaq.de/dokumentation.2.0.en.php#2a 

Website Tools for Internet Query

asp.net page timeouts in Web application depends on


  1. The shutdowntimeout property for the Application pool being used (go through IIS).
  2. The Scripttimeout property for the application.
  3. The Connecttimeout property to the database
  4. The Commandtimeout property for the connection
  5. The Asynch timeout property for the Ajax ScriptManager on the page (if you are using AJAX).
  6. The HTTPRunTIme executionTimeOut property in the web.config file.

POWERFUL WORDS

This is a pretty powerful list we could all stand to live by!
The most destructive habit..............................Worry
The greatest Joy...........................................Giving
The greatest loss......................Loss of self-respect
The most satisfying work...................Helping others
The ugliest personality trait...................Selfishness
The most endangered species.....Dedicated leaders
Our greatest natural resource....................Our youth
The greatest "shot in the arm"...........Encouragement
The greatest problem to overcome......................Fear
The most effective sleeping pill.........Peace of mind
The most crippling failure disease................Excuses
The most powerful force in life..........................Love
The most dangerous pariah......................A gossiper
The world's most incredible computer.......The brain
The worst thing to be without......................... Hope
The deadliest weapon.............................The tongue
The two most power-filled words................."I Can"
The greatest asset..........................................Faith
The most worthless emotion......................Self-pity
The most beautiful attire................................SMILE!
The most prized possession....................... Integrity
The most contagious spirit....................Enthusiasm 

Thursday, 22 March 2012

Windows key board shortcuts

Start + M: Minimizes all open windows
Start + Shift + M: Maximizes All Windows
Start + E: Runs Windows Explorer
Start + R: Open the RUN Dialog Box
Start + F: Open the Search Results Dialog box
Start + CTRL + F: Opens the Search Results-Computer dialog Box (if the computer is connected to a network)
Start + Pause (Break): Opens the System Properties Dialog Box
Windows System Key Combinations:
F1: Help
CTRL + ESC: Open Start menu
ALT + TAB: Switch between open programs
ALT + F4: Quit program
Mouse Click/Keyboard Modifier Combinations for Shell Objects:
SHIFT + right click: Displays a shortcut menu containing alternative commands
SHIFT + double click: Runs the alternate default command (the second item on the menu)
ALT + double click: Displays properties
SHIFT + DELETE: Deletes an item immediately without placing it in the Recycle Bin
General Keyboard-Only Commands:
F1: Starts Windows Help
F10: Activates menu bar options
SHIFT + F10: Opens a shortcut menu for the selected item (this is the same as right-clicking an object)
ALT + DOWN ARROW: Opens a drop-down list box
SHIFT: Press and hold down the SHIFT key while you insert a CD-ROM to bypass the automatic-run feature
ALT + SPACE: Displays the main window’s System menu (from the System menu, you can restore, move, resize, minimize, maximize, or close the window)
ALT +- (ALT + hyphen): Displays the Multiple Document Interface (MDI)child window’s System menu (from the MDI child window’s System menu, you can restore, move, resize, minimize, maximize, or close the child window)
CTRL + TAB: Switch to the next child window of a Multiple Document Interface (MDI) program
CTRL + F4: Closes the current Multiple Document Interface (MDI) window
ALT + F6: Switch between multiple windows in the same program (forexample, when the Notepad Find dialog box is displayed
ALT + F6: switches between the Find dialog box and the main Notepad window)
General Folder/Shortcut Control:
F4: Selects the Go To A Different Folder box and moves down the entries in the box (if the toolbar is active in Windows Explorer)
F5: Refreshes the current window.
F6: Moves among panes in Windows Explorer
CTRL + G: Opens the Go To Folder tool (in Windows 95 Windows Explorer only)
SHIFT + click + Close button: For folders, close the current folder plus all parent folders
Windows Explorer Tree Control:
Numeric Keypad *: Expands everything under the current selection
Numeric Keypad +: Expands the current selection
Numeric Keypad -: Collapses the current selection.
RIGHT ARROW: Expands the current selection if it is not expanded, otherwise goes to the first child
LEFT ARROW: Collapses the current selection if it is expanded, otherwise goes to the parent
Accessibility Shortcuts:
Press SHIFT five times: Toggles StickyKeys on and off
Press down and hold the right SHIFT key for eight seconds: Toggles FilterKeys on and off
Press down and hold the NUM LOCK key for five seconds: Toggles ToggleKeys on and off
Left ALT + left SHIFT+NUM LOCK: Toggles MouseKeys on and off
Left ALT + left SHIFT+PRINT SCREEN: Toggles high contrast on and off
Microsoft Natural Keyboard Keys:
Windows Logo: Start menu
Windows Logo + R: Run dialog box
Windows Logo + M: Minimize all
SHIFT + Windows Logo+M: Undo minimize all
Windows Logo + F1: Help
Windows Logo + E: Windows Explorer
Windows Logo + F: Find files or folders
Windows Logo + D: Minimizes all open windows and displays the desktop
CTRL + Windows Logo + F: Find computer
CTRL + Windows Logo + TAB: Moves focus from Start, to the Quick Launch
toolbar, to the system tray (use RIGHT ARROW or LEFT ARROW to move focus to items on the Quick Launch toolbar and the system tray)
Windows Logo + TAB: Cycle through taskbar buttons
Windows Logo + Break: System Properties dialog box
Application key: Displays a shortcut menu for the selected item
Microsoft Natural Keyboard with IntelliType Software Installed:
Windows Logo + L: Log off Windows
Windows Logo + P: Starts Print Manager
Windows Logo + C: Opens Control Panel
Windows Logo + V: Starts Clipboard
Windows Logo + K: Opens Keyboard Properties dialog box
Windows Logo + I: Opens Mouse Properties dialog box
Windows Logo + A: Starts Accessibility Options (if installed)
Windows Logo + SPACEBAR: Displays the list of Microsoft IntelliType shortcut keys
Windows Logo + S: Toggles CAPS LOCK on


Ref:-http://pcgeo.blogspot.in/2009/12/windows-key-board-shortcuts.html
        http://anasmohd.blog.com/2012/03/21/windows-key-board-shortcuts/