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..."The string parameter 'tagPrefix' cannot be null or empty" error message in all pages!!"The string parameter 'tagPrefix' cannot be null or empty" error message in all pages!!
Previous
 
Next
New Post
12/4/2012 5:15 PM
 

Hello there,

 I'm getting the following error message:

The string parameter 'tagPrefix' cannot be null or empty. Parameter name: tagPrefix

this error appears in all pages after any change made on any page, and appears at the first time I request the page?!!

really it is very strange

any help is appreciated

Thank you

 
New Post
12/4/2012 11:48 PM
 
  • What version of DotNetNuke is installed?
  • Did you recently upgrade the version of DotNetNuke or change the site's IIS Application Pool from ASP.Net 2.0/3.5 to ASP.Net 4.0 or 4.5 ?
  • Has the same module been placed on all of the pages that are showing this issue?
  • Do you have an older version of the DotNetNuke Gallery module installed?
  • Are you able to open the Admin --> Event Viewer (preferably when logged in as host user) and find if this same error has been logged with additional error details?

 


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
12/6/2012 3:54 AM
 
  • DNN 6.1.3
  • yes I got this issue after upgrading from v5 to 6
  • No, I'm getting this issue in all pages that have different modules
  • I don't have installed Gallery module (But I noticed that its files exist in desktopModules)
  • P.S. I've made an adjustment (in the file:DNN\Library\UI\Containers\Container.cs changes the name of 'module.css') on the source code and rebuild it and I'm using 'DotNetNuke.dll' got by this process

  • P.S. I have the latest Telerik DLL's (I have my own Telerik  license)

  • yes, it's the same log which looks like the following:

AssemblyVersion: 6.1.3

PortalID: 0

PortalName: {My Portal}

UserID: -1

UserName:{HostUserName}

ActiveTabID: 184

ActiveTabName: {TabName}

RawURL: {URL}

AbsoluteURL: {URL}

AbsoluteURLReferrer: {URL}

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

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: b7f1c5b4-afce-447d-b23d-4ee73d5fa0fe

InnerException: The string parameter 'tagPrefix' cannot be null or empty. Parameter name: tagPrefix

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Web.UI.TagPrefixAttribute..ctor

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: The string parameter 'tagPrefix' cannot be null or empty. Parameter name: tagPrefix ---> System.ArgumentException: The string parameter 'tagPrefix' cannot be null or empty. Parameter name: tagPrefix at System.Web.UI.TagPrefixAttribute..ctor(String namespaceName, String tagPrefix) at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs) at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) at System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(Assembly assembly) at System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly() at System.Web.UI.ScriptManager..ctor() at Telerik.Web.UI.RadScriptManager..ctor() at DotNetNuke.Framework.AJAX.AddScriptManager(Page objPage) in {Path of the original source code?!!}\DotNetNuke_Community_06.01.03_Source\Library\Framework\AJAX.cs:line 54 at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) in {Path of the original source code?!!}\DotNetNuke_Community_06.01.03_Source\Library\Framework\PageBase.cs:line 236 at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e) in {Site physical path}\Default.aspx.cs:line 632 at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Thank you
 
New Post
12/6/2012 9:15 AM
 

Malek,

Since Gallery versions prior to 4.3.1 could trigger this issue (after changing the site's application pool to ASP.Net 4.0) I would try uninstalling the DNN Gallery module if you are sure that it is not being used or at least remove or rename the extension of the file DotNetNuke.Modules.Gallery.dll in the /bin folder.

If that does not eliminate the problem it will be necessary to track down which assembly that is being loaded might have set an assembly-level attribute tagPrefix with no namespace specified. The following thread from the ASP.Net forums discusses this same issue:

http://forums.asp.net/t/1494365.aspx/...

Note that the title of the thread "Problem with Scriptmanager . . ." is mis-leading and the discussion of the tagPrefix issue does not appear until one of the later posts in the thread


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
12/6/2012 4:57 PM
 

Deleting all DLL's related to Gallery module has fixed the issue :)

Many thanks, William

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss..."The string parameter 'tagPrefix' cannot be null or empty" error message in all pages!!"The string parameter 'tagPrefix' cannot be null or empty" error message in all pages!!


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