assembly error

  • one of the script tasks in my SSIS package references vjslib as part of a method that unzips a zip file. On my development machine this works fine, but ive now deployed it to our development server and Im getting this error

    The script threw an exception: Could not load file or assembly 'vjslib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. (errorcode: 2)

    is this not compiled into the package when I build it ? Or do I have to install it on our network server where the package is installed ? If so, that doesnt make packages very portable if I also have to include referenced assemblies

  • Would have to look it up, but would assume the assembly needs to be in the GAC on any machine you want to run this on.

    Steve.

  • so how would I add it to the GAC ? The deployment server has the .net framework 2.0.50727 installed, but vsjlib.dll is not present

  • A quick google search should help on that (generally, people will have distributables, like an installer, to assist in getting it installed). 'Back in the day' I would use gacutil, a commandline tool to do this. Am pretty sure there is a .net control panel item to do this now (check under admin tools on the server). Sorry to be unhelpful but i generally am writing our own installers for doing this, so don't have to manually do this very often any more :hehe:

    Quick note - it may have been fixed but there appears to have been a problem with getting this particular dll installed on a 64-bit system due to the way they (the creator of the dll) architected their code.

    Steve.

  • Quick note - it may have been fixed but there appears to have been a problem with getting this particular dll installed on a 64-bit system due to the way they (the creator of the dll) architected their code.

    Actually that is a Microsoft dll there is no x64 because Microsoft was in court with Sun and the x86 redist can be installed in WOW64 in x64 operating system.

    http://www.microsoft.com/downloads/details.aspx?familyid=f72c74b3-ed0e-4af8-ae63-2f0e42501be1&displaylang=en

    Kind regards,
    Gift Peddie

Viewing 5 posts - 1 through 4 (of 4 total)

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