Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Cannot open a file on the web server - PB 11.5 and .NET web service

$
0
0

Hi There,

 

 

I am using PB 11.5 to deploy a .NET web service which I am trying to test on the server before it is used. This WS loads a blob from the databasbe into an Image file, and saves it locally. Later on I would use a third party tool to further manipulate this file to a pdf. This process works just fine on my local machine but It seems to get stack during the open command of the file:

li_FileNum = FileOpen(is_Openfilename[li_fileindex], StreamMode!, Write!, Shared!, Replace!)

 

 

I am getting a return of -1. Loading the blob from the database was successfull, as I can see its size returned.

I am not sure if this is a permission issue or something else. The Folder which I am trying to open the file has permissions setup for everyone. The Web Server is running IIS 7.0 with Windows Server 2008 R2.

 

 

I am testing the WS using the IE test page and rendering the function I need passing an initial value.

 

 

Any ideas?

 

 

Thanks in advance.

 

 

Shai


Viewing all articles
Browse latest Browse all 2935

Trending Articles



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