cancel
Showing results for 
Search instead for 
Did you mean: 

deploy PB .NET assembly

eric_verhorstert
Explorer
0 Kudos
60

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Eric;

  Did you deploy that using the MSI mechanism that PB.Net can build for you?

Regards ... Chris

eric_verhorstert
Explorer
0 Kudos

We added the dll to our regular setup created with advanced installer. This is not working, so, now I am trying to find out what step is missing.

eric_verhorstert
Explorer
0 Kudos

Yes, you are correct. After installing the Powerbuilder .NET components it is working.

Is there info available which .NET components we should include with the assembly?

I prefer using only one setup and we use advanced installer.

Former Member
0 Kudos

Hi Eric;

  Have a look at the PB.Net help file system under "Deployment". Also, use the "Packager" utility provided with PowerBuilder to package & register the .Net PBVM run-time DLL's.

Regards ...Chris