Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9110563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:17:59+00:00 2026-06-17T03:17:59+00:00

I have an ASP.NET MVC 4 project. I am referencing a managed C++ dll

  • 0

I have an ASP.NET MVC 4 project. I am referencing a managed C++ dll which internally calls methods of an unmanaged C++ dll. Problem is that I am getting “Could not load file or assembly or one of its dependencies” error when debugging my project in Visual Studio. The Dll it cannot find is used by the unmanaged C++ dll. I am placing all the required DLLs in the bin directory of ASP project.

Everything works fine in a WPF Project but I am getting error when doing the same thing in ASP.NET MVC4 project. Error comes on launching/debugging ASP.NET MVC4 project.

I have tried almost everything I could but not sure why this error is coming.

Ideas?

Edit
I tried Fuslogvw.exe and it is creating two output/log file. I am a bit confused from its output

at one file it says at the end

Binding succeeds. Returns assembly from
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET
Files\root\9abdb93b\4655bb86\assembly\dl3\5113eba9\008d3984_ccb1cb01\Assembly.dll.
LOG: Assembly is loaded in default load context.”

In second log it says

=== Pre-bind state information ===
LOG: DisplayName = AssemblyName (Partial)
WRN: Partial binding information was supplied for an
assembly:
WRN: Assembly Name: AssemblyName | 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/haris.hasan/documents/visual studio
2012/Projects/MvcApplication1/MvcApplication1/
LOG: Initial PrivatePath = c:\users\haris.hasan\documents\visual studio
2012\Projects\MvcApplication1\MvcApplication1\bin
LOG: Dynamic Base = C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET
Files\root\9abdb93b
LOG: Cache Base = C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET
Files\root\9abdb93b
LOG: AppName = 4655bb86 Calling assembly : (Unknown).
=== WRN: No matching native image found.
LOG: IL assembly loaded from C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET
Files\root\9abdb93b\4655bb86\assembly\dl3\5113eba9\008d3984_ccb1cb01\AssemblyName.dll.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T03:18:00+00:00Added an answer on June 17, 2026 at 3:18 am

    1- It can be because of MS C++ redistributable package updates! Uninstall them and reinstall again.
    2- I think IIS is creating a shadow copy of each managed dll in a path but for unmanaged another path You have to configure that. Chek that link for more info.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an asp.net mvc project that uses some search methods in a seperate
We have an ASP.Net MVC project that will start with a single web server
I have an Asp.net MVC project that modestly uses jQuery scripts. My views also
I have an ASP.Net MVC project that uses EF. I develop this application at
I have an ASP.NET MVC project that works fine on my local machine (no
I have an ASP.NET MVC project that I'd like to install somewhere using xcopy
I have an existing ASP.Net MVC project that is using entities / repositories in
In my ASP.NET MVC project, I have a polymorphic collection that I wish to
I have an Asp.Net MVC project with the typical forms authentication that redirects the
I have an ASP.NET MVC project that loads fine when I start it directly.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.