Если вы пытаетесь заставить работать Microsoft Word 2003 в ASP.NET из-под IIS 7 на 64-разрядной операционной системе Windows Server 2008, то скорее всего получите следующую ошибку:
Решение:
...
<identity impersonate="true" userName="AppPoolUser" password="123456" />
...
</system.web>
- Open Regedit, Go to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppId and edit the two enteries that have a Guid ending with 46. Delete every key they have and add a new key called RunAs with the value of Interactive User
System.Runtime.InteropServices.COMException (0x800A13E9): There is insufficient memory. Save the document now.
Решение:
- создайте отдельного пользователя, например, AppPoolUser, от которого будете запускать пул приложений IIS
- Добавьте этого пользователя обязательно (!) в группу локальных администраторов (!) и группу IIS_IUSRS
- В web.conig'е сделайте имперсонацию:
...
<identity impersonate="true" userName="AppPoolUser" password="123456" />
...
</system.web>
- Создайте обязательно (!) в директории: C:\Windows\SysWOW64\config\systemprofile папку Desktop
- Open Regedit, Go to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppId and edit the two enteries that have a Guid ending with 46. Delete every key they have and add a new key called RunAs with the value of Interactive User
Комментариев нет:
Отправить комментарий