If I create a separate module Testmodule , And then 01.00.00 . Sqldataprovider (Script 1) content through Dnn In Host-> SQL-> Import 01.00.00.sqldataprovider (Script 1) -> Selected Run as script -> Click Execute Then create a module Testmodule The database table is successfully created. The default table name is DBO. yourcompany_testmodule .
But if I In Dnn Solution "E:/webroot/dnndemo (http: // localhost/dnn)-> Add new item -> My templates -> Dotnetnuke dynamic module" , Enter the module name "Testmodule" Select the development language and click OK. 01.00.00.sqldataprovider (Script 2) Host-> SQL ", An error message is displayed. The main reason is that there are {Objectqualifier} $ yourcompany $ _ $ safeprojectname $. createddate This sentence. Compared with the script {Objectqualifier} yourcompany _ Testmodule . Createddate . See website Http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/160/postid/324197/scope/posts/Default.aspx . We know that $ Safeprojectname $ Replace Projectname , That is, our Testmodule , $ Yourcompany $ Also change Yourcompany . In this way, no error will occur when adding the script.
$ safeprojectname $ is the keyword used to create the dnn module in Visual Studio. In this case, the file-> New-> when a project creates a module, $ safeprojectname $ is automatically replaced by the module name, but it is not automatically replaced in the current situation, so you have to manually modify it.
shows the error page: