A page was being added to my customer's site. After entering in the desired fields, the update button was clicked, and the user got the error message "An error has occurred. Error: is currently unavailable." Just prior to adding that page, another page had been added and then deleted. I checked the Event Viewer and found two related entries that I will list below. Note that the InnerException says "Tab Exists" as if the system tried to reuse the last TabID. The user said they used the same page name when they tried to re-add the page.
Here is a copy of the first entry from the Event Viwer:
2/22/2013 4:55:26 PM Module Load Exception admin
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource: DesktopModules/Admin/Tabs/ManageTabs.ascx
AssemblyVersion: 5.3.1
PortalID: 0
PortalName: Picture Framing Magazine
UserID: 2
UserName: admin
ActiveTabID: 59
ActiveTabName: Home
RawURL: /Home/tabid/59/ctl/Tab/action/add/returntabid/44/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
http://www.pictureframingmagazine.net...
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 4aeab510-1a0d-49cf-ad4e-68d2069d314e
InnerException: Tab Exists
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Entities.Tabs.TabController.AddTabInternal
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Tab Exists ---> DotNetNuke.Entities.Tabs.TabExistsException: Tab Exists at DotNetNuke.Entities.Tabs.TabController.AddTabInternal(TabInfo objTab, Boolean includeAllTabsModules) at DotNetNuke.Entities.Tabs.TabController.AddTab(TabInfo objTab, Boolean includeAllTabsModules) at DotNetNuke.Entities.Tabs.TabController.AddTab(TabInfo objTab) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.SaveTabData(String strAction) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.cmdUpdate_Click(Object Sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: CLE02WEB11
Here is the second entry:
2/22/2013 4:57:02 PM Module Load Exception admin
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource: DesktopModules/Admin/Tabs/ManageTabs.ascx
AssemblyVersion: 5.3.1
PortalID: 0
PortalName: Picture Framing Magazine
UserID: 2
UserName: admin
ActiveTabID: 59
ActiveTabName: Home
RawURL: /Home/tabid/59/ctl/Tab/action/add/returntabid/44/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
http://www.pictureframingmagazine.net...
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 85e193eb-7653-4221-a0cf-81ad46019e1b
InnerException: Tab Exists
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Entities.Tabs.TabController.AddTabInternal
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Tab Exists ---> DotNetNuke.Entities.Tabs.TabExistsException: Tab Exists at DotNetNuke.Entities.Tabs.TabController.AddTabInternal(TabInfo objTab, Boolean includeAllTabsModules) at DotNetNuke.Entities.Tabs.TabController.AddTab(TabInfo objTab, Boolean includeAllTabsModules) at DotNetNuke.Entities.Tabs.TabController.AddTab(TabInfo objTab) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.SaveTabData(String strAction) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.cmdUpdate_Click(Object Sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: CLE02WEB11
I tried to recreate the error but couldn't. Instead, I noticed that if I tried to create a new page using the same page name as a deleted page, the page would not be created. I didn't get an error message, but the page would not appear in the page list. This happened to me several times.
Anyone have any idea what is going on here? Under what circumstances would DNN try to create a page using a tab id that already exists? And is it okay to use a page name that exists on a deleted page? Any help would be greatly appreciated!! Thank you.