Setup Failed

  
Hi, 

I tried to install the community edition on win XP and all was successful until i hit the following error

"The Platform Server configuration was not completed. The Configuration Tool failed with error code 5"

I've attached the log.zip.

On checking the windows event viewer, I noticed under application events that there's a number of errors relating to failed logged in. The following is one of them

Error openning connection to the database: Cannot open database "outsystems" requested by the login. The login failed.
Login failed for user 'OSAdmin'.
The retrying was unsuccessful.
 
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
   at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
   at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
   at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.SqlClient.SqlConnection.Open()
   at OutSystems.HubEdition.RuntimePlatform.DBConnectionManager.GetConnection(ConnectionString connectionString, AdoHelper helper, DBKind dbKind, String schema)
   at OutSystems.HubEdition.RuntimePlatform.DBConnectionManager.GetConnection(ConnectionString connectionString, AdoHelper helper, DBKind dbKind, String schema)
   at OutSystems.HubEdition.RuntimePlatform.DBConnectionManager.GetConnection(ConnectionString connectionString)
   at OutSystems.HubEdition.RuntimePlatform.DBConnectionManager.buildTransactionInfo()
   at OutSystems.HubEdition.RuntimePlatform.SqlServerConnectionManager.addToPoolAndReserve()
   at OutSystems.HubEdition.RuntimePlatform.SqlServerConnectionManager.getAndReserveFromPoolUnchecked()
   at OutSystems.HubEdition.RuntimePlatform.SqlServerConnectionManager.getAndReserveFromPool()
   at OutSystems.HubEdition.RuntimePlatform.SqlServerConnectionManager.GetReadOnlyTransaction()
   at OutSystems.HubEdition.RuntimePlatform.DBTransactionManager.GetTransaction()
   at #Cbe.#dee.#Wde(HubConfiguration config, DBUserType userType, Nullable`1 timeoutOverride, Boolean useUpperCaseUsername, Exception& exception, String& message, Boolean forceRunAsSameUser)
   at #Cbe.#dee.#mN1.#Are()
   at #Cbe.#upe.#kpe(#Xpe dbconfig, DBUserType userType, Action method)
   at #Cbe.#upe.#jpe(HubConfiguration config, DBUserType userType, Action method, Boolean upperCaseUserNames)
   at #Cbe.#dee.#Vde(HubConfiguration config, DBUserType userType, Nullable`1 timeoutOverride, Boolean useUpperCaseUsername, Exception& exception, String& message, Boolean forceRunAsSameUser)
   at #Cbe.#dee.#Ude(DBUserType userType, List`1 messages)
   at #Cbe.#Gce.#9be(DBUserType grantUserType, List`1 messages)
   at #Cbe.#Gce.#NP.#4qe(DBUserType userType)
   at OutSystems.RuntimeCommon.CollectionsExtensions.Apply[Type](IEnumerable`1 collection, Action`1 action)
   at #Cbe.#Gce.#8be()
   at #Cbe.#Gce.#Bce()
   at #Cbe.#upe.#MQ.#fse()
   at #Cbe.#upe.#kpe(#Xpe dbconfig, DBUserType userType, Action method)
   at #Cbe.#upe.#qpe(#Xpe dbconfig, Triplet`3 credentials, DBUserType userType, Action method)
   at #Cbe.#upe.#ppe(#Gce frm, HubConfiguration config, DBUserType userType, Action method, String catalogOverride)
   at #Cbe.#Gce.#cce(HubConfiguration config)
   at #Cbe.#Gce.#mce()
   at #Cbe.#Gce.#2Ab(String adminuserpassword)
   at #Cbe.#Tne.#e5d(String[] args)
 
 
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


Please help.
Thanks in advance
Hi Kenny,

Looking at the logs it looks like the reason it failed was not the database. That log was probably a login attempt just to determine if it needed to create the user in the first place.

The real error that caused it to stop was:

Error: Provider load failure
    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
    at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()

This was on a step trying to determine the available network adapters in the system.

A google search on the subject lead me to:
http://richardspowershellblog.wordpress.com/2011/03/13/wmiprovider-load-failure/

Check that blog post (and the other one inside) to see if you find the cause of the problem. It should be related to network adapters or related tools, causing the WMI search on "Win32_NetworkAdapter" to fail.


Regards,
João Rosado
Kenny,

Were you using a virtual machine? and if so maybe you did not supply it with a network adapter? Or maybe not an enabled network adapter??


João Rosado wrote:
Hi Kenny,

Looking at the logs it looks like the reason it failed was not the database. That log was probably a login attempt just to determine if it needed to create the user in the first place.

The real error that caused it to stop was:

Error: Provider load failure
    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
    at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()

This was on a step trying to determine the available network adapters in the system.

A google search on the subject lead me to:
http://richardspowershellblog.wordpress.com/2011/03/13/wmiprovider-load-failure/

Check that blog post (and the other one inside) to see if you find the cause of the problem. It should be related to network adapters or related tools, causing the WMI search on "Win32_NetworkAdapter" to fail.


Regards,
João Rosado
Thanks for the tip.
Will look into it.
 
Mark Bayles wrote:
Kenny,

Were you using a virtual machine? and if so maybe you did not supply it with a network adapter? Or maybe not an enabled network adapter??

 
Nope, not using a VM.
However, the machine does have VMplayer installed, but I installed outsystems on the host, not in the VM.
Is there any reason why you suspected it was due to network adapter?
 
Hi Kenny,

The reason I said it was related to WMI / network adapters is because inside the logs in the OutSystemsInstall.log it says:

[14.01.2014 17:35:01] Error: Provider load failure
[14.01.2014 17:35:01]    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
[14.01.2014 17:35:01]    at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
[14.01.2014 17:35:01]    at OutSystems.Activation.Utils.Machine.#aGb.#Irb()
[14.01.2014 17:35:01]    at OutSystems.Activation.Utils.Machine.#mGb.#Irb()

That is failing in this WMI query:

"Select * From Win32_NetworkAdapterConfiguration"


Regards,
João Rosado