HI, I've spent a better part of 2 days trying to figure out why I receive the error:
"Unable to locate a controller"
when using a DnnApiController to execute ajax processes. And after literally dissembling my project top to bottom and reimplementing everything one piece at a time, I've found out what causes the problem. And I'm reporting it because other people have had similar issues and no one has posted any resolutions (other than simple things like "check your routing" etc).
If you have at any point in time the following code in any .cs file in your project that uses the DnnApiController, it fails to find it within your namespace using the properly configured route....
public class myAppender:log4net.Appender.AppenderSkeleton {
protected override void Append(LoggingEvent loggingEvent) {
}
}
So I don't know how I'm going to handle my logging, but I'm absolutely 100% done with this bug, and I have no intention of ever seeing it again. Good luck to whoever reads this, and I wish you the best.