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 ...Module Load Exception - error CS0116: A namespace does not directly contain members such as fields oModule Load Exception - error CS0116: A namespace does not directly contain members such as fields o
Previous
 
Next
New Post
4/5/2012 12:57 PM
 

Help, after upgrading to the new 6.1 version, I'm getting this error message when people try to register with my site. I'm also having problems modifying page settings or adding pages. :( Anyone have any ideas?

 Here are some errors I'm seeing in event viewer:

4/4/2012 3:16:57 AM 

General Exception 
 
Woodsboro Volunteer Fire Rescue Company 
AssemblyVersion 6.1.2 PortalID 0 PortalName Woodsboro Volunteer Fire Rescu 

AssemblyVersion: 6.1.2

PortalID: 0

PortalName: Woodsboro Volunteer Fire Rescue Company

UserID: -1

UserName:

ActiveTabID: 36

ActiveTabName: WVFC

RawURL: /default.aspx

AbsoluteURL: /default.aspx

AbsoluteURLReferrer: http://www.woodsboro.org/links.htm

UserAgent: Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9B176

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 5ade0f1c-04b2-401f-a6fb-0b7402af00a5

InnerException: The process cannot access the file 'D:\Inetpub\woodsborovfc\Portals\0\Cache\Pages\123_ACABA51644A302FBB325E30E7931BAF8.attrib.resources' because it is being used by another process.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.IO.__Error.WinIOError

StackTrace:

Message: System.IO.IOException: The process cannot access the file 'D:\Inetpub\woodsborovfc\Portals\0\Cache\Pages\123_ACABA51644A302FBB325E30E7931BAF8.attrib.resources' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) at System.IO.File.WriteAllLines(String path, String[] contents, Encoding encoding) at DotNetNuke.Services.ModuleCache.FileProvider.SetModule(Int32 tabModuleId, String cacheKey, TimeSpan duration, Byte[] output)

Source:

Server Name: WEBD51

4/3/2012 7:06:11 AM 
Module Load Exception 
PortalMaster 
Woodsboro Volunteer Fire Rescue Company 
ModuleId -1 ModuleDefId -1 FriendlyName ModuleControlSource DesktopModules 

 

 

ModuleId: -1

ModuleDefId: -1

FriendlyName:

ModuleControlSource: DesktopModules/Admin/Tabs/ManageTabs.ascx

AssemblyVersion: 6.1.2

PortalID: 0

PortalName: Woodsboro Volunteer Fire Rescue Company

UserID: 2

UserName: PortalMaster

ActiveTabID: 66

ActiveTabName: Member Area

RawURL: /MemberArea/tabid/66/ctl/Tab/action/edit/Default.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://www.woodsborovfc.org/MemberArea/tabid/66/Default.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20100101 Firefox/11.0

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: d0376eb3-4b94-413e-9002-10cf3049d52e

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


3/21/2012 4:03:07 PM 
Page Load Exception 
 
Woodsboro Volunteer Fire Rescue Company 
AssemblyVersion 6.1.2 PortalID 0 PortalName Woodsboro Volunteer Fire Rescu 

AssemblyVersion: 6.1.2

PortalID: 0

PortalName: Woodsboro Volunteer Fire Rescue Company

UserID: -1

UserName:

ActiveTabID: 36

ActiveTabName: WVFC

RawURL: /default.aspx

AbsoluteURL: /default.aspx

AbsoluteURLReferrer:

UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: d8a446f5-6815-4abf-b991-f7366779ea0a

InnerException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method:

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. ---> System.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. ---> System.Web.UI.ViewStateException: Invalid viewstate. Client IP: 91.207.60.66 Port: 62740 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729) ViewState: /wepdwukmtkwnja1njgwnq9kfgzmdxychgruzxh0bt48iurpq1rzueugsfrntcbqvujmsumgii0vl1czqy8vrfreiehutuwgnc4wifryyw5zaxrpb25hbc8vru4ipmqcaq9kfg4cba8wah4hvmlzawjszwhkagupfgieb2nvbnrlbnqfoqfuagugv29vzhnib3jvifzvbhvudgvlcibgaxjlienvbxbhbnkglsbuagugbg9jywwgdm9sdw50zwvyigzpcmugcmvzy3vlignvbxbhbnkgb2ygv29vzhnib3jvlcbnyxj5bgfuzc4guhjvdmlkaw5nigzpcmugyw5kihjlc2n1zsbzzxj2awnlcyb0byb0agugbg9jywwgy29tbxvuaxr5lmqcbg8wah8cbxtuagugv29vzhnib3jvifzvbhvudgvlcibgaxjlienvbxbhbnksigzpcmusifjlc2n1zswgv29vzhnib3jvlcbnrcwgmje3otgsievnuywgru1ulcbbbwj1bgfuy2usievuz2luzswgu3f1ywqsrg90tmv0tnvrzsxetk5kagcpfgifaguyq29wexjpz2h0idiwmtagynkgv29vzhnib3jvifzvbhvudgvlcibgaxjlienvbxbhbnlkaggpfgifagulrg90tmv0tnvrzsbkagkpfgifagunv29vzhnib3jvifzvbhvudgvlcibgaxjlifjlc2n1zsbdb21wyw55zaimdxychwifdulorevylcbgt0xmt1dkagipzbycagepzbycagcpzbyczg9kfhhmd2qwamypzbyczg8wah8babyczg9kfgjmd2q... --- End of inner exception stack trace --- at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidati ) at System.Web.UI.ViewStateException.ThrowMacValidati (Exception inner, String persistedState) at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) at System.Web.UI.HiddenFieldPageStatePersister.Load() at System.Web.UI.Page.LoadPageStateFromPersistenceMedium() at System.Web.UI.Page.LoadAllState() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: WEBD51

 

NOTE TO DNN GURUS/PROGRAMMERS: If anyone is interested in providing on-going support for the Woodsboro Volunteer Fire Company's website, we can provide tax deductions.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Module Load Exception - error CS0116: A namespace does not directly contain members such as fields oModule Load Exception - error CS0116: A namespace does not directly contain members such as fields o


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