Excel Functions from ADE
Revision as of 19:29, 7 May 2012 by AManandhar (talk | contribs)
The Issue
Excel spreadsheet functions when invoked from an ADE Application through IIS seems to hang when ADE tries to bind to an instance of an Excel COM Object.
The Fix
Configuring the following settings on the machine seem to fix this issue.
- Create a new standard user. E.g. 'ExcelRunner' with a password.
- Set the Excel COM Objects to be invoked by this newly created user instead of the default Launching User.
- Launch DCOM Config: Start→Administrative Tools→Component Services→Computers→My Computer→DCOM Config.
- Note: If you are running ADE 32-Bit on a Windows 64-Bit machine run the command Start > Run > 'mmc comexp.msc /32'
- Right click on 'Microsoft Excel Application' and then on 'Properties'.
- Click on the Identity tab.
- Choose "This user." as the account to run Excel Applications and type in the username and password of the new account.
- Click OK.
- Launch DCOM Config: Start→Administrative Tools→Component Services→Computers→My Computer→DCOM Config.
- Give the new user permission to write files in the directory with the Excel file.
Comments
Enable comment auto-refresher