Ninject MVC 2 extension ApplicationException - No source available (Ninject.Web.Common - NinjectHttpModule.cs)
35 views
Skip to first unread message
Kevin Major
unread,
May 7, 2012, 2:46:30 PM5/7/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nin...@googlegroups.com
The title more or less explains it all. I'm getting an ApplicationException the moment I run my app in the debugger. It attempts to look for the NinjectHttpModule.cs file in Ninject.Web.Common, but cannot find it. I've double-checked my Ninject MVC 2 installation, and reinstalled it fresh from Nuget, but no dice. More details - the Exception text itself and my Global.asax.cs - can be found here: http://stackoverflow.com/questions/10485531/ninject-mvc-2-extension-applicationexception-no-source-available-ninject-web
I figure viewing it on StackOverflow would be a bit easier with it's syntax highlighting.
Kevin Major
unread,
May 7, 2012, 9:40:06 PM5/7/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nin...@googlegroups.com
Update: further research leads me to believe it's an issue with Web.Common. It's breaking with an IntPtr error.
Kevin Major
unread,
May 8, 2012, 10:57:49 AM5/8/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nin...@googlegroups.com
It was me being an idiot (big surprise!). I didn't realize that the install from binaries vs. install from Nuget instructions for MVC 3 applied to the MVC 2 extension as well.