Building an asp.net application does not yield output - buildmaster

I tried to follow this tutorial.
My plan was
checking out the local git repo
compile and deploy that to my local IIS (under C:/inetpub/wwwroot/)
call that "integration testing".
I created the following deployment plan:
with MY-PC being my local machine.
However, I am missing something. The Build step does not produce output. In Visual Studio, building does not do it either, i still have to publish it. (Right?)
I am new to buildmaster as well as deploying asp.net applications (I want to do it right the first time...) which leves me wondering what I forgot. The Buildmaster log is as follows:
Source and target directory are the same; splitting...
AgentBasedAction initialization complete:
Temp Directory: C:\BuildMaster\_SVCTMP\_A4\_S4\TMP
Source Directory: C:\BuildMaster\_SVCTMP\_A4\_S4\SRC
Target Directory: C:\BuildMaster\_SVCTMP\_A4\_S4\WRK
Server: MY-PC (Id: 1)
Initializing action...
Initialization complete. Executing...
Executing Get Latest...
Clearing target directory "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK" before getting latest source...
Getting latest source code from path "C:\Repositories\SecretProject|master:"...
Get latest from source control complete.
Execution complete. Finalizing...
Target directory used. Abandoning source.
Finalization complete.
AgentBasedAction initialization complete:
Temp Directory: C:\BuildMaster\_SVCTMP\_A4\_S4\TMP
Source Directory: C:\BuildMaster\_SVCTMP\_A4\_S4\WRK
Target Directory: C:\inetpub\wwwroot\secret-project
Server: MY-PC (Id: 1)
Initializing action...
Initialization complete. Executing...
Arguments: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe" "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\Secret_Project.sln" /t:Rebuild /p:Configuration=Debug;DeployOnBuild=True;BaseIntermediateOutputPath=C:\BuildMaster\_SVCTMP\_A4\_S4\TMP\
Working Directory: C:\BuildMaster\_SVCTMP\_A4\_S4\WRK
Executing C:\BuildMaster\_SVCTMP\ExtTemp\WindowsSdk\BmBuildLogger.exe
Starting process: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\Secret_Project.sln" "/t:Rebuild" "/p:Configuration=Debug;DeployOnBuild=True;BaseIntermediateOutputPath=C:\BuildMaster\_SVCTMP\_A4\_S4\TMP\\" "/logger:C:\BuildMaster\_SVCTMP\ExtTemp\WindowsSdk\BmBuildLogger.exe;05636b406dfa4d97a32995e3c69b9d14"
Building Projekt "Secret_Project.sln", Rebuild Ziel(e):
Message: Die Projektmappenkonfiguration "Debug|Any CPU" wird erstellt.
Building Projekt "Secret_Project.csproj", Rebuild Ziel(e):
MakeDir: Das Verzeichnis "C:\BuildMaster\_SVCTMP\_A4\_S4\TMP\Debug\" wird erstellt.
MakeDir: Das Verzeichnis "bin\" wird erstellt.
MSBuild: Das Ziel "GenerateTargetFrameworkMonikerAttribute" wird bersprungen, da alle Ausgabedateien hinsichtlich der Eingabedateien aktuell sind.
Csc: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /highentropyva+ /reference:C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll /reference:C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\EntityFramework.6.1.0\lib\net45\EntityFramework.dll /reference:C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\EntityFramework.6.1.0\lib\net45\EntityFramework.SqlServer.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Microsoft.CSharp.dll" /reference:C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\mscorlib.dll" /reference:C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Newtonsoft.Json.6.0.3\lib\net45\Newtonsoft.Json.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.ComponentModel.DataAnnotations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Configuration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Drawing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.EnterpriseServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Net.Http.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Net.Http.WebRequest.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Web.Abstractions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Web.ApplicationServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Web.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Web.DynamicData.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Web.Entity.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Web.Extensions.dll" /reference:C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.Helpers.dll /reference:C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.Mvc.5.1.2\lib\net45\System.Web.Mvc.dll /reference:C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll /reference:C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.Razor.3.1.2\lib\net45\System.Web.Razor.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Web.Routing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Web.Services.dll" /reference:C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.Deployment.dll /reference:C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.dll /reference:C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.Razor.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\System.Xml.Linq.dll" /reference:C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\WebGrease.1.6.0\lib\WebGrease.dll /debug+ /debug:full /optimize- /out:C:\BuildMaster\_SVCTMP\_A4\_S4\TMP\Debug\Secret_Project.dll /subsystemversion:6.00 /target:library /utf8output App_Start\BundleConfig.cs App_Start\FilterConfig.cs App_Start\RouteConfig.cs Controllers\HomeController.cs Global.asax.cs Properties\AssemblyInfo.cs "C:\Windows\TEMP\.NETFramework,Version=v4.5.1.AssemblyAttributes.cs"
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll" in "bin\Antlr3.Runtime.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\EntityFramework.6.1.0\lib\net45\EntityFramework.dll" in "bin\EntityFramework.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\EntityFramework.6.1.0\lib\net45\EntityFramework.SqlServer.dll" in "bin\EntityFramework.SqlServer.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll" in "bin\Microsoft.Web.Infrastructure.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Newtonsoft.Json.6.0.3\lib\net45\Newtonsoft.Json.dll" in "bin\Newtonsoft.Json.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.Helpers.dll" in "bin\System.Web.Helpers.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.Mvc.5.1.2\lib\net45\System.Web.Mvc.dll" in "bin\System.Web.Mvc.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.dll" in "bin\System.Web.Optimization.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.Razor.3.1.2\lib\net45\System.Web.Razor.dll" in "bin\System.Web.Razor.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.Deployment.dll" in "bin\System.Web.WebPages.Deployment.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.dll" in "bin\System.Web.WebPages.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.Razor.dll" in "bin\System.Web.WebPages.Razor.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\WebGrease.1.6.0\lib\WebGrease.dll" in "bin\WebGrease.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\EntityFramework.6.1.0\lib\net45\EntityFramework.xml" in "bin\EntityFramework.xml" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\EntityFramework.6.1.0\lib\net45\EntityFramework.SqlServer.xml" in "bin\EntityFramework.SqlServer.xml" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Newtonsoft.Json.6.0.3\lib\net45\Newtonsoft.Json.xml" in "bin\Newtonsoft.Json.xml" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.Helpers.xml" in "bin\System.Web.Helpers.xml" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.Mvc.5.1.2\lib\net45\System.Web.Mvc.xml" in "bin\System.Web.Mvc.xml" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\System.Web.Optimization.xml" in "bin\System.Web.Optimization.xml" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.Razor.3.1.2\lib\net45\System.Web.Razor.xml" in "bin\System.Web.Razor.xml" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.xml" in "bin\System.Web.WebPages.xml" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.Deployment.xml" in "bin\System.Web.WebPages.Deployment.xml" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\System.Web.WebPages.Razor.xml" in "bin\System.Web.WebPages.Razor.xml" kopiert.
Copy: Das Verzeichnis "bin\de" wird erstellt.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\de\System.Web.Helpers.resources.dll" in "bin\de\System.Web.Helpers.resources.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.Mvc.5.1.2\lib\net45\de\System.Web.Mvc.resources.dll" in "bin\de\System.Web.Mvc.resources.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.Web.Optimization.1.1.3\lib\net40\de\System.Web.Optimization.resources.dll" in "bin\de\System.Web.Optimization.resources.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.Razor.3.1.2\lib\net45\de\System.Web.Razor.resources.dll" in "bin\de\System.Web.Razor.resources.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\de\System.Web.WebPages.resources.dll" in "bin\de\System.Web.WebPages.resources.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\de\System.Web.WebPages.Deployment.resources.dll" in "bin\de\System.Web.WebPages.Deployment.resources.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\packages\Microsoft.AspNet.WebPages.3.1.2\lib\net45\de\System.Web.WebPages.Razor.resources.dll" in "bin\de\System.Web.WebPages.Razor.resources.dll" kopiert.
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\TMP\Debug\Secret_Project.dll" in "bin\Secret_Project.dll" kopiert.
Message: Secret_Project -> C:\BuildMaster\_SVCTMP\_A4\_S4\WRK\Secret_Project\bin\Secret_Project.dll
Copy: Die Datei wird von "C:\BuildMaster\_SVCTMP\_A4\_S4\TMP\Debug\Secret_Project.pdb" in "bin\Secret_Project.pdb" kopiert.
Erstellen des Projekts Secret_Project.csproj beendet.
Erstellen des Projekts Secret_Project.sln beendet.
An unhandled exception occurred while executing this action: System.InvalidOperationException: There are no files in the expected output directory: C:\BuildMaster\_SVCTMP\_A4\_S4\TMP\Debug\Package\PackageTmp
bei Inedo.BuildMaster.Extensibility.Actions.RemoteCommandExecution.RemoteCommandExecuter.ExecuteCommand(RemoteActionBase remoteAction, String commandName, String[] commandArgs)
bei Inedo.BuildMaster.Extensibility.Agents.Local.LocalAgent.Inedo.BuildMaster.Extensibility.Agents.IRemoteCommandExecuter.ExecuteCommand(RemoteActionBase action, String commandName, String[] commandArgs)
bei Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.ExecuteRemoteCommand(String name, String[] args)
bei Inedo.BuildMaster.Extensibility.Actions.ActionBase.ExecuteInternal(IActionExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)
With "Erstellen des Projekts Secret_Project.sln beendet." the solution is completely build. Buildmaster appears to assume some files in the TMP directory, but there are only these:
I should add, that building the very first tutorial application failed as well and I cannot create another one because of this error:
An error occurred while saving: 50000161Providers_CreateOrUpdateProvider25`A provider with that name already exists.

I don't know the exact reason, but it is working now. A major factor might have been the following: Above, I started with the standard or the empty application. Now, i used the .net application template.
The build action is now "Build MSBuild project" and not "Build ASP.net or MVC project" which I had selected before.

Related

OpenStack can't install nova-compute

Trying to setup an openstack instance on my servers running Ubuntu 20.04.2 LTS following the OpenStack installation guide. Now I'm trying to install nova-compute on my compute node, but I run into the following error:
sudo apt install nova-compute
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
nova-compute : Hängt ab von: nova-compute-kvm soll aber nicht installiert werden oder
nova-compute-hypervisor
Hängt ab von: python3-nova (= 2:22.1.0-0ubuntu1~cloud0) soll aber nicht installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
I seems that some dependencies are not installed on my machine yet, assume that all required repositories have been added to it.
Any suggests were this error could come from?

unable to run kestrel on mono/linux

I try to run the sample ASP.NET5 MVC application from aspnet/Home sample. (kpm build runs without errors). When i try to run k kestrel i got the following error :
Mono: DllImport unable to load library 'libapi-ms-win-core-file-l1-2-0.dll: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden'.
Mono: DllImport unable to load library 'libapi-ms-win-core-file-l1-2-0.dll: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden'.
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) Microsoft.AspNet.Server.Kestrel.Networking.PlatformApis/LinuxApis.dlopen (string,int) <0xffffffff>
at Microsoft.AspNet.Server.Kestrel.Networking.PlatformApis/LinuxApis.LoadLibrary (string) <0x0001b>
at Microsoft.AspNet.Server.Kestrel.Networking.Libuv.Load (string) <0x0002e>
at Microsoft.AspNet.Server.Kestrel.KestrelEngine..ctor (Microsoft.Framework.Runtime.ILibraryManager) <0x0038f>
at Kestrel.ServerFactory.Start (Microsoft.AspNet.Builder.IServerInformation,System.Func`2<object, System.Threading.Tasks.Task>) <0x0011f>
at Microsoft.AspNet.Hosting.HostingEngine.Start (Microsoft.AspNet.Hosting.HostingContext) <0x001d4>
at Microsoft.AspNet.Hosting.Program.Main (string[]) <0x00312>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0xffffffff>
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000af>
at System.Reflection.MethodBase.Invoke (object,object[]) <0x00046>
at Microsoft.Framework.Runtime.Common.EntryPointExecutor.Execute (System.Reflection.Assembly,string[],System.IServiceProvider) <0x000f7>
at Microsoft.Framework.ApplicationHost.Program.ExecuteMain (Microsoft.Framework.Runtime.DefaultHost,string,string[]) <0x001eb>
at Microsoft.Framework.ApplicationHost.Program.Main (string[]) <0x0035b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_object__this___object (object,intptr,intptr,intptr) <0xffffffff>
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0xffffffff>
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000af>
at System.Reflection.MethodBase.Invoke (object,object[]) <0x00046>
at Microsoft.Framework.Runtime.Common.EntryPointExecutor.Execute (System.Reflection.Assembly,string[],System.IServiceProvider) <0x000f7>
at kre.host.Bootstrapper.Main (string[]) <0x002c3>
at (wrapper runtime-invoke) <Module>.runtime_invoke_object__this___object (object,intptr,intptr,intptr) <0xffffffff>
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0xffffffff>
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000af>
at System.Reflection.MethodBase.Invoke (object,object[]) <0x00046>
at kre.hosting.RuntimeBootstrapper.ExecuteAsync (string[]) <0x0139f>
at kre.hosting.RuntimeBootstrapper.Execute (string[]) <0x0004b>
at EntryPoint.Main (string[]) <0x00143>
at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
mono(mono_handle_native_sigsegv+0xf3) [0x811b9b3]
mono(mono_arch_handle_altstack_exception+0xb4) [0x8167054]
mono(mono_sigsegv_signal_handler+0x107) [0x8096627]
[0xb779b40c]
/lib/ld-linux.so.2(+0xe9f6) [0xb77aa9f6]
/lib/ld-linux.so.2(+0x11ba8) [0xb77adba8]
/usr/lib/i386-linux-gnu/libdl.so(+0xc2b) [0xb4963c2b]
/lib/ld-linux.so.2(+0xdde6) [0xb77a9de6]
/usr/lib/i386-linux-gnu/libdl.so(+0x10bc) [0xb49640bc]
/usr/lib/i386-linux-gnu/libdl.so(dlopen+0x41) [0xb4963b61]
[0xb4987a0c]
[0xb4987994]
[0xb4987607]
[0xb4986f50]
[0xb4986918]
[0xb5272275]
[0xb562bc5b]
[0xb562b8ed]
mono() [0x8096101]
Debug info from gdb:
System is Debian 7.8 (x86)
libuv v1.0.0-rc2 installed and mono 4.1
I getting crazy on the try to get this running. I checked the permission for the libuv lib, the lib is readable by anyone.
I use the beta3 Version of aspnet5.
Has anybody an idea what goes wrong here? I am searching for an hint where to look for the Problem.
if you have mono 4.1, install dnvm instead of k. Mono 3.12 works with k, 4.1 with dnvm as far as i know

ntdll.dll error running c# service on Windows Server 2008 R2

I have a problem with a customer. I have a service who down once or twice per month.
Windows Event viewer has an error :
Nom de l’application défaillante MaintiMediaServeurService.exe, version : 3.8.600.21236, horodatage : 0x509a3c59
Nom du module défaillant : ntdll.dll, version : 6.1.7601.17514, horodatage : 0x4ce7c8f9
Code d’exception : 0xc0000374
Décalage d’erreur : 0x00000000000c40f2
ID du processus défaillant : 0x5b0
Heure de début de l’application défaillante : 0x01ce680c6ab54f85
Chemin d’accès de l’application défaillante : C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\MaintiMediaServeurService.exe
Chemin d’accès du module défaillant: C:\Windows\SYSTEM32\ntdll.dll
ID de rapport : 2b6bea7b-d403-11e2-981c-00505683000f
I try to use Windlg to have more information an I have this :
Microsoft (R) Windows Debugger Version 6.2.9200.20512 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
*** wait with pending attach
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
ModLoad: 00000000`10190000 00000000`1019a000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\MaintiMediaServeurService.exe
ModLoad: 00000000`773f0000 00000000`77599000 C:\Windows\SYSTEM32\ntdll.dll
ModLoad: 000007fe`fa1e0000 000007fe`fa24f000 C:\Windows\SYSTEM32\MSCOREE.DLL
ModLoad: 00000000`772d0000 00000000`773ef000 C:\Windows\system32\KERNEL32.dll
ModLoad: 000007fe`fd410000 000007fe`fd47c000 C:\Windows\system32\KERNELBASE.dll
ModLoad: 000007fe`fee00000 000007fe`feedb000 C:\Windows\system32\ADVAPI32.dll
ModLoad: 000007fe`ff4d0000 000007fe`ff56f000 C:\Windows\system32\msvcrt.dll
ModLoad: 000007fe`ff4b0000 000007fe`ff4cf000 C:\Windows\SYSTEM32\sechost.dll
ModLoad: 000007fe`fd710000 000007fe`fd83d000 C:\Windows\system32\RPCRT4.dll
ModLoad: 000007fe`f7f80000 000007fe`f8019000 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll
ModLoad: 000007fe`ff060000 000007fe`ff0d1000 C:\Windows\system32\SHLWAPI.dll
ModLoad: 000007fe`ff570000 000007fe`ff5d7000 C:\Windows\system32\GDI32.dll
ModLoad: 00000000`771d0000 00000000`772ca000 C:\Windows\system32\USER32.dll
ModLoad: 000007fe`ff6f0000 000007fe`ff6fe000 C:\Windows\system32\LPK.dll
ModLoad: 000007fe`fd840000 000007fe`fd909000 C:\Windows\system32\USP10.dll
ModLoad: 000007fe`ff400000 000007fe`ff42e000 C:\Windows\system32\IMM32.DLL
ModLoad: 000007fe`ff5e0000 000007fe`ff6e9000 C:\Windows\system32\MSCTF.dll
ModLoad: 000007fe`f6d90000 000007fe`f772d000 C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorwks.dll
ModLoad: 00000000`74e80000 00000000`74f49000 C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6\MSVCR80.dll
ModLoad: 000007fe`fddc0000 000007fe`feb48000 C:\Windows\system32\shell32.dll
ModLoad: 000007fe`febf0000 000007fe`fedf3000 C:\Windows\system32\ole32.dll
ModLoad: 000007fe`fd300000 000007fe`fd30f000 C:\Windows\system32\profapi.dll
ModLoad: 000007fe`ee730000 000007fe`ef60c000 C:\Windows\assembly\NativeImages_v2.0.50727_64\mscorlib\8f7abb6f7384aad8fc43659820726eab\mscorlib.ni.dll
ModLoad: 000007fe`fd230000 000007fe`fd23f000 C:\Windows\system32\CRYPTBASE.dll
ModLoad: 000007fe`ecf00000 000007fe`ed925000 C:\Windows\assembly\NativeImages_v2.0.50727_64\System\3e6eefab37b44e147db80a3c34f0ac05\System.ni.dll
ModLoad: 000007fe`f7f30000 000007fe`f7f7c000 C:\Windows\assembly\NativeImages_v2.0.50727_64\System.ServiceProce#\d69463a51d3536074bff664c0a097b1f\System.ServiceProcess.ni.dll
ModLoad: 000007fe`f7da0000 000007fe`f7f24000 C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorjit.dll
ModLoad: 000007fe`f7b60000 000007fe`f7d97000 C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Drawing\ad884485b63f08acfaf791d2dfaadd32\System.Drawing.ni.dll
ModLoad: 000007fe`ea480000 000007fe`eb516000 C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Windows.Forms\0737590c91350bf9ce7416cbbf789bc7\System.Windows.Forms.ni.dll
ModLoad: 00000000`74e60000 00000000`74e70000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\MaintiServeur.dll
ModLoad: 000007fe`f7a10000 000007fe`f7b53000 C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Configuration\df2bfb30ffdbfbb49d2c5ef6fc763578\System.Configuration.ni.dll
ModLoad: 000007fe`f5f50000 000007fe`f65f5000 C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Xml\318b11a6b944c9ef2998d374c9d5bda8\System.Xml.ni.dll
ModLoad: 00000000`74e30000 00000000`74e3c000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\servSession.dll
ModLoad: 00000000`74970000 00000000`74b3a000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\MaintiServManagerDal.dll
ModLoad: 00000000`74e20000 00000000`74e2c000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\Licence.dll
ModLoad: 00000000`74e10000 00000000`74e1c000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\Licences.dll
ModLoad: 000007fe`fcbd0000 000007fe`fcbe7000 C:\Windows\system32\CRYPTSP.dll
ModLoad: 000007fe`fc8d0000 000007fe`fc917000 C:\Windows\system32\rsaenh.dll
ModLoad: 000007fe`fd2e0000 000007fe`fd2f4000 C:\Windows\system32\RpcRtRemote.dll
ModLoad: 000007fe`fd1d0000 000007fe`fd227000 C:\Windows\system32\apphelp.dll
ModLoad: 00000000`10000000 00000000`1001c000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\win64\sglw.dll
ModLoad: 000007fe`feee0000 000007fe`fef2d000 C:\Windows\system32\WS2_32.dll
ModLoad: 000007fe`fdaf0000 000007fe`fdaf8000 C:\Windows\system32\NSI.dll
ModLoad: 000007fe`fb7c0000 000007fe`fb7cb000 C:\Windows\system32\HID.DLL
ModLoad: 000007fe`fd910000 000007fe`fdae7000 C:\Windows\system32\SETUPAPI.DLL
ModLoad: 000007fe`fd4c0000 000007fe`fd4f6000 C:\Windows\system32\CFGMGR32.dll
ModLoad: 000007fe`ff0e0000 000007fe`ff1b7000 C:\Windows\system32\OLEAUT32.dll
ModLoad: 000007fe`fd3f0000 000007fe`fd40a000 C:\Windows\system32\DEVOBJ.dll
ModLoad: 000007fe`fd480000 000007fe`fd4ba000 C:\Windows\system32\WINTRUST.dll
ModLoad: 000007fe`fd500000 000007fe`fd667000 C:\Windows\system32\CRYPT32.dll
ModLoad: 000007fe`fd3e0000 000007fe`fd3ef000 C:\Windows\system32\MSASN1.dll
ModLoad: 000007fe`ebd70000 000007fe`ec5bb000 C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Data\d71dfde5e15e6b4271c9ce4c514775b2\System.Data.ni.dll
ModLoad: 00000000`02840000 00000000`02b3f000 C:\Windows\assembly\GAC_64\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll
ModLoad: 00000000`74e00000 00000000`74e08000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\servGenericADO.dll
ModLoad: 000007fe`f7920000 000007fe`f7a05000 C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Transactions\5fbe4fcbb4259d38e57006802c957e23\System.Transactions.ni.dll
ModLoad: 00000000`01e50000 00000000`01e99000 C:\Windows\assembly\GAC_64\System.Transactions\2.0.0.0__b77a5c561934e089\System.Transactions.dll
ModLoad: 000007fe`f7810000 000007fe`f791d000 C:\Windows\assembly\NativeImages_v2.0.50727_64\System.EnterpriseSe#\1f84610e9a8c80e23e82f82cc4a894a3\System.EnterpriseServices.ni.dll
ModLoad: 00000000`74300000 00000000`74303000 C:\Windows\system32\security.dll
ModLoad: 000007fe`fce80000 000007fe`fce8b000 C:\Windows\system32\SECUR32.DLL
ModLoad: 000007fe`fd1a0000 000007fe`fd1c5000 C:\Windows\system32\SSPICLI.DLL
ModLoad: 000007fe`fc7c0000 000007fe`fc7ca000 C:\Windows\system32\credssp.dll
ModLoad: 000007fe`fc960000 000007fe`fc9b7000 C:\Windows\system32\schannel.DLL
ModLoad: 00000000`48060000 00000000`4806d000 C:\Program Files\Microsoft SQL Server\90\Shared\instapi.dll
ModLoad: 000007fe`fcd50000 000007fe`fcd9e000 C:\Windows\system32\ncrypt.dll
ModLoad: 000007fe`fcd20000 000007fe`fcd42000 C:\Windows\system32\bcrypt.dll
ModLoad: 000007fe`fc810000 000007fe`fc85c000 C:\Windows\system32\bcryptprimitives.dll
ModLoad: 00000000`74070000 00000000`7417a000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\MaintiServControllerBll.dll
ModLoad: 000007fe`f6c90000 000007fe`f6d8d000 C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Runtime.Remo#\caddda432d02308c325519a8e2f09dc4\System.Runtime.Remoting.ni.dll
ModLoad: 00000000`74d00000 00000000`74db2000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\MaintiControllerObject.dll
ModLoad: 00000000`71780000 00000000`7295e000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\MaintiServImpression.dll
ModLoad: 00000000`74cf0000 00000000`74d00000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\MaintiImpressionObject.dll
ModLoad: 000007fe`fcb70000 000007fe`fcbc5000 C:\Windows\system32\mswsock.dll
ModLoad: 000007fe`fc550000 000007fe`fc557000 C:\Windows\System32\wshtcpip.dll
ModLoad: 000007fe`fcb60000 000007fe`fcb67000 C:\Windows\System32\wship6.dll
ModLoad: 000007fe`fbcd0000 000007fe`fbce5000 C:\Windows\system32\NLAapi.dll
ModLoad: 000007fe`f5de0000 000007fe`f5df5000 C:\Windows\system32\napinsp.dll
ModLoad: 000007fe`fc9f0000 000007fe`fca4b000 C:\Windows\system32\DNSAPI.dll
ModLoad: 000007fe`f5dd0000 000007fe`f5ddb000 C:\Windows\System32\winrnr.dll
ModLoad: 000007fe`fb540000 000007fe`fb567000 C:\Windows\system32\IPHLPAPI.DLL
ModLoad: 000007fe`fb500000 000007fe`fb50b000 C:\Windows\system32\WINNSI.DLL
ModLoad: 000007fe`fa360000 000007fe`fa368000 C:\Windows\system32\rasadhlp.dll
ModLoad: 000007fe`fb430000 000007fe`fb483000 C:\Windows\System32\fwpuclnt.dll
ModLoad: 00000000`74ce0000 00000000`74ce8000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\Tribofilm.dll
ModLoad: 00000000`74cd0000 00000000`74cde000 C:\Windows\assembly\GAC_MSIL\System.ServiceProcess.resources\2.0.0.0_fr_b03f5f7f11d50a3a\System.ServiceProcess.resources.dll
(f44.47c): Break instruction exception - code 80000003 (first chance)
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\SYSTEM32\ntdll.dll -
ntdll!DbgBreakPoint:
00000000`77440530 cc int 3
0:012> g
ModLoad: 000007fe`f96c0000 000007fe`f98cd000 C:\Windows\assembly\NativeImages_v2.0.50727_64\Microsoft.VisualBas#\4b85c3384fdda12490074283615d4723\Microsoft.VisualBasic.ni.dll
ModLoad: 00000000`01ea0000 00000000`01ebc000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\win64\sglw.dll
ModLoad: 00000000`01ca0000 00000000`01cbc000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\win64\sglw.dll
ModLoad: 00000000`01ca0000 00000000`01cbc000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\win64\sglw.dll
ModLoad: 00000000`01ca0000 00000000`01cbc000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\win64\sglw.dll
ModLoad: 00000000`01ca0000 00000000`01cbc000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\win64\sglw.dll
ModLoad: 00000000`01cc0000 00000000`01cdc000 C:\Program Files (x86)\TRIBOFILM Industries\MaintiMedia Serveur Service\win64\sglw.dll
Critical error detected c0000374
(f44.bc4): Break instruction exception - code 80000003 (first chance)
ntdll!RtlUnhandledExceptionFilter+0x29f:
00000000`774b40bf cc int 3
EDIT : I try to have a best execption catching but the error message is always the same.
Here is my service code:
[MTAThread()]
public static void Main()
{
System.ServiceProcess.ServiceBase[] ServicesToRun = null;
// Plusieurs services NT s'excutent dans le mme processus. Pour ajouter
// un autre service ce processus, modifiez la ligne suivante
// pour crer un second objet service. Par exemple,
//
// ServicesToRun = New System.ServiceProcess.ServiceBase () {New Service1, New MySecondUserService}
//
ServicesToRun = new System.ServiceProcess.ServiceBase[] { new MaintiMediaService() };
System.Threading.Thread.GetDomain().UnhandledException += new UnhandledExceptionEventHandler(MaintiMediaService_UnhandledException);
System.ServiceProcess.ServiceBase.Run(ServicesToRun);
}
static void MaintiMediaService_UnhandledException(object sender, UnhandledExceptionEventArgs e)
{
EventLog l = new EventLog();
l.Source = "Application";
if (e.ExceptionObject != null)
{
Exception ex = (Exception)e.ExceptionObject;
l.WriteEntry(e.GetType().ToString() + " - " + ex.GetType().ToString() + " : " + ex.Message + " \r\n " + ex.StackTrace.ToString(), EventLogEntryType.Error);
}
else
l.WriteEntry(e.GetType().ToString(), EventLogEntryType.Error);
throw new NotImplementedException();
}
Have you any Idee?

ASP.NET-Parser error: invalid format of 3d party DLL

I am getting an error which I do not understand - despite the many words being used in the message ;-(
I'm running in german windows, so I have translated some of the msg (in italics after the text)
The file is valid - I have copied the entire directory-structure from a working project which also used that DLL. So it might be that some path-info is wrong somewhere etc.
Serverfehler in der Anwendung '/refdb'.
Parserfehler Parser error
Beschreibung: Beim Verarbeiten einer Resource, die für diese Anforderung erforderlich ist, ist ein Fehler aufgetreten. Überprüfen Sie folgende Fehlerinformationen und ändern Sie die Quelldatei entsprechend.
Parser-Fehlermeldung: Das Format der Datei 'PeterBlum.DES' ist ungültig. Invalid fileformat of PeterBlum.DES
Quellfehler:
Zeile 1: <%# Register tagPrefix="des" assembly="PeterBlum.DES" namespace="PeterBlum.DES" %>
Zeile 2: <%# Register tagPrefix="despval" assembly="PeterBlum.DES.NativeToDES" namespace="PeterBlum.DES.NativeToDES" %>
Zeile 3: <%#Page Language="apl" Debug="true" Inherits="COPA" src="COPA_MS.dws" %>
Quelldatei: C:\Inetpub\wwwroot\ciwrefdb\refdb01.aspx Zeile: 1
Überwachung beim Laden der Assembly: Mit folgenden Informationen kann bestimmt werden, warum die Assembly 'PeterBlum.DES' nicht geladen werden konnte.
=== Pre-bind state information ===
LOG: DisplayName = PeterBlum.DES
(Partial)
LOG: Appbase = file:///C:/Inetpub/wwwroot/ciwrefdb
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: PeterBlum.DES
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/refdb/e4095c5f/e6e8b1fa/PeterBlum.DES.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/refdb/e4095c5f/e6e8b1fa/PeterBlum.DES/PeterBlum.DES.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/ciwrefdb/bin/PeterBlum.DES.DLL.
Hmm, after some googling I tried to move a "location path"-entry in web.config right to the start and that fixed this problem. I'm happy that it works and puzzled that this could have caused that...

Could not load file or assembly 'app_code' or one of its dependencies when impersonating

I made a web site with VS2010 and publish it on IIS7. It runs fine but it can't connect to an OLAP server so I had to setup impersonation. Impersonation runs fine in debug on my dev machine, but when I publish this on the server, I get this error*:
Exception Details: System.IO.FileLoadException: Could not load file or assembly 'App_Code' or one of its dependencies.
An API call exited abnormally. (Exception from HRESULT: 0x800300FA (STG_E_ABNORMALAPIEXIT))
When I comment the impersonate line in web.config the problem disappears.
Anyone has an idea about what could be causing this?
Thanks in advance,
Guillaume
*This is a translation of the actual message in french:
Server Error in '/' Application.
Impossible de charger le fichier ou l'assembly 'App_Code' ou une de ses dépendances. Un appel API a été interrompu anormalement. (Exception de HRESULT : 0x800300FA (STG_E_ABNORMALAPIEXIT))
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: Impossible de charger le fichier ou l'assembly 'App_Code' ou une de ses dépendances. Un appel API a été interrompu anormalement. (Exception de HRESULT : 0x800300FA (STG_E_ABNORMALAPIEXIT))
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 'App_Code' could not be loaded.
=== Informations d'état de liaison préalable ===
JRN : utilisateur = Unknown
JRN : DisplayName = App_Code
(Partial)
AVT : des informations de liaison partielle ont été fournies pour un assembly :
AVT : Nom d'assembly : App_Code | ID de domaine : 2
AVT : une liaison partielle se produit lorsqu'une partie seulement du nom complet de l'assembly est fournie.
AVT : cela peut entraîner le chargement d'un assembly erroné par le classeur.
AVT : il est recommandé de fournir une identité textuelle complètement spécifiée pour l'assembly,
AVT : qui comprend le nom simple, la version, la culture et le jeton de clé publique.
AVT : pour plus d'informations et pour obtenir des solutions à ce problème, consultez le livre blanc à l'adresse suivante http://go.microsoft.com/fwlink/?LinkId=109270.
JRN : Appbase = file:///C:/inetpub/wwwroot/modstats/
JRN : PrivatePath initial = C:\inetpub\wwwroot\modstats\bin
Assembly appelant : (Unknown).
===
JRN : cette liaison démarre dans le contexte de chargement de default.
JRN : utilisation du fichier de configuration de l'application : C:\inetpub\wwwroot\modstats\web.config
JRN : utilisation du fichier de configuration d'hôte : C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
JRN : utilisation du fichier de configuration de l'ordinateur à partir de C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
JRN : stratégie non appliquée à la référence à ce stade (liaison d'assembly privée, personnalisée, partielle ou basée sur l'emplacement).
JRN : tentative de téléchargement de la nouvelle URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/9e702efb/dfa5c6b2/App_Code.DLL.
JRN : tentative de téléchargement de la nouvelle URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/9e702efb/dfa5c6b2/App_Code/App_Code.DLL.
JRN : tentative de téléchargement de la nouvelle URL file:///C:/inetpub/wwwroot/modstats/bin/App_Code.DLL.
JRN : utilisation du fichier de configuration de l'application : C:\inetpub\wwwroot\modstats\web.config
JRN : utilisation du fichier de configuration d'hôte : C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
JRN : utilisation du fichier de configuration de l'ordinateur à partir de C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
JRN : stratégie non appliquée à la référence à ce stade (liaison d'assembly privée, personnalisée, partielle ou basée sur l'emplacement).
ERR : impossible de terminer l'installation de l'assembly (hr = 0x800300fa). Détection terminée.
Stack Trace:
[FileLoadException: Impossible de charger le fichier ou l'assembly 'App_Code' ou une de ses dépendances. Un appel API a été interrompu anormalement. (Exception de HRESULT : 0x800300FA (STG_E_ABNORMALAPIEXIT))]
[FileLoadException: Impossible de charger le fichier ou l'assembly 'App_Code, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' ou une de ses dépendances. Un appel API a été interrompu anormalement. (Exception de HRESULT : 0x800300FA (STG_E_ABNORMALAPIEXIT))]
System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) +567
System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +192
System.Reflection.Assembly.Load(String assemblyString) +35
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +123
[ConfigurationErrorsException: Impossible de charger le fichier ou l'assembly 'App_Code, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' ou une de ses dépendances. Un appel API a été interrompu anormalement. (Exception de HRESULT : 0x800300FA (STG_E_ABNORMALAPIEXIT))]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11554224
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +485
System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +79
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +337
System.Web.Compilation.BuildManager.CallPreStartInitMethods() +280
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1167
[HttpException (0x80004005): Impossible de charger le fichier ou l'assembly 'App_Code, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' ou une de ses dépendances. Un appel API a été interrompu anormalement. (Exception de HRESULT : 0x800300FA (STG_E_ABNORMALAPIEXIT))]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11686928
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4863749
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237
One of my colleagues found the solution -- I now owe him a beer!
In the IIS7 control panel, to go the Basic Parameters for the web site. Specify the impersonated user.
When reloading the site, it will now complain that it can't access "...\Temporary ASP.NET Files" give read/write access to the impersonated user.
Voilà!
I got the same error message.
In my case, the "Application Pool" on IIS was using a wrong .NET Framework version. So I just changed to ".NET Framework v4.0.30319".
Give write permission (add everyone) to Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files

Resources