You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You have recently finished development of a Windows application using .NET Framework. Users report that the application is not running properly.
When the users try to complete a particular action, the following error message comes out:
Unable to find assembly ‘myservices, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=29b5ad26c9de9b95′.
You notice that the error occurs as soon as the application tries to call functionality in a serviced component that was registered by using the following command:
regsvcs.exe myservices.dll
You must make sure that the application can call the functionality in the serviced component with no exceptions being thrown.
What will you do to accomplish this task?
A . Run the command line tool: regasm.exe myservices.dll.
B . Copy the serviced component assembly into the C:Program FilesComPlus Applications fold er.
C . Run the command line tool: gacutil.exe /i myservices.dll.
D . Copy the serviced component assembly into the C:WINDOWSsystem32Com folder.
Answer: C
Leave a Reply