The following error occurs when trying to share, print or create an email subscription in WebReporter:
"An unexpected error has occurred. You request cannot be processed at this time. If the problem persists, contact the Webpage administrator".
An error will appear in the System Event log in the Management Console:
|10/21/2012 5:55:52 PM
||ION Web General
||Could not authenticate
If the EventException table in ION_SystemLog is examined, the following stack traces will be seen:
System.ApplicationException: Could not authenticate. at PowerMeasurement.Security.UserImpersonator..ctor(String username, String password, String domain) at PowerMeasurement.Apps.Web.EEM.Modules.Reports.AddRSReportSubscription.InitPrinterControl() at PowerMeasurement.Apps.Web.EEM.Modules.Reports.AddRSReportSubscription.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
ION Enterprise 6.0/6.0 SP1
StruxureWare Power Monitoring 7.0.x
Power Monitoring Expert 7.2.x
Web Applications Report
The reason for this behavior is that two of the three subscriptions, and the "Add" button, perform operations that require User Impersonation.
The code attempts to "log in" to Windows as IONUser to poll for a list of configured printers ("Add" button), write to a file share (subscription), or send to a printer (subscription).
The aforementioned error can be caused by several things.
This error can also be caused when the Windows IONUser password has been changed.
Web Reporter subscriptions will not work unless the Security Policy settings for "Allow log on locally
" is granted to the IONUser
(member of the Users
group) on the Windows 7 server.
Change the Windows IONUser password back to the default, IONisgreat!
, or update SQL Server Management Studio to reflect the new password. For instructions on updating SQL Server Management Studio, see FA208369
Make IONUser a member of a group that can log on locally or give IONUser permission to log on locally.
Method 1: Give IONUser permission to log on locally
- Navigate to Control Panel → Administrative Tools → Local Security Policy
- Inside of Local Security Policy navigate to Local Policies → User Rights and Assignment
- Select Allow log on locally. Here you will see the groups that are allowed to log on locally.
- Select Add User or Group.
- Enter IONUser and select Check Names. It will automatically enter the name of your PC in front of IONUser. Make sure the PC name is there then select OK
- Select OK to exit the Allow log on locally Properties window.
Method 2: Add IONUser to a group that can log on locally
- Navigate to Control Panel → Administrative Tools → Computer Management
- In computer management navigate to Local Users and Groups → Users and select the IONUser
- In the IONUser Properties navigate to Member Of and select Add
- Enter a group from the list that was shown on step three of the previous instructions and select Check Names.It will automatically enter the name of your PC in front of the selected group. Make sure the PC name is there then select OK
- Select OK to exit the IONUser Properties window.