Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Global asax application start is not executing

I set my Dependency resolved on the application start event for injecting controllers, however it looks like it's not triggering the application start event because I keep getting an error about my controllers not having parameterless contructor which looks like controller are not being instantiated with structuremap, I had webactivator on my project and I thought that perhaps it doesnt work on appharbor so I removed it but still the same error. my app is here http://mortgagecrunch.apphb.com/

  1. This is unlikely to be an AppHarbor problem. Does it work when you run your application on your local machine?

  2. Yes, it does

  3. Have you checked out the related discussion here.

  4. I'm using a the dependencyresolver in mvc 3 for injection, but let me try using the controller factory, by the way the branch I'm pushing is not the master branch, would that have something to do?

  5. Hi Roberto, did you get this working?

  6. Hi, yes, I used a custom controller factory for instantiating controllers instead of using the dependency resolver and it worked, I'm not sure why though. thanks for following up.

  7. Cool, happy you got it working!

  8. friism closed this discussion on 22 Mar, 2011 02:05 AM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac