Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

.Net assembly not working in VS app

$
0
0

I've written a .Net assembly in PB.Net 12.5.2 that has a datawindow that I create a PDF from using SaveAs(). The datawindow uses a web service as it's data source. The web service is written in PB.Net. I wrote a WPF client in PB.Net to test with that references the .Net assembly. Everything works fine on the development machine.

 

I installed the PB runtime and PB.Net runtime on my VS machine using the PB Runtime manager. I ran the msi for my .Net assembly on the VS machine. I made sure the WCF is reachable from the VS machine using the WCFTestClient program. I created a WPF project in VS 2012 and added a reference to my .Net assembly. When I call my method in the .Net assembly I return  the result of a call to Retrieve for the datawindow from the .Net assembly. The return value is -1. The pdf gets created and displayed but has no data because the retrieval failed. What am I missing?

 

Thanks,

Mark


Viewing all articles
Browse latest Browse all 2881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>