Error in manually inserting 01.00.00.sqldataprovider script in dnn

Source: Internet
Author: User

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:

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.