Monthly Archives: January 2009

[email protected] server software updated

Dear all. I’ve just updated [email protected] projects server software. The update went smoothly, but some bad things can still occure. In case of some incovenience please let me know.

Projects main application was changed. Now it is more practical – not just test application, but more about it will be written in the upcoming posts.

Thank you for your contribution.

c#.NET file acces denied problem

I was trying to access a file with the user having only read permission. the code looked like:
[code lang=”c#”]FileStream fs =new FileStream(
“c:\path\to\file.ext”,
FileMode.Open); [/code]
and it uset to throw exception “access denied”. After some investigations I’ve found that FileAccess.Read helps a lot.[code lang=”c#”]FileStream fs = new FileStream(
“c:\path\to\file.ext”,
FileMode.Open,
FileAccess.Read); [/code]