Tag | DotNetNuke Posts

It's feels a little Awkward to be writing something as simple as this but then again, maybe this is why no one has written it and Google couldn't help me find an answer :) First Awkward Question that took some time finding an answer to? “What’s the difference between a parent portal and a child portal in DotNetNuke?” The answer is here : http://www.portalwebhosting... Just for the sake of redundancy here is a copy paste the ...
In my previous posts (here and here) I described the problems that I had to implemented mixed Authentication for DotNetNuke.Important step for administrator is “Before switching to Windows Authentication ensure that your LAN acoount has host/administrative permissions for the portal.”. If it wasn't done, you can't access administrative features. It is possible to use SQL command to re- activated Windows Authentication. I am using call to SP ModuleSettings_SiteSettings... that I've created ...
I wanted to have another page (not default.aspx) in DotNetNuke based application. I found that there is no common code to generate CSS links. Actually, core code to create CSS links is duplicated in a few places. I've created a common class, that can be used in my custom page, as well as from Default.aspx and Components\Skins\Skin.vb . The class is posted in comment to the isssue. ...
Why am I bugging you: DotNetNuke Development Opportunity The Location: Greenville, SC The Gig: DotNetNuke Car Lot Website The Background: I have a business contact that wants a website for his car lot. I recommended DotNetNuke for ease of use and cost (free is always cool). Let me know if any of you have a contact you would recommend or if you would like to do it yourself. Thanks, Murray ...
Some time ago I blogged that my attempt to use VS 2005 Web Deployment Project failed with not very helpful Aspnet_merge.exe Exited With Code 1 message. As it is described in the thread, the actual error reported wasAn error occurred when merging assemblies: ILMerge.Merge: ERROR!!: Duplicate type 'DotNetNuke.UI.Skins.Contro... found in assembly 'App_Web_k5hhsnh0'. I found that there are 2 files “admin\Skins\solpartm... and “admin\Skins\menu.asc... referring ...
I’m in the market to get my DotNetNuke site hosted with a discount hosting provider. But looking for one seems to be a never ending journey. Does anyone have any suggestions for affordable hosting for a personal DotNetNuke website? Any help would be greatly appreciated. Thanks,Murray Hosting Provider? ...
This is a compelling platform, if it works, and it’s now going open source in hope of garnering a greater number of developers contributing and using. The DotNetNuke folks have built a DNN administration console based upon this. - CORRECTION - Someone has built an Admin Console; not the DNN folks.... WinForms Over Web (the WOW model) is a revolutionary development & deployment platform made possible by a unique, patented, server based RIA paradigm. The WOW model enables development of rich ...
Visual DNN Admin has it's first release. Built upon a generic framework for building admins, this project can be fully customized through a configuration file. The released code includes code for the generic admin framework. Visual DNN Admin provides a full AJAX based MMC like admin for DotNetNuke that helps massive updating, management of site structure, and more. The admin is fully customizable and extendable through a definition file enabling editing custom dnn modules and integration to various ...
I found that DotNetNuke code often doesn't report exceptions to user, but hides them.This style of error handling is natural for VB developers, who had the favorite comand “on error resume next”.(I hope that DNN developers are from different school). In some cases, exception are written it to EventLog table, but it is not always easy to access. E.g. if errors are occured during install and portal is not created yet, View log Web UI obviously is not available. I've posted the suggestion to DNN support.Below ...
Earlier this week I conducted a Training 3 hour Marathon Session on DotNetNuke; there were some follow up items on the session and answers to some questions I wanted to post out: Some Questions Asked During the Training And Their Answers: Question à How can I get DotNetNuke Templates for Visual Studio.NET 2005 Professional? Answer à You’ll need to download DotNetNuke Starter Kits at - http://www.dotnetnuke.com/t... and install them. Question à When I am designing ...
My idea about celebrating Computer Science Education Day on December 8th and with Daryll McDade's idea to celebrate Grace Hopper's Birthday seems to be catching on. I will be working with my colleagues at the Microsoft Faculty Advisory Board to help me organize activities that can be held that day for students. I'd like to have a poster contest of Grace Hopper's accomplishments along with an essay contest. I'm trying to get the Computer Science Teachers Association to support this idea as well. I'm ...
I've used data change checking features described by Eric Woodruff in my ASP.NET application. When I converted the ASP.NET application to DotNetNuke, I still needed to have the same functionality. Unfortunately .Net doesn't allow multiple inheritanse, so I had to re-factor EWSoftware.Web.BasePage. I created an interface IDataChangeChecking, that described the public methods, relevant to data change checking://described in http://www.codeproject.com/... BypassPromptIdsbool ...
Customizing - DotNetNuke Search Input - The Problem In a Recent Project I had felt the need to customize the DotNetNuke search input. If you've used DotNetNuke Search Inputs before you might have realized that the search Input Module is a little limiting in terms of customization. So, basically the kind of search inputs that you can have in DotNetNuke (based on what I currently know) are: Of course, you could customize this slightly or you could have another kind with a picture just by changing the ...
I've used an e-Mailable ASP.Net web page described by Eric Woodruff in an ASP.NET application. When I converted the ASP.NET application to DotNetNuke, I still wanted to have the same functionality-ability to e-mail rendered content of the DotNetNuke module. I created the class EmailableModule based on DotNetNuke.Entities.Modules... and copied and paste the content of EMailPage class. There are a few places where I changed references to page to references to DNN module.I was able to ...
I wanted to delete DotNetNuke related tables from my database, which were created during accidental instalation of DotNetNuke(I accidentally provide connection to the wrong database). I decided to use UnInstall.SqlDataProvider script file from Providers\DataProviders\Sql... DNN 4.0.2 installation. However there were a lot of errors when running the script. There were also a few objects that I had to delete manually using Enterprise Manager (They probably were created by individual modules). ...
A code camp! That's what was going on yesterday at the University of Central Florida in Orlando, FL. This Microsoft event brings out developers from around the state to meet for a day and just talk about technology. There were several tracks to choose from and plenty of time to mingle with colleagues during the day and at night if you wanted. I had an opportunity to speak during one of the tracks on dotnetnukes modules. It was a lot of fun for me to do this. More importantly was the fact that I met ...

The Florida Code Camp is this Saturday and I'm already getting psyched up about it! I'm speaking during one of the sessions and I'm on a panel during the day on various topics related to dotnetnuke.

I'll place a link on my blog of the slides that I'll be using.

The organizers do an excellent job of putting this together.

If you happen to be in town, look us up!

Many sites including DotNetNuke are using FreeTextBox ASP.NET HTML Editor. I've noticed that on my Windows Server 2003 machine running IE I am not able to do Control-V to paste text to the editor, even if I can right-mouse click and select “Paste” . It was quite annoying. Accidentally I found that IE permission "Allow Paste Operation via script" is disabled on this machine. I've enabled it and now I can use Control-V to paste. I am not sure which security risks are envolved with enabling ...
I implemented mixed Authentication for DotNetNuke ( Use Windows Integrated Authentication for seamless logon intranet logon and use Forms authentication for users unable to use Windows Integrated authentication), similar to as I did it before for my ASP.NET application . See my previous post about some problems that I had. It is also required to promote imported from Active Directory Administrator user to SuperUser. The current DNN core doesn't support this.It only allows to create a new SuperUser. ...
DotNetNuke UserMembership class (as well as some others) hasObjectHydrated property as a flag is object loaded or not. In my opinion implementation of this pattern is fragile and not reliable. Get Membership Property of UserInfo tries to load data from UserMembership, which is not good, because Get (read-only) property should not change state of the object.It can cause different behavior in Debug and Release modes, if any code like Debug.WriteLine(ObjUser.Mem... will be used. Also assigning ...
In my application based on DotNetNuke 4.0.2 I've noticed that sometimes I have url with duplicate parameters, e.g "PortalID=0&PortalID=0" I didn't fully investigate why it happens and is it DNN core issue or my custom code, but the current UrlRewriteModule code doesn't handle it properly. I've created the function that will read only the first parameter and ignore the rest. 'call PortalId = GetIntFromQueryString(Request, "portalid", PortalId) '14/3/2006 Shared Function GetIntFromQueryString(ByVal ...
I've tried to work with DotNetNuke Windows Authentication to extend it to work in mixed mode ( Use Windows Integrated Authentication for seamless logon intranet logon and use Forms authentication for users unable to use Windows Integrated authentication), as I did it before for my ASP.NET application . I found that since I activated Windows Authentication, I can logon only as my domain account user,which does not have DNN portal host or admin roles. So I unable using DNN web interface to administrate ...
UPDATE:The aricle is old.Links are not available anymore. Some time ago I looked for DotNetNuke 4.0 API Reference Help File . For some time online help and offline version was available at beta.dnndn.com, but not anymore. Mark in comments pointed to http://classbrowser.subzero... Also there is no description for many methods (and even classes). It will be good if DNN core team will improve descriptions of the classes and methods. I understand, that it is a big and quite boring ...
I'm taking Tae Kwon Do from a Ghanan Olympic Team member now. He's really good, and the class is awesome. Gets my fat computer butt out doing something. I never knew that martial arts could be such a great workout! I'm working towards the black belt and will be testing for my green belt this friday! Wahoo! Check out our dotnetnuke hosted website: http://www.fastspinkick.com. Master Augustine is very pleased with how it turned out ...

If you are running DotNetNuke as a file-system Web site in Visual Studio 2005 using ASP.NET Development Server (aka Cassini),  you must specify a Port.

Otherwise it will be assigned dynamically and no corresponding entries in PortalAlias table will be found.   

I read with great interest in the ACM Communication magazine, a letter from the President David A. Patterson. The article is entitled “Computer Science Education in the 21st Century.” His letter is based on his position statement for a workshop on the preparation of IT graduates for 2010 and beyond. His opening paragraph starts off by admitting that in the past we created obstacles to reduce the number of CS majors and he states” we should take advantage of reduced pressures from ...
The class \DNNLibrary\Components\Skin... (and some others) call DotNetNuke.Common.Globals.I... function. There is no description in the function, and the code has too many negatives, that it is not obvious. Once I figured it out, I decided to write it here. The function returns True, if QueryString has “MID“ or “CTL“ parameter. I am not fully understand, why it means an Admin contol. There is some clarification in the document: http://www.yourephotostore.... ...
The DotNetNuke Portal Template document (in the DotNetNuke 4.0 download) has a few places where [G] notation is used ,e.g. [G]Skins/DNN/Skin.ascx, buf there is no explanation, how it is used. From reading the code, I understood that it is used as a placeholder for current portal location of the specific folder. So template should have entries with this notation [G](or [L] -?) but SOMETIMES existing Template export function does export the full hardcoded path. e.g. <module> <containersrc>/FSDNN/... ...
I've noticed a few times that when in DotNetNuke 4. "Upload Custom Module" page I had a custom module in the list, “upload new file“ link does nothing instead of importing module. It seems related to caching issue (see problem here). I suspect that even if the file is shown in the list, it still not in cache. It will be more reliable to check list control directly instead of cache. And why the list to upload should be saved to cache? Additionally even if the list is empty, it is better ...
Current version of DNN(4.0.2) doesn't support multiple module definitions when importing templates. The issues are listed on DNN support site. By some reason comments for the issue are not allowed. So I will post here my suggestion how to resolve problem 3 (the imported result the page will contain duplicate modules, one for each moduledefinition). DNN portal Template XML has <definition> element in the section. However it does saves ModuleName instead of ModuleDef.Name. To fix a problem the ...

I was surprise that after successfull installation of DotNetNuke custom module ZIP files from Install\Modules sub-directory were deleted.

I've checked the code - it's done by design.

But it should be documented in DotNetNuke Installation Guide.pdf

I've rebuild ''DotNetNuke.Modules.Html.S... from the downloaded source code and started to receive errors: System.TypeLoadException: Could not load type ''DotNetNuke.Modules.Html.S... from assembly ''DotNetNuke.Modules.Html.S... at System.RuntimeTypeHandle._G... name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) at System.RuntimeTypeHandle.Ge... ...
Stan Schultes and Russ Fustino( you know the Tool Shed guy) did a great job on their introduction to Dotnetnuke 4 webcasts yesterday. This was a live webcast out of Tampa, FL. Stan is a developer in the Sarasota FL area and a big evangelist for dotnetnuke. I had Stan on my webcast when I taked about dotnetnuke architecture. In fact, Stan was my teacher over a year and a half ago at the Orlando Ineta dotnetnuke bootcamp. Go to his site and check it out ...
I am using “Publish web Site” which copies almast all content of the development site including Portals\0\portal.css file. Then when DNN Installer tries to create a new portal, it fails with “Error: The file 'C:\inetpub\wwwroot\DNNWebO... already exists.“and doesn't create portal alias. Any attempts to open the site failed with [NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Entities.Portals... ...

Here’s a great article on getting started with DNN.  The article details using Visual Studio Express Edition and SQL Server Express Edition, but the concepts work equally well with Professional, Enterprise Architect, Team Suite, etc.

A Code Camp is basically an all day developer geekfest. There have been several of these CodeCamps in Florida and across the US. I had an opportunity to speak at a Code Camp that was held in Ft. Lauderdale last spring. It was a fun event usually held on a Saturday and its a FREE event too! This year there will be a Code Camp held on Saturday, March 25th at the University of Central Florida in Orlando, FL. Joe Healy from Microsoft has been the leader of the Florida events and the agenda has always ...
Scott McCulloch has a nice article "Exporting And Importing DotNetNuke Portals”. I want to add that exported portal can be used to replace existing portal using Wizard. It also can be used as a default portal by changing Install\DotNetNuke.install.... file by specifying <portals> <portal><templatef... It is assumed that NewPortal.template and NewPortal.template.resources files are located in \Portals\_default folder. ...
I had a working DotNetNuke project 4.0.2 with .Net 2.0 that I wanted to publish to Windows Server 2003. However when I opened the published web site, I've got an error: Parser Error Message: Unrecognized attribute 'requirePermission'.Source Error: Line 4: <sectionGroup name="dotnetnuke"> Line 5: <!-- the requirePermission attribute will cause a syntax warning - please ignore - it is required for Medium Trust support --> Line 6: <section name="data" requirePermission="false" type="DotNetNuke.Framework.... ...
I've used VS 2003 Web Setup Project with custom actions and Installer class. that did some changes. After moving to VS 2005 I found that it is not possible to invoke custom action for DLL because only content output is available. The post suggested to use VS 2005 Web Deployment Project . However in my case compile failed with the very helpful Aspnet_merge.exe Exited With Code 1. Some posts explain that the error comes from duplicate class names in the project, even if the name comes from different ...
Today I had some time to install the latest version of dotnetnuke which uses ASP.NET 2.0. The installation was on a local pc and I must say it really was a breeze to install. I used the new starter kit that comes with this version and with instructions from Shawn Walker who is the leader of this open source project. Using Visual Web Developer is another plus especially for teachers who want to teach their students about web portals. You don't need to install IIs on each pc in the computer lab because ...
I've created an SQL to add australian regions and australian currency to DNN Lists table. The task is discussed on DNN Forum. -- ===========================... Create procedure basic template-- ===========================... creating the store procedureIF EXISTS (SELECT name FROM sysobjects WHERE name = N'{databaseOwner}{objectQua... AND type = 'P') DROP PROCEDURE {databaseOwner}{objectQuali... CREATE PROCEDURE ...
Yesterday was the third dotnetnuke webcast that I presented. It was on creating your own module using Visual Studio .NET. I asked Michael Flanakin whose a professional developer join me on the webcast to answer any questions on the newer version of dotnetnuke. He did a great job and I thank him for sharing his knowledge. Michael had so much fun on the webcast that he'll be joining me next Tuesday when I'll be talking about creating your own skins. I've been quite surprised at how many people participate ...

I've opened SQL profiler and noticed that opening single page in DotNetNuke causes tens of calls to database. In particular opening the Admin Pages List causes more than 50 calls to  GetHostSettings SP.

They should re-design to cache the results.

When I running DotNetNuke 4.0.2, I sometimes (not always !?) receive System.NullReferenceException exceptions in the area related to GetSupportedLocales. 1. I've changed in DNNLibrary\Components\Local... GetResource(ByVal ResourceFileRoot As String, ByVal objPortalSettings As PortalSettings, ByVal strLanguage As String) function the code to use local variable Dim locale As Locale = GetSupportedLocales(userLan... 'mnf 17/1/2006 second call returns Nothing'If (Not GetSupportedLocales(userLan... ...
I found another useful change in DNN core to debug exceptions. Function GetPortalModuleBase in Library\Components\Skins\Co... silently catchs exception with comment ' module was not loaded correctly I beleive that exception should not be catched at all, because nothing return after exception causes very unclear message “MinMax persistance type of cookie requires a ModuleId“ but at least for debugging purposes catch should be replaced with the followning code. (UPDATE 9/6/2006: ...
Because VS 2005 seems much slower compare with VS 2003, I was very excited when read a tip , that suggested to uncheck libraries from Configuration Manager. And it really improves the speed of start up.( I don't understand why dependency check became so slow in VS 2005) I have DotNetNuke web site project and a few library projects, both DotNetNuke and my own. The problem happened when I changed the code in one of the libraries. It was quite obvious that I had to re-build the library which I've changed.But ...
My DotNetNuke site has HostSetting("UseFriendlyUrls") = "Y", which is generally good. The most popular function used in DNN to generate url is NavigateURL. However when I want to get Page Url and then add additional query parameters, NavigateURL() is not the best choice. NavigateURL returns FriendlyUrl, and after adding extra parameters (e.g. http://localhost/FSDNN/vKno... ) the structure of URL becomes different to what HttpModules.UrlRewrite ...
I was fighting with a drop down list on Friday, and I never did figure out what was going on. The list contains a set of all of the states in the US and the provinces in Canada and is bound to a DataSet. The user fills out a simple form (city and state) and the clicks on search. On the post back, server side, I looked for the value of the state, and it was always set to the first value in the dataset. First thing I found was that the list was being reloaded on the page reload. I took steps to stop ...
In DotNetNuke development when exceptions occured, the only short exception message is shown in the web page.To see full details, you need to open log page, which is required a few mouse click and round-trips. I found that for development (in Debug mode) it is more convinient to see full exceptions on the page. The changes can be done in core DotNetNuke\Library\Componen... file, function Page_Error, I've replaced strURL += IIf(strURL.IndexOf("?") = -1, "?", "&").ToString & ...
It will be very useful for development of custom modules if DotNetNuke API Reference would exist. The core has XML comments and VS 2005 supports XML documentation in VB. I didn't find any tools that currently fully support .Net 2.0. NDoc is not fully implemented version for .Net 2.0, but has some workaround, which doesn't work for me. The modified version 1.3.1 of NDoc started to build help but then got an NDoc.Core.DocumenterExcepti... may only be called on a Type for which Type.IsGenericParameter ...