Overview
An administrator is unable to apply a license against their server, receiving the error Unable to process request. We were unable to activate your license. Please contact customer support
. In the DNN logs, there will be an error message stating "The profile for the user is a temporary profile."
Prerequisites
- Access to a SuperUser account.
Diagnosis
The DNN log file brings an additional error message with more insightful details:
2018-08-24 16:44:52.797+08:00 [SERVER_NAME][D:26][T:45][ERROR]
DotNetNuke.Services.Exceptions.Exceptions - DotNetNuke.Services.Exceptions.BasePortalException:
Please ensure the AppPool Identity is a User with non-readonly profile.
.Net 4.0 doesn't allow use of service accounts for decryption ---> System.Security.Cryptography.CryptographicException:
The profile for the user is a temporary profile.
The errors point to a temporary profile that MS Windows has created when it was unable to read the user profile files. Usually, users may not notice it happened until they run into some issues, like the DNN account not being able to perform administrative operations.
Looking at the C:\USER folder, there is no subfolder for the account that the user logged in with (which is the product default procedure). Instead, there is a private temp folder. In summary:
Solution
Follow the steps below to fix this issue:
- Restart the Server, in order to release potential locks on the file system, specific to the corrupted profile user.
- Connect to the Windows Server using an Administrative user account.
- Delete the Temp subfolder:
C:\users\Temp <===
- Open the Registry Editor.
- Back up the Registry entries, so it is possible to restore them in case of any problem.
- Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList
. - Go through each subfolder under ProfileList to find the key
ProfileImagePath
that contains the corrupted path folder (c:\users\temp). - Take note of the subfolder key string name (e.g. S-1-5-21-3781269710-2253848316-4214219372-10197).
- Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileGUID
and delete the subfolder with the same key string name noted in the previous step. - Go back to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList
and delete the key string subfolder.
Testing
- Log out from the Windows system and log back in with the user account which was found corrupted.
- It should now create a proper profile folder under
c:\users
directory.
- It should now create a proper profile folder under
- You should now be able to go to the Settings > About section in the DNN environment and apply the license.
Comments
0 comments
Please sign in to leave a comment.