Closed jfm5248 closed 6 years ago
This is strange. What SQL Server versions are installed on your computer?
Try to install choco install ssdt15
and check if it helps.
I'll try installing SQL Server Data Tools update this thread with the results tomorrow. This is for a new machine with SQL Server 2017 installed.
Installing ssdt15 resolved the "Could not load file or assembly 'Microsoft.SqlServer.TransactSql.ScriptDom" error. An error followed that one saying it could not connect to the database. I verified the connection string, but it persisted.
The change that allowed me to complete installing Sitecore 9 was to uninstall SQL Server 2017 and go to SQL Server 2016. After that, it worked as expected.
Thanks for checking, I will update the documentation.
Is there any reason why SQL 2017 is not supported? My gut feeling says that next major Sitecore version will have it as requirement.
Just making a note that this is still an issue in 2019 on SQL Server 2017. I was able to install Sitecore 8.2 Update 5 without an issue on SQL Server 2017.
@AlenPelin I still have this issue with SQL Server 2017 Developer edition and installing the Sitecore 9 instances....
23 14:00:53,463 INFO Processor of type 'SIM.Pipelines.Install.AttachDatabases' failed. Failed to perform an operation with SqlServer
SIM.Adapters.SqlAdapterException: Failed to perform an operation with SqlServer ---> Microsoft.SqlServer.Dac.DacServicesException: Could not deploy package. ---> Microsoft.Data.Tools.Schema.Sql.Deployment.DeploymentFailedException: Unable to connect to master or target server 'sc901_core'. You must have a user with the same password in master or target server 'sc901_core'.
at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeploymentEndpointServer.OnInit(ErrorManager errors, String targetDBName)
at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeployment..ctor(SqlDeploymentConstructor constructor)
at Microsoft.Data.Tools.Schema.Sql.Deployment.SqlDeploymentConstructor.ConstructServiceImplementation()
at Microsoft.SqlServer.Dac.DacServices.CreatePackageToDatabaseDeployment(String connectionString, IPackageSource packageSource, String targetDatabaseName, DacDeployOptions options, ErrorManager errorManager)
at Microsoft.SqlServer.Dac.DeployOperation.<>cDisplayClass3.<>cDisplayClass5.
Seems that the user needed isn't generated correctly...
@KayeeNL try fix from this PR https://github.com/Sitecore/Sitecore-Instance-Manager/pull/236
Hi @AlenPelin with v1.5 I'm still having this issue with SQL2017 that @KayeeNL is having. I've cloned the repo and checked out the develop branch but I'm struggling to get a local build working with the powershell scripts. Is there a beta release of this anywhere that has this fix that I could test please?
@fluxdigital this PR has been merged recently, so simply run SIM beta with this link: https://dl.sitecore.net/updater/qa/sim/
Thanks @AlenPelin. I've managed to install Sitecore 9 update 2 fine and with this version of SIM and it seems to be working fine. One issue I had though was the download instance feature didn't seem to work. It asked for my creds and looked like it was authenticating and then just said 'done' and I had to close the popup and nothing happened. I had to copy over the 9u2 zip from SIM 1.5's repo folder and then the install worked ok. Anyone else had this issue?
Could you register it separately? It's a bit off topic.
On Fri, 5 Jul. 2019, 20:03 Adam Seabridge, notifications@github.com wrote:
Thanks @AlenPelin https://github.com/AlenPelin. I've managed to install Sitecore 9 update 2 fine and with this version of SIM and it seems to be working fine. One issue I had though was the download instance feature didn't seem to work. It asked for my creds and looked like it was authenticating and then just said 'done' and I had to close the popup and nothing happened. I had to copy over the 9u2 zip from SIM 1.5's repo folder and then the install worked ok. Anyone else had this issue?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Sitecore/Sitecore-Instance-Manager/issues/218?email_source=notifications&email_token=AAVY6CSJ62HX6QFVWHIMMI3P54L7RA5CNFSM4EKNCCFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZJD5RY#issuecomment-508706503, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVY6CTCHJVY7SCSEUQHWLDP54L7RANCNFSM4EKNCCFA .
Description:
When installing a Sitecore 9 instance, an error occurs at the "Attaching databases" step. The following exception is logged:
Scenario:
Get the error
Issue is actual
I hereby confirm the issue is new:
Prerequisites appear to be met. The system in question:
I do not see this issue otherwise logged and it is not listed as a known issue.
Valid for QA
I hereby confirm the issue is reproducible on the latest QA version [SIM QA 1.5.0.181] which was downloaded today from http://dl.sitecore.net/updater/qa/sim
Screenshots:
Attachments:
Please find attached latest log files from this folders:
2018-01-04.txt 2018-01-04_DEBUG.txt