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...Building ExtensionsBuilding ExtensionsModulesModulesConversion from Visual Studio 2008 to 2010Conversion from Visual Studio 2008 to 2010
Previous
 
Next
New Post
2/16/2011 5:49 AM
 
Thank you Kelly for your tips! I've been able to get my modules converted and running again.

What I did, was:
1. Changed .NET version of my DNN module project to version 4. This resolved all error messages in Visual Studio 2010.
2. Rebuild my solution.
3. Changed for both of my 2 portals in IIS .NET version to 4.
4. I was able to access my 2 portals, but the module gave an error. It had to do with the AjaxControlToolkit.
5. Downloaded the most recent version (40412 - April 12th 2010 Release) of the AjaxControlToolkit and extracted "AjaxControlToolkit.dll" and "AjaxControlToolkit.pdb" (of the .NET 4 version) to the bin directory of my DNN installation (not the one of my DNN module). Make sure the (ACL) file rights on the 2 files are correct.
6. Had to delete and add again in Visual Studio the reference to "AjaxControlToolkit.dll". Rebuild my module. (In another module I had to delete and add references to "DotNetNuke.dll", "DotNetNuke.WebControls.dll", and "DotNetNuke.WebUtility.dll".)
7. My DNN module did not show (on my website) and setting a breakpoint on the page load event handler made clear that it never was invoked. Logging in as Host brought up the following error message:
"DotNetNuke.Services.Exceptions.ModuleLoadException: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."
Removing the web.config file out of the modules directory solved this error.
 
New Post
2/16/2011 12:07 PM
 
One control that didn't survive the conversion to .NET 4.0 is one (maybe more) of the DotNetNuke Webcontrols: the DotNetNuke Tab Strip control.
When clicking one of the tabs the following error message comes up: "Webpage Error" "Line: 49 Error: Invalid argument.".

Debugging shows that on the client side the code stops at the following line: "this.contentContainer.appendChild(ctr)". "ctr" is null and should probably reference the selected tab.

I stripped my DNN module of almost all markup and code, but the error remains.

I'll replace it with the TabContainer from the AjaxToolKit.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesConversion from Visual Studio 2008 to 2010Conversion from Visual Studio 2008 to 2010


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