DNN User Accounts Module Error - dotnetnuke

I moved my working DNN solution to a different server but after that the user accounts module does not work. When I click 'Users' on the control panel and enter the username and search I am able to pick up the user I searched for but when I click on 'Manage Roles' it gives me the following error:
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
I am on version 4.7.0. I am using active directory.
Please help.

Are you by chance using SSL? You might look at the TABS table to see if any of the Admin pages are marked as SECURE

Related

Salesforce : error while deploying Profile

Profile error :
Getting two kinds of Errors first time while deploying the profile this is the error for Admin profile.
profiles/Admin.profile -- Error: Unknown user permission: ManageConvMiningReports
Next when I tried to deploy this time i am getting different one
profiles/Admin.profile -- Error: Unknown user permission: ShareFilesWithNetworks
I tried going to system admin profile and searched for Share Files with People in Experience Cloud sites
and tried to disable it but that permission is default checked for admin profile i can't disable it. So how i can reslove this issue.
can someone please help me out with solution.
Thanks in Advance.
Solution for the above error.
Remove the part of XML that mentions these 2 permissions, then try deploying. Or figure out how to enable missing features in the target org (experience cloud? Salesforce content? Whatever caused these checkboxes to appear in source org)

Administering Users in DNN 9.2

I run a DNN site where we have used a 3rd party module for several years to let our client administer their own users. Now that we are upgrading to DNN 9.2, that module no longer works, probably because of all the deprecated code.
I created a blank page, and added module "Users and Roles" to it.
Problem 1: It is not visible on the page, probably because it behaves more as a popup in the "admin" menu.
Problem 2: When I attempt to change that modules setting, I get an Exception:
ModuleLoadException: The file '/DesktopModules/Admin/Security/UserSettings.ascx' does not exist' Indeed, when I look for the file UserSettings.ascx it is nowhere to be found.
I need to give our client a way to edit their own users, without giving them Administrators privilege. How can I fix these problems?

DotNetNuke - DnnImageHandler.ashx - error 500

Clean Dnn Version : 09.01.01 (129)
When I work with Dnn and have javascript console opened, a lot of times I get error:
/DnnImageHandler.ashx?mode=profilepic&userId=1&h=32&w=32 500 (Internal
Server Error)
At the same time the image in the toolbar profile is missing. Where an how I can see what is working wrong what logs to check? If I go to Manage / Admin Logs and select Log Settings There is a lot of stuf I can enable, but dont know what can be right to see this error and try to find something more.
If I try to open this link in another browser window most of the time everithing is OK and I get generic user image with "?" back.
Also does anyone else see this errors?
Found the same error here:
https://dnntracker.atlassian.net/browse/DNN-9581
It is fixed in dnn 9.2
So I just spent the past hour trying to figure this out, and had to do a lot of cleanup on one of my DNN instances where it was occurring, but once I got all the cleanup done I think it comes down to this.
You're logged in with a Host/SuperUser account correct?
If you login as ANY other user, one of the Users in the Portal, it works correctly?
I ended up having to fix my "profile" page, the site was referencing skins that didn't exist anymore on the profile page, then containers that didn't exist. Once I cleaned all that up, I was able to navigate to the profile page, click on Edit profile, and once I edited the profile, I uploaded a new avatar for the HOST user and was able to get the image to render properly.
I think the issue has something to do with HOST accounts and either referencing an image that isn't part of the current portal, OR HOST accounts and referencing a default image that doesn't exist due to it being a host account, instead of a standard user account.
So how to fix?
Try uploading a profile photo for your account on the current portal and see if that resolves.

400 - Exception of type 'DotNetNuke.Services.Exceptions.SecurityException' was thrown

I create a role named as XYZ_Role. Then i create a user abc, Edit the user, then I click on Manage Roles for this User, Then i add XYZ_Role role to this user. Now on page there is edit for this role. \
Now i open this page, then go to module setting, then give edit right to this Role XYZ_Role.
Now i sign out from administrator user. Then i login as "abc" . Now i open this page. I found View/ Edit option (No design option here.). I choose Edit option, now i change the content, and click on save icon but it shows me error as given below :
400 - Exception of type 'DotNetNuke.Services.Exceptions.SecurityException' was thrown.
I am using DNN 4.09.05/ Windows XP Version 2002, Service Pack 3/ IIS V5.1
But if i give right to this page from admin --> Pages to XYZ_Role role, then we have to click on Edit Text which work fine.
Please suggest.
Regards,
Vineet Yadav
I would suggest upgrading to a newer version of DNN. 4.9.5 is many years old and there are hundreds of bugs, including security bugs, that have been fixed.

Site.com Error for system administrator

I am trying to edit site.com site in my org, Through i am system administrator it gives me access level error shown below:
'you do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.'
Any suggestion??
Check the security tips from https://salesforce.stackexchange.com/questions/5598/permission-problem-in-sales-forece and http://boards.developerforce.com/t5/Force-com-Sites-Site-com/page-is-showing-insufficient-privilege/td-p/233797
If you're sure the security of the Site is fine - try to debug the site https://salesforce.stackexchange.com/questions/1149/how-can-i-get-a-debug-log-for-the-sites-guest-user-public-profile (because you might be getting an Apex error that's not being displayed on your VF page).
Did the site used to work or is it new? If it's new I'm betting on permissions (first 2 links), Guest User profile should be examined if he has access to the objects you're using...
Last but not least: there's a bug they've fixed 5 days ago: http://success.salesforce.com/issues_view?id=a1p30000000RivgAAC Maybe you need to use this workaround, maybe you simply can clone the site and it'll work fine...
you have to check your profile, and i guess that there is someone who have created the profile for you and delegate you to be an administrator, if this is not your problem, you have to go to your personnal informations and click edit and you may find a checkbox which concerns "Site Publisher" you have to check it to be able to create and publish your site :)

Resources