Part VIII:  Deploying Applications Into Production

Part VIII:  Deploying Applications Into Production

Deploying Applications with the Deployment Wizard

Step 0: Introduction

Step 1: Select the Deployment Type

Step 2: Check Prerequisites Needed

Step 3: Enter Additional Information

Step 4: Finish Your Application

Publishing A Deployment Package

MSI Installer Deployment

RESTful API Applications

Creating RESTful Applications



Unauthorized error

Exception of type System.UriFormatException was thrown

Image load issue

Temp Directory in chart Handler configuration is not accessible

Unable to connect to database. Access to the database file is not allowed.

Unable to create BaseTable instance of Type

Third Party Application

Implementation Details

SharePoint Solution Package (WSP) Deployment

Locating application files on the SharePoint server

Changing Code Access Security (CAS)

Adding navigation to your application

Uninstalling (retracting) a SharePoint solution

Using Microsoft Access databases in SharePoint applications

SharePoint master page options

Publish To Network Or Cloud

Generating An Android Application

Android Application Installation Requirements



Android SDK Manager Package Installation

Generating an iOS Application

Generating and publishing your native iOS application.

Manually Deploying an Application to a Production Server

Changing Database Connection Settings

Adding Your Application to the Windows Registry

Starting Your Session State Service

Deploying to Microsoft AZURE

Deploying to Application Hosting Service Providers

Example: Deploying to 1 and 1

Example: Deploying to CrystalTech

Example: Deploying to DiscountASP.NET

Example: Deploying to

Disabling Event Viewer Logging

Individual Hosting Provider Notes

Setting the .NET Trust Level for your Application

Configuring the Microsoft .NET Framework

Checking the .NET Framework Version

Verifying the .NET Framework was Installed after Microsoft IIS

Setting the ASP.NET State Service to Run Automatically

Running Microsoft IIS 6.0 on Windows Server 2003

Microsoft IIS ASP.NET Script Map Configuration

ASP.NET Client Script File Configuration

Running Multiple Versions of Microsoft .NET Framework

Deployment Utility Programs



Creating a Virtual Directory for Your Application

When to Create a Virtual Directory

How to Create a Virtual Directory for Windows Server 2012

Deploying to Webroot

Using Mapped Network Drives as Virtual Directories

Configuring Database Authentication for Microsoft SQL Server Applications

Configuring Windows Authentication

Configuring Microsoft SQL Server Authentication

Configuring the Microsoft IIS Web Server

Configuring Microsoft IIS 7 for Microsoft Access Applications

Using Non-Standard Ports in Microsoft IIS

Application Pools in Microsoft IIS

Running Applications in 64-bit Mode

The ASP.NET Development Server

ActiveReports Configuration and Deployment

Part IX:  Troubleshooting Applications

Application Will Not Run

.NET Framework is Not Properly Registered

Re-Registering the .NET Framework

Application Will Not RunIIS Express Web Server Not Started - Could not start development server

Application Will Not RunMicrosoft IIS is Not Installed on Your Machine

Microsoft IIS is Stopped (Not Running)

Application Will Not RunPersonal Firewall is Blocking Web Server

Your Application Needs a Virtual Directory

ASPX (HTML) is Displayed Instead of Your Application

Application Runs But No Data is Displayed

Cannot Connect to Your Database

No Anonymous Access (Recommended for Development Environment)

Allow Anonymous Access (Recommended for Production Environment)

Remote Database Access through a Firewall

Database Permission Settings or Path Are Not Configured Properly

Localhost is Not Properly Configured

Virtual Directory on Microsoft IIS Does Not Allow Anonymous Access

ASP.NET User Does Not Have Permissions to Your Application Folder

.NET Framework Mismatched with Application

Improper Application Deployment

Event Viewer Displays Errors

Buttons or Pagination Controls Do Not Work

Username and Password are Required to Run an Application

Application Times Out, Forcing Users to Sign In Again

Incorrect Page Redirection Behavior

Filter Controls Appear Above Other Controls

Application Runs But with Problems

does not work

Application Error Messages

A potentially dangerous Request.Form value was detected from the client

A potentially dangerous Request.QueryString value was detected from the client

A record you were attempting to delete or modify is referenced by other records

A value for XXX is required

Access is denied: AjaxPro

Access to the path is denied

Ambiguous match found.  An unhandled exception occurred

Cannot update data:  While you were editing, another user may

Cannot update [tablename].  The data you entered conflicts

Could not find file

Could not find stored procedure

Could not load file or assembly System.Data.SqlServerCe

Could not load file or assembly System.Web.DataVisualization

Could not load file or assembly System.Web.Extensions

Could not load type System.DateTimeOffset from assembly mscorlib

Database not supported

Error Code 2755

Enter username and password for

Error committing transaction

Failed to access IIS metabase

Failed to load Crystal Reports.  Parameters might be missing.

Failed to start monitoring file changes

File or assembly name xxx.DLL, or one of its dependencies

General network error

HTTP Error 401.2 - Unauthorized

HTTP Error 403 - Forbidden.  You are not authorized to view this page

HTTP Error 404 - Page Not Found

HTTP Error 404.3 - Not Found

HTTP Error 404.17 - Not Found

HTTP Error 500 - Page Cannot be Displayed

HTTP Error 500.19 - Internal Server Error

HttpException (0x80004005): Request timed out

Incompatible Database Version. If this was a compatible file, run repair

INSERT failed because the following SET options

Internal Server Error.  The requested web page either has an error or does not exist

Invalid login information

Invalid report file path

Load Report Failed

Load report failed. Make sure the dlls for Crystal Report are compatible with

Logon Failure

Microsoft.ACE.OLEDB.12 provider is not registered on the local machine

Microsoft.Jet.OLEDB.4.0 provider is not registered

No value given for one or more required parameters

No website configured at this address

Object expected

Object reference not set to an instance of an object

OleDbException, Unspecified Error

OraOLEDB.Oracle provider is not registered

ORA-00942: Table or view does not exist

ORA-01455: Converting column overflows

ORA-06550: line XX, column YY: PL/SQL: Statement ignored.

ORA-12154: TNS:could not resolve service name

ORA-12571: TNS:packet writer failure

PageMethods is undefined

Parser Error: Access is denied

Parser Error: Child nodes are not allowed

Parser Error: Could not load type

Parser Error: Could not load file or assembly System.Data.Entity

Parser Error: Could not load file or assembly System.Web.Abstractions, Version=

Parser Error: Could not load type Microsoft.Web.Services.ScriptModule

Parser Error: It is an error to use a section registered as allowDefinition = MachineToApplication

Parser Error: The base class includes the field XXX, but its type is not compatible

Parser Error: Type ScriptManager does not have a public property

Parser Error: Type XXX does not

Parser Error: Unknown server tag asp:ScriptManager

Parser Error: Unknown server tag atlas:ScriptManager

Parser Error: Unrecognized attribute type

Parser Error: Unrecognized attribute validateRequest

Parser Error: XXX is not a valid identifier

Potentially dangerous XML

Problems with this Web page might prevent it from being displayed properly

Script Error: Object doesnt support property or method attachEvent

Security accessibility of the overriding method must match

Security Exception, AspNetHostingPermission Error

Security Exception, ConfigurationPermission Error

SELECT command denied to user user@host for Table table

Server Application Unavailable

Server cannot access application directory

SQL command busy open, fetching

SQL server does not exist or access denied




System.ApplicationException: Access is denied

System.Data.OracleClient requires Oracle client software version 8.1.7 or greater



The application for project XXX is not installed.

The database file has been created by an earlier version of SQL Server Compact

The directory App_GlobalResources is not allowed because the application is precompiled

The directory name is invalid

The file XXX.xls may contain features that are not compatible with XML Spreadsheet 2003

The file you are trying to open is in a different format than specified by the file extension

The Microsoft Jet database engine cannot open

The requested record could not be retrieved

The type System.Data.OracleClient.OracleType is defined in an assembly...

The value is too long...

The XML page cannot be displayed...

Timeout error...

Timeout expired. The timeout period elapsed prior to completion...

TNS name is not available...

Unable to access data. Please contact your system administrator or customer support...

Unable to authenticate user...

Unable to build project output group Content Files from

Unable to connect to database

Unable to convert MySQL date/time value to System.DateTime

Unable to find entry point name...

Unable to get record ID...

Unable to get record: XXX.  The record ID is not unique.

Unable to get records. Could not load file or assembly

Unable to get the InnerRecord for the specified column...

Unable to make the session state request

Unable to update record.  Operation must use an updateable query

Unable to update the transaction record cache

Unrecognized attribute targetFramework

Unspecified Error. Designer.mdb...

Unspecified Error. Ensure that MDAC 2.6 or higher is installed in the machine ...

Validation of viewstate MAC failed...

View or function XXX is not updatable because of multiple base tables

Virtual directory does not exist

Word experienced an error trying to open the file

XXX is a reserved identifier

You can only have one <head runat=server> control on a page

You must enter a value for all required fields

Installation Error Messages


Error 1067: Unable to install InstallShield Scripting Runtime

Error 1310: Error writing to file

Error 1324: The folder path contains an invalid character

Error 1335: The cabinet file ...

Error 1722: The installation program will now exit

Error 1935: An error occurred ...

Error reading setup initialization file

Feature transfer error

File or assembly name Xheo.Licensing ... was not found

Initialization Warning: Could not load file or assembly 'System.Core

InstallShield Setup Initialization Error 6001...

Missing file: INSTMSIA.EXE

The installer was interrupted before <ApplicationName> could be installed

The product key you entered could not be validated...

This software is encrypted to provide copy protection...

Application Generation and Compilation Error Messages

A virtual directory must exist when compiling with Visual Studio

Culture ID XXX is not a supported culture

DB1.TableName cannot be included because  DB2.TableName

Cannot open application in Iron Speed Designer; corrupted Docking.config file

Could not load file or assembly Microsoft.Office.Interop.Access.Dao

Designer.config  The root element is missing

Error in Output Window

Error BC30002: Type XXX is not defined

Error BC30466: Namespace or type XXX for the Imports XXX cannot be found.

Error BC31011: Unable to load referenced library. Version 2.0 is not a compatible version.

Error BC31019: Could not write to output file

Error CS0016: Could not write to output file

Error CS0246: The type or namespace name XXX could not be found

Error CS1518: Expected class, delegate, enum, interface, or struct

Error MSB3464: The TargetPath parameter must be

Error MSB4036: The CollectFilesinFolder task was not found.

Error Rendering Control - XXX

Failed to create the application

Fatal error CS0009: Metadata file XXX.DLL could not be opened

Goto was unexpected at this time

Invalid column name XXX

Invalid component binding file

Invalid constant value entered.  Please enter a constant that is a valid Number.

It is not possible to edit your security settings

Name session is not declared

Need to map to server location

One or more projects in the solution were not loaded correctly.

ORA-00162: external dbid length is greater than maximum

ORA-12541: TNS:no listener

ORA-12546: TNS:permission denied

Specified cast is invalid

SQL Server does not exist or access denied

InteropServices.COMException (0x80040154): Retrieving the COM class

The error was Unable to GetCount

The file BaseClasses.dll could not be added to the project

The file could not be loaded into the Web Forms designer

The project file XXX cannot be opened.

The project type is not supported by this installation

The server tag XXX is ambiguous. Please modify the associated registration

There already appears to be an Iron Speed Designer application

There was an error creating the application. The error was

Unable to compile application

Unable to connect to the Active Directory root

Unable to connect to XXX server

Unable to deactivate.  An error occurred when trying to contact

Unable to edit component.  Failed to parse layout file

Unable to load config file: Web.config configuration

Unable to open Web project

Unreachable Roles Table.  It is not possible to edit your security settings

Visual Basic .NET compiler is unable to recover

You do not have an active Software Update Subscription

Your temporary folder contains ### files

SharePoint Application Deployment Error Messages

Property accessor EncodedName on object SPHierarchyNode exception...

That assembly does not allow partially trusted callers...

That assembly does not allow partially trusted callers...

There were errors during feature deployment...

Unable to get records. Could not find stored procedure...

Help File Errors

Base Classes Documentation links not found

Application Scalability and Performance

Improving Database Performance

Improving Application Performance

Improving Machine Performance

Improving Network Performance

Session Management

Windows 2003 Application Performance Suggestions

Running Applications on Multiple Servers

Concurrent Application Users

Debugging Applications

How to Debug an Application

Tracing and Event Logging

Debugging Database Errors

Debugging Inside Iron Speed Base Classes

Debugging with Visual Studio .NET

Testing Iron Speed Designer Applications

Working with Microsoft Visual Studio .NET

Editing ASPX Pages in Visual Studio .NET

Making DLLs CLS Compliant

IntelliSense Not Working