Message: Caller Name: Main Source File: C:\Projects\Govil\GovILMVC\Govil\SiteMapGenerator\Program.cs Line Number: 44 EX Message: Access to the path 'D:\www\GovIL\sitemap\sitemap11.html' is denied. EX StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) at System.IO.File.WriteAllText(String path, String contents) at SiteMapGenerator.SiteMapGenerators.SiteMapHTML.SaveLocalFile(String filePath) at SiteMapGenerator.Program.runSiteMapGenerator(FileConfigurationElement fileCofig, List`1 urlList) at SiteMapGenerator.Program.Main(String[] args)