sql.netexceptionucmalync-server-2010

Error in BeginStartup CollaborationPlatform using ProvisionedApplicationPlatformSettings


I am trying to create an ApplicationEndpoint by first creating and establishing the CollaborationPlatform using ProvisionedApplicationPlatformSettings, when i execute:

ProvisionedApplicationPlatformSettings settings = new ProvisionedApplicationPlatformSettings("MYAPP", _appID); _collabPlatform = new CollaborationPlatform(settings); _collabPlatform.BeginStartup(EndPlatformStartup, _collabPlatform);

in EndPlatformStartup method while executing collabPlatform.EndStartup(ar); i get an error

ProvisioningFailureException: One or more values in the configured settings are invalid or unusable. Check inner exception and logs for more details. The settings wrapper failed to initialize. Unable to find the Sqld database: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)


Solution

  • Found the Answer/Error,
    i was trying to run the application from Windows 7 PC which apparently is not supported for Auto Provisioned Application , so now i build the application on my Win7 PC and then execute it on the Lync Server.