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  |  

  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

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


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  "User is ambiguous in the namespace" error after server change
Previous Previous
 
Next Next
New Post 1/3/2007 10:14 PM
User is offline Collin
30 posts
10th Ranked


Re: "User is ambiguous in the namespace" error after server change 
Rob, I know I'm late to the thread, but this might shed some light. If there's a fix for it, then all the better.

I received the same error recently when developing a module. I copied all of the user controls in the admin folder and moved them to another to alter the code and development my own version of admin user controls. Within the declaration statement on manageusers.ascx (which was in a new folder), I substituted  a different address for the user control  (Src="~/admin/Users/User.ascx") -- one that pointed to my own version. This threw the same error you've been having, telling me that somewhere within the code, the User.UserCreatedEventArgs is sharing the same  namespace somewhere. I don't know where, but that's the only conclusion I can think of. It's my guess that your third-party software might be doing the same thing--probably borrowing the same namespace to complete their module.

Sorry, not much help, but I'd like to figure it out, too, if their is answer. But I'm pretty sure of the cause.
 
New Post 1/9/2007 4:21 AM
User is offline ROBAX
1885 posts
5th Ranked


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

Thanks for adding this to the thread.

I did eventually find the cause of the issue, but of course not until I'd restored and redone a lot of content. It's still sufficiently obscure that I don't know exactly why this happens.. it just doesn't make any sense to me.. but here it is:

The background: Ever since the new user profiles in DNN4, there have also been new 'required field' images in place of asterisks. These are ugly round red arrows that display very badly on non-white backgrounds. In addition, on certain skins, those images slip underneath the text fields and upset the layout of the page.. not to mention they then no longer point at anything.

So I have always done a couple of small things to my DNN instances. First I replace the arrows with my own tidier graphic... and second, I make a small change in User.ascx

I wanted to make it so the images don't slip underneath the fields, but because the dnn:propertyeditorcontrol has no table cells where I could simply set nowrap, I discovered I could stretch it out a little sideways with the editcontrolwidth and width settings already present. I would simple add a few pixels to the values.

Now that might seem pretty tame, and it worked perfectly for a long time, but then it caused the namespace error that started this thread. The error would occur only with certain skins. I tried all sorts of different values and it seemed to fail when the skin squeezed the control too tightly or something.

It's a mystery to me why it stuffs up and why it gives that namespace error message, but it absolutely does. I did it over and over again... simply changing the values a few pixels would make it fail. I confirmed it on a seperate DNN instance as well. So now I'm not touching it.

I did of course restore the core user.ascx file at least 2-3 times when I was posting earlier, but it didn't happen so clearly then and there must also have been some caching that was causing me to see the modded file... and as well, I would never have suspected this to be the cause. When I finally discovered the issue, I had to manually clear the cache each time to check for the error.

So.. if anyone does knows how to reliably widen the control, please let me know  :)

And thanks to everyone who tried to help out.

Rob

 
New Post 9/2/2008 3:04 PM
User is offline jnuw
20 posts
10th Ranked


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

Hello all.  I just ran into this "User is ambiguous in the namespace" error on my 4.8.2 single portal dnn install.  It was running perfectly for weeks, and this just popped up.  Turns out that I too had made some minor changes to the user.ascx file.  However, before making my changes I had backed up the file, by simply copying the file into "copy of user.ascx".  My guess is that sometime between doing this, and today, .net came along and re-compiled this folder, and compiled both ascx files.  So... I renamed the copy to "copy of user.ascx.bak", deleted the corresponding (temp) folder for this website UNDER "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\", then recycled the app pool under IIS.  I'm back up and running.  Just thought I would add my 2 cents.

Thanks,
Jnuw

 
New Post 9/2/2008 8:29 PM
User is offline ROBAX
1885 posts
5th Ranked


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

Yes, I can confirm this has been the case ever since this old thread. That user.ascx file is extremely sensitive to edits. Even a third party module I use that uses the same file, does the same thing.

I'd still like to be able to alter the layout of that file, so if anyone knows what causes the problem, please let us know.

Rob

 
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.

 


T-WORX, INC.
Professional DotNetNuke Solutions
www.t-worx.com
AppTheory
Professional development for medium to large projects based on the DotNetNuke platform.
www.apptheory.com
OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com

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