I am seeing the error "Login failed for user ''. The user is not associated with a trusted SQL Server connection." configuring biztalk 2006 R2 group. SQL is on my local machine and my user account has full permissions to the database. Below is the error log created.
Please help!
2011-12-05 14:07:50:0595 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:50:0830 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\BTS_Version_Schema.sql2011-12-05 14:07:50:0892 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\BTS_Version_Logic.sql2011-12-05 14:07:50:0986 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\TDDS_Dest_Schema.sql2011-12-05 14:07:51:0049 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\BTS_Tracking_Schema.sql2011-12-05 14:07:51:0392 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\DTA_RulesEngine_Schema.sql2011-12-05 14:07:51:0549 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\msgbox_tracking_schema.sql2011-12-05 14:07:51:0814 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\Backup_Setup_All_Tables.sql2011-12-05 14:07:51:0908 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\BtsEdiMessageContentTables.sql2011-12-05 14:07:51:0986 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\TDDS_Dest_Logic.sql2011-12-05 14:07:52:0174 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\BTS_Tracking_Logic.sql2011-12-05 14:07:52:0783 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\DTA_RulesEngine_Logic.sql2011-12-05 14:07:52:0986 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\msgbox_tracking_logic.sql2011-12-05 14:07:53:0142 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\Backup_Setup_All_Procs.sql2011-12-05 14:07:53:0267 [INFO] WMI Executing SQL script: C:\Program Files (x86)\Microsoft BizTalk Server 2006\Schema\\BtsEdiMessageContentSps.sql2011-12-05 14:07:53:0345 [INFO] WMI CoCreating BizTalkDBVersion2011-12-05 14:07:53:0408 [INFO] WMI Stamping database schema version to be 3.7.1.02011-12-05 14:07:53:0439 [INFO] WMI Tracking database created2011-12-05 14:07:53:0783 [INFO] WMI Calling CDataSource.Open() against vsreenivasadevfl\BizTalkMgmtDb2011-12-05 14:07:53:0830 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:53:0892 [INFO] WMI Calling CDataSource.Open() against vsreenivasadevfl\BizTalkDTADb2011-12-05 14:07:53:0924 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:54:0002 [INFO] WMI Calling CDataSource.Open() against vsreenivasadevfl\BizTalkDTADb2011-12-05 14:07:54:0095 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:54:0158 [INFO] WMI Calling CDataSource.Open() against vsreenivasadevfl\BizTalkDTADb2011-12-05 14:07:54:0220 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:54:0267 [INFO] WMI Calling CDataSource.Open() against vsreenivasadevfl\BizTalkDTADb2011-12-05 14:07:54:0345 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:54:0377 [INFO] WMI Calling CDataSource.Open() against vsreenivasadevfl\BizTalkDTADb2011-12-05 14:07:54:0455 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:54:0486 [INFO] WMI Calling CDataSource.Open() against vsreenivasadevfl\BizTalkDTADb2011-12-05 14:07:54:0549 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:54:0595 [INFO] WMI Calling CDataSource.Open() against vsreenivasadevfl\BizTalkDTADb2011-12-05 14:07:54:0674 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:54:0720 [INFO] WMI Calling CDataSource.Open() against vsreenivasadevfl\BizTalkDTADb2011-12-05 14:07:54:0799 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:54:0861 [INFO] WMI Calling CDataSource.Open() against vsreenivasadevfl\BizTalkDTADb2011-12-05 14:07:54:0924 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:54:0986 [INFO] WMI Calling CDataSource.Open() against vsreenivasadevfl\BizTalkDTADb2011-12-05 14:07:55:0049 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:55:0142 [INFO] WMI Creating SQL login 'BizTalk Server Administrators' for BTS Admin Group2011-12-05 14:07:55:0299 [INFO] WMI Creating SQL login 'BizTalk Server Operators' for BTS Operator Group2011-12-05 14:07:55:0361 [INFO] WMI Creating SQL login 'BizTalk Server Administrators' for BTS Admin Group2011-12-05 14:07:55:0424 [INFO] WMI Calling CDataSource.Open() against VSREENIVASADEVF\BizTalkRuleEngineDb2011-12-05 14:07:55:0470 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:55:0533 [WARN] AdminLib GetBTSMessage: hrErr=c0c025ca; Msg=BizTalk Server cannot access SQL server. This could be due to one of the following reasons:1. Access permissions have been denied to the current user. Either log on as a user that has been granted permissions to SQL and try again, or grant the current user permission to access SQL Server.2. The SQL Server does not exist or an invalid database name has been specified. Check the name entered for the SQL Server and database to make sure they are correct as provided during SQL Server installation.3. The SQL Server exists, but is not currently running. Use the Windows Service Control Manager or SQL Enterprise Manager to start SQL Server, and try again.4. A SQL database file with the same name as the specified database already exists in the Microsoft SQL Server data folder.
Internal error from OLEDB provider: "Login failed for user ''. The user is not associated with a trusted SQL Server connection."; 2011-12-05 14:07:55:0564 [WARN] AdminLib GetBTSMessage: hrErr=80070002; Msg=The system cannot find the file specified.; 2011-12-05 14:07:55:0611 [WARN] AdminLib GetBTSMessage: hrErr=c0c02560; Msg=Failed to read "KeepDbDebugKey" from the registry.The system cannot find the file specified.; 2011-12-05 14:07:55:0658 [INFO] WMI Error occurred during database creation; attempt to rollback and delete the partially created database'vsreenivasadevfl\BizTalkDTADb'2011-12-05 14:07:55:0705 [INFO] WMI Calling CDataSource.Open() against vsreenivasadevfl\master2011-12-05 14:07:55:0752 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:55:0939 [WARN] AdminLib GetBTSMessage: hrErr=80070002; Msg=The system cannot find the file specified.; 2011-12-05 14:07:55:0970 [WARN] AdminLib GetBTSMessage: hrErr=c0c02560; Msg=Failed to read "KeepDbDebugKey" from the registry.The system cannot find the file specified.; 2011-12-05 14:07:56:0017 [INFO] WMI Error occurred during database creation; attempt to rollback and delete the partially created database'vsreenivasadevfl\BizTalkMgmtDb'2011-12-05 14:07:56:0142 [INFO] WMI Calling CDataSource.Open() against vsreenivasadevfl\master2011-12-05 14:07:56:0189 [INFO] WMI CDataSource.Open() returned2011-12-05 14:07:56:0330 [ERR] WMI Failed in pAdmInst->Create() in CWMIInstProv::PutInstance(). HR=c0c025ca2011-12-05 14:07:56:0361 [ERR] WMI WMI error description is generated: BizTalk Server cannot access SQL server. This could be due to one of the following reasons:1. Access permissions have been denied to the current user. Either log on as a user that has been granted permissions to SQL and try again, or grant the current user permission to access SQL Server.2. The SQL Server does not exist or an invalid database name has been specified. Check the name entered for the SQL Server and database to make sure they are correct as provided during SQL Server installation.3. The SQL Server exists, but is not currently running. Use the Windows Service Control Manager or SQL Enterprise Manager to start SQL Server, and try again.4. A SQL database file with the same name as the specified database already exists in the Microsoft SQL Server data folder.
Internal error from OLEDB provider: "Login failed for user ''. The user is not associated with a trusted SQL Server connection."2011-12-05 14:07:56:0392 [INFO] WMI CWMIInstProv::PutInstance() finished. HR=c0c025ca[2:07:56 PM Error BtsCfg] d:\depot2300\mercury\private\mozart\source\setup\btscfg\btswmi.cpp(358): FAILED hr = c0c025ca
[2:07:56 PM Error BtsCfg] BizTalk Server cannot access SQL server. This could be due to one of the following reasons:1. Access permissions have been denied to the current user. Either log on as a user that has been granted permissions to SQL and try again, or grant the current user permission to access SQL Server.2. The SQL Server does not exist or an invalid database name has been specified. Check the name entered for the SQL Server and database to make sure they are correct as provided during SQL Server installation.3. The SQL Server exists, but is not currently running. Use the Windows Service Control Manager or SQL Enterprise Manager to start SQL Server, and try again.4. A SQL database file with the same name as the specified database already exists in the Microsoft SQL Server data folder.
Internal error from OLEDB provider: "Login failed for user ''. The user is not associated with a trusted SQL Server connection."[2:07:56 PM Error BtsCfg] d:\depot2300\mercury\private\mozart\source\setup\btscfg\btscfg.cpp(1769): FAILED hr = c0c025ca
[2:07:56 PM Info BtsCfg] Entering function: CBtsCfg::UnConfigureFeature[2:07:56 PM Info BtsCfg] Unconfiguring feature: WMI[2:07:56 PM Warning BtsCfg] BTS management server or DB names are not found in the registry.[2:07:56 PM Info BtsCfg] Entering function: CWMI::StopHostInstance2011-12-05 14:07:56:0439 [INFO] WMI CWMIInstProv::EnumerateInstances() try to acquire lock2011-12-05 14:07:56:0486 [INFO] WMI CWMIInstProv::EnumerateInstances() lock acquired successfully2011-12-05 14:07:56:0517 [INFO] WMI CWMIInstProv::EnumerateInstances(MSBTS_HostInstance) started2011-12-05 14:07:56:0564 [INFO] WMI CWMIInstProv::VerifyMgmtDbCompatibility() started2011-12-05 14:07:56:0611 [INFO] WMI QueryStringValue query regkey 'MgmtDBServer'2011-12-05 14:07:56:0627 [INFO] WMI QueryStringValue query regkey 'MgmtDBName'2011-12-05 14:07:56:0689 [INFO] WMI CWMIInstProv::VerifyMgmtDbCompatibility(ServerName, DBName) started2011-12-05 14:07:56:0720 [INFO] WMI CWMIInstProv::VerifyMgmtDbCompatibility(ServerName, DBName) finished successfully2011-12-05 14:07:56:0767 [INFO] WMI CWMIInstProv::VerifyMgmtDbCompatibility() finished successfully2011-12-05 14:07:56:0814 [INFO] WMI CWMIInstProv::EnumerateInstancesWithQuery(MSBTS_HostInstance) started2011-12-05 14:07:56:0861 [WARN] AdminLib GetBTSMessage: hrErr=c0c024bf; Msg=The server has not been configured.To configure the server, run the BizTalk Server Configuration wizard and configure the Group feature.; 2011-12-05 14:07:56:0908 [ERR] WMI Failed in RetrieveInstances in CWMIInstProv::EnumerateInstancesWithQuery(). HR=c0c024bf2011-12-05 14:07:56:0955 [ERR] WMI WMI error description is generated: The server has not been configured.To configure the server, run the BizTalk Server Configuration wizard and configure the Group feature.2011-12-05 14:07:56:0986 [INFO] WMI CWMIInstProv::EnumerateInstances() finished. HR=c0c024bf[2:07:57 PM Error BtsCfg] d:\depot2300\mercury\private\mozart\source\setup\btscfg\btswmi.cpp(1672): FAILED hr = c0c024bf
[2:07:57 PM Error BtsCfg] The server has not been configured.To configure the server, run the BizTalk Server Configuration wizard and configure the Group feature.[2:07:57 PM Info BtsCfg] Entering function: CWMI::UnMapHost2011-12-05 14:07:57:0095 [INFO] WMI CWMIInstProv::EnumerateInstances() try to acquire lock2011-12-05 14:07:57:0142 [INFO] WMI CWMIInstProv::EnumerateInstances() lock acquired successfully2011-12-05 14:07:57:0189 [INFO] WMI CWMIInstProv::EnumerateInstances(MSBTS_ServerHost) started2011-12-05 14:07:57:0236 [INFO] WMI CWMIInstProv::VerifyMgmtDbCompatibility() started2011-12-05 14:07:57:0267 [INFO] WMI QueryStringValue query regkey 'MgmtDBServer'2011-12-05 14:07:57:0314 [INFO] WMI QueryStringValue query regkey 'MgmtDBName'2011-12-05 14:07:57:0361 [INFO] WMI CWMIInstProv::VerifyMgmtDbCompatibility(ServerName, DBName) started2011-12-05 14:07:57:0392 [INFO] WMI CWMIInstProv::VerifyMgmtDbCompatibility(ServerName, DBName) finished successfully2011-12-05 14:07:57:0455 [INFO] WMI CWMIInstProv::VerifyMgmtDbCompatibility() finished successfully2011-12-05 14:07:57:0486 [INFO] WMI CWMIInstProv::EnumerateInstancesWithQuery(MSBTS_ServerHost) started2011-12-05 14:07:57:0533 [WARN] AdminLib GetBTSMessage: hrErr=c0c024bf; Msg=The server has not been configured.To configure the server, run the BizTalk Server Configuration wizard and configure the Group feature.; 2011-12-05 14:07:57:0580 [ERR] WMI Failed in RetrieveInstances in CWMIInstProv::EnumerateInstancesWithQuery(). HR=c0c024bf2011-12-05 14:07:57:0611 [ERR] WMI WMI error description is generated: The server has not been configured.To configure the server, run the BizTalk Server Configuration wizard and configure the Group feature.2011-12-05 14:07:57:0658 [INFO] WMI CWMIInstProv::EnumerateInstances() finished. HR=c0c024bf[2:07:57 PM Error BtsCfg] d:\depot2300\mercury\private\mozart\source\setup\btscfg\btswmi.cpp(1821): FAILED hr = c0c024bf
[2:07:57 PM Error BtsCfg] The server has not been configured.To configure the server, run the BizTalk Server Configuration wizard and configure the Group feature.[2:07:57 PM Info BtsCfg] Instantiating IBTSMsgBoxPerformance object[2:07:57 PM Info BtsCfg] Calling IBTSMsgBoxPerformance::UninstallArtifactsException in CounterManager.UninstallArtifacts when uninstalling the perf counter instances. The exception details are: Source of exception: .Net SqlClient Data ProviderMessage: Could not find stored procedure 'MsgBoxPerfCounters_GetMsgBoxesAndServers'.Stack trace: at Microsoft.BizTalk.MsgBoxPerfCounters.MgmtDbAccessEntity.UninstallInstances(Boolean regularUninstall) at Microsoft.BizTalk.MsgBoxPerfCounters.CounterManager.UninstallArtifacts(Boolean regularUninstall, String logFileName)
Hi,
If I check your logfile, then I can see the following line:
Internal error from OLEDB provider: "Login failed for user ''. The user is not associated with a trusted SQL Server connection."
[2:07:56 PM Error BtsCfg] d:\depot2300\mercury\private\mozart\source\setup\btscfg\btscfg.cpp(1769): FAILED hr = c0c025ca
Are you sure that you can log on the sql using the specified user?