If you receive the following error message, "The remote server returned an error: (401) Unauthorized", while trying to access xBML files on a web server, please check the following:
- Check security on the Windows directory and add the ASPNET user, with default access.
- Check that the IIS virtual directory is setup as an application, with Scripts and Executables Execute Permissions.
- Check the IIS virtual directory and see if the directory security enables anonymous access, with the IUSR_SERVERNAME account (or similar account), and that the 'Integrated Windows Authentication' option is checked.