In a new farm installation I'm running into a not before seen error when starting the UPS for the first time. The first FIM service starts but the other sits as disabled for a few minutes before the whole process fails. The following two errors
are seen in the event log a total of five times each at 1 minute intervals. When I search for these errors exactly I can find nothing online. Any help would be appreciated.
ERROR #1
Level: Warning
Source: ILM Web Service Configuration
Event ID: 234
ILM SQL Configuration file could not be read: Error Parcing the SQL File: D:\Program Files\Microsoft Office Servers\14.0\Sql\StoredProcedures.sql Exception: Access denied.
ERROR #2
Level: Warning
Source: ILM Web Service Configuration
Event ID: 234
ILM Database could not be created: Error sent to Windows Event Log running : CREATE PROCEDURE dbo.AddTemporalEventsJobToSQLServerAgentAndStartIt @ILMDatabaseName NVARCHAR(MAX) AS
--------------------------------------------------------------------------------------------------- --
The SQL Server Agent must be started or the execution of this stored procedure will fail.
-- This stored procedure does the following: -- If there is an agent job named ILM_TemporalEventsJob, it will be deleted.
-- Create the agent job named ILM_TemporalEventsJob.
-- Start the agent job named ILM_TemporalEventsJob.
--
-- This is executed during setup as the following SQL script:
-- EXEC dbo.AddTemporalEventsJobToSQLServerAgentAndStartIt '[SQLSERVER_DATABASE]' ---------------------------------------------------------------------------------------------------
BEGIN
SET NOCOUNT ON
IF EXISTS (SELECT job_id FROM msdb.dbo.sysjobs_view WHERE name = N'ILM_TemporalEventsJob')
EXEC msdb.dbo.sp_delete_job
@job_name=N'ILM_TemporalEventsJob',
@delete_unused_schedule=1
BEGIN TRANSACTION
DECLARE @ReturnCode INT
SELECT @ReturnCode = 0
IF NOT EXISTS (SELECT name FROM msdb.dbo.syscategories WHERE name=N'[Uncategorized (Local)]' AND category_class=1)
BEGIN
EXEC @ReturnCode = msdb.dbo.sp_add_category
@class=N'JOB',
@type=N'LOCAL',
@name=N'[Uncategorized (Local)]'
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
END
DECLARE @jobId BINARY(16)
EXEC @ReturnCode = msdb.dbo.sp_add_job
@job_name=N'ILM_TemporalEventsJob',
@enabled=1,
@notify_level_eventlog=0,
@notify_level_email=0,
@notify_level_netsend=0,
@notify_level_page=0,
@delete_level=0,
@description=N'Periodically identify workflows to be run on objects that have transitioned to or from temporal sets.',
@category_name=N'[Uncategorized (Local)]',
@job_id = @jobId OUTPUT
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
EXEC @ReturnCode = msdb.dbo.sp_add_jobstep @job_id=@jobId, @step_name=N'ILM_TriggerTemporalEventsStep',
@step_id=1,
@cmdexec_success_code=0,
@on_success_action=1,
@on_success_step_id=0,
@on_fail_action=2,
@on_fail_step_id=0,
@retry_attempts=0,
@retry_interval=0,
@os_run_priority=0,
@subsystem=N'TSQL',
@command=N'EXEC dbo.TriggerTemporalEvents',
@database_name=@ILMDatabaseName,
@flags=0
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
EXEC @ReturnCode = msdb.dbo.sp_update_job @job_id = @jobId, @start_step_id = 1
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
IF EXISTS (SELECT schedule_id FROM msdb.dbo.sysschedules WHERE name = N'ILM_TemporalEventsJobSchedule')
EXEC msdb.dbo.sp_delete_schedule
@schedule_name = 'ILM_TemporalEventsJobSchedule',
@force_delete = 1;
EXEC msdb.dbo.sp_add_schedule
@schedule_name = N'ILM_TemporalEventsJobSchedule' ,
@freq_type = 4,
@freq_interval = 1,
@active_start_time = 010000;
EXEC msdb.dbo.sp_attach_schedule
@job_name = N'ILM_TemporalEventsJob',
@schedule_name = N'ILM_TemporalEventsJobSchedule';
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
EXEC @ReturnCode = msdb.dbo.sp_add_jobserver
@job_id = @jobId,
@server_name = N'(local)'
IF (@@ERROR <> 0 OR @ReturnCode <> 0) GOTO QuitWithRollback
COMMIT TRANSACTION
GOTO EndSave
QuitWithRollback:
IF (@@TRANCOUNT > 0) ROLLBACK TRANSACTION
EndSave:
EXEC msdb.dbo.sp_start_job @job_name = N'ILM_TemporalEventsJob'
END
: Access denied.