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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...For DNN v5.x, how do I ensure asp.net 2.0 is being used (and not 3.x)For DNN v5.x, how do I ensure asp.net 2.0 is being used (and not 3.x)
Previous
 
Next
New Post
8/4/2009 12:59 PM
 

For DNN v5.x, how do I ensure asp.net 2.0 is being used, and not 3.x?

On my WinXP box I have ASP.net version 1.x to 3.5 installed.

I have VS2005 and VS2008 Pro installed, along with SQL Server 2005.

When I install DNN v5 (I use the source files from the "website" folder), I set IIS6 to use ASP.NET 2.0 for the version of ASP.NET.

After complete install, I then open the site in VS2008 and it shows that ASP.NET 3.5 is the version used.  When I set the site to ASP.NET 2.0 and restart DNN v5 (e.g. refresh in the browser to recompile), I get two "Error" messages which merely state "A DNN error has occurred".

So, what web.config or other (file) settings am I missing to ensure the site will compile using ASP.NET 2.0 without getting the errors?

Thx,

BerryC

 
New Post
8/4/2009 2:04 PM
 

If I set the Target Framework back to .NET Framework 3.5 and reload the page (Home or Login or any other unsecure page), everything works fine.

Of course, in all this, I am assuming that DNN v5 works in .NET 2.0 through 3.x.  Is this not correct?

Am I missing something in the web.config or other file settings?

 

Do I need to open dnn in VS2008 and set the Target Framework dropdown from .NET Framework 3.5 to NET Framework 2.0 prior to loading the site in the browser?

Thx,

BerryC

 OK, I read my post and realize that some misinformation is going on.

>>After complete install, I then open the site in VS2008 and it shows that ASP.NET 3.5 is the version used.  When I set the site to ASP.NET 2.0 and restart DNN v5 (e.g. refresh in the browser to recompile), I get two "Error" messages which merely state "A DNN error has occurred".

What I mean is that in VS2008, on the website's Property Page (right-click the website in Solution Explorer, then Property Pages at the bottom of the context menu), on the Build  panel I set the Target Framework dropdown from .NET Framework 3.5 to NET Framework 2.0 then click Apply.
Then, In my web browser (IE7), I 'refresh' the (Home or Login) page and get this:

 

DotNetNuke Error


Error An error has occurred.
An error has occurred.


 

Return to Site
 
 
New Post
8/17/2010 2:02 AM
 
Did anyone find a solution for this? I have the same problem and it's slowly driving me crazy.
 
New Post
8/17/2010 4:00 AM
 
DNN version 5 needs .Net 3.5 SP1 as a prereq. It was changed in DNN 5.2.0.
 
New Post
8/17/2010 8:29 PM
 
Hang on! What is reported in the host settings says "5.04.04". If I look in Host/Extensions it says the framework version is 5.4.4. Just a little confusing!
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...For DNN v5.x, how do I ensure asp.net 2.0 is being used (and not 3.x)For DNN v5.x, how do I ensure asp.net 2.0 is being used (and not 3.x)


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