PCM Logger/ problem writing log file
Re: PCM Logger/ problem writing log file
Thank you!
Just to be clear, the latest release on Github is 21.0 ... 21.2 is posted here: PCM Hammer Release 021
So, the issue is resolved, just not in a release version, any of the CheckBuild versions should work fine.
As for the Logger write issue, I will build a Windows 11 machine and test, it'll take me a few days, I have to have someone move some PC's around for me so I can plug in a new machine into my new stack of monitors.
-Enjoy
Just to be clear, the latest release on Github is 21.0 ... 21.2 is posted here: PCM Hammer Release 021
So, the issue is resolved, just not in a release version, any of the CheckBuild versions should work fine.
As for the Logger write issue, I will build a Windows 11 machine and test, it'll take me a few days, I have to have someone move some PC's around for me so I can plug in a new machine into my new stack of monitors.
-Enjoy
Intelligence is in the details!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
-
- Posts: 49
- Joined: Thu Jan 19, 2017 11:09 pm
- cars: 93 K1500, 5.7, 4L60E, 16168625 $E6
Re: PCM Logger/ problem writing log file
Awesome, thanks Gampy.
Re: PCM Logger/ problem writing log file
Stokes1114,
I finally got the opportunity to install Windows 11 and cannot reproduce the issue ...
1. I need more Windows 11 info, for example, what version/style/mode of Win11 are you using ??
See Settings, System, About ... Either post or PM me a screen shot.
2. What type of device ??
Laptop, tablet, etc ...
3. What virus protection ??
4. Any other system protection applications ??
-Enjoy
I finally got the opportunity to install Windows 11 and cannot reproduce the issue ...
1. I need more Windows 11 info, for example, what version/style/mode of Win11 are you using ??
See Settings, System, About ... Either post or PM me a screen shot.
2. What type of device ??
Laptop, tablet, etc ...
3. What virus protection ??
4. Any other system protection applications ??
-Enjoy
Intelligence is in the details!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
-
- Posts: 49
- Joined: Thu Jan 19, 2017 11:09 pm
- cars: 93 K1500, 5.7, 4L60E, 16168625 $E6
Re: PCM Logger/ problem writing log file
Thanks Gampy, I'll get that info to you asap!
-
- Posts: 49
- Joined: Thu Jan 19, 2017 11:09 pm
- cars: 93 K1500, 5.7, 4L60E, 16168625 $E6
Re: PCM Logger/ problem writing log file
Hopefully this is what your looking for Gampy!
I have not messed with any antivirus. I did try to disable the built in windows crap, but Im not great with windows so cant be sure I disabled it all.
I have not messed with any antivirus. I did try to disable the built in windows crap, but Im not great with windows so cant be sure I disabled it all.
- Attachments
-
- PC_Specs_.txt
- (473 Bytes) Downloaded 61 times
Re: PCM Logger/ problem writing log file
I'll install Windows 11 Home and test, beyond that I'm not sure where to go other then what I suggest below ...
However, first I want to install a new Visual Studio in this Win11 Pro, then Upgrade a copy of PCMHammer to the new Visual Studio and test with that, this covers multiple tests I need to perform at once.
PCMLogger is using Microsofts own StreamWriter Class to handle writing the log to permanent storage (or whatever fancy name they call 'Disk Storage' nowadays).
And it is attempting to write to what should be a valid location for all systems and users ...C# for the users 'Documents' folder.
This means PCMLogger should run fine in 'Programs' (or ??) folder, the log file is already writing to the Users 'Document' folder.
Meaning it's all done right ... So it's possible this is a StreamWriter/TextWriter issue within your system, you can try uninstalling the following, they are intertwined with streamwriter and may have been updated causing this issue.
ATM I am working with Win 11 Pro, unsure of possible differences ...
Search for: Control Panel
Open: Control Panel
Click: Programs and Features
Click: Turn Windows features on or off
Expand: Print and Document Services
Take note of current settings for the following,
. Microsoft Print to PDF
. Microsoft XPS Document Document Writer
. Print and Document Services
. . And its sub categories
Then remove any check marks from them ...
Select: Ok
Restart ...
Search for: Control Panel
Open: Control Panel
Click: Programs and Features
Click: Turn Windows features on or off
Expand: Print and Document Services
Apply check marks as noted previously, there should at least be,
. Microsoft Print to PDF
. Print and Document Services
. . And Possibly: Internet Printing Client
Restart again.
Test ...
-Enjoy
However, first I want to install a new Visual Studio in this Win11 Pro, then Upgrade a copy of PCMHammer to the new Visual Studio and test with that, this covers multiple tests I need to perform at once.
PCMLogger is using Microsofts own StreamWriter Class to handle writing the log to permanent storage (or whatever fancy name they call 'Disk Storage' nowadays).
And it is attempting to write to what should be a valid location for all systems and users ...
Code: Select all
logDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
This means PCMLogger should run fine in 'Programs' (or ??) folder, the log file is already writing to the Users 'Document' folder.
Meaning it's all done right ... So it's possible this is a StreamWriter/TextWriter issue within your system, you can try uninstalling the following, they are intertwined with streamwriter and may have been updated causing this issue.
ATM I am working with Win 11 Pro, unsure of possible differences ...
Search for: Control Panel
Open: Control Panel
Click: Programs and Features
Click: Turn Windows features on or off
Expand: Print and Document Services
Take note of current settings for the following,
. Microsoft Print to PDF
. Microsoft XPS Document Document Writer
. Print and Document Services
. . And its sub categories
Then remove any check marks from them ...
Select: Ok
Restart ...
Search for: Control Panel
Open: Control Panel
Click: Programs and Features
Click: Turn Windows features on or off
Expand: Print and Document Services
Apply check marks as noted previously, there should at least be,
. Microsoft Print to PDF
. Print and Document Services
. . And Possibly: Internet Printing Client
Restart again.
Test ...
-Enjoy
Intelligence is in the details!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
-
- Posts: 49
- Joined: Thu Jan 19, 2017 11:09 pm
- cars: 93 K1500, 5.7, 4L60E, 16168625 $E6
Re: PCM Logger/ problem writing log file
Thanks Gampy I'll will do that and report back.
Re: PCM Logger/ problem writing log file
I have installed Win11 Home, I've tried everything I can think of to replicate the issue, even locking down the system in S mode ... Including setting the log location to various invalid locations!
You need to do as previously suggested to see if that fixes Streamwriter/Textwriter.
You can look at the updates installed just prior to this issue and see if any of the above mentioned Apps were updated (or any Streamwriter/Textwriter apps), it is easier just to do as suggested and remove/re-install them.
-Enjoy
You need to do as previously suggested to see if that fixes Streamwriter/Textwriter.
You can look at the updates installed just prior to this issue and see if any of the above mentioned Apps were updated (or any Streamwriter/Textwriter apps), it is easier just to do as suggested and remove/re-install them.
-Enjoy
Intelligence is in the details!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
It is easier not to learn bad habits, then it is to break them!
If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
-
- Posts: 49
- Joined: Thu Jan 19, 2017 11:09 pm
- cars: 93 K1500, 5.7, 4L60E, 16168625 $E6
Re: PCM Logger/ problem writing log file
Ok thanks Gampy, I will be back to my truck tomorrow to test. I did all you asked to the laptop so hopefully that does it.