CLR Integration

  • I have a dll which internally calls another dll(This dll uses Microsoft enterprise library).When I was trying to deploy this dll I am getting following error

    Assembly 'SecurityService' references assembly 'microsoft.practices.objectbuilder, version=0.0.0.0, culture=neutral, publickeytoken=null.', which is not present in the current database. SQL Server attempted to locate and automatically load the referenced assembly from the same location where referring assembly came from, but that operation has failed (reason: 2(The system cannot find the file specified.)). Please load the referenced assembly into the current database and retry your request.

    Can any one help ow do I resolve the problem?

  • The server you're deploying the DLL on is missing the objects referenced in the error message.

    You need to make sure the machine the DLL was built on has the same libraries, same version/SP of the .NET framework, etc., as the machine the DLL will be deployed on. Have you done that?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • Yes I did .But I got the same problem.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply