Hi,
after I found the solution for my problem here
http://www.mibuso.com/forum/viewtopic.php?f=32&t=62101,
I just found my next "problem". :roll:
It seems that my InStream is running on the client. So if I switch my .NET Globals to RunOnClient=No there is no chance to create an instance of the Stream.
Does anybody had the same problem before?
My plan is to develop an external component which should only be registered on the service machine. As I need to pass some streams to this library I am not sure if I can follow this plan to the end.
Maybe I can find a solution by my own (I will let you know) but I remember that I already had a similar problem some weeks ago which I could not solve.
EDIT: I hope to find a solution where I don't have to work with the filesystem to store a ServerTempFile to read it into a stream on the server.
greetings mik
Comments
If the file is small you can use a unlimited size Text variable and convert the instream bitarray to b64 string on the client side and than back to a stream on the server side.
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com