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 ExtensionsModulesModuleserror CS0234 nampspace name 'Exist'error CS0234 nampspace name 'Exist'
Previous
 
Next
New Post
12/17/2012 2:46 PM
 

Hello All & Chris,
I'm a module newbie and installed Chris's latest template. I have not modified it and when I go to the Extensions page I get the error below. I may have made things worst by deleting the folder "Directory" (my module name) and trying it again but DNN 7 complained about a newer version being available.

ModuleId: 345

ModuleDefId: 94

FriendlyName: Extensions

ModuleControlSource: DesktopModules/Admin/Extensions/Extensions.ascx

AssemblyVersion: 7.0.0

PortalID: 0

PortalName: CSCIntranet

UserID: 1

UserName: host

ActiveTabID: 36

ActiveTabName: Extensions

RawURL: /Host/Extensions/tabid/36/portalid/0/Default.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://cscintranet/Host/tabid/7/portalid/0/Default.aspx

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID: 3a7afd2a-a800-4f99-a339-07e75bb7d19a

InnerException: c:\Websites\CSCintranet\DesktopModules\Admin\Extensions\AvailableExtensions.ascx.cs(94): error CS0234: The type or namespace name 'Exists' does not exist in the namespace 'DotNetNuke.Modules.Directory' (are you missing an assembly reference?)

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Web.Compilation.BuildManager.PostProcessFoundBuildResult

StackTrace:

Message: DotNetNuke.Services.Exceptions.ModuleLoadException: c:\Websites\CSCintranet\DesktopModules\Admin\Extensions\AvailableExtensions.ascx.cs(94): error CS0234: The type or namespace name 'Exists' does not exist in the namespace 'DotNetNuke.Modules.Directory' (are you missing an assembly reference?) ---> System.Web.HttpParseException: c:\Websites\CSCintranet\DesktopModules\Admin\Extensions\AvailableExtensions.ascx.cs(94): error CS0234: The type or namespace name 'Exists' does not exist in the namespace 'DotNetNuke.Modules.Directory' (are you missing an assembly reference?) ---> System.Web.HttpCompileException: c:\Websites\CSCintranet\DesktopModules\Admin\Extensions\AvailableExtensions.ascx.cs(94): error CS0234: The type or namespace name 'Exists' does not exist in the namespace 'DotNetNuke.Modules.Directory' (are you missing an assembly reference?) at System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.BaseTemplateParser.GetReferencedType(VirtualPath virtualPath, Boolean allowNoCompile) at System.Web.UI.BaseTemplateParser.GetUserControlType(VirtualPath virtualPath) at System.Web.UI.MainTagNameToTypeMapper.ProcessUserControlRegistration(UserControlRegisterEntry ucRegisterEntry) at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) --- End of inner exception stack trace --- at System.Web.UI.TemplateParser.ProcessException(Exception ex) at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) at System.Web.UI.TemplateParser.Parse() at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) 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 ---

 
New Post
12/18/2012 1:33 PM
 
Problem Solved: Using VS 2012 under references DotNetNuke and Microsoft.ApplicationBlocks.Data had a yellow (something - don't recall if it was a box or what) but it was indicating a conflict) so I just browsed to my dnn site bin folder to add the dll's from there. 
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModuleserror CS0234 nampspace name 'Exist'error CS0234 nampspace name 'Exist'


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