While creating a new ColdFusion server I attempted to change the Windows Service account to a domain service account. I’ve done this on almost every ColdFusion server I’ve ever setup because they typically need access to network resources and it makes it easy to manage the application rights.
This time however I was unable to do so. I received a generic error from the service manager:
The Coldfusion Service on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs
The ColdFusion server logs were not very helpful. They showed the server starting and stopping (just as the service manager error stated). I found this in the Windows Application Event Log:
Win32 API routinue "CreateEvent" failed: Access is denied.
Researching this error did not turn up any ColdFusion specific results, however I kept seeing references to the issue being present in other “Java Server” based software.
All the fixes listed for the the Java server software suggested installing the software “As Administrator”
I usually do this when installing any software, but failed to do so this time.
After uninstalling, then reinstalling with elevated permissions (As Administrator) I was able to get the service account change the ColdFusion service running steady.
Still not sure WHY this prevents the service account from being changed.
An information technology professional with twenty four years experience in systems administration, computer programming, requirements gathering, customer service, and technical support.