How to Manually rebuild the LANDesk COM+ Objects
The LANDesk Management Suite uses two custom COM+ applications for managing directory services and authentication with such sources. There are documents out on the community covering their uses, and troubleshooting their actions. Some of these documents are included in the following links:
http://community.landesk.com/support/docs/DOC-9310
http://community.landesk.com/support/docs/DOC-3020
http://community.landesk.com/support/docs/DOC-3015
http://community.landesk.com/support/docs/DOC-3020
http://community.landesk.com/support/docs/DOC-3015
This process, while not difficult has many little steps and is not recommended as a first step in resolution. There are instances where the COM+ objects are throwing errors and refuse to work even when using tested and known good identities. This is a supplemental set of information on how to remove and recreate these COM+ applications.
Reregistering the DLL and components used in the LANDesk and LANDesk1 COM+ applications
Run the Following command from a command prompt running as an Administrator:
(If you receive an error "unable to locate input assembly <path to file> or one of it dependencies" verify the file is at the location specified. If so then just move on to the next command)
- C:\windows\microsoft.net\framework\v2.0.50727\RegAsm.exe "C:\Program Files (x86)\LANDesk\ManagementSuite\Landesk.ManagementSuite.Information.dll" /register /codebase /tlb
- c:\windows\microsoft.net\framework\v2.0.50727\RegAsm.exe "C:\Program Files (x86)\LANDesk\ManagementSuite\Landesk.ManagementSuite.SDK.dll" /register /codebase /tlb
- C:\windows\microsoft.net\framework\v2.0.50727\aspnet_regiis.exe -i
- iisreset.exe
Rebuilding the LANDesk COM+ Application
- Open Start Menu>All Programs>Administrative Tools>Component Services
- In The Component Services window select Component Services>Computers>My Computer>COM+ Applications
- Right-Click on the COM+ object named LANDesk and select Delete
- Click Yes
- Right Click on the COM+ Applications folder and select New>Application
- Click Next
- Click "Create an empty application (Computer should say "My Computer")
- Click Next
- Enter LANDesk as the name for the new application
- Verify that the Server application button is selected.
- Click Next
- Select the button for this user
- Enter a username (Use browse if you need to find and verify a username on the Core server or Domain
- Enter the Password in the Password section
- Enter the Password again in the Confirm Password section
- Click Next
- Select CreatorOwner and click the Remove Button
- Click the Add role button and Enter the name "Everyone"
- Click Next
- Click the Plus symbol next to the Everyone role
- Select the Users folder and click on the Add button
- Enter in the object name of "Everyone" and click Check Names
- Click OK
- Click Next
- Click Finish
- Click the Plus symbol next to the LANDesk COM+ application
- Right Click on the Component folder and select New>Component
- Click on the Import Components button
- Scroll down and select the LANDesk.ManagementSuite.Sdk.Scopes component
- Click Next
- Click Finish
- Under the Component Folder
- Click the Plus symbol next to the Component Folder
- Right Click on the LANDesk.ManagementSuite.Sdk.Scopes and select Properties
- Select the Security Tab
- In the "Roles explicitly set for selected item(s) check the box next to "Everyone"
- Click OK
- Repeat Steps 27-37adding the ScheduleServiceExecutor.ExecuteCallba.1 component instead of LANDesk.ManagementSuite.SDK.Scopes
- Right Click on the LANDesk COM+ Application and select start
Rebuilding the LANDesk1 COM+ Application
NOTE: The following summary is based on the steps listed above... Please pay attention and use the correct information where noted.
Follow the steps listed above Using the following guidelines.
- On steps 3, 9, 26, 30, 35, 40 use the Name LANDesk1 instead ofLANDesk
- Follow Steps 27-37 four times using the following component for each set.
- LANDesk.ManagementSuite.Information.DatabaseInformation
- LANDesk.ManagementSuite.Information.Signature
- LANDesk.ManagementSuite.Information.UNCAuthentication
- LANDesk.ManagementSuite.Information.UserInformation
- LANDesk.ManagementSuite.Information.DatabaseInformation