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

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedDNN 6 Developer project not building out-of-the-box?DNN 6 Developer project not building out-of-the-box?
Previous
 
Next
New Post
7/26/2011 9:31 AM
 
I've just downloaded version 6 of DNN Community Edition, extracted the files to a folder then opened DotNetNuke_Community_Source_VS2008.sln in Visual Studio 2008 and it's reporting a few errors, such as:

Line 589: Config.cs - Default parameter specifiers are not permitted in reference to the var 'overwrite' being set to false.

All the errors are in Config.cs, FavIcon.cs and Upgrade.cs within the DotNetNuke.Library.VS2008 project,  totally 11 errors in total.

I've used the "DotNetNuke_Community_06.00.00_Install" and I'm using Wimdows Server 2003 sp 2.

Can anyone point me to a version that builds?

thanks,

Jon
 
New Post
7/26/2011 12:25 PM
 
I've gone through and resolved all the issues, they are:

DotNetNuke.Common.Utilities.Config:

Added the method:

public static string GetPathToFile(ConfigFileType configFileType)
{
return GetPathToFile(configFileType, false);
}

change line 589 to:
public static string GetPathToFile(ConfigFileType file, bool overwrite)

That then allowed me to build the solution but running caused another issue which was down to the web.config being named at release.config in the root, renamed and it started building for me.

Hope that's useful to someone!

Jon



 
New Post
7/26/2011 12:27 PM
 
For reference, the error that I was getting before I renamed release.config to web.config was:

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 559: //first call GetProviderPath - this insures that the Database is Initialised correctly
Line 560: //and also generates the appropriate error message if it cannot be initialised correctly
Line 561: string strMessage = DataProvider.Instance().GetProviderPath();
Line 562: //get current database version from DB
Line 563: if (!strMessage.StartsWith("ERROR:"))

Source File: D:\DNN_Proj\Library\Common\Globals.cs Line: 561


thanks,
Jon
 
New Post
7/26/2011 12:48 PM
 
Hi Jon,

Please review this Issue: http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=17334&PROJID=44.

This is a known issue where we have to ensure we are compatible with VS 2008.

Thanks,

Jogi
 
New Post
7/27/2011 4:21 AM
 
Ah, glad to know it's being fixed.

I tried that link but it just goes to the home screen of support?
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedDNN 6 Developer project not building out-of-the-box?DNN 6 Developer project not building out-of-the-box?


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