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 6852499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:22:41+00:00 2026-05-27T01:22:41+00:00

Ok, so I am using both Automapper (LOVE it!) and ninject (very fond of

  • 0

Ok, so I am using both Automapper (LOVE it!) and ninject (very fond of it, but we have “issues” :-). I am writing MVC3 apps.

When I mess something up in Automapper configuration, Automapper goes to great lengths to tell me exactly what I did wrong, providing all necessary details.

When I mess something up in ninject configuration, it says “something is wrong”. Well, not even quite that. If I am lucky enough to have the output window open, I hopefully see a message fly by akin to “first chance exception ActivationException was thrown”. Thats it.

Not very helpful if you ask me…

Is there a way to get ninject to be a little more communicative? Right now, I have a list of things I check (make sure ctor is public, make sure the class implements all of the interface, etc etc).

  • 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-05-27T01:22:42+00:00Added an answer on May 27, 2026 at 1:22 am

    Aha! Found the issue.

    Turns out that I am using TryGet(), which implicitly catches any exceptions ninject throws. This explains why although I saw a message about a first chance exception in the output log, but nothing was actually thrown.

    Switching over to using a Get() lets the exception bubble up.

    Now theres a whole lotta love im gettin’ from ninject about the error in my ways ==> very useful diagnostic debug output.

    Hope this helps another soul with the same confusion.

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

Sidebar

Related Questions

I am using both SQL Server 2008 and 2008 R2, I have a situation
I'm using both django-userena and django-facebook as my main registration apps. Let's inherit my
I am using both JQuery Masonry and Twitter bootstrap together but experiencing a few
I tried using both ReadProcessMemory() and WriteProcessMemory() in my application,but in both cases I
I'm using both Ogre and NxOgre, which both have a Real typedef that is
I am using both JQuery UI Dialog and JQuery UI autocomplete both have the
I've seen Scala using both interchangeably, but I don't know when to use one
Using two ScriptManagers(ASP.Net and Telerik) will effect the page performance ? I have both
I run this code using both gpp and microsoft compiler but in both case
I am using both the commands in my code, uncheck(locater) is working fine but

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.