Jump to content

Error zip file


Spizzo

Recommended Posts

Hello,

when i have built the file i ve this error when i push the button to make a zip file. Is there anyone that can help me?

 

Server Error in '/rangerfox/Wherigo/kit' Application.

 

Access to the path 'D:\Hosting\2657634\html\rangerfox\Wherigo\kit\cartridgeMedia\9b0d11fd-fc70-4215-9b75-d5d3ebd020f1.zip' is denied.

 

Description: 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.

 

Exception Details: System.UnauthorizedAccessException: Access to the path 'D:\Hosting\2657634\html\rangerfox\Wherigo\kit\cartridgeMedia\9b0d11fd-fc70-4215-9b75-d5d3ebd020f1.zip' is denied.

 

ASP.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 the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

 

To grant ASP.NET access to a file, right-click the file in File Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

 

Source Error:

 

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.

 

Stack Trace:

 

[unauthorizedAccessException: Access to the path 'D:\Hosting\2657634\html\rangerfox\Wherigo\kit\cartridgeMedia\9b0d11fd-fc70-4215-9b75-d5d3ebd020f1.zip' is denied.]

System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +217

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) +1305

System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +60

System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync) +54

MS.Internal.IO.Zip.ZipArchive.OpenOnFile(String path, FileMode mode, FileAccess access, FileShare share, Boolean streaming) +249

System.IO.Packaging.ZipPackage..ctor(String path, FileMode mode, FileAccess access, FileShare share, Boolean streaming) +141

System.IO.Packaging.Package.Open(String path, FileMode packageMode, FileAccess packageAccess, FileShare packageShare, Boolean streaming) +225

System.IO.Packaging.Package.Open(String path, FileMode packageMode) +48

RangerFox.Wherigo.Kit.Data.Lua.LuaExporter.ToGroundspeakBuilder(Cartridge c) +127

RangerFox.Wherigo.Kit.UI.Builder._default.Build(Object sender, EventArgs e) +57

System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +116

System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +101

System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13

System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +9671830

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724

 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237

Link to comment

I'm writing this post as I deal with the problem.

 

===========

 

So... I have automatic billing for my hosting service. They charged me this morning for the renewal. And now the web server is not responding? Does one of their systems have to wait for another?

 

Well, I sent an email to support and it looks like they realized their mistake. So that's part of it. While I was waiting, I FTPed into the server and copied the entire web site. I usually do that anyway every week or two because backing up is a good thing to do.

 

===========

 

And now I can reproduce the zip file problem. After all the mess with the server, I wonder if the permissions were out of sync? I checked, reapplied the permissions to the directories I use to store all cartridge media and temporary zip files. I am now able to build zip files again.

 

===========

 

All this reminds me why I'm not hosting the Wherigo Foundation site using that hosting service. I'll see what I can do over Christmas about moving Kit to Azure. I have a lot of Wherigo things to do over the holidays, and even some things at work. Just remind me to play if I ever get dull.

Edited by Ranger Fox
Removing internal ops info
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...