owin.dll | OWIN defines a standard interface | HTTP library
kandi X-RAY | owin.dll Summary
kandi X-RAY | owin.dll Summary
OWIN defines a standard interface between .NET web servers and web applications. The goal of the OWIN interface is to decouple server and application, encourage the development of simple modules for .NET web development, and, by being an open standard, stimulate the open source ecosystem of .NET web development tools.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of owin.dll
owin.dll Key Features
owin.dll Examples and Code Snippets
Community Discussions
Trending Discussions on owin.dll
QUESTION
Owin.dll, the assembly inside the Owin package on Nuget.org, does not have an Authenticode signature. However, on Windows Server 2016 and Windows Server 2019, Get-AuthenticodeSignature (and sigcheck.exe) incorrectly report that Owin.dll does have an Authenticode signature.
If you deploy a Windows Server VM and run this code, it will return different signing and timestamping certificates (I only did this in Azure):
...ANSWER
Answered 2021-Jun-04 at 07:31Whilst the signature isn't part of the Owin.dll itself, Windows Server has a "Security Catalog" (under %SystemRoot%\System32\CatRoot
) which identifies Owin.dll by name/hash. The security catalog is signed by Microsoft, and it's the signing certificate of the security catalog that's being returned by Get-AuthenticodeSignature
. In effect it's simply a "detached" Authenticode signature, rather than being embedded in the .dll.
QUESTION
So when I installed Docker Desktop on Windows 1909 and an Insiders Version and am getting this issue. Furthermore, I have Hyper-V enabled and Data Execution Protection enabled. I also checked the Windows settings in the Programs and Features. I have also made a GitHub issue as well.
...ANSWER
Answered 2020-May-13 at 17:56So I fixed this by enabling hyper-v from cmdlet.
I visited this site, and the solution posted here worked for me. https://redmondmag.com/articles/2018/11/16/installing-hyperv-module-for-powershell.aspx
Furthermore, I have noticed that an issue is also occurring within WSL 2
on the newest update. Try the following if Docker-Desktop is not working on startup and just stays in a for-loop initializing:
Enter The following commands within an elevated command prompt:
- Enable Hyper V - You can do this by running the following command as administrator.
QUESTION
The title is quite self explanatory.
I spent a day working on this project, everything was fine until I tried to publish the changes for deployment. First I thought the issue was with the actual publishing but then I realised that the issue actually only happens when building the project in release mode.
The solution is made up of various projects. The main project is a .Net Framework Web Forms application. Most of the other projects are class libraries. The programming languages being used are all .NET based. The Main project is written in VB.Net, the referenced projects are a mixture of C# and VB.Net.
Originally the Main project was running in .Net Framework 4.6.2, and some other referenced projects were running in .Net Framework 4.6.0. Recently, we had an issue where we upgraded the referenced projects to 4.6.2 too.
In Debug I have no issues whatsoever. However, I suspect when the change in framework happened, something got messed up in the solution and caused the project to stop building in release mode.
The errors I am seeing are all related to ambiguity.
- 'CloudStorageAccount' is ambiguous in the namespace 'Microsoft.WindowsAzure.Storage'
- 'CloudFileClient' is ambiguous in the namespace 'Microsoft.Windows.Azure.Storage.File'
- 'CustomClassName' is ambiguous in the namespace 'ExternalClassLibrary.NamespaceName'
One must keep in mind that these same supposedly ambiguous classes work in Debug mode, meaning obviously the errors are incorrect. I’ve also made sure there are no duplicate CustomClassName/s. I also tried deleting the class names mentioned within the errors and re-creating them in different namespaces (since these cases are completely within our control). Nothing seems to make a difference.
I have tried to revert the Frameworks to the original versions (which were successfully building in release mode before) - this also made no difference whatsoever. Note that in debug mode, everything works regardless of framework version.
Tried looking into NuGet packages - restoring and re-installing some packages I suspected could be causing the issue; also to no avail.
The following is the list of NuGet packages as well as the file-based references from the project's .vbproj file. Had to remove some references which I thought are unlikely related to the issue, as the whole list exceeded the 30000 characters limit of StackOverflow questions. (These were DLLs that are built as part of any new project, and the rest of the DLLs that come bundled as part of DotNetOpenAuth library)
...ANSWER
Answered 2020-May-05 at 09:34I ended up managing at the end. Basically I was referencing a project which had a Release build instruction to merge its references into the same DLL. This configuration was required for a different scenario; one which I was not aware of. In my case I was already referencing the included DLLs directly from my project (as I required them for different reasons), thus for the build there were 2 versions of the same classes. This explains the ambiguous errors. The reason why it only happened in Release was simply that the instruction was set to work in that configuration only. The solution was simply to create another configuration that refrains from merging for my case. And voila'!
QUESTION
This one seems to be originated after upgrading from vs2015 to vs2017. The error is
Compiler Error Message: The compiler failed with error code -532462766.
Some notes..
- It works great on localhost.
- The target framework is 4.5.2
- I removed and re-installed all the nuget packages
Whie tracing i have
...ANSWER
Answered 2017-Apr-10 at 20:43And the winner is ASP.NET Dynamic Compilation
These lines in web.config where the cause. I only wish i knew how they got there. Was it a nu-get package or the VS2017 compilation?
QUESTION
I am struggling to persist the new data to the database because I can't find the proper ApplicationDbContext
method. First of all, let me show you the steps that led to this. The following method shows how got the necessary fields from the Db in order to fill in the fields in the Edit view.
ANSWER
Answered 2019-Dec-06 at 17:13You are parsing your ORM generated user model into a self defined viewModel, asking the user to edit it then expecting your DB context to automagically convert it back over and save. Your DB context has no automatic concept of how to convert your viewmodel back to your model. It is just an abstract class mapping over your database. You have to explicitly do that yourself or explore options such as auto-mapper to map the two classes together.
A quick non-tested example on your high level object
QUESTION
In my project microsoft.owin has version 3.1.0.0 but it asks for older version 2.1.0.0 . I tried to install microsoft.owin but haven't succeeded . My project framework is 4.5.2 . I tried to install nuget package of this assembly but it's not installed . Can anyone tell me how to solve this error . How can install package 2.1.0.0 version . I tried to redirect it but same error .
...ANSWER
Answered 2019-May-14 at 14:48One solution is to downgrade your version of Microsoft.Owin
.
- Right-click your project in Visual Studio.
- Choose "Manage Nuget Packages...".
- Under Installed, choose "Microsoft.Owin".
- In the "Version" dropdown, choose
2.1.0
- Click "Update".
QUESTION
Updating dependencies using NUGET creates errors in application.
Creating a new project from Visual Studio Community 2017 for C# and Web Forms with a master page. After successfully running the website inside Visual Studio, I update the project and find 24 nuget packages needs updating.
So OK, Update the packages. All 24 and restart Visual Studio as instructed.
Reload the project and run, I get a compilation error and the project fails to run or complete loading.
This compilation error is new, previously I lost my connection to twitter/bootstrap and jquery files. I fixed those by removing the references in the script and bundle manager.
Now it just kills the fresh application template. There is no programming, just the basic template fails to load. And when it did blew up most of the bootstrap and jquery routines and destroyed the navigation menu layout.
Here is the Compilation error:
All this from a basic template that was just "updated" in Nuget.C:\Program Files (x86)\IIS > Express>C:\Users\michaelw.DEESIGN\Documents\Visual Studio > 2017\Projects\WebSite2\WebSite2\bin\roslyn\csc.exe /t:library > /utf8output /nostdlib+ > /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Loader\v4.0_1.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Loader.dll" /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\c9841997\00b21bea_1de6d301\AspNet.ScriptManager.bootstrap.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\2c48699e\0011ed8c_808dce01\Microsoft.AspNet.FriendlyUrls.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\ca88605b\00cb5b40_b9c3d301\Newtonsoft.Json.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\0f5ed648\00720de7_d9cccd01\Owin.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\ed6e8f5b\008a9d1a_f395d301\AspNet.ScriptManager.jQuery.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\c5b71904\002397f9_6c18cf01\WebGrease.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\7cb43f83\00d0a76d_64aece01\Antlr3.Runtime.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\6a7a0b6e\001e1df5_ebdbd301\Microsoft.AspNet.Identity.Owin.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\3cbaac25\00f1ebf3_ebdbd301\Microsoft.AspNet.Identity.Core.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\de563d64\0097c37f_224cd301\EntityFramework.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Web.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Web.Infrastructure.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\713924f7\00c4f480_224cd301\EntityFramework.SqlServer.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\e60bcda8\00939497_11a5d301\Microsoft.Owin.Security.Twitter.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\4fffbea8\00dfcf92_11a5d301\Microsoft.Owin.Security.Google.dll" > /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http.WebRequest\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.WebRequest.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\fb841881\00dfcf92_11a5d301\Microsoft.Owin.Security.Facebook.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\442f60b0\00583c8f_11a5d301\Microsoft.Owin.Security.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\56334a44\0052dd57_a7e7ce01\System.Web.Providers.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\3f088bba\00393295_11a5d301\Microsoft.Owin.Security.MicrosoftAccount.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\e1ab0c9e\00e6fa3f_7827cf01\Microsoft.AspNet.Web.Optimization.WebForms.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\3b868cfc\00b29e91_11a5d301\Microsoft.Owin.Security.Cookies.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\e9625208\00e6fa3f_7827cf01\System.Web.Optimization.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\11064a60\00666396_11a5d301\Microsoft.Owin.Security.OAuth.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\a6149561\00fbad02_86f3d301\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\aa9c70b3\00fed98c_11a5d301\Microsoft.Owin.Host.SystemWeb.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\cb06e281\004a1588_11a5d301\Microsoft.Owin.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\3101006c\00d6d5b9_2dabce01\Microsoft.ScriptManager.MSAjax.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\4f6eecce\00b7cbbf_2dabce01\Microsoft.ScriptManager.WebForms.dll" > /R:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\assembly\dl3\d9915d1f\001e1df5_ebdbd301\Microsoft.AspNet.Identity.EntityFramework.dll" > /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" > /out:"C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\App_Code.clskvtg9.dll" /D:DEBUG /debug+ > /optimize- /warnaserror- /w:4 /nowarn:1659;1699;1701;612;618 > /langversion:default /nowarn:1659;1699;1701 > "C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\App_Code.clskvtg9.0.cs" > "C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\App_Code.clskvtg9.1.cs" > "C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\App_Code.clskvtg9.2.cs" > "C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\App_Code.clskvtg9.3.cs" > "C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\App_Code.clskvtg9.4.cs" > "C:\Users\michaelw.DEESIGN\AppData\Local\Temp\Temporary ASP.NET > Files\vs\732bd14c\5c4cc4da\App_Code.clskvtg9.5.cs"
1) Can someone tell me what has gone wrong? And how do I fix it the right way.
1a) Can someone show me how bundles and scriptmanager is supposed to load jQuery and bootstrap?
2) Is this common for package updates to kill a project or break what was previously working?
3) Is there a way in the future for "updates" to behave correctly?
Thanks in advance for your input.
...ANSWER
Answered 2018-Aug-07 at 06:101) Can someone tell me what has gone wrong? And how do I fix it the right way.
You should use NuGet Package Manager UI to update those nuget packages, the Updates tab displays packages with higher versions. You could check the checkbox Select all packages
, then click update
button to update all packages.
In this way, NuGet will check for dependency compatibility, if there is any issue during updating, NuGet will revert the package updates. And you can check the logs in the output window to find why the update failed. Alternatively, we can also update those packages one by one, check the log for the compatibility issues.
2) Is this common for package updates to kill a project or break what was previously working?
No, but it is common for package updates to break what was previously working. That because each package has its own dependencies and other restrictions. When we update one of the package, NuGet will update its dependencies, but if other package depends on the old dependencie, then it will break what was previously working. But just as I said above, NuGet will give the warning/error info in the output window when you update the package in the Visual Studio in the most case and NuGet will revert the package updates.
3) Is there a way in the future for "updates" to behave correctly?
If above two questions resolve your question, this question does not need to be answered. If above not resolve your question, please give me some steps how did update the nuget packages, I will keep follow.
Hope this helps.
QUESTION
I have a problem)
My invoriment is IIS 7.5, net. framework 4.5.1, asp.net (mvc5, web api) I also want to use Roslyn (C# 6.0) in my project.
I add nuget packages:
...ANSWER
Answered 2017-Nov-04 at 16:00I've found the answer to my question :)
Related links:
- What version of the compiler is in a microsoft.net.compilers package?
- How to use roslyn c# compiler with visual studio 2015?
- Roslyn and .NET Runtime version
- Does C# 6.0 work for .NET 4.0?
Practice Results: The Roslyn compiler is supported in diffrent .net versions, but
- Microsoft.Net.Compilers (< 2) supports minimum core c#6.0 syntax and needs >= .net 4.5
- Microsoft.Net.Compilers (>= 2) supports full c#6.0 and higher syntax, need at least .net 4.6
QUESTION
I have a controller.
...ANSWER
Answered 2017-Sep-28 at 07:57I found a solution to this.
When I was building there was build warnings going to the output window but not showing in the main error / warning window.
They were to do with assembly conflicts and said recommend putting the assembly redirect in the web.Config.
Once I had went through them all (around 80) it now works.
e.g.
QUESTION
Simply this problem while trying to run my code. Any help please?
Server Error in '/' Application.
Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.
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: Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.
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 'Oracle.DataAccess' could not be loaded.
=== Pre-bind state information === LOG: DisplayName = Oracle.DataAccess (Partial) WRN: Partial binding information was supplied for an assembly: WRN: Assembly Name: Oracle.DataAccess | Domain ID: 2 WRN: A partial bind occurs when only part of the assembly display name is provided. WRN: This might result in the binder loading an incorrect assembly. WRN: It is recommended to provide a fully specified textual identity for the assembly, WRN: that consists of the simple name, version, culture, and public key token. WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue. LOG: Appbase = file:///c:/users/tomas.filip/documents/visual studio 2015/Projects/WebApplication1/WebApplication1/ LOG: Initial PrivatePath = c:\users\tomas.filip\documents\visual studio 2015\Projects\WebApplication1\WebApplication1\bin Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: c:\users\tomas.filip\documents\visual studio 2015\Projects\WebApplication1\WebApplication1\web.config LOG: Using host configuration file: C:\Users\tomas.filip\Documents\IISExpress\config\aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\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/tomas.filip/AppData/Local/Temp/Temporary ASP.NET Files/root/adc42dc8/2881b8ff/Oracle.DataAccess.DLL. LOG: Attempting download of new URL file:///C:/Users/tomas.filip/AppData/Local/Temp/Temporary ASP.NET Files/root/adc42dc8/2881b8ff/Oracle.DataAccess/Oracle.DataAccess.DLL. LOG: Attempting download of new URL file:///c:/users/tomas.filip/documents/visual studio 2015/Projects/WebApplication1/WebApplication1/bin/Oracle.DataAccess.DLL. ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
Stack Trace:
[BadImageFormatException: Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +36
System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +152
System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +77
System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +21 System.Reflection.Assembly.Load(String assemblyString) +28
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +38[ConfigurationErrorsException: Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +738
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +217 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +130
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +170
System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +92 System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +290
System.Web.Compilation.BuildManager.ExecutePreAppStart() +157
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +531[HttpException (0x80004005): Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9984344 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1649.1
end the debug output...
'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: Domain 2): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Caching\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.Caching.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Caching\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.Caching.dll'. Symbols loaded. Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build.Utilities.v4.0\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.Utilities.v4.0.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build.Utilities.v4.0\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.Utilities.v4.0.dll'. Symbols loaded. Exception thrown: 'System.Security.SecurityException' in mscorlib.dll 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.JScript\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.JScript.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\7a812709\0000c41d_ffa6d001\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\d6536d09\00b6e5f2_c710ce01\Antlr3.Runtime.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\6e026361\0091f978_739fce01\AspNet.ScriptManager.bootstrap.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\4c52a744\00e3a22d_4f82ce01\AspNet.ScriptManager.jQuery.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\e9d7abbc\004309b4_51acd201\ClosedXML.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\ae19faef\0092bfc0_0491ce01\DocumentFormat.OpenXml.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\ac2201e7\0061c907_bb54d001\EntityFramework.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\1bbcd705\0061c907_bb54d001\EntityFramework.SqlServer.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\866a7f55\18cae353_34d5d201\Interop.OracleInProcServer.dll'. Module was built without symbols. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\7c714460\d8ba8d53_34d5d201\Interop.ORADCLib.dll'. Module was built without symbols. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\a5b5bf12\282f2d54_34d5d201\Interop.ORAOLEDBLib.dll'. Module was built without symbols. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\85cf5333\00735a7f_1b4bd201\Microsoft.AI.Agent.Intercept.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\32fb9c51\000f650e_7750d201\Microsoft.AI.DependencyCollector.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\e8e5c1a7\00b970bc_7750d201\Microsoft.AI.PerfCounterCollector.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\81b6a78f\0042be3d_cb4fd201\Microsoft.AI.ServerTelemetryChannel.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\70d3f26e\00575f8a_7750d201\Microsoft.AI.Web.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\5be8b1c8\00b970bc_7750d201\Microsoft.AI.WindowsServer.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\eb3b6075\00f88c69_ca4fd201\Microsoft.ApplicationInsights.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\40876f78\0069051d_358dce01\Microsoft.AspNet.FriendlyUrls.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\18504aa8\0071b0e2_1f6ed001\Microsoft.AspNet.Identity.Core.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\05fe289a\0071b0e2_1f6ed001\Microsoft.AspNet.Identity.EntityFramework.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\e3a80eac\0071b0e2_1f6ed001\Microsoft.AspNet.Identity.Owin.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\8d39697c\003e13d0_2c27cf01\Microsoft.AspNet.Web.Optimization.WebForms.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\f83d9bc6\003b0384_7e47d001\Microsoft.Owin.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\f809ae9b\00956586_7e47d001\Microsoft.Owin.Host.SystemWeb.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\a372e6a5\00efc788_7e47d001\Microsoft.Owin.Security.Cookies.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\6ec0b560\00c29687_7e47d001\Microsoft.Owin.Security.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\1c2895f6\00efc788_7e47d001\Microsoft.Owin.Security.Facebook.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\bd37c867\00efc788_7e47d001\Microsoft.Owin.Security.Google.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\f7ef9e7c\001cf989_7e47d001\Microsoft.Owin.Security.MicrosoftAccount.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\ffc6945f\001cf989_7e47d001\Microsoft.Owin.Security.OAuth.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\ffd4ed1d\00492a8b_7e47d001\Microsoft.Owin.Security.Twitter.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\3838834b\002eee49_e2aace01\Microsoft.ScriptManager.MSAjax.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\51e9febf\000fe44f_e2aace01\Microsoft.ScriptManager.WebForms.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\e19b9e68\00630fa1_89cbcc01\Microsoft.Web.Infrastructure.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Users\tomas.filip\AppData\Local\Temp\Temporary ASP.NET Files\root\adc42dc8\2881b8ff\assembly\dl3\98c86cc9\0082b57b_49afcf01\Newtonsoft.Json.dll'. Cannot find or open the PDB file. Exception thrown: 'System.BadImageFormatException' in mscorlib.dll Exception thrown: 'System.Configuration.ConfigurationErrorsException' in System.Web.dll Exception thrown: 'System.InvalidOperationException' in System.Web.dll Exception thrown: 'System.InvalidOperationException' in System.Web.dll Exception thrown: 'System.Web.HttpException' in System.Web.dll Exception thrown: 'System.Web.HttpException' in System.Web.dll 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\Oracle.Web\v4.0_4.112.3.0__89b483f429c47342\Oracle.Web.dll'. Cannot find or open the PDB file. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Mobile\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/2/ROOT-1-131401828468112282): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.RegularExpressions\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll'. Symbols loaded. 'iisexpress.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.RegularExpressions\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll'. Symbols loaded. The program '[8852] iisexpress.exe' has exited
with code -1 (0xffffffff).
...ANSWER
Answered 2017-May-25 at 12:27It looks like you are using Oracle's 64 bit components but per default IIS Express runs in 32 bit mode. To change it, under Tools > Options, set this setting:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install owin.dll
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page