Welcome!

PowerBuilder Authors: Chris Pollach, Yeshim Deniz, Jayaram Krishnaswamy, Kevin Benedict, Avi Rosenthal

Related Topics: PowerBuilder

PowerBuilder: Article

PowerBuilder Tutorial: Running the pbtutor Application

Deploying Web Form .NET applications to IIS in Vista

I recently purchased a new laptop. Choosing an operating system was not any easy decision and challenged me for two weeks. Finally, I decided to go with the flow. I ordered my first Vista system. That was only the start of a long and arduous journey and I'm still trying to get my environment and tools back to normal!

When I started the PowerBuilder 11.0 application, I first noticed that pbtutor, the sample application installed with PowerBuilder, wasn't running. The Help files weren't opening. If you started out as I did, I hope you will, before too long, deploy your first application on IIS 7.0 ready to run it as a .NET Web form application.

The main issue is that Vista's new User Account Control (UAC) prevents PowerBuilder from connecting to the database and running pbtutor. The UAC is a new security component in Windows Vista. Unlike XP, Vista doesn't automatically grant users, members of the local Administrators group, access to all of the Window's resources. For more information and how to modify UAC features, visit http://technet.microsoft.com/ and search for "Windows Vista User Account Control Step by Step Guide."

The common denominator solution, regardless of the version of Vista you're running, is to set up the application properties to run as an administrator. To set up the PowerBuilder application with administrative privileges, from the All Program menu, right-click on the PowerBuilder Application, then click on the Properties, and select the Compatibility tab on the PowerBuilder 11.0 Properties Window. In the PowerBuilder 11.0 Properties window, click on the Advance... button. This will open up the Advanced Properties window. In the Advanced Properties window, check the box next to the Run as administrator option, and then, click OK (see Figure 1).

The Next Step Is to Turn On Internet Information Service (IIS)
Windows Vista ships with IIS 7.0 and the .NET Framework. To turn on the IIS Management Console and ASP.NET, bring up the Control Panel window, select Programs and Features, and then select Turn Windows features on or off. This will bring up the Windows Feature Window. In the Windows Features Window, check the boxes to enable the IIS Management Console and the Application Development Features (see Figure 2).

More Stories By Vazi Okhandiar

Vazi Okhandiar is the vice president, technology for mLogica. For over 15 years, she has been architecting, designing and managing PowerBuilder-enabled applications. Vazi has previously worked for EDS and Computer Science Corporations (CSC) and holds an MBA and BSEE from UC, Irvine and an MS in computer science from IIT, Chicago.

More Stories By Alon Baadani

Alon Baadani, as the principal of ABM Consulting, has been developing PowerBuilder applications for both large corporations and small businesses over the last 12 years. Currently, he is developing applications for RES-Q HealthCare Systems, an industry leader with presence in the U.S., Canada, and the EU. you can contact Alon at alon(at)abmsoftware.net.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.