Part VI:  Deploying Applications Into Production

 

Part VI:  Deploying Applications Into Production

Deploying Applications to a Production Server

Deploying an Application to a Production Server

Changing Database Connection Settings

Adding Your Application to the Windows Registry

Starting Your Session State Service

Generating Deployment Projects and MSI Installers

Deploying to Application Hosting Service Providers

Example: Deploying to DiscountASP.NET

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

CompileApplication

LoadStoredProcedures.bat

Creating a Virtual Directory for Your Application

When to Create a Virtual Directory

How to Create a Virtual Directory for Windows 2000, XP and Windows 2003

Changing Your Application’s Virtual Directory Alias

Deploying to Webroot

Using Mapped Network Drives as Virtual Directories

Configuring Database Authentication for Microsoft SQL Server Applications

Using Windows Authentication

Case 1:  Microsoft SQL Server is installed on the local machine

Case 2:  Microsoft SQL Server is installed on a remote machine

Using Microsoft SQL Server Authentication

Microsoft IIS Web Server

Configuring IIS on Microsoft Vista

Running as Administrator in Microsoft Vista

Installing IIS on Microsoft Windows XP Professional

Installing IIS on Windows Server 2003

Using Non-Standard Ports in Microsoft IIS

ActiveReports Configuration and Deployment

Part VII:  Troubleshooting Applications

Application Won’t Run

.NET Framework is Not Properly Registered

Re-Registering the .NET Framework

Microsoft IIS is Not Installed on Your Machine

Microsoft IIS is Stopped (Not Running)

Personal 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

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 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\..." 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…

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 500 – Page Cannot be Displayed

HttpException (0x80004005): Request timed out…

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. Please, make sure the dlls for Crystal Report are compatible with the Crystal Report file

Logon Failure

‘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 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 ‘System.Web.UI.ScriptManager’ does not have a public property named ‘EnablePageMethods’

Parser Error: Type ‘XXX’ does not…

Parser Error: Unknown server tag ‘asp:ScriptManager’

Parser Error: Unknown server tag 'atlas:ScriptManager'

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…

Security Exception, AspNetHostingPermission Error …

Server Application Unavailable

Server cannot access application directory…

SQL command busy open, fetching…

SQL server does not exist or access denied…

Sys.WebForms.PageRequestManagerParserErrorException…

System.ApplicationException: Access is denied…

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

System.IO.FileNotFoundException

The directory '/XXX/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 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 connect to database…

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 the InnerRecord for the specified column…

Unable to make the session state request…

Unable to update the transaction record cache…

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 the modification affects multiple base tables

Virtual directory does not exist

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

about:security_Designer.exe

Error 1067: Unable to install InstallShield Scripting Runtime

Error 1324: The folder path contains an invalid character

Error 1935: An error occurred …

Error reading setup initialization file

Feature transfer error

File or assembly name Xheo.Licensing … was not found

InstallShield Setup Initialization Error 6001…

Missing file: INSTMSIA.EXE

The product key you entered could not be validated…

Application Generation and Compilation Error Messages

A virtual directory must exist when compiling with Visual Studio…

Culture ID ‘XXX’ is not a supported culture…

<Database1.TableName> cannot be included because <Database2.TableName> is already included in the application

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

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 CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files …

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 specified if the target directory needs to be overwritten…

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…

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…

The error was Unable to GetCount …

The file ‘bin\BaseClasses.dll’ could not be added to the project…

The file could not be loaded into the Web Forms designer…

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…

Type FieldLabel is not supported for FieldLabel

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' and/or 'appSettings' node not found in XML file!

Unable to open Web project…

Visual Basic .NET compiler is unable to recover…

Warning: skipping GEN:MENU NAME = MenuV in file…

You do not have an active Software Update Subscription…