PDA

View Full Version : کمک در شناسایی خطا



foadabd
دوشنبه 13 اردیبهشت 1389, 12:30 عصر
لطفا دوستانی که در این زمینه استادن کمک کنن من سایتم آپ کردم این خطا رئ می ده:Invalid access to memory location.
این کل صفحه:

Invalid access to memory location. (Exception from HRESULT: 0x800703E6) body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } 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.BadImageFormatException: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)

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:

[BadImageFormatException: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)]
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: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)]
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.WebDirectoryBatchCompiler.. ctor(VirtualDirectory vdir) +163
System.Web.Compilation.BuildManager.BatchCompileWe bDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +53
System.Web.Compilation.BuildManager.BatchCompileWe bDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +175
System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath virtualPath) +83
System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +261
System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101
System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +126
System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +62
System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
System.Web.UI.PageHandlerFactory.System.Web.IHttpH andlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
System.Web.MapHandlerExecutionStep.System.Web.Http Application.IExecutionStep.Execute() +93
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +155
مشکل از کجاست تو نت هم گشتم یکی دو تا راه حل از صفحات انگلیسی پیدا کردم که اثر نداشت از جمله add refrence و...
لطفا راهنمایی

alireza_s_84
دوشنبه 13 اردیبهشت 1389, 12:34 عصر
سلام:
فکر کنم شما داری با فرمت PNG کار میکنی و یک ارجاع به آدرس غیر معتبری تو حافظه میدی لطفا کد رو قرار بده تا بهتر بشه خطایابی کرد.
موفق باشی

foadabd
دوشنبه 13 اردیبهشت 1389, 12:54 عصر
مرسی از لطف شما ولی اگه آدرسی مشکل داشت یا خطایی اینجوری بود لوکال هم مشکل پیدا می کرد!!!
در ثانی من این فکرم کردم برای احتیاط یه صفحه خالی که فقط یک دگمه و لیبل داشت هم کنار پروژم آپ کردم که از از مستر ارث می برد و نه چیز دیگه ولی اونم این اررورو داد؟؟؟؟
پروژه ام هم یه مقداری حجمش زیاده و درهم پرهم که باید خودمم بهش ضمیمه کنم!
در مورد PNG هم که گفتید تمام آدرس ها رو چک کردم و هم ازJPG استفاده کردم نه PNG !!!:ناراحت:

foadabd
دوشنبه 13 اردیبهشت 1389, 20:32 عصر
یعنی کسی دیگه نظری نداره؟ که این اررور چیه؟

foadabd
چهارشنبه 15 اردیبهشت 1389, 12:00 عصر
حداقل یکی یه نظر بده یعتی تا حالا هیچ کس به این مشکل بر نخورده من اولیم؟!
مشکل حل شد !!