Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  "User is ambiguous in the namespace" error after server change
Previous Previous
 
Next Next
New Post 12/2/2006 4:53 AM
User is offline ROBAX
1885 posts
5th Ranked


"User is ambiguous in the namespace" error after server change 

Hello all,

I'm going through a rather painful account upgrade at Webhost4life and have just now got my DNN instance up and running.. and I am getting the error pasted below when I try to view either the "Edit User Accounts" or "Manage Profile" page. This is DNN4.36 and I'm pretty sure it was still fine before the upgrade. I'm wondering what might be the cause of the following error:

ModuleId: 357
ModuleDefId: 15
FriendlyName: Edit User Accounts
ModuleControlSource: Admin/Users/ManageUsers.ascx
AssemblyVersion: 04.03.06
PortalID: 0
PortalName: WumpWorld
UserID: 1
UserName: robax
ActiveTabID: 42
ActiveTabName: User Accounts
RawURL: /Admin/UserAccounts/tabid/42/ctl/Edit/mid/357/UserId/2/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://wumpworld.com/Admin/UserAccounts/tabid/42/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; VRE Toolbar 1.4; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.2)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: d0f32790-c274-4f92-b741-d6fa2d2f4ecb
InnerException: c:\hosting\webhost4life\member\robax\wumpworld-436\Admin\Users\ManageUsers.ascx.vb(816): error BC30560: 'User' is ambiguous in the namespace 'DotNetNuke.Modules.Admin.Users'.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.Compilation.AssemblyBuilder.Compile
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: c:\hosting\webhost4life\member\robax\wumpworld-436\Admin\Users\ManageUsers.ascx.vb(816): error BC30560: 'User' is ambiguous in the namespace 'DotNetNuke.Modules.Admin.Users'. ---> System.Web.HttpCompileException: c:\hosting\webhost4life\member\robax\wumpworld-436\Admin\Users\ManageUsers.ascx.vb(816): error BC30560: 'User' is ambiguous in the namespace 'DotNetNuke.Modules.Admin.Users'. at System.Web.Compilation.AssemblyBuilder.Compile() 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) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(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.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
Source:
Server Name: VIR103-13

I dread sending this into the support desk there as I've already got several tickets being (slooowly) dealt with and I haven't got a lot of confidence in it.

 Any assistance is much appreciated

Rob

 

 
New Post 12/2/2006 6:20 AM
Online now... Rodney Joyce
1740 posts
www.smart-thinker.com
5th Ranked




Re: "User is ambiguous in the namespace" error after server change 
Hi Rob,

Hard to say exactly, but that sounds like the error you get when you have two non-qualified classes that have the same name, so the namespaces are ambiguous. Sorry - doesn't help much but it may be an old assembly in the \bin dir that is no longer needed that is clashing with a newer one?

Thanks,
Rodney
Smart-Thinker - Social Networking modules for DotNetNuke
The DotNetNuke Directory - Are you listed?
PokerDIY - Example Implementation of DNN Social Network
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
 
New Post 12/2/2006 8:40 PM
User is offline ROBAX
1885 posts
5th Ranked


Re: "User is ambiguous in the namespace" error after server change 

Hi Rodney and thanks for the reply,

I was going to write in your forums about this, because the last set of modules I installed before the shift was all the Smart Thinker ones I bought last week. The error may well have been happening before the shift as I likely didn't visit the profiles page and never saw it.

I installed as recommended them with the old versions first and the latest last. I've got all the modules installed apart from Homepages, which I removed. The very last one was Smart-Thinker - Referrals Gold PA 04.03.01.zip

I assume the error is caused by something that interacts with user management as that is where the error occurs. Do you think there might be a chance that the problem lies with one of these modules?

Thanks for any further assistance with this,
Rob

 
New Post 12/2/2006 9:42 PM
User is offline ROBAX
1885 posts
5th Ranked


Re: "User is ambiguous in the namespace" error after server change 

Rodney... since the last post, I sent you note with a link to here, just in case the forum didn't notify you of my reply.. and since then again, I put two and two together and reinstalled the Homepages module. Like magic the profiles management pages are back with no errors.

The only file I can see that it had in common with any other modules is the ModuleFramework dll, which it shares with the Quotes module....but I had read the warnings and understood that having the latest version present is the correct situation.. and the one left in the \bin was the latest version by a year - as supplied by the homepages module.

In any case, I'm pleased the site is back, but this is definitely not a good situation and needs to be dealt with in a better way.

Regards,
Rob

 
New Post 12/2/2006 9:55 PM
User is offline ROBAX
1885 posts
5th Ranked


Re: "User is ambiguous in the namespace" error after server change 

Woops I spoke too soon.. the error is gone, but only for the host portal... all my subportals still display the same error.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  "User is ambiguous in the namespace" error after server change
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net
DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com
Cygnusoft Custom Software
Cygnusoft has been providing cutting-edge custom software solutions for 20 years. Cygnusoft is also a leading start-up incubator, helping our partners build successful new businesses.
www.cygnusoft.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP