NOTE: This page has been translated automatically from Russian to English. Original page.
Configuring components DCOM "Excel.Application" on a 64-bit application server 1C
Setting Description 64-bit server 1C applications allow you to create and use COMObekt "Excel.Application" on a server 1C.
This will help handle large excel files on the server, including through background jobs.
All these steps were born based on reading thousands of forums and was tested first on razrabotcheskom server, then to the battle.
Therefore, I decided to post it here, for sure will save you at least 1 day of life.
This will help handle large excel files on the server, including through background jobs.
All these steps were born based on reading thousands of forums and was tested first on razrabotcheskom server, then to the battle.
Therefore, I decided to post it here, for sure will save you at least 1 day of life.
- Go to 1C application server under a local administrator
- Run DCOMCNFG (configuration console "Component Services")
- Open branch Console Root -> Component Services -> Computers -> My computer -> DCOM Config
- We are looking for "Microsoft Excel Application"
- If found, then we proceed to step 4 (Setting up the properties of DCOM component "Microsoft Excel Application")
- Close the "Component Services"
- Setting up the registry
- Run REGEDIT
- Open branch Computer \ HKEY_CLASSES_ROOT \ AppID \ EXCEL.EXE, if it does not exist, create it
- Create it a string parameter AppID = {00020812-0000-0000-C000-000000000046}
- Execute the command "mmc comexp.msc / 32", which does the same as the DCOMCONFIG, but allows you to see the 32-bit components.
- Thereafter Component Services should appear "Microsoft Excel Application"
- Custom properties DCOM component "Microsoft Excel Application"
- "Security" tab
- "Launch and Activation Permissions" - Customize - Edit
- Add the user that starts the server agent 1C
- Assign it only the following rights (allow):
- Local Launch
- Local Activation
- "Access Permissions" - Customize - Edit
- Add the user that starts the server agent 1C
- We assign only the following rights (allow):
- Local Access
- "Launch and Activation Permissions" - Customize - Edit
- "Identity" tab
- It must be chosen "The launching user"
- "Security" tab
- System folders
- The folder "C: \ Windows \ SysWOW64 \ config \ systemprofile \ Desktop \"
- Check for the folder, if there is no -That create.
- Go to the properties of the folder.
- Security tab
- Adding, if not, the user under which the agent runs the server 1C
- Adding the right "Read" and "Write"
- The folder "C: \ Windows \ System32 \ config \ systemprofile \ Desktop \"
- Check for the folder, if there is no -That create.
- Go to the properties of the folder.
- Security tab
- Adding, if not, the user under which the agent runs the server 1C
- Adding the right "Read" and "Write"
PS: at the request of the yukon add the following disclaimer:
Questions Office https://support.microsoft.com/kb/257757 server automation