Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 289
  • Last Modified:

Dll registeration

Dear Experts
i am using VS2005 and Asp.net 2.0 C#
and i am traying to add a dll " MCSCM.dll "to my application using add refrence
i have this error
"Please make sure that the file is accessible and it is a valid assembly or COM compaonent"

and then i did try to register the dll from the cmd
i have this error "dll was loaded, but the dllregisterServer entry point was not found"

and then i tryed agin to add the dll in my application i have the same error before
can you tell me what to do
thank you
0
RamzyEbeid
Asked:
RamzyEbeid
1 Solution
 
Nandakumar SakthivelTechnology LeadCommented:
Hi,
   if MCSCM.dll  is a .net assembly,it does not need to be registered. To be used in a .NET application, MCSCM.dll can be placed in either the Global Assembly Cache (GAC) or in the application's bin directory.

Thanks,
Nanda
0
 
skvikramCommented:
Register it using:

gacutil -i DriveLetter:\YourPath\YourAssemblyName.dll

You may notice that the same error message is also documented in the following Microsoft Knowledge Base article:
319976 (http://support.microsoft.com/kb/319976/) Visual Basic .NET compiler error when you use a response file that references many assemblies
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now