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
Click Start, click Run, type compmgmt.msc, and then click OK.
In the Computer Management dialog box, expand Local Users and Groups, right-click Users, and then click New User.
In the New User dialog box, enter a user name and password, click Create, and then click Close.
In the tree view, click Groups.
In the right pane, right-click Administrators, and then click Add to Group.
In the Administrators Properties dialog box, click Add.
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.
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
Click Start, click Run, type secpol.msc, and then click OK.
In the tree view, expand Local Policies, and then select User Rights Assignment.
In the right pane, double-click Log on as a service, and then click Add User or Group.
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
In Windows Explorer, browse to %ProgramFiles%\Microsoft Visual Studio 8\Common7\IDE.
Right-click Devenv.exe, and then select Run As.
In the Run As dialog box, click The following user.
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
Click Start, click Run, type services.msc, and then click OK.
In the Services dialog box, right-click Visual Studio 2005 Remote Debugger, and then click Properties.
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.
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
Click Start, click Run, type compmgmt.msc, and then click OK.
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.
In the Add New Application Pool dialog box, type a name for the pool, and then click OK.
In the Computer Management dialog box, right-click the new application pool in the tree view pane, and then click Properties.
In the Properties dialog box, click the Identity tab, click Configurable, and then enter the user name and password for the new user account.
Click OK.
Assign the new application pool to the application.
To assign the application pool to the application
Click Start, click Run, type compmgmt.msc, and then click OK.
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.
On the Virtual Directory tab, assign the application pool to the application that runs the workflow in the Application pool list.
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
In Windows Explorer, browse to WINNT\Temp\SpeechWorkingFiles\Runtime.
Right-click the Runtime folder, and then click Properties.
In the Properties dialog box, click the Security tab, and then click Add.
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.
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
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.
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.
Run Msvsmon.exe under a different user account as follows.
- On the Start menu, click Start Search, enter Run, then type services.msc in the Run dialog box, and then click OK.
- Click Continue, and then select the Visual Studio 2005 Remote Debugger service.
- Right-click Properties, click the Log On tab, and then click This account.
- Enter the user name for the account, enter the password, re-enter the password to confirm it, and then click OK.
Configure the Web application that hosts the workflow to run under a different user account:
- Open Internet Information Services (IIS) Manager.
- In the Connections pane, expand the local computer, right-click Application Pools, and then click Add Application Pool.
- 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.
- 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. - In the Advanced Settings dialog box, expand Behavior, and then select Application Pools.
- Click the browse (...) button, select the new application pool from the list in the Select Application Pools dialog box, and then click OK.
- On the right-click menu for the application pool that you created in step 4c, select Advanced Settings.
- 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. - In the Advanced Settings dialog box, click OK.
Modify the %WINDIR%\Temp\SpeechWorkingFiles\Runtime folder so that the user account created in step 1 has Read/Write access to the folder.
On the Start menu, enter devenv.exe in the Start Search box.
Right-click devenv.exe, and then click Run as administrator.
See Also
Other Resources
Speech Application Development Guide
Develop Prompts with Speech Prompt Tools