English 中文(简体)
子域网络. config 文件能够清除继承的设置吗?
原标题:Can a subdomain web.config file clear inherited settings?

我必须在 GoDaddy 的子域内安装 MVC 应用程序。 根域是一个 DotNetNuke 站点。 当我试图访问子域内的应用程序时, 我得到这个错误 :

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

我认为这是因为我的应用程序继承了根 DNN 应用程序的设置, 但我的文件夹目录没有 DNN 二进制, 所以 ASP. NET 找不到它需要的东西 。

问题在于: 我怎样才能在我的 Web. config 中指定我要它 < 坚固 > 不 < / 坚固 > 从根目录继承 DNN 设置?

(顺便说一句,我给GoDaddy打过电话,他们的建议是“不要把DNN网站放在根上,原因正是如此 ” 。 他们建议了一些变通办法,但没有我所希望的那么方便。 有一天,当我完全不控制根网站时,事情就会发生,所以我真的想知道该怎么做。 )

最佳回答

Go Daddy 不支持在主机账户根部安装 DotNetNuke 。 您可以查看此帮助指南, 了解更多信息 : < a href='http://support.goddaddy.com/help/article/1463/can-i- 安裝- dotnetnuke- in- my- root- feller > http://support.godddy.com/help/arts/1463/can- i- 安裝- dotnetnuke- in- my- root- folder

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签