PDA

View Full Version : سوال: مشکل با فایل tinyMCE در server



aynehband
سه شنبه 10 شهریور 1388, 02:51 صبح
برنامه من کاملا در محیط local اجرا میشه اما در سرور وقتی که فایل Moxiecode.TinyMCE.dll را کپی می کنم هیچ صفحه ای از سایت باز نمی شه و پیغام خطای زیر رو میدهد:




Server Error in '/' Application.
Could not load file or assembly 'MoxiecodeTinyMCE' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
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.FileLoadException: Could not load file or assembly 'MoxiecodeTinyMCE' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

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.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'MoxiecodeTinyMCE' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Stack Trace:

[FileLoadException: Could not load file or assembly 'MoxiecodeTinyMCE' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
System.Reflection.Assembly.Load(String assemblyString) +28
System.Web.Configuration.CompilationSection.LoadAs semblyHelper(String assemblyName, Boolean starDirective) +46

[ConfigurationErrorsException: Could not load file or assembly 'MoxiecodeTinyMCE' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)]
System.Web.Configuration.CompilationSection.LoadAs semblyHelper(String assemblyName, Boolean starDirective) +613
System.Web.Configuration.CompilationSection.LoadAl lAssembliesFromAppDomainBinDirectory() +203
System.Web.Configuration.CompilationSection.LoadAs sembly(AssemblyInfo ai) +105
System.Web.Compilation.BuildManager.GetReferencedA ssemblies(CompilationSection compConfig) +178
System.Web.Compilation.BuildProvidersCompiler..cto r(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +54
System.Web.Compilation.CodeDirectoryCompiler.GetCo deDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +600
System.Web.Compilation.BuildManager.CompileCodeDir ectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +128
System.Web.Compilation.BuildManager.CompileCodeDir ectories() +265
System.Web.Compilation.BuildManager.EnsureTopLevel FilesCompiled() +320

[HttpException (0x80004005): Could not load file or assembly 'MoxiecodeTinyMCE' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)]
System.Web.Compilation.BuildManager.ReportTopLevel CompilationException() +58
System.Web.Compilation.BuildManager.EnsureTopLevel FilesCompiled() +512
System.Web.Hosting.HostingEnvironment.Initialize(A pplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +729

[HttpException (0x80004005): Could not load file or assembly 'MoxiecodeTinyMCE' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)]
System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +8894031
System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context) +85
System.Web.HttpRuntime.ProcessRequestNotificationP rivate(IIS7WorkerRequest wr, HttpContext context) +333


Version Information: Microsoft .NET Framework Version:2.0.50727.4016; ASP.NET Version:2.0.50727.4016





حتما خیلی هاتون از این tinymce استفاده کردید ، به نظرتون مشکل از کجاست؟

aynehband
سه شنبه 10 شهریور 1388, 19:38 عصر
کسی برخورد نکرده، تا فایل DLL را در پوشه BIN کپی می کنم ، این مشکل پیش میاد و هیچ صفحه ای از سایت باز نمیشه و وقتی پاکش می کنم درست میشه

aynehband
پنج شنبه 19 شهریور 1388, 02:48 صبح
سایت کاملا در لوکال اجرا میشه، فقط وقتی dll رو آپلود می کنم ، دیگه تمام سایت از کار می افته و اون خطا رو میدهد. به محض پاک کردنش درست میشه. اصلا بقیه برنامه رو آپلود نکردم، فقط تا dll را آپلود می کنم این خطا را میدهد.
مربوط به تخصیص حافظه dll ها باید باشه.

اوبالیت به بو
دوشنبه 15 شهریور 1389, 16:53 عصر
سلام

سایت کاملا در لوکال اجرا میشه، فقط وقتی dll رو آپلود می کنم ، دیگه تمام سایت از کار می افته و اون خطا رو میدهد. به محض پاک کردنش درست میشه. اصلا بقیه برنامه رو آپلود نکردم، فقط تا dll را آپلود می کنم این خطا را میدهد.
مربوط به تخصیص حافظه dll ها باید باشه.
اين DLL ها رو چي جوري در پوشه BIN كپي مي كني؟

هميشه از قسمت Refrences اين جور DLL ها به قسمت BIN كپي كن.