Licensing problem in VS .NET 2005.

franks151franks151 Posts: 9
edited May 21, 2007 10:03AM in SQL Toolkit Previous Versions
I have added a licenses.licx file to my .NET project as recommended in the Help file, but I am getting this error:

"The given assembly name or codebase was invalid."

I have deleted and recreated the licenses.licx file multiple times. I have manually typed the entries as well as copying them from the Help file, still no luck. Does anyone know why I am getting this error?

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hello,

    I haven't seen this particular error before, but there is a workaround that you need to implement if you are compiling on a 64-bit version of Windows. If you are using a 64-bit OS, please try this and see if it works:

    http://www.red-gate.com/MessageBoard/vi ... php?t=4270

    The exception you get on a 64-bit OS is normally 'InvalidProgramException', but 'invalid codebase' sounds kind of similar so I think this may be the same problem.
  • Thanks for your reply Brian. I finally got this issue resolved after deleting the licenses.licx file from the project for the 3rd time and recreating it.
Sign In or Register to comment.