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.



hi,

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

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Domain migration ERR3:7075 Failed to change domain affiliation, hr=8007054a This operation is only allowed for the Primary Domain Controller of the domain

How do a find data in one file, search for it in another file and if not found, write a custom message to another file