Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...how to locate the source code from ASCX file?how to locate the source code from ASCX file?
Previous
 
Next
New Post
2/17/2016 11:23 AM
 

I am using the 3-col-social.ascx. I want to change the green section

            <div class="row-fluid">
                <div id="contentPane" class="span12 contentPane" runat="server"></div>
            </div>

Is there a shortcut key in WebMatrix or Visual studio 2015 to locate the source code of "contentPane"?

If not, where is the source code of this section?

 

Sorry that there are too many files. I had spent hours to go through all folders but got nothing related.

 
New Post
2/17/2016 12:03 PM
 
well...my mistake. I think my version getting from WebMatrix is compiled already. Version is 070401. If I download the source code of version 8.0, can I use the same sql database?
 
New Post
2/17/2016 8:05 PM
 
you may compile DNN 8 and upon first browse, the upgrade wizard should show up and update your database to match the version of the code.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/20/2016 10:16 AM
 
Sebastian Leupold wrote:
you may compile DNN 8 and upon first browse, the upgrade wizard should show up and update your database to match the version of the code.

 I download the source code and follow the instruction on this website.

 http://www.dnnsoftware.com/wiki/how-to-install-the-source-package-of-dotnetnuke

Then when I first time open browser, it asks me enter database connection information. Then error on next step:

 

The product is being installed. Thanks for your patience...
0:07 Minutes   |   18% ERROR occured - System.Data.SqlClient.SqlException (0x80131904): 数据库中已存在名为 'FK_Folders_FolderMappings' 的对象。 无法创建约束。请参阅前面的错误消息。 at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script) in D:\webs2015\Dnn.Platform-release-8.0.0\Dnn.Platform-release-8.0.0\DNN Platform\Library\Data\SqlDataProvider.cs:line 138 ClientConnectionId:a5025054-beb9-47f9-a972-101d1fb77b09 Error Number:2714,State:4,Class:16 ALTER TABLE dbo.dnn_Folders ADD CONSTRAINT FK_Folders_FolderMappings FOREIGN KEY (FolderMappingID) REFERENCES dbo.dnn_FolderMappings (FolderMappingID)

 

It says there is existing object 'FK_Folders_FolderMappings'.  it seems trying to setup new database, not upgrade my database?

 

 
New Post
2/20/2016 11:31 AM
 

I directly go to http://localhost/DNNS/Install/UpgradeWizard.aspx

Now the upgrade interface shows up. However it says my supperaccount password incorrect. I am sure it is correct because I can login from the virtual web of WEBMATRIX. I double check database, there is only one database related to DNN. I have checked the web.config file, database link code is correct.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...how to locate the source code from ASCX file?how to locate the source code from ASCX file?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out