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...DNN Platform (o...DNN Platform (o...Error Building last dnn release (5.2)Error Building last dnn release (5.2)
Previous
 
Next
New Post
11/26/2009 2:21 PM
 

Hi guys.

Just downloaded the dnn 5.2 release in order to check the localization improvements, but havent been able to build the source code.

First It tries to copy a teleric (holy cow!) dll which does not exists in the target directory (easily fixed putting there a copy of the required dll file).

This makes everything compile... except the website. These are the errors I get:

Error    3    Name 'IsAdminControl' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Icon.ascx.vb    77   
Error    4    Name 'ProcessModuleLoadException' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Icon.ascx.vb    88   
Error    5    Name 'IsAdminControl' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\LinkActions.ascx.vb    58   
Error    6    Name 'SecurityAccessLevel' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\LinkActions.ascx.vb    59   
Error    7    Name 'SecurityAccessLevel' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\LinkActions.ascx.vb    60   
Error    8    Name 'ProcessModuleLoadException' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\LinkActions.ascx.vb    85   
Error    9    Name 'ProcessModuleLoadException' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\LinkActions.ascx.vb    100   
Error    10    Name 'SecurityAccessLevel' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\PrintModule.ascx.vb    64   
Error    11    Name 'SecurityAccessLevel' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\PrintModule.ascx.vb    64   
Error    12    Name 'ProcessModuleLoadException' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\PrintModule.ascx.vb    94   
Error    13    Name 'ProcessModuleLoadException' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\PrintModule.ascx.vb    103   
Error    14    'Null' is not declared. 'Null' constant is no longer supported; use 'System.DBNull' instead.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Title.ascx.vb    54   
Error    15    Name 'IsAdminControl' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Title.ascx.vb    56   
Error    16    'Null' is not declared. 'Null' constant is no longer supported; use 'System.DBNull' instead.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Title.ascx.vb    80   
Error    17    Name 'Localization' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Title.ascx.vb    82   
Error    18    'Null' is not declared. 'Null' constant is no longer supported; use 'System.DBNull' instead.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Title.ascx.vb    85   
Error    19    Name 'Localization' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Title.ascx.vb    97   
Error    20    Name 'ProcessModuleLoadException' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Title.ascx.vb    102   
Error    21    Name 'IsAdminControl' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Visibility.ascx.vb    177   
Error    22    Name 'ProcessModuleLoadException' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Visibility.ascx.vb    202   
Error    23    Name 'IsAdminControl' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Visibility.ascx.vb    207   
Error    24    Name 'ProcessModuleLoadException' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Visibility.ascx.vb    228   
Error    28    Name 'ProcessModuleLoadException' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\DropDownActions.ascx.vb    59    17    http://localhost/DotNetNuke_Community/
Error    29    Name 'ProcessModuleLoadException' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\DropDownActions.ascx.vb    70    17    http://localhost/DotNetNuke_Community/
Error    30    Name 'IsAdminControl' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Icon.ascx.vb    77    32    http://localhost/DotNetNuke_Community/
Error    31    Name 'ProcessModuleLoadException' is not declared.    D:\Proyectos\DotNetNukeSourceCode\Website\admin\Containers\Icon.ascx.vb    88    17    http://localhost/DotNetNuke_Community/
 

Any ideas what is going on/what I'm missing?

Cheers!


Jaime A. Jaramillo
Follow me on twitter
 
New Post
11/27/2009 4:32 AM
 

make sure, path to the web site is adjusted to your local path, I usually edit .sln first using a text editor to perform this modification.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/13/2010 2:26 AM
 

Hello Seb - getting the same issue in 5.2.1, very similar errors.  I'm not a wiz with VS, but as far as I can see in the solution file, all paths are relative and the http://localhost/DotNetNuke_Community/  virtual folder is set up automatically (and has been done so correctly).  That suggests that isn't the cause?

Any other ideas?  Seems to build fine in "debug" config mode, which doesn't build the site. Not that I'm entirely clear what difference it makes building the site vs just building the Library components!

Thanks,  Ben

 
New Post
1/14/2010 8:06 PM
 

It turned out I simply needed to rename "release.config" to "web.config"   before compiling the web project.  Whole solution then compiled fine is VS Express 2008 (great to know that DNN can be compiled using free tools!).

This may seem obvious to .NET dab hands, but it would be good if this was clearly documented somewhere for the source version!  Obviously I know to do this when *installing" a DNN portal, but didn't think it was necessary in order to get the site to compile (yes, I'm new compiling .NET apps!  I normally just tinker with the ASCXs, etc, but sometimes there is logic coded into the DLLs that can't be fixed this way).

BTW - building the website project is disabled by default when opening "DotNetNuke.sln" (i.e., when compiling in "debug" mode), and doesn't actually appear to be necessary - it doesn't produce any changes (having already compiled the other projects), it just appears to "Validate" the website as a .NET web project.  I'd welcome pointers on circumstances when it is necessary to "Build" the web project part of the DNN solution?

 
New Post
1/15/2010 4:32 AM
 

DNN web site is a separate WSP project which gets JIT compiled - precompile is not supported (though some users added modifications to achieve it, while loosing compatibility with some 3rd party extensions)


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Error Building last dnn release (5.2)Error Building last dnn release (5.2)


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