Virtual directories in IIS are hosted in an application pool. An application pool is the host process for one or more Web applications. When you deploy a PowerBuilder Web Forms application to IIS 7, the application is deployed to the DefaultAppPool. By default, this application pool uses the Integrated managed pipeline mode, where managed code is integrated into the request processing pipeline.
To avoid compatibility issues, Web Forms applications deployed from PowerBuilder must run in an application pool that uses the Classic managed pipeline mode, where ASP.NET runs as an ISAPI extension.
Although you can configure the DefaultAppPool to use the Classic mode, changing the setting will affect all applications running in that application pool. A better option is to create a new application pool for PowerBuilder Web Forms applications.
If you choose not to create a new application pool, you must complete step 4 in the following procedure for the application pool that hosts your application.
To create and configure an application pool for
PowerBuilder Web Forms applications:
In IIS Manager, select Application Pools.
In the Actions pane, select Add Application Pool.
Provide a name, such as PBWebForms, for the application pool.
Set Managed Pipeline Mode to Classic and click OK.
The new application pool displays in the list.
On 64-bit Vista, you must enable the application pool to run 32-bit applications.
To enable 32-bit applications on 64-bit Vista:
In IIS Manager, select Application Pools.
In the list of Application Pools, select the application pool you have configured for use with PowerBuilder Web Forms.
In the Actions pane, select Advanced Settings under Edit Application Pool.
Expand the General settings, set Enable 32-bit Applications to True, and click OK.
If you have created and configured a new application pool for PowerBuilder, you need to move your PowerBuilder Web Forms applications into the pool.
To move an application into a different application
pool:
In IIS Manager, expand Web Sites and Default Web Site.
Right-click the virtual directory for your application and click Advanced Settings.
Select the drop-down list next to the Application Pool property, select the application pool you created, and click OK
Reload the application.