Hello Dear
I've just found out, that the StreamingContex tStates Enum on the Serialization Context is set to .Other in case of remoting.
Can somebody tell me, why the state is Other and not Remoting?
Is this a bug or a miss design in .NET?
Greetings
User Profile
Collapse
-
StreamingContextStates.Remoting
-
I think the only option is to reconvert the path, i do not have the path in this "normal windows path" form...... -
I think if windows is generally not able to connect to a local Path via UNC if no Networkcable is connected, i have to reconvert the UNC Path to a Windows Path. Maybe there is some sourcecode on the www. Or another way?
Thanks again.Leave a comment:
-
I tried with 127.0.0.1, no success
Strange thing is, if i put in the given path into the "run" box under "Start", the same error occurs.
I've tried with
\\D$\Temp\b.doc
and \\127.0.0.1\D$\ Temp\b.doc"
I've really got no plan?
ThanksLeave a comment:
-
Hmm
I am connected to a domain, but i do not access shares in the network, i just want to access a file on my local disk via a UNC-Path. (D$ is a sharing from my local computer)
If i am not connected to the LAN, i get this Error (but i think it doesn't need network or something because all is completely local?)
I will try with 127.0.0.1 instead of my local host name and will post the result...Leave a comment:
-
File.OpenRead WinIOError with UNC Path when not connected to LAN
Hello Dear
As in the title above, im getting a WinIOError Exception (_COMPlusExcept ionCode -532459699) if i would like to open a file for Read with "File.OpenRead( UNCPath)" and the network cable is not connected to the pc.
The UNC-Path is a legal path to the local harddisk ("\\\\DEV220\\D $\\Temp\\b.doc" )
I do not get any error if i plugin the network cable.
Is there a way to...
No activity results to display
Show More
Leave a comment: