[UnauthorizedAccessException: Access to the path 'E:\Vhosts\sextoys-aanbiedingen.nl\httpdocs\App_Data\ShoppingCarts\a176b37f-94a3-4f18-a93a-84adca002ad6.cart' is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +435
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) +1242
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +146
System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost) +126
System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost) +105
System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost) +83
SextoysAanbiedingenMvcApplication.Models.ShoppingCart.SaveAs(String fileName) in C:\Data\Projects\Sextoys-Aanbiedingen-2\Sextoys Aanbiedingen 2.0\SextoysAanbiedingenMvcApplication\Models\ShoppingCart.cs:109
SextoysAanbiedingenMvcApplication.Controllers.ShoppingCartController.Add(String id, String variant, Int32 quantity) in C:\Data\Projects\Sextoys-Aanbiedingen-2\Sextoys Aanbiedingen 2.0\SextoysAanbiedingenMvcApplication\Controllers\ShoppingCartController.cs:244
lambda_method(Closure , ControllerBase , Object[] ) +243
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +280
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +80
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +466
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +659
System.Web.Mvc.Controller.ExecuteCore() +147
System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +91
System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +60
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +25
System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +60
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +431
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158
|