Local Accounts and MSS 2007 Beta

POSTED BY: MARK PARKER, MSS Programmer Writer

If you are developing a Microsoft Speech Server 2007 Beta voice response application that writes data to a disk file, you will need to grant write access to the file (or the directory that contains the file) to either the ASPNET local account or the NETWORK SERVICE local account. MSS 2007 Beta uses one of these accounts whenever it creates or writes to a file.

If you are running MSS 2007 Beta on Microsoft Windows XP, grant write access to the ASPNET local account. If you are running MSS 2007 Beta on Microsoft Windows Server 2003, grant write acces to the NETWORK SERVICE local account.

To grant write access to the ASPNET local account in Windows XP:

  1. In Windows Explorer, navigate to the directory that contains the file(s) you want to write to.
  2. On the right-click menu, select Sharing and Security.
  3. On the property page for the directory, select the Security tab.
  4. Click Add…
  5. On the Select Users, Computers, or Groups page, enter MachineName\ASPNET in the textbox, and then click OK. (For MachineName, use the name of the machine as found in the My Computer properties.) On the property page for the directory, an entry for ASP.NET Machine Account (MachineName\ASPNET) now appears in the Group or user names: pane.
  6. In the Allow column in the lower half of the property page, check the Write box, then click Apply, and then click OK.

To grant write access to the NETWORK SERVICE local account in Windows Server 2003:

  1. Perform steps 1 through 4 in the previous procedure.
  2. For step 5, enter NETWORK SERVICE in the textbox. You do not need to prefix this with the machine name.
  3. Perform step 6 in the previous procedure.