Generate Fnis For Users Error

Posted on by admin

This section covers some common problems that you might encounter when writing Java applets. After each problem is a list of possible reasons and solutions.

I am trying to create a log file in my program:

I have received this error:

Access to the path 'c:log.txt' is denied

How can i get access to c ?

Generate Fnis For Users Error

Thanks.

user2153436user2153436

1 Answer

I think you have to force .NET to run this programm as administrator:

Fnis Error 2012

But you should write your log file any where else then 'C:', you can use a temp directory like this http://msdn.microsoft.com/de-de/library/system.io.path.gettemppath(v=vs.110).aspx or you use something like 'C:temp'

Islands May 6, 2018 - [JPN] Go Fujimoto 藤本郷 & Senga Migiri 旋牙闇霧 (Underground Campaign UGCP) – Okinawa Slave Island. NOTE: You must run the game.

If you like to write your log file into the directory of the executing assembly use this to get the directory:

Community
joh.scheuerjoh.scheuer

Not the answer you're looking for? Browse other questions tagged c#access-denied or ask your own question.