microsoft / IIS.ServiceMonitor

An entrypoint process for running IIS in Windows containers
MIT License
126 stars 42 forks source link

Environment Variables Value Should Be Convert to LongPathName #35

Closed mcy94w closed 6 years ago

mcy94w commented 6 years ago

There are cases that ServiceMontor.exe will get Environment Variables Value as Short Path Name. They need to be convert to full path name before add to ApplicationHost.config.

env NAME:|TEMP| VALUE:|C:\Users\CONTAI~1\AppData\Local\Temp| will be added env NAME:|TMP| VALUE:|C:\Users\CONTAI~1\AppData\Local\Temp| will be added

mcy94w commented 6 years ago

Set NtfsDisable8dot3NameCreation registry key to value ‘2’ can resolve this issue.

bariscaglar commented 6 years ago

Workaround should be sufficient. There's no urgency to fix this right now.