Server Error in '/' Application.

The process cannot access the file 'E:\kiyafetsepeti.com.tr\App_LocalResources\Default.en.resx' because it is being used by another process.

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.IO.IOException: The process cannot access the file 'E:\kiyafetsepeti.com.tr\App_LocalResources\Default.en.resx' because it is being used by another process.

Source Error:


Line 52:     }
Line 53:     @*<title>@System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(((string)ViewBag.Title).ToLower(System.Globalization.CultureInfo.CurrentCulture))</title>*@
Line 54:     <title>@Html.L(System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(((string)ViewBag.Title).ToLower(System.Globalization.CultureInfo.CurrentCulture)))</title>
Line 55:     <link rel="icon" type="image/png" href="~/Content/images/favicon.png" />
Line 56:     @if (ViewBag.noIndex == true)

Source File: e:\kiyafetsepeti.com.tr\Views\Shared\_Layout.cshtml    Line: 54

Stack Trace:


[IOException: The process cannot access the file 'E:\kiyafetsepeti.com.tr\App_LocalResources\Default.en.resx' because it is being used by another process.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1274
   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) +1118
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +138
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +84
   System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding) +66
   System.Resources.ResXResourceWriter.InitializeWriter() +209
   System.Resources.ResXResourceWriter.AddDataRow(String elementName, String name, String value, String type, String mimeType, String comment) +352
   System.Resources.ResXResourceWriter.AddDataRow(String elementName, String name, String value) +122
   ECom.Lib.Helper.GlobalHelper.ResText(String currentCulture, String text, String group) +897
   ASP._Page_Views_Shared__Layout_cshtml.Execute() in e:\kiyafetsepeti.com.tr\Views\Shared\_Layout.cshtml:54
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +77
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +122
   System.Web.WebPages.<>c__DisplayClass40_0.<RenderPageCore>b__0(TextWriter writer) +305
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +108
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +98
   System.Web.WebPages.WebPageBase.PopContext() +312
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +376
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +91
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +793
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +793
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81
   System.Web.Mvc.Async.<>c__DisplayClass3_1.<BeginInvokeAction>b__5(IAsyncResult asyncResult) +188
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +2010
   System.Web.Mvc.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +42
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
   System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +10
   System.Web.Mvc.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState) +43
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +29
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +4239
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +1401


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