I recently made a COM object that wraps around a .NET library which I want to use from SQL Server 2000 (I made a post about this previously).
I successfully developed and tested the code on my own test setup but it is failing to work on a clients system and I believe the errors are pointing towards failing to find the library file.
One of the complexities that I really don't understand in windows is the whole malarkey about registering these COM objects in the windows registry and adding the object to the Global Assembly Cache. I found out that you first have to call the 'regasm.exe' tool to register the assembly, and then the 'gacutil' tool to install the library somewhere. I tested these tools and they worked on my setup, I then made a batch file which would automatically run the tools on the clients computer.
This seemed to work without giving any errors. But I am wondering if this is some kind of user/permissions/rights problem. The SQL server is probably running as a Sys Admin while when my library was installed by the client they had some standard user without SA rights.
However, I am very lost, and this way out of my understanding (I develop algorithms by profession and don't mess with Windows ugliness).
It is kind of critical that this is resolved within the next 2 hours otherwise the project gets delay another few weeks.
I successfully developed and tested the code on my own test setup but it is failing to work on a clients system and I believe the errors are pointing towards failing to find the library file.
One of the complexities that I really don't understand in windows is the whole malarkey about registering these COM objects in the windows registry and adding the object to the Global Assembly Cache. I found out that you first have to call the 'regasm.exe' tool to register the assembly, and then the 'gacutil' tool to install the library somewhere. I tested these tools and they worked on my setup, I then made a batch file which would automatically run the tools on the clients computer.
This seemed to work without giving any errors. But I am wondering if this is some kind of user/permissions/rights problem. The SQL server is probably running as a Sys Admin while when my library was installed by the client they had some standard user without SA rights.
However, I am very lost, and this way out of my understanding (I develop algorithms by profession and don't mess with Windows ugliness).
It is kind of critical that this is resolved within the next 2 hours otherwise the project gets delay another few weeks.