开发者

Web.Config error

i want to add DotNetNuke website functionality in NopCommerce project, so i have added DotnetNuke folders,web.config,pages(ASP.Net VB) at admin folder in Nopcommerce(Asp.net c#) project.

i have two web.configs one at in adm开发者_运维知识库in Folder and other is in Root i have added DotnetNuke web.config in Root web.config of Nopcommerce

my error is

Cannot register or retrieve components until ComponentFactory.Container is set Please review the stack trace for more information about the error and where it originated in the code.

Is my process correct.if not then please help me.


There is a lot of stuff in the NopCommerce web.config file that is needed for it to function properly. It sounds like you just replaced the NopCommerce root web.config with the DNN web.config, which is a major no-no. (I could be wrong about what you did, but that's what it sounds like?)

Judging from what you're looking for, it sounds like you might be more interested in a Virtual Folder in IIS. It will allow to separate your web applications and have separate web.config files.

Here's an MSDN article on creating Virtual Directories in IIS 7

Here's one for IIS 6.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜