An error occurred during the execution of xp_cmdshell. A call to 'LogonUserW' failed with error code: '1385'
2009-06-01 17:33
2066 查看
An error occurred during the execution of xp_cmdshell. A call to 'LogonUserW' failed with error code: '1385'
The message for the error code is:
Logon failure: the user has not been granted the requested logon type at this computer.
Actually logon type means "log on as a batch job". The proxy account should have this privilege on the sql server local computer.
Go to "All Programs-->Administrative Tools-->Local Security Policy", navigate to "Local Policies-->User Rights Assignment", find out "log on as a batch job" policy. Add the account which you added in Server proxy account.
The message for the error code is:
Logon failure: the user has not been granted the requested logon type at this computer.
Actually logon type means "log on as a batch job". The proxy account should have this privilege on the sql server local computer.
Go to "All Programs-->Administrative Tools-->Local Security Policy", navigate to "Local Policies-->User Rights Assignment", find out "log on as a batch job" policy. Add the account which you added in Server proxy account.
相关文章推荐
- An error occurred during local report processing.Failed to load expression host assembly. Details: Request for the permission of
- The module ... was loaded but the call to DllRegisterServer failed with error code 0x80070005
- Creating An Instance Of The Com Component With Clsid {b9425246-4131-11d2-be48-004005a04edf} From The Iclassfactory Failed Due To The Following Error
- unable to start debugging on the web server. An authentication error occurred while communicating with the web server.
- MS SQL错误:SQL Server failed with error code 0xc0000000 to spawn a thread to process a new login or connection. Check the SQL Server error log and the Windows event logs for information about possible related problems
- [SSIS 2005]SSIS Error The AcquireConnection method call to the connection manager failed with error code 0xC0202009
- eclipse怎么解决Failed to load the JNIshared library、an error has occurred.see the log file
- An error occurred during the parsing of a resource required to service this request
- failed to load resource the server responded with a status of 500 (internal server error)
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- You receive 'The remote computer disconnected the session because of an error in licensing protocol' on XP Prf
- 【随】Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack 问题解决。
- ReportViewer10.0 Windows验证模式下 An error occurred during local report processing.Failed to load expression host assembly
- failed to load resource the server responded with a status of 500 (internal server error)
- Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- an error has occurred while trying to access the log file. logging may not function properly
- The following error occurred during schema generation: Unable to load bytecode for class
- A configuration error occurred during startup.Please verify the preference field with the prompt: To
- A configuration error occurred during startup. Please verify the preference field with the prompt: Cannot connect to vm
- 91.View the Exhibit to examine the error that occurred during the database startup. You opened an RM