DotNetNuke Hosting with ASPHostPortal.com

BLOG about DotNetNuke CMS, latest technology and Special DotNetNuke Hosting Package with ASPHostPortal.com

DotNetNuke Hosting - ASPHostPortal.com :: 2 Steps to Fix Compiler Error Message CS0016 in DNN

clock Oktober 4, 2016 23:12 by author Dan

Today I just got a very annoying error with one DNN7 fresh installation in Windows 7 x64 machine. Which is;

Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\DNN7\62d43c41\27d749ca\xx_xxx.dll' – 'Access denied.'

Here is solution which I have found. What you have to do is just assign the following folders with IIS_IUSRS and NETWORK SERVICE users with the full control permission:

  1. C:\Windows\temp
  2. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files

Once you applied those setting, restart your IIS and try to run your application again. The error should be gone by now.

Hope that this post will help you to fix the problem as I did and if you have found any other fix's please leave feedback and I will post them up.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



DotNetNuke Hosting - ASPHostPortal.com :: Security Levels & Types of DotNetNuke (DNN) Security Services

clock September 29, 2016 19:07 by author Armend

Security Levels & Types of DotNetNuke (DNN) Security Services

DotNetNuke (DNN) is a leader in open source content management system (CMS) for enterprises and it is the most widely used as a web CMS for Microsoft (Microsoft.NET). It helps businesses structure and manage content on their websites and their online clout which can be accessible by any device. As of now, it supports over 2500 commercial applications, 3200 customers and 910,000 websites. DNN adopts a 3 tier architectural design supporting the basic modules which are offered by them. It offers extensions using  3rd party modules & developers can add functionalities & features & integrate on to websites using the same. DNN skins have the capabilities to customize the look & the feel of the website through DNN skins. DNN works very hard to ensure that security issues are routed, reported & resolved through a proper channel through the DNN Security Centre. DNN provides requisite workaround or fixes in the applications for developers for any kind of security issues arising out of them. DNN task force reviews all the information given by members with immense confidentiality & a severity level is assigned against the issue reported in accordance with the impact it can have on DNN applications worldwide.

 

Security Levels in DNN

The severity level is classified as critical, moderate & low.

  • Critical means the DNN application can exploited recklessly to get access into confidential DNN information, data & functionalities and could have a huge impact on the application as well. All critical issues have to be addressed ASAP by the DNN security centre.
  • Moderate means an issue could be compromised if one or the other prerequisites are met which can have a not so high impact on the DNN applications. There is a set of recommended actions to resolve such kind of moderate issues.
  • Low means the issue has very low level of impact on DNN applications & chances of it getting affected is miniscule.

Also, the Task Force at DNN Security Centre issues a regular security bulletin via DNN blogposts to the community members & developers where it provides details about the issues reported by global partners & the process they implemented in resolving these issues. It also says the versions which were impacted & the suggested fixes & workaround provided for the same.

DNN understands that customers have invested a great amount of time, money & energy during DNN implementations & DNN works hard towards insulating these investments. One such area is devising security policies & offering upgrades on a constant basis to partners & developers worldwide. It's important to note that it's very critical to protect customers' investments & the work that have done using DNN architectures & Evoq solutions. DNN constantly works in a direction where security upgrades are quick, easy & effortless which ensures that it doesn't meddle with your existing site structures, skins, templates, layouts or modules. It's the core function of offering world class DNN services to customers globally.

Types of DotNetNuke (DNN) Security Services

  • Module Security -  The very objective of this is to assist developers in ensuring that they write modules (during web designing) with security in mind. It highlights common issues & provides guidance on how to identify & tackle expectant security issues. It provides recommended practices & gives general guidelines on web security & explains how to add layers to defend architectures by a hacker community. A hacker may have all the technical skills but may not possess the know-how of breaking through multiple layers thus making the architecture very secure. Adding a feature to validate the user at multiple layers can also make the system more resilient to such attacks.
  • Hosting Security – The main purpose of this is to offer users/developers safe & secure installations. Its all about offering the best fit during deployments from a range of different available environments. Environments can be hardened to make systems more secure & better decisions can be taken from a host of available scenarios offered by DNN to developers from its already available database.

Developers will have to follows a set of guidelines to tighten deployments & installations to make site architectures more secure & safe. Finally, its the job of developers to see to it that their servers are clean, secure & safe for both IIS & SQL servers.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



DotNetNuke Hosting - ASPHostPortal.com :: How to Solve user login has been locked in DotNetNuke?

clock September 27, 2016 23:14 by author Dan

First time/novice users generally tend to do a lot of R&D after installing dotnetnuke, that's when there is a possibility that your host account might get locked up.
Here's a quick way to get around this problem :

Case 1:
Current skin and container on your dotnetnuke installation is the default skin and container.In which case you should be able to see the Register link before the login link on the home page.
In this case follow the points mentioned below -

    Go to the home page of your browser.
    Click the "Register" link and create a new user.
    Go to the database of the dotnetnuke installation.
    Open the Sql server query analyser and execute "Select * from users"
    You should see your user in the list, execute
    "UPDATE Users
    SET IsSuperUser = 1
    WHERE UserID = "
    Now log into the site, You should be able to log into the site and then in the Host->Host Accounts.
    Search for your original host account, edit it and click the "Manage Password" link.
    Since you have forgotten your current password keep that textbox blank, Enter the new password and confirm it.
    Click the "Change Password" link.
    Log out of the site.
    Log in with the original host user now.
    Once you are able to log in the site as your original host user go back to the database and execute
    UPDATE Users
    SET IsSuperUser = 0
    WHERE UserID =" this will reset the new user to a normal user (Remember that we had set this normal user as a host user).


Case 2:
Current skin and container on your dotnetnuke installation is your custom skin and container.In this case you may or may not have the "Register" link on your homepage.
In this case follow the same steps from steps -3 till the end.

That's it you have successfully changed your host account password.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



DotNetNuke Hosting - ASPHostPortal.com :: Tips To editing your DNN website

clock September 22, 2016 19:20 by author Armend

Tips To editing your DNN website

The following tips will help you with five of the most common tasks you'll perform on your DNN website.

1)Decrease Your File Upload Time

Save time - upload more than one file at a time! First, compress all the files you want to upload into a .zip file.  Then go to File Manager and select Upload A File.  Choose the zip file on your computer, then select which folder you want to upload it to. Be sure to check "decompress zip file." Now press the Upload File button.  This will move the single compressed file to the target location on the server, and decompress it.  So you just uploaded all of the files in the compressed folder with one upload.  If you are really watching your file quota, you may want to go back into the file manager and remove the zip file.  One downside of this little trick, it leaves the compressed file on the server after it is done.

 

2) Changing Your Workflow: Publish Content Before It's Visible

The more recent versions of DNN support this feature.  To turn this on, go to any HTML module settings.  Under HTML Settings, you'll find Work Flow. The default is Direct Publish while the other option is Content Staging.  If you choose Content Staging, the content will need to be published before it is made live on the site.  If you leave it as Direct Publish, the changes will go live as soon as you press save.  From HTML Settings, you can also see which modules are using these settings.  If you choose module, the setting is active in the module you are working on only. If you choose page, the setting is active on all of the HTML modules on the single page you are working on. If you choose site, the setting is active on the entire site.

3) Make Your Content Appear and Disappear Based on a Date Range

DNN Software has a date range on pages and modules that enables you to schedule a module's visibility. You can use many different variations of these 2 settings:

  •     Start Date (not supplied), Expiration Date (not supplied): module or page will always be visible
  •     Start Date (supplied), Expiration Date (not supplied): module or page will not be visible until the start date; once it is, if will show until you delete the page or module
  •     Start Date (not supplied), Expiration Date (supplied): module or page will be visible immediately and will continue to be visible until the expiration date.
  •     Start Date (supplied), Expiration Date (supplied): module or page will be visible on the start date and automatically stop showing on the expiration date.

4) Accidental Deletions: You Can Recover Them!

Don’t worry.  If you unintentionally deleted something, go to Admin->Recycling Bin.  You'll see a tab for pages and a tab for modules.  Choose which one you need and click Restore Selected Pages or Restore Selected Modules. Do not click Empty Recycle Bin. If you do, you'll need to contact our support team for a more involved solution.

5)  Copying and Pasting Advice

If you've ever tried to copy and paste from a third party editor (like Word), you may have noticed that everything ends up looking funky. There's a reason for this.  Word uses several hidden characters for formatting that you never see while typing or copying. But you definitely see the end result when you press save! Because of this, DNN Software provides a tool for you to migrate your content from your editor to your website.  Check out the toolbar of your HTML/Text Editor, and you'll see a paste options button. Your choices are:

  •     Paste (same as Control + V): this will paste the contents of your clipboard to your web editor. 
  •     Paste from Word: this strips out any non-essential word tags and characters.  This will leave the fonts in place.
  •     Paste from Word, strip font: this is the same as Paste from Word, only now we strip the fonts as well.
  •     Paste Plain Text: this means no fonts, not formats, no fluff.  Just text.
  •     Paste As HTML: this pastes the content in your clipboard as HTML code.
  •     Paste HTML: this will paste HTML code directly to the text editor.

We recommend using either the Paste from word, strip font or Paste as plain text.  If you strip the font, the content will adopt the font that the rest of your site uses.  This means everything still looks uniform.  If you don’t mind going back in and reading some bolds, underlines, lists, or any of that, then Paste plain text is for you.  This will make sure that just words, numbers and punctuation get pasted.
I hope you find these DNN tips useful. Contact our support team any time for extra help!

 

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



DotNetNuke Hosting - ASPHostPortal.com :: Make a Smart Impression With DNN Upgradation From Experts

clock September 20, 2016 23:52 by author Dan


Since the introduction of internet and the start of commercial websites, the World Wide Web is swarming with millions of online portals of various businesses and companies. In the 21st century, online marketing has come up as the best way of promoting and advertising your business to millions of customers browsing the web. In a recent survey, it was concluded that companies with a smart and creative website have experienced a higher increase in profitability than the companies without any online image and presence. The increase in the number of internet users and its ever expanding horizons has made the web a perfect platform to reach all the internet users. This is why companies worldwide are switching to creative websites to promote and expand their business over the web.

While commercial website development has been in practice for almost more than a decade now, it has seen many changes and innovations. From the traditional sober web pages to the high end creative portals with multimedia integration, the process of web designing and development has evolved with the changing needs of advertising. The older open source content management platforms were incapable of adjusting to the frequent changes in the company's profile and its evolving array of products or services. But with the introduction of new age highly competitive content management systems like Dot Net Nuke and others, this concern is now resolved. If you are planning to have a website built for your business, consider using the DNN (Dot Net Nuke) open source CMS to ensure your website supports the latest features and services.

If you already have a website and do not plan on getting a new one, it is even possible to get it upgraded to a fully functional DNN portal without having the need to re-build it. There are many outsourcing companies which offer the service of PSD to Dot Net Nuke conversion and upgradation for businesses to succeed online. You can contact any such website designing service provider for your web based needs and achieve great results by their efforts. With effective DNN upgradation of your old website, you can make it look more appealing and attractive. Not only this, the website of your business will also become a lot more user friendly and easy to operate with the advanced and convenient to use content management system offered by dot Net Nuke.

The website of your company will also allow for commerce integration after effective DNN Migration and upgradation. With the easy shopping facility offered by eCommerce platforms like Magento and Opencart, you can ensure more sales and increased profitability for your business. The customers can purchase your products or avail the services directly from your website, giving you a competitive advantage and ace. But all these features will give excellent results only when you appoint expert DNN developers for the task. There are many outsourcing companies which have dedicated professionals with diversified experience to provide you the best results for your web development needs. After all, you do not upgrade your website every season, and the results need to be perfect in the first go itself.

So look for a reliable internet solutions company offering world class web development services and get the open source CMS of your website upgraded from PSD to Dot Net Nuke to attract more customers and increase your profitability.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



DotNetNuke Hosting - ASPHostPortal.com :: Tips Responsive Bootstrap skin for DNN

clock September 15, 2016 20:13 by author Armend

Bootstrap is a free collection of tools for creating websites and web applications. It contains HTML and CSS-based design templates for typography, forms, buttons, navigation and other interface components, as well as optional JavaScript extensions.

Twitter's Bootstrap is an excellent set of carefully crafted user interface elements, layouts, and javascript tools, freely available to use in your next web design project. This video series aims to introduce you to Bootstrap; taking you all the way from downloading the resources, to building a complete Bootstrap-based website.

While in the process of developing our own Responsive Twitter Bootstrap Skin for DotNetNuke , we had to jump over a couple of hurdles. First we had to figure out how to implement a dropdown on hover menu. Secondly, we had to overcome the Bootstrap issue where once you are on a child page, you cannot navigate back to the parent page in the menu. Bootstrap is against both of these features, however we feel as though these features provide a user friendly interface, especially while using a tablet or smartphone. With that said, we wrote this article to save you the headache to incorporate these two features in your Responsive Twitter Bootstrap Skin for DotNetNuke .

 

The real beauty was that I realized, I had included both the data-toggle="dropdown" and the data-hover="dropdown". You must only use the data-hover="dropdown" to fix both issues! The correct code is below:

Now you will have dropdown on hover menu items AND will be able to navigate to the parent page from the child page.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability



DotNetNuke Hosting - ASPHostPortal.com :: Tips To Create Portals in DotNetNuke

clock September 8, 2016 20:11 by author Armend

In this post I will explains you how to create portal in DotNetNuke. Lets check it out

Introduction

DotNetNuke's portal system is one of its most compelling features. DNN Portals can be either Parent or Child. The different is from the url.

 


Parent Portal (example):

  • http://www.asphostportal.com
  • http://dnn.asphostportal.com


Child Portal (example):

http://www.asphostportal.com
http://asphostportal.com/dnn (As we have utilized "/" after area name, its called child portal)

Sometimes we have to create custom modules where we have to programmatically create portals. In this article we will plot how to make a a child portal programmatically. The technique needs few parameters to be passed which will be obliged to make the child portal. All these parameters have some settled reason. The part of individual parameters are unmistakably clarified in this technique.

/// <summary>
/// Creates new child portal
/// </summary>
protected void CreateNewPortal(string strPortalName, string strPassword, string strConfirmPassword,
 string strFirstName, string strLastName, string strUserName,
 string strQuestion, string strAnswer, string strEmail)
{
 
try
{
PortalController.PortalTemplateInfo template = LoadPortalTemplateInfoForSelectedItem();
 
bool blnChild;
string strPortalAlias;
string strChildPath = string.Empty;
var closePopUpStr = string.Empty;
 
var objPortalController = new PortalController();
 
//Set Portal Name
strPortalName = strPortalName.ToLowerInvariant();
strPortalName  = strPortalName.Text.Replace("http://", "");
 
//Validate Portal Name
if (!Globals.IsHostTab(PortalSettings.ActiveTab.TabID))
{
blnChild = true;
strPortalAlias = strPortalName;
}
else
{
blnChild = true;
 
strPortalAlias = blnChild ? strPortalName.Substring(strPortalName.LastIndexOf("/") + 1) : strPortalName;
}
 
string message = String.Empty;
ModuleMessage.ModuleMessageType messageType = ModuleMessage.ModuleMessageType.RedError;
if (!PortalAliasController.ValidateAlias(strPortalAlias, blnChild))
{
message = Localization.GetString("InvalidName", LocalResourceFile);
}
 
//Validate Password
if (strPassword != strConfirmPassword)
{
if (!String.IsNullOrEmpty(message)) message += "<br/>";
message += Localization.GetString("InvalidPassword", LocalResourceFile);
}
string strServerPath = Globals.GetAbsoluteServerPath(Request);
 
//Set Portal Alias for Child Portals
if (String.IsNullOrEmpty(message))
{
if (blnChild)
{
strChildPath = strServerPath + strPortalAlias;
 
if (Directory.Exists(strChildPath))
{
message = Localization.GetString("ChildExists", LocalResourceFile);
}
else
{
if (!Globals.IsHostTab(PortalSettings.ActiveTab.TabID))
{
strPortalAlias = Globals.GetDomainName(Request, true) + "/" + strPortalAlias;
}
else
{
strPortalAlias = strPortalName;
}
}
}
}
 
//Get Home Directory
string homeDir = "";
 
//Validate Home Folder
if (!string.IsNullOrEmpty(homeDir))
{
if (string.IsNullOrEmpty(String.Format("{0}\\{1}\\", Globals.ApplicationMapPath, homeDir).Replace("/", "\\")))
{
message = Localization.GetString("InvalidHomeFolder", LocalResourceFile);
}
if (homeDir.Contains("admin") || homeDir.Contains("DesktopModules") || homeDir.ToLowerInvariant() == "portals/")
{
message = Localization.GetString("InvalidHomeFolder", LocalResourceFile);
}
}
 
//Validate Portal Alias
if (!string.IsNullOrEmpty(strPortalAlias))
{
PortalAliasInfo portalAlias = PortalAliasController.GetPortalAliasLookup(strPortalAlias.ToLower());
if (portalAlias != null)
{
message = Localization.GetString("DuplicatePortalAlias", LocalResourceFile);
}
}
 
//Create Portal
if (String.IsNullOrEmpty(message))
{
//Attempt to create the portal
var objAdminUser = new UserInfo();
int intPortalId;
try
{
                            // These parameters are required to assign admin to the portal
objAdminUser.FirstName = strFirstName;
objAdminUser.LastName = strLastName;
objAdminUser.Username = strUsername;
objAdminUser.DisplayName = strFirstName + " " + strLastName;
objAdminUser.Email = strEmail;
objAdminUser.IsSuperUser = false;
 
objAdminUser.Membership.Approved = true;
objAdminUser.Membership.Password = strPassword;
objAdminUser.Membership.PasswordQuestion = strQuestion;
objAdminUser.Membership.PasswordAnswer = strAnswer;
 
objAdminUser.Profile.FirstName = strFirstName;
objAdminUser.Profile.LastName = strLastName;
 
intPortalId = objPortalController.CreatePortal(tbTitle.Text,
objAdminUser,
tbDescription.Text,
"",
template,
homeDir,
strPortalAlias,
strServerPath,
strChildPath,
blnChild);
 
//Clears the cache
DotNetNuke.Common.Utilities.DataCache.ClearPortalCache(PortalId, false);
}
catch (Exception ex)
{
intPortalId = Null.NullInteger;
message = ex.Message;
}
                        // Sends email on portal creation
SendMailOnPortalCreation(intPortalID, strEmail, strPortalAlias, objAdminUser);
}
 
DotNetNuke.UI.Skins.Skin.AddModuleMessage(this, "", message, messageType);
 
}
catch (Exception exc) //Module failed to load
{
Exceptions.ProcessModuleLoadException(this, exc);
}
}

The motivation behind this technique to send email on effective creation of child portal. The sending of email obliges legitimate SMTP settings in the DNN site.

private void SendMailOnPortalCreation(int intPortalID, string strEmail, string strPortalAlias, UserInfo objAdminUser)
{
try
{
if (intPortalId != -1)
{
//Create a Portal Settings object for the new Portal
PortalInfo objPortal = objPortalController.GetPortal(intPortalId);
var newSettings = new PortalSettings { PortalAlias = new PortalAliasInfo { HTTPAlias = strPortalAlias }, PortalId = intPortalId, DefaultLanguage = objPortal.DefaultLanguage };
string webUrl = Globals.AddHTTP(strPortalAlias);
try
{
if (!Globals.IsHostTab(PortalSettings.ActiveTab.TabID))
{
message = Mail.SendMail(PortalSettings.Email,
strEmail,
PortalSettings.Email + ";" + Host.HostEmail,
Localization.GetSystemMessage(newSettings, "EMAIL_PORTAL_SIGNUP_SUBJECT", objAdminUser),
Localization.GetSystemMessage(newSettings, "EMAIL_PORTAL_SIGNUP_BODY", objAdminUser),
"",
"",
"",
"",
"",
"");
}
else
{
message = Mail.SendMail(Host.HostEmail,
strEmail,
Host.HostEmail,
Localization.GetSystemMessage(newSettings, "EMAIL_PORTAL_SIGNUP_SUBJECT", objAdminUser),
Localization.GetSystemMessage(newSettings, "EMAIL_PORTAL_SIGNUP_BODY", objAdminUser),
"",
"",
"",
"",
"",
"");
}
}
catch (Exception exc)
{
Exceptions.ProcessModuleLoadException(this, exc);
 
closePopUpStr = (PortalSettings.EnablePopUps) ? "onclick=\"return " + UrlUtils.ClosePopUp(true, webUrl, true) + "\"" : "";
message = string.Format(Localization.GetString("UnknownSendMail.Error", LocalResourceFile), webUrl, closePopUpStr);
}
var objEventLog = new EventLogController();
objEventLog.AddLog(objPortalController.GetPortal(intPortalId), PortalSettings, UserId, "", EventLogController.EventLogType.PORTAL_CREATED);
 
//Redirect to this new site
if (message == Null.NullString)
{
 
//webUrl = (PortalSettings.EnablePopUps) ? UrlUtils.ClosePopUp(true, webUrl, false) : webUrl;
Response.Redirect(webUrl, true);
}
else
{
closePopUpStr = (PortalSettings.EnablePopUps) ? "onclick=\"return " + UrlUtils.ClosePopUp(true, webUrl, true) + "\"" : "";
message = string.Format(Localization.GetString("SendMail.Error", LocalResourceFile), message, webUrl, closePopUpStr);
messageType = ModuleMessage.ModuleMessageType.YellowWarning;
}
}
}
catch (Exception exc) //Module failed to load
{
Exceptions.ProcessModuleLoadException(this, exc);
}
}

Conclusion:

By utilizing the above procedure simply make the child portals in DNN. Assuredly, this post describes the procedure clearly and and useful for you

 

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability



DotNetNuke Hosting - ASPHostPortal.com :: How to Install Google Analytic on DNN Website?

clock September 6, 2016 23:29 by author Dan

Installing Google Analytics in DotNetNuke is a fairly common request from many individuals and I know it can be a quite troubling question for most. The primary questions are how and where can I put the javascript code provided by Google. Well you have a few options. First you could put the code directly in the skin for the site, the advantages to that would be that you will automatically have the code on all pages, however, the disadvantage is that you cannot use that skin as is on another portal due to the site specific Google information. I personally go the route of adding a text/html module to my site and set it to show on every page and insert the script in a very specific location which I will discuss below. There are a few drawbacks to this method. First you will not get any statistics information on traffic to "edit pages" where other modules are not displayed and you also will not receive information regarding administration modules. However, in most circumstances this shouldn't be an issue.

The best way to include this information is to include the information in the Module header of the text/html module. This is to prevent the accidental removal of the script code if you happen to click inside the module as an admin to enter in-line edit mode. Below I will walk you through the steps needed to implement Google Analytics using this method. (NOTE: you can extend this for other javascript integrations if needed).

  • Add a new Text/HTML module to a page of your site, you can position it anywhere, but I recommend the bottom of the page as administrative users will still see the module when they are logged in
  • Edit the text of the module to contain no text
  • Enter the module settings from the SolPart Action Menu
  • Expand the "Advanced Settings" section
  • Check the box next to "Display Module On All Pages?"
  • Insert your Javascript code in the "Header" box. This will ensure that the data is always retained
  • Now under "Page Settings" -> "Basic Settings" un-check the following boxes
    • Display Container
    • Allow Print
    • Allow Syndicate
  • Ensure that the "Cache Time" is set to 0 (Caching appeared to cause issues with this implementation in my testing)
  • Click "Update" to save your changes

This should complete the setup. You may now test to ensure everything is functioning correctly. You can log out as an administrator and view your site and no extra content should be displayed however if you look at the generated source you should see your javacript listed. Google Analytics should update within about 15 minutes to show that they are receiving your data.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



DotNetNuke - ASPHostPortal.com :: Registered Script Control Error in DotNetNuke 8

clock Augustus 25, 2016 19:08 by author Armend

If you’ve made the transition from DotNetNuke 7 to DotNetNuke 8 you’ve probably discovered that the AJAX Toolkit controls don’t play nice with DotNetNuke any more.  Fortunately the Telerik AJAX controls have been bundled with DotNetNuke for version 8.  I’ve discovered that converting to the Telerik controls has been beneficial and worth the upgrade.
Still, it can be a pain getting the code right.  One particular error that I ran into today was the Registered Script Control error.  It looks something like this:

 

"Script control ‘{controlname}’ is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().  Parameter name: scriptControl"

The error results from “stacked” AJAX controls.  Consider the following HTML

<%@ Register TagPrefix=”dnnui” Namespace=”DotNetNuke.Web.UI.WebControls” Assembly=”DotNetNuke.Web” %>
<%@ Register TagPrefix=”DNN” Namespace=”DotNetNuke.UI.WebControls” Assembly=”DotNetNuke.WebControls” %>
   <DNN:DNNTabStrip ID=”tabsProject” runat=”server” TabRenderMode=”All” Visible=”true”>
     <DNN:DNNTab runat=”server” Label-Text=”Properties” ID=”tabGeneral”>
       <dnnui:DnnAjaxPanel runat=”server” ID=”dapMain”>
         <asp:Label runat=”server” ID=”lblInfo”></asp:Label>
       </dnnui:DnnAjaxPanel>
   </DNN:DNNTab>
     <DNN:DNNTab runat=”server” Label-Text=”Properties” ID=”tabSecond”>
       <dnnui:DnnAjaxPanel runat=”server” ID=”dapSecond”>
         <asp:Label runat=”server” ID=”lblMessage”></asp:Label>
       </dnnui:DnnAjaxPanel>
   </DNN:DNNTab>
      </DNN:DNNTabStrip>

Let’s say that the second tab (tabSecond) should only appear under certain conditions; a record was created, a particular user is logged, whatever the condition is doesn’t matter, just that the tab should appear at certain times and not appear at other times.
In the code behind the condition block might look like this:

if (condition) then
tabSecond.Visible = False
end if

But this results in the Registered Script Control error.  Modify the condition block this way:

if (condition) then
dapSecond.EnableAJAX = False
tabSecond.Visible = False
end if

This should resolve the error

What was the issue?  I’m glad you asked.
The issue causing the error is that AJAX controls are registered with the AJAX script manager and cannot be unregistered, or moved.  Hiding an AJAX control is equivalent to moving it from the script.  In order to circumvent that we’re disabling AJAX on the control before it has a chance to be rendered and registered with the script manager.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



DotNetNuke Hosting - ASPHostPortal.com :: 6 Steps To Create Parent Portal in DotNetNuke

clock Augustus 23, 2016 23:54 by author Dan

DNN, as known as DotNetNuke is a development platform for web applications in MS ASP.NET. This platform features a host of tools for developing custom applications. The web-app platform uses an open programming interface. The design advantage in DNN allows multiple hosting of portals with the help of uniform codes and DB structure. A parent Portal is a completely separate site having its own DNS. You can allot independent themes and layout to this portal. DotNetNuke Developers create a new DNN site with a dedicated parent portal attached to it. The portal can work on the existing database and it is fully attuned to ASP.NET programming platform.

Follow the steps carefully and you will be able to host a Parent Portal in your existing DNN site.

  • First, you need to open any Internet browser. Now, navigate to your host DNN site. After opening the site, you are required to put your login details. If you are an existing member, then you can log in to the portal just by entering the login details provided by your DNN service host. Otherwise, you may need to open a new account by registering. The registration process includes selecting the service and features you may want from your DNN host. Select the services accordingly and you will get your new login details. You must configure password recovery options during the registration process. It will help you recover and reset lost password in case of emergency.
  • After a successful login, you will be redirected to the home page, namely the 'Host Page'. You will find an option called Portals on the menu. Navigate to that option and click it to open. In case you do not find this option on your DNN host menu, then maybe you have not selected the feature of hosting multiple portals during the registration process. In such consequences, repeat the first step carefully. In case of any problem, you may take expert help from DotNetNuke Developers.
  • When you open the portal option, you will find a link, namely 'Add New Portal'. You need to click on that link for creating a Parent Portal. There are a series of tasks involved in creating a Parent Portal. The following steps will show you how you can successfully create an active Parent Portal to your existing DNN website.
  • From the 'Add New Portal' option, you need to select the Parent link that will appear on Portal Type menu. There are different portal types. If you to create other portals, you can do so by repeating the steps from the beginning.
  • After clicking on the Parent link, you will find a field called 'Portal Atlas'. You're your domain name in this field. Then, you need to enter your website title in the 'Title'field. In the description field, put some lines about your website. In the 'Keyword' field, enter the keyword set you want to set for your site. Then, enter relevant information in the fields like Name, User ID, New Password, Email and Security options.
  • Finally, you need to click on the 'create portal' link after furnishing all the details on the forms correctly. You should check the information entered in the respective fields and see it they are put in the correct form. You can write down the information on a separate notepad for future reference. If everything goes well, your parent portal is ready for use in your DNN platform based website.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



About ASPHostPortal.com

We’re a company that works differently to most. Value is what we output and help our customers achieve, not how much money we put in the bank. It’s not because we are altruistic. It’s based on an even simpler principle. "Do good things, and good things will come to you".

Success for us is something that is continually experienced, not something that is reached. For us it is all about the experience – more than the journey. Life is a continual experience. We see the Internet as being an incredible amplifier to the experience of life for all of us. It can help humanity come together to explode in knowledge exploration and discussion. It is continual enlightenment of new ideas, experiences, and passions

Author Link


 photo ahp banner aspnet-01_zps87l92lcl.png

Corporate Address (Location)

ASPHostPortal
170 W 56th Street, Suite 121
New York, NY 10019
United States

Tag cloud

    Sign in