Friday, March 5, 2010
Thursday, August 20, 2009
Wednesday, July 15, 2009
How to Add Mime types for a website in IIS
To add a MIME type in IIS webserver , open IIS using the command inetmgr , expand the websites option , and right click on the website for which you want to add the MIME type , click on the httpheaders tab , select MIME types and add the new MIME type and Extention .
Regards,
Prashant J
Regards,
Prashant J
Sunday, April 12, 2009
How to set Write/Read permissions on the folder of a website
To set Write/read permissions on the folder of a website right click on the folder on which you want to set the permissions , click properties , select the security tab , select the users to which you need to set write/read modify permissions , check the check box read and execute , write , modify and click ok .
Regards,
Prashant. J.
Saturday, April 11, 2009
How to restore a MSSQL 2005 database.
To restore MSSQL 2005 Database from a backup file say data.bak which you have backed up from a database , first place the backup file in the following location
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup .
Then login to the MSSQL management studio using windows authentication or SQL server authentication , Expand databases in the left pane , Right click on the database which you want to restore ==> tasks ==>Restore ==>database
Then select the "from device" option and browse the path where you have copied the database backup file data.bak which is C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\data.bak
Check the restore check box and click options . From the restore options select overwrite the existing database option and provide the correct path for the .mdf and .ldf files say C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\data.mdf and C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\data_log.ldf .
Click ok to restore the database and you will get a message that the restore of the database was completed successfully .
Regards,
Prashant .J.
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup .
Then login to the MSSQL management studio using windows authentication or SQL server authentication , Expand databases in the left pane , Right click on the database which you want to restore ==> tasks ==>Restore ==>database
Then select the "from device" option and browse the path where you have copied the database backup file data.bak which is C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\data.bak
Check the restore check box and click options . From the restore options select overwrite the existing database option and provide the correct path for the .mdf and .ldf files say C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\data.mdf and C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\data_log.ldf .
Click ok to restore the database and you will get a message that the restore of the database was completed successfully .
Regards,
Prashant .J.
Friday, March 13, 2009
How to bakup a MSSQL 2005 database.
Hello,
To backup a mssql 2005 database login to MSSQL management studio with windows authentication or sql server authentication . Expand the databases in the left pane , right click on the database whose backup you want to take ==> tasks ==> backup ==> the source is database and destination is backup to disk ==> click ok to backup the database.
Wednesday, March 11, 2009
Service unavaliable Message on a website.
To solve the problem restart the IIS
1) c:/> iisreset /restart
or you can even recycle the application pool to solve the issue .
Regards,
Prashant. J.
1) c:/> iisreset /restart
or you can even recycle the application pool to solve the issue .
Regards,
Prashant. J.
Subscribe to:
Posts (Atom)
