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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...CanCan't modify page settings: DesktopModules\Admin\Tabs\ManageTabs.ascx.cs(1): error CS0116...
Previous
 
Next
New Post
3/6/2012 7:54 AM
 

Ever since I updated my DNN to 6.1.2 I am unable to adjust my "PAGE SETTINGS" or event add or change pages without getting an error that says "Error: is currently unavailable."  Checking with the event viewer, the log that is displayed as below.   If anyone can help - I would be thankful. The site I help maintain is www.woodsborovfc.org.

Also, it is probably noteworthy to say that the ribonbar navigation menu  (host/page/admin/..etc.) has a black background and its very challenging to see the host navigation... just seems the navigation all around has become flakey.  I'm back to classic view.

ModuleId: -1

ModuleDefId: -1

FriendlyName:

ModuleControlSource: DesktopModules/Admin/Tabs/ManageTabs.ascx

AssemblyVersion: 6.1.2

PortalID: 0

PortalName: Woodsboro Volunteer Fire Rescue Company

UserID: 1

UserName: host

ActiveTabID: 16

ActiveTabName: Host Settings

RawURL: /Host/HostSettings/tabid/16/ctl/Tab/action/edit/portalid/0/Default.aspx?popUp=true

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.woodsborovfc.org/Host/HostSettings/tabid/16/portalid/0/Default.aspx

UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; .NET4.0C; InfoPath.3; MS-RTC LM 8; .NET4.0E)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 0fb20749-5174-48f7-bb4a-8be4cb328f1c

InnerException: d:\Inetpub\woodsborovfc\DesktopModules\Admin\Tabs\ManageTabs.ascx.cs(1): error CS0116: A namespace does not directly contain members such as fields or methods

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Web.Compilation.BuildManager.CompileWebFile

StackTrace:

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: d:\Inetpub\woodsborovfc\DesktopModules\Admin\Tabs\ManageTabs.ascx.cs(1): error CS0116: A namespace does not directly contain members such as fields or methods ---> System.Web.HttpCompileException: d:\Inetpub\woodsborovfc\DesktopModules\Admin\Tabs\ManageTabs.ascx.cs(1): error CS0116: A namespace does not directly contain members such as fields or methods 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.Compilation.BuildManager.GetVPathBuildResultWithAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.WebFormsModuleControlFactory.CreateModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) at DotNetNuke.UI.Modules.ModuleControlFactory.LoadModuleControl(TemplateControl containerControl, ModuleInfo moduleConfiguration) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---

Source:

Server Name: WEBD51

 
New Post
3/6/2012 10:00 AM
 

Michael

Did you change "ManageTabs.ascx.cs" file? Can you post here code you have added or changed (not all file)? Then we can look at it and help to fix.

Sergey, forDNN Team

 
New Post
3/6/2012 10:39 AM
 

I'm not a programmer or anything like that (did take a few classes in college to make me dangerous).  Regardless, I didn't make any modifications to that file besides what the DNN 6.1.2 update may have done.

When I open that ManageTabs.ascx.cs in Visual Studio, I was only able to see two characters as follows (that's it):
嘣潬 

Maybe the DNN 6.1.2 update didn't update everything correctly?  I know it did bring my site down, and my supporting host was able to get it back up for me... they said it was missing the "reports" folder, and after they created that folder, the site came up. 

 What's next? :-/ 

 Thanks for responding by the way... I really appreciate it. 

 
New Post
3/7/2012 4:25 AM
 

Michael

It is obvious that the file is corrupted. Please take this file from the installation file, both ManageTabs.ascx.cs and ManageTabs.ascx. It should fix a problem.

Sergey, forDNN Team

 
New Post
3/12/2012 11:06 PM
 

Okay, I finally have had a chance to replaced those two files, but nothing changed... Still receiving the same message from the DNN site (www.woodsborovfc.org). I did reboot the DNN site application in hopes that would help... but no luck. :(

Just a thought: Could upgrading to 6.1.4 resolve the issues... from the version I'm on now (6.1.2)?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...CanCan't modify page settings: DesktopModules\Admin\Tabs\ManageTabs.ascx.cs(1): error CS0116...


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