Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Getting this thing to compileGetting this thing to compile
Previous
 
Next
New Post
12/10/2010 4:26 PM
 
I just inherited a DNN based website to perform some bug fixes and enhancements. The only thing I was provided with was the website itself - none of the class libraries or a solution file so I can open this up in Visual Studio. I tried downloading the source code, and adding the other required projects to the website in Visual Studio, but it still won't compile and I'm getting hundreds and hundreds of errors. Surely someone else has done this before? Can someone walk me through the way to do this properly?

Thanks.
 
New Post
12/10/2010 5:06 PM
 
Unless you absolutely must make bug fixes and enhancements to the core framework code, I strongly suggest that you do not attempt this approach. Not only will it be difficult to merge source projects with a working site, maintaining a site with modified core framework during future upgrades will be a real pain. Most of the framework code is compiled into the DotNetNuke.dll assembly. Individual modules are most often compiled into their own assemblies as are the various providers and HttpHandlers. The website itself is just-in-time compiled each time it is loaded. DotNetNuke does not currently support pre-compilation of the website - only the library, providers, HttpHandlers, and other extensions such as modules.

I also hope that in addition to the website files you also have access to or were provided to a backup copy of the installation's database.

Perhaps if you indicate the current version of the site installation, the version of the source code you are trying to work with,  and the scope of the bug fixes and enhancements you wish to make I can offer some other suggestions.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
12/10/2010 5:08 PM
 
Thanks for your reply.

So I should just be able to open the website the client provided, and modify that?
 
New Post
12/10/2010 5:33 PM
 
OK, so I opened Visual Studio and did "Add Website", and opened up the site provided by the client. Seemed to work fine, but I'm getting a couple of compile errors, for example, this line: If Not Upgrade.Upgrade.IsNETFrameworkCurrent Then The compiler is actually telling me the IsNETFrameworkCurrent requires a string parameter. and... objPortalController.UpdatePortalInfo(intPortalId, txtPortalName.Text, strLogo, _ txtFooterText.Text, datExpiryDate, optUserRegistration.SelectedIndex, _ optBanners.SelectedIndex, cboCurrency.SelectedItem.Value, _ Convert.ToInt32(cboAdministratorId.SelectedItem.Value), dblHostFee, _ dblHostSpace, intPageQuota, intUserQuota, _ IIf(cboProcessor.SelectedValue = "", "", cboProcessor.SelectedItem.Text).ToString, _ txtUserId.Text, txtPassword.Text, txtDescription.Text, txtKeyWords.Text, _ strBackground, intSiteLogHistory, intSplashTabId, intHomeTabId, intLoginTabId, _ intUserTabId, cboDefaultLanguage.SelectedValue, Convert.ToInt32(cboTimeZone.SelectedValue), _ lblHomeDirectory.Text) Error 69 Overload resolution failed because no accessible 'UpdatePortalInfo' accepts this number of arguments. C:\Users\David Mitchell\Documents\Work\AllenVanguard\DesktopModules\Admin\SiteLog\Portals\SiteSettings.ascx.vb 698 21 C:\...\AllenVanguard\ Any idea what's going on?
 
New Post
12/10/2010 6:50 PM
 
As I indicated earlier, you CANNOT compile the website. It is setup as a dynamically-compiled website project that will be just-in-time compiled automatically when it is loaded. DotNetNuke does not support pre-compilation of the website. Only the core library (DotNetNuke.dll assembly, etc.), various providers and HttpHandlers, and certain modules are compiled.

I would first get a localhost instance of the existing website files and a restore of the database backup which you were hopefully provided up and running (without touching it in VS). Once that is successfull, you can best decide what steps to take next - upgrade to latest version of DotNetNuke framework, modify/add existing content, upgrade or install new modules, etc.

If you want to become more familiar with the DotNetNuke source files and overall architecture, I would suggest installing a separate website on localhost using the 5.06.00 source package. As part of that installation you will be able to build the DotNetNuke solution (VS2010) which includes projects for the core library, and the various providers, HttpHandlers, and support projects. You will also see that in the VS solution build configuration, the website itself (in website folder) is not selected (and should not be selected) to be built.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Getting this thing to compileGetting this thing to compile


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out