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 ExtensionsModulesModulesCompile Error w/5.6.0Compile Error w/5.6.0
Previous
 
Next
New Post
11/27/2010 11:59 PM
 
Hi All,

I just upgraded my dev system to 5.6.0 as there are a number of new features that I am excited about trying out.
However, I've run into an issue where the base site does not compile.  I loaded a fresh copy of the DNN 5.6.0 install version and connected to the website with VS2010.

When I go to compile, I get an error:
...\DesktopModules\Admin\Languages\EnableLocalizedContent.ascx.vb(130,0): error BC30456: 'GetScriptManager' is not a member of 'Ajax'.

The line is:  AJAX.GetScriptManager(Me.Page).AsyncPostBackTimeout = "3600"

there is no registration of 'AJAX' on the aspx page.

I figure either I'm missing a reference, but which one?  or this is a .net 4.0 thing?... .net 4.0 is not an option for me.

This EnableLocalizedContent.ascx.vb) appears to be relativly new (to me, I upgraded from 5.1.4).  I cannot seem to locate a reference to this problem, but I cannot believe that I'm the only one... 

Any help would be super appreciated.
 
New Post
11/28/2010 3:54 AM
 
make sure you have ASP.net 3.5 SP1 (aka 3.5.1) installed and all script references in web.config file are upgraded.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/28/2010 8:34 AM
 
Sebastian,

Thanks for the post, good thoughts.
.net 3.5 (SP1) is installed
based on the host settings, .net 3.5 is being reported.  My understanding is that this is REQUIRED for all versions beyond dnn 5.2 (or 5.3).  So one would expect that with a clean install, things would be configured correctly.

This one line is the ONLY line in the install version that references AJAX.  Commenting it out allows the solution to build.  (but that's probably not a good thing to do for the long term)

I wonder if this is related to the fact that out of the box, the source version does not compile either.  I'll have to go look at that again.

In any event, I suspect that there is a missing web.config entry.  Any thoughts on what it should look like?

Thanks
 
New Post
11/28/2010 9:28 AM
 
please check, whether AJAX reference has been upgraded to version 3.5 as well, there should be no more reference to 1.0.6 in your web.config.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/28/2010 9:35 AM
 
no 1.0.6,
Here are my assemblies:
<assemblies>
        <add assembly="Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </assemblies>


<!-- ASP.NET AJAX support -->
      <remove verb="*" path="*.asmx" />
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesCompile Error w/5.6.0Compile Error w/5.6.0


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