Skip to Content
0
Feb 10, 2014 at 06:26 PM

deploy PB .NET assembly

35 Views

We developed a PB.NET aasembly and deployed it to a windows server 2008 64 bit machine.

When we try to use it we allways get the error: error calling external object function f1 at line 14 in ....

On the development machine:

After generation of the assembly we copy it to our program folder. We run "gacutil.exe /i ourdll.dll" and regasm ourdll.dll /regfile:ourdll.reg.

Then we add the generated regfile to the registry.

On the development machine evrything is working fine.

On the deployment machine:

There is no gacutil. We run regasm ourdll.dll /regfile:ourdll.reg. Then we add the generated regfile to the registry, Then we modify ourdll.reg and add the wow6432Node. We add the modified file also to the registry.

Should we add ourdll.dll to the GAC? If so, how do we do that?

If not, some any idea what step we are missing?

Thanks

Eric