- Open IIS [Start > Run and type inetmgr].
- In IIS, expand the Server node and the Sites node, then select the Default Web Site.
- In the right-hand Actions pane, click the Import Application... link to launch the packaging wizard.
- Select the package that you created, MyApplication.zip, or any other package.
- In the Install an Application Package dialog, you will see the application and the database.
- On the Parameters page, enter a new application name if desired and enter a SQL connection string.
- Click Next and install package.
- The Summary page will provide a high-level overview of some items that were installed from the package. The Details tab will give a lot of detail of exactly what was added.
- Verify the Web Application app pool is set as 'DefaultAppPool'
- If running a 64 bit OS go to DefaultAppPool and set 'Enable 32-Bit Application' to TRUE.
- Go to App folder under \\inetpub\wwwroot\XXXXXXX and update folder permissions, assign DefaultAppPool with R/W/Modify permissions.
- In IIS restart the default web site, and browse your application.
FAQ.
1. Web site not running and throwing Error as -- Resource cannot be found.
Workaround -
- verify the permissions on application folder, defaultapppool must be assigned with R/W/M permissions.
- Check App_Data exists under Application folder and has R/W/M permissions.
- Check Media folder exists under Application folder and has R/W/M permissions.
No comments:
Post a Comment