0

I have to deploy an MVC app into a subdomain hosted on GoDaddy. The root domain is a DotNetNuke site. When I try to access my app in the subdomain, I get this error:

CS0246: The type or namespace name 'DotNetNuke' could not be found 
(are you missing a using directive or an assembly reference?)

I think this is happening because my app is inheriting the settings from the root DNN app, but my bin directory doesn't have the DNN binaries, and so ASP.NET can't find what it needs.

So the question is: how can I specify in my web.config that I want it not to inherit the DNN settings from the root directory?

(By the way, I called GoDaddy about this, and their suggestion is "don't put a DNN site on the root, for this exact reason". They proposed some workarounds, but none as convenient as what I want to do, and one day this will happen when I don't control the root site at all, so I'd really like to know how to do this.)

Joshua Frank
  • 13,120
  • 11
  • 46
  • 95

1 Answers1

0

Go Daddy does not support installations of DotNetNuke in the root of your hosting account. You can review this help guide for more information on this: http://support.godaddy.com/help/article/1463/can-i-install-dotnetnuke-in-my-root-folder

Mike_GoDaddy
  • 1,121
  • 1
  • 7
  • 9