2012-05-30 12 views
11

yük değil ve şimdi Visual Studio 2008 benim daha önce çalışan ASP.NET Web uygulaması başlatamıyorum - aşağıdaki hata alma:ASP.NET Bilgisayarım çöktü Meclis

=== Pre-bind state information === 
LOG: User = Adam-PC\Adam 
LOG: DisplayName = log4net 
(Partial) 
LOG: Appbase = file:///C:/Users/Adam/Desktop/SV/sview/Src/StoredProcedureTest/SV.Common.Web/ 
LOG: Initial PrivatePath = C:\Users\Adam\Desktop\SV\sview\Src\StoredProcedureTest\SV.Common.Web\bin 
Calling assembly : (Unknown). 
=== 
LOG: This bind starts in default load context. 
LOG: Using application configuration file: C:\Users\Adam\Desktop\SV\sview\Src\StoredProcedureTest\SV.Common.Web\web.config 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. 
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). 
LOG: Attempting download of new URL file:///C:/Users/Adam/AppData/Local/Temp/Temporary ASP.NET Files/root/b898aa04/e528dbc7/log4net.DLL. 
LOG: Attempting download of new URL file:///C:/Users/Adam/AppData/Local/Temp/Temporary ASP.NET Files/root/b898aa04/e528dbc7/log4net/log4net.DLL. 
LOG: Attempting download of new URL file:///C:/Users/Adam/Desktop/SV/sview/Src/StoredProcedureTest/SV.Common.Web/bin/log4net.DLL. 
LOG: Using application configuration file: C:\Users\Adam\Desktop\SV\sview\Src\StoredProcedureTest\SV.Common.Web\web.config 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. 
LOG: Post-policy reference: log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821 
ERR: Failed to complete setup of assembly (hr = 0x80070057). Probing terminated. 

Stack Trace: 


[FileLoadException: Could not load file or assembly 'log4net' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))] 

[FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))] 
    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(AssemblyName 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.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46 

[ConfigurationErrorsException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))] 
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613 
    System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203 
    System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105 
    System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178 
    System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +54 
    System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +232 
    System.Web.Compilation.BuildManager.CompileGlobalAsax() +51 
    System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +337 

[HttpException (0x80004005): Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))] 
    System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58 
    System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +512 
    System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +729 

[HttpException (0x80004005): Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))] 
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8921851 
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85 
    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259 
+0

Eğer geri başvuru eklemeyi deneyin mü? – IrishChieftain

+0

Evet, bunu denedim. Geçici bir dosya önbellek problemiydi. Aşağıya bakınız. –

cevap

22

cevap

C:/Users/Adam/AppData/Yerel/Sıcaklık/Temporary ASP.NET Files/kök/a BSOD sonra ben

+1

siz en iyisisiniz .. teşekkürler .. kıçımı kurtarın ..: D – bot

+0

bir çekicilik gibi çalışır! sadece bir soru: neden oluyor? – frabiacca

+0

TEŞEKKÜRLER !!!! sen de benim kıçımı kurtardı –

19

aynı hata kodu ama AutoMapper ile bu klasörün içeriğini silmek zorunda olduğunu .Net 4.0 MVC 3 projesi için VS 2010'da .dll.

C: Benim için çözünürlük içeriğini silmek oldu \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 Temporary \ ASP.NET Files \ temp

(Bu Windows 7 x64 üzerinde)

Hata iletisi 'Bind result: hr = 0x80070057 görünüyor. Parametre yanlış. ' Başvurulan bir DLL dosyasının geçici bir kopyası bir sistem hatasıyla bozulduğunda kaynaklanabilir. Çözünürlük bu geçici kopyayı kaldırmaktır. Daha sonra yeniden derlerken, derleyici özgün DLL'yi geçici klasöre yeniden kopyalayacaktır. yolların

+2

ile aynı sorunu vardı C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP içeriğini silmek zorunda kaldı .NET Dosyaları \ root – cchamberlain

+2

ayrıca C: \ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Geçici ASP.NET Dosyalarını (Framework64'e bakın) denetlemeniz gerekebilir. – DJA

+0

Madeni% LocalAppData% \ içeriğini silerek çözüldü Temp \ Geçici ASP.NET Dosyaları \ + +1 problemin sağlam bir açıklaması için. – muglio

7

Tüm liste kontrol etmek ve silmek için:

%LocalAppData%\Temp\Temporary ASP.NET Files\ 
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\ 
%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\ 
%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ 
%SystemRoot%\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\