IIS7 and above supports the Web Deploy feature, which simplifies website deployment.  Pleasant Solution packages will generally be Application Packages, which can be deployed within a website.  (We recommend Windows 2012 R2 Server with IIS 8, or Windows 2008 R2 Server with IIS 7.5)

Have Questions? Contact Us!

 

Initial Setup

 

Creating a website
Deploy the Application

Select the site to which this application will belong, and select Deploy -> Import Application

Browse to and select the .zip file containing the application and click Next, and Next again.

If this Application is the only content for this site, remove the path under "Application Path".  (This will generate a warning notice later, which you can accept)

If this Application links to a database, you will be prompted to enter the Data Source information here.

Fill out any remaining fields with the appropriate information for your deployment environment.

Database Configuration

If the site requires database configuration, it should prompt during setup for the database type and connection string.  Valid database types are usually "SQLite", "PostgreSQL", or "MSSQL", with connection strings such as "data source=C:\dbFiles\ABSite\AB.db", or "data source=dbsvr,1101;Initial Catalog=AB_Accounting;User ID=dbuser;Password=dbpass"

Final Configuration

If the Application uses a local database, you may have to adjust file permissions on the database file and on directories above it so that the application can access the file.  (Generally this involves adding the IIS_IUSRS group with write permissions on the database file.)

 

Notes

As with any upgrade, we recommend backing up the current files before proceeding.  (Especially the web.config, the settings from which you likely want to keep)

To simplify later upgrades, we recommend not putting local database files under the website Application directory itself.

If you have trouble generating an appropriate connection string, check http://www.connectionstrings.com/

 

If the project involves report generation, you may have to edit the Advanced settings of the Application Pool for the website to have "Load User Profile" set to True.

 

You may want to take advantage of the Application Initialization module.  This can be configured via this guide.