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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Language Editor IssueLanguage Editor Issue
Previous
 
Next
New Post
2/9/2011 10:13 AM
 
I thought this was fixed in v5.5x. I'm getting this is 5.6.1 when I access the Language Editor. Any suggestions?

InnerException: Root\DesktopModules\Admin\Languages\LanguageEditor.ascx.vb(562): error BC30389: 'di' is not accessible in this context because it is 'Friend'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.Compilation.BuildManager.CompileWebFile
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Root\DesktopModules\Admin\Languages\LanguageEditor.ascx.vb(562): error BC30389: 'di' is not accessible in this context because it is 'Friend'. ---> System.Web.HttpCompileException: Root\DesktopModules\Admin\Languages\LanguageEditor.ascx.vb(562): error BC30389: 'di' is not accessible in this context because it is 'Friend'. at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---


 
New Post
2/9/2011 5:31 PM
 
Issue solved using the fix in this thread.

I have the same problem with the language editor, I've solved adding the following just before line 562 in DNN_ROOT\DesktopModules\Admin\Languages\LanguageEditor.ascx.vb:

dim di as object
 For Each di In resourcesGrid.Items


 
New Post
2/9/2011 6:19 PM
 
that's really odd - the "as object" bit is only required for .net 2.0 as it doesn't support inferred types (which were introduced in .net 3.5)- can you check and make sure that you have .net 3.5SP1 installed, and your web.config is correct i.e. the compilerversion is v3.5 . The only other way this can happen is if option infer is switched off (http://visualbasic.about.com/b/2008/02/16/option-infer-in-vbnet-2008.htm ) but you'd have to recompile your own source code version and change that option to do that.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/9/2011 6:39 PM
 
Hello Cathal,

The server is indeed running .NET v3.5 SP1. And the compilerversion is v3.5: and OptionInfer = "true".

What makes it bazaar, is the Language Editor worked fine earlier in the day. I came back after lunch to make a few more changes and that's when it decided to 'blow up." I have never had this issue before with any of the DNN installs on that server (or any other for that matter.)

 


 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Language Editor IssueLanguage Editor Issue


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