I've got an ASP.NET 2.0 (C#) application running on Windows 2003 Server and at a particular point it tries to create an instance of Word (2003) on the server to run macros and some document conversions.
This works fine on our dev (XP) machines but once we deploy it to the live server this fails.
Now I know that it's neither recommended nor supported but we've got to do it this way so I'm looking for help with the security settings.
In IIS the anonymous user is set to a user that currently has admin rights to the machine and that we can log in as, which I have done and opened Word while I was logged in.
Integrated windows authentication is also on.
The application pool it's in is being run under the Network Service account.
In the DCOM config I have gone into the Microsoft Word Document entry and allowed launch and activation permissions on it for the anonymous user we're using, the network service account and the aspnet account. Then I've set the identity being used to the anonymous user.
And I've also switched on impersonation on the application so it should use the anonymous account to access resources.
But none of it makes any difference, it still doesn't work.
Now I know we've done this for other servers before but they were and therefore IIS 5 and it doesn't seem to have the same problems at all.
Does anyone have any ideas on other stuff I could try?