Share via


64-Bit Issues

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The following sections contain information about developing voice response applications on Microsoft Windows 64-bit operating systems.

Text Modification Rules in Prompt Databases Not Supported

If a script file is attached to a prompt project, building the project fails with the error "Script Error Failure adding script project name build failed."

Debugging Managed Code Voice Response Applications

Debugging managed code voice response applications on Windows 64-bit systems requires specific user account permissions. Authors can change permissions on their own user accounts or create a new account especially for this purpose.

Note

The following procedures apply only to 64-bit versions of Windows Server 2003 and Windows XP. To debug managed code applications on computers running a 64-bit version of Windows Vista, follow the procedure later in this topic under the section entitled "Debugging Managed Code Voice Response Applications on Windows Vista".

Create a New User Account

Create a new user account for debugging managed code voice response applications on Windows 64-bit systems. This account must be a member of both of these groups:

  • Administrators
  • IIS_WPG

To create a new user account in the Administrators group

  1. Click Start, click Run, type compmgmt.msc, and then click OK.

  2. In the Computer Management dialog box, expand Local Users and Groups, right-click Users, and then click New User.

  3. In the New User dialog box, enter a user name and password, click Create, and then click Close.

  4. In the tree view, click Groups.

  5. In the right pane, right-click Administrators, and then click Add to Group.

  6. In the Administrators Properties dialog box, click Add.

  7. In the Select Users, Computers, or Groups dialog box, enter the name of the new user account in the form domain\account name, and then click OK twice.

  8. Repeat steps 5 through 7 to also add the new user to the IIS_WPG group.

Give the User Account Necessary Permissions

To give the user account remote access permission, complete the procedure "Resolve the permissions issue" in Programs that use DCOM do not work correctly after you install Microsoft Windows Server 2003 Service Pack 1, and then complete the next procedure to give the new account permission to log on as a service.

To give the new user account log on as a service permission

  1. Click Start, click Run, type secpol.msc, and then click OK.

  2. In the tree view, expand Local Policies, and then select User Rights Assignment.

  3. In the right pane, double-click Log on as a service, and then click Add User or Group.

  4. Add the appropriate account to the list of accounts that possess the Log on as a service permission, and then click OK.

Change the User Account for Visual Studio

Specify that Microsoft Visual Studio 2005 runs as the new user account.

To set the Run As account for Visual Studio

  1. In Windows Explorer, browse to %ProgramFiles%\Microsoft Visual Studio 8\Common7\IDE.

  2. Right-click Devenv.exe, and then select Run As.

  3. In the Run As dialog box, click The following user.

  4. Enter the user name and password for the new user account, and then click OK.

Change the User Account for the Remote Debugger

Specify that the Visual Studio 2005 Remote Debugger service runs as the new user account.

To set the Run As account for the remote debugger

  1. Click Start, click Run, type services.msc, and then click OK.

  2. In the Services dialog box, right-click Visual Studio 2005 Remote Debugger, and then click Properties.

  3. In the Properties dialog box, click the Log On tab, click This Account, and then enter the user name and password for the new user account.

  4. Click OK.

Change the User Account for the Web Application

Create an application pool and set its identity to the new user account.

To set the identity of the Web application

  1. Click Start, click Run, type compmgmt.msc, and then click OK.

  2. In the Computer Management dialog box, expand Services and Applications, expand Internet Information Services, right-click Application Pools, click New, and then click Application Pool.

  3. In the Add New Application Pool dialog box, type a name for the pool, and then click OK.

  4. In the Computer Management dialog box, right-click the new application pool in the tree view pane, and then click Properties.

  5. In the Properties dialog box, click the Identity tab, click Configurable, and then enter the user name and password for the new user account.

  6. Click OK.

Assign the new application pool to the application.

To assign the application pool to the application

  1. Click Start, click Run, type compmgmt.msc, and then click OK.

  2. In the Computer Management dialog box, expand Internet Information Services (IIS) Manager, expand Web Sites, expand Default Web Site, right-click the application, and then select Properties.

  3. On the Virtual Directory tab, assign the application pool to the application that runs the workflow in the Application pool list.

  4. Click OK.

Give the Application Access to the Runtime Folder

Because the application now runs using the new account, the Runtime folder must be modified to give the account read/write permission.

To give the new account read/write permission to the Runtime account

  1. In Windows Explorer, browse to WINNT\Temp\SpeechWorkingFiles\Runtime.

  2. Right-click the Runtime folder, and then click Properties.

  3. In the Properties dialog box, click the Security tab, and then click Add.

  4. In the Select Users, Computers, or Groups dialog box, enter the name of the new user account in the form domain\account name, and then click OK.

  5. Select the account, click Write in the Permissions for Administrators box, and then click OK.

Debugging Managed Code Voice Response Applications on Windows Vista

After several debugging sessions on Microsoft Windows Vista, the Visual Studio 2005 Integrated Development Environment (IDE), devenv.exe, can time out when it attempts to attach to the W3wp.exe process. This can occur when multiple instances of this process attempt to run without having the correct permissions set for them.

To prevent this from occurring

  1. Create a new user account.

    For more information, see "Create a New User Account" earlier in this topic.

    Note

    To access the Computer Management console in Windows Vista, click Start, click Start Search, type Computer Management, and then press ENTER.

  2. Grant the Log on as a service permission to the new user account.

    For more information, see "Give the User Account Necessary Permissions" earlier in this topic.

    Note

    To access the Security Policy console in Windows Vista, click Start, click Start Search, type Local Security Policy, and then press ENTER.

  3. Run Msvsmon.exe under a different user account as follows.

    1. On the Start menu, click Start Search, enter Run, then type services.msc in the Run dialog box, and then click OK.
    2. Click Continue, and then select the Visual Studio 2005 Remote Debugger service.
    3. Right-click Properties, click the Log On tab, and then click This account.
    4. Enter the user name for the account, enter the password, re-enter the password to confirm it, and then click OK.
  4. Configure the Web application that hosts the workflow to run under a different user account:

    1. Open Internet Information Services (IIS) Manager.
    2. In the Connections pane, expand the local computer, right-click Application Pools, and then click Add Application Pool.
    3. In the Add Application Pool dialog box, enter a name for the application pool, change Managed pipeline mode from Integrated to Classic, and then click OK.
    4. On the Connections pane, expand Web Sites, expand Default Web Site, right-click your speech application, and then click Advanced Settings.
      This step must be performed for each speech application.
    5. In the Advanced Settings dialog box, expand Behavior, and then select Application Pools.
    6. Click the browse (...) button, select the new application pool from the list in the Select Application Pools dialog box, and then click OK.
    7. On the right-click menu for the application pool that you created in step 4c, select Advanced Settings.
    8. In the Advanced Settings dialog box, under Process Model, set Identity SpecificUser Credentials to the user account you created in step 1.
      To do this, click the browse button (...), and enter the user name and password (twice), and then click OK.
    9. In the Advanced Settings dialog box, click OK.
  5. Modify the %WINDIR%\Temp\SpeechWorkingFiles\Runtime folder so that the user account created in step 1 has Read/Write access to the folder.

  6. On the Start menu, enter devenv.exe in the Start Search box.

  7. Right-click devenv.exe, and then click Run as administrator.

See Also

Other Resources

Speech Application Development Guide
Develop Prompts with Speech Prompt Tools