Error message 'System.IO.IOException: Invalid Signature' when the C# program tries to access a file under a DFS mechanism folder
hi there
of end-users access our webswite , got 'system.io.ioexception: invalid signature' exception. hard figure out why 'invalid signature' error comes out.
environment : windows 2012 + dfs feature enabled. the c# program tried access file under dfs folder.
following exception stack:
system.web.httpunhandledexception (0x80004005): exception of type 'system.web.httpunhandledexception' thrown. ---> system.io.ioexception: invalid signature. at system.io.__error.winioerror(int32 errorcode, string maybefullpath) at system.io.filestream.init(string path, filemode mode, fileaccess access, int32 rights, boolean userights, fileshare share, int32 buffersize, fileoptions options, security_attributes secattrs, string msgpath, boolean bfromproxy, boolean uselongpath, boolean checkhost) at system.io.filestream..ctor(string path, filemode mode, fileaccess access, fileshare share, int32 buffersize, fileoptions options, string msgpath, boolean bfromproxy) at system.io.filestream..ctor(string path, filemode mode, fileaccess access).
can please shed light on issue.
thanks.
since issue related system.io.ioexception class, suggest ask msdn forum better , accurate answer.
https://social.msdn.microsoft.com/forums/vstudio/en-us/home?forum=csharpgeneral
understanding.
best regards,
mandy
please remember mark replies answers if , unmark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com.
Windows Server > File Services and Storage
Comments
Post a Comment