[
  {
    "Id": "628931",
    "ThreadId": "261697",
    "Html": "\r\n<h2><em><span id=\"result_box\" lang=\"en\"><span title=\"Clique para mostrar traduções alternativas\">I have</span>\r\n<span title=\"Clique para mostrar traduções alternativas\">the following problem:</span></span></em></h2>\r\n<h2><em>Access to the path 'c:\\windows\\system32\\inetsrv\\hus50q0s.gt1' is denied.</em></h2>\r\n<p><span style=\"font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif\"><strong>Description:\r\n</strong>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.\r\n<br>\r\n<br>\r\n<strong>Exception Details: </strong>System.UnauthorizedAccessException: Access to the path 'c:\\windows\\system32\\inetsrv\\hus50q0s.gt1' is denied.\r\n<br>\r\n<br>\r\nASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and\r\n the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via &lt;identity impersonate=&quot;true&quot;/&gt;, the identity will be the anonymous user (typically IUSR_MACHINENAME) or\r\n the authenticated request user. <br>\r\n<br>\r\nTo grant ASP.NET access to a file, right-click the file in Explorer, choose &quot;Properties&quot; and select the Security tab. Click &quot;Add&quot; to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.<br>\r\n<br>\r\n<strong>Source Error:</strong> <br>\r\n<br>\r\n</span></p>\r\n<table width=\"100%\" bgcolor=\"#ffffcc\">\r\n<tbody>\r\n<tr>\r\n<td><code>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code></td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<p><span style=\"font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif\"><br>\r\n<strong>Stack Trace:</strong> <br>\r\n<br>\r\n</span></p>\r\n<table width=\"100%\" bgcolor=\"#ffffcc\">\r\n<tbody>\r\n<tr>\r\n<td><code>\r\n<pre>[UnauthorizedAccessException: Access to the path 'c:\\windows\\system32\\inetsrv\\hus50q0s.gt1' is denied.]\r\n   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) &#43;12892935\r\n   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) &#43;2481\r\n   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) &#43;229\r\n   System.IO.FileStream..ctor(String path, FileMode mode) &#43;106\r\n   Ionic.Utils.Zip.ZipFile.get_WriteStream() &#43;324\r\n   Ionic.Utils.Zip.ZipFile.Save() &#43;331\r\n   KML_webadmin.gera_zip.Page_Load(Object sender, EventArgs e) &#43;4323\r\n   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) &#43;25\r\n   System.Web.UI.Control.LoadRecursive() &#43;71\r\n   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) &#43;3048\r\n</pre>\r\n</code></td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<p>but <span id=\"result_box\" lang=\"en\"><span title=\"Clique para mostrar traduções alternativas\">I used the</span>\r\n<span title=\"Clique para mostrar traduções alternativas\">program</span> <span title=\"Clique para mostrar traduções alternativas\">\r\ncaspol for Ionic.Utils.Zip.dll and not work, them i used for application </span></span></p>\r\n<p><span lang=\"en\"><span title=\"Clique para mostrar traduções alternativas\">C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319&gt;caspol -m -ag 1 -url &quot;<a href=\"file://\\\\s\">file://\\\\s</a><br>\r\nites\\topos\\topos_mapas\\*&quot; FullTrust -exclusive on</span></span></p>\r\n<p><span lang=\"en\"><span title=\"Clique para mostrar traduções alternativas\">and not work.</span></span></p>\r\n<p><span lang=\"en\"><span title=\"Clique para mostrar traduções alternativas\"><span id=\"result_box\" lang=\"en\"><span title=\"Clique para mostrar traduções alternativas\">Please</span>\r\n<span title=\"Clique para mostrar traduções alternativas\">could someone</span> <span title=\"Clique para mostrar traduções alternativas\">\r\nhelp?</span></span></span></span></p>\r\n",
    "PostedDate": "2011-06-16T14:17:59.747-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "629473",
    "ThreadId": "261697",
    "Html": "<p>The problem you are experiencing is a FILESYSTEM PERMISSIONS error.</p>\r\n<p>Caspol is not the tool that addresses this, I think.&nbsp;&nbsp; You need to use icacls.exe.&nbsp;</p>\r\n<p>Also - according to the error message you are trying to write a file in the inetsrv directory.&nbsp; This seems like a REALLY BAD idea.&nbsp;</p>\r\n<p>To avoid this, I suggest that you set the temp directory for DotNetZip (check the documentation).&nbsp;&nbsp;&nbsp;</p>\r\n<p>also, be sure to save into a writable directory, that is not c:\\windows\\system32\\ or somewhere in that tree.</p>\r\n<p>Good luck.</p>",
    "PostedDate": "2011-06-17T22:53:36.963-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]