InStream combined with .NET

mik
Member Posts: 79
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
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
With kind regards
mik
0
Comments
-
The normal way is to use UPLOAD to send a file to the server and import it from there.
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.com0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions