ErrorMessage: Invalid path / permissions: [D:\home\site\wwwroot\gallery\Samples\CSharp\temp] Please confirm the TempDirectory property is set to a valid path and that the anonymous web user (ASPNET/Network Service) has file level (NTFS) write permissions on this directory. If the TempDirectory property is not set, .netCHARTING will attempt to write the temp files in the same directory as the calling script.