probably i'm in the wrong place, but there's not a place.
I'm moving applications from IIS6 to IIS7.5 (win 7 an win server 2008 r2), when 2 applications (with identity impersonate) try to get a file with response.writefile only from a UNC path i'll get "access denied". In IIS6 and Visual Studio Developer Web Server, same code works.
I can save file with FilePath.SaveAs and get name and length with FileInfo, but not download.
After 2 days of nightmares I have tried to change
Response.WriteFile(filePath)
to
Response.BinaryWrite(File.ReadAllBytes(filePath))
and now work.
My question is: can I have a microsoft developer to sacrificate for my avenge ????? :)
...
Go to the complete details ...