Connecting to localhost through SSMS gives bluescreen
Running the following command:
docker run -d -p 1433:1433 -e sa_password=Nv7EtbMh8qLRM9s8 -e ACCEPT_EULA=Y -v C:/Databases/:C:/Databases/ microsoft/mssql-server-windows
And then trying to connect with SSMS using the following credentials:
Servername: localhost Login: sa Password: Nv7EtbMh8qLRM9s8
results in a bluescreen, reproducible every time. I had a few colleagues try it and they experience exactly the same with the easy reproduction scheme above. This is on Windows 10 15063.413 and Docker For Windows 17.06.0-ce-rc5-win16
@perrysk-msft I am having same issue here. I tested with 17.06.0 ce win17 and 17.05, all same issue. I tested express, developer and VNEXT versions, same issue. Linux version is also not 100% I tried built new image using latest version of windowsservercore version 1358 image with express sqlserver, using my local 17.06-ce-win17 version to build. You can check version on my docker hub: jorgearteiro/mssql-server-windows-express:2016sp1-ce1706-windowsservercore-10.0.14393.1358 (uploading!)
I am connecting using latest version of Visual studio 2017 and Sql management studio. Any help is welcome.
@bartverstrynge, @jorgearteiro We are currently investigating this. It looks like this is a container networking bug and not SQL Server related. Could you try using the container's IP (docker inspect) instead of localhost or "." to connect?
@perrysk-msft Thanks! It works for me with 2016 SP1 developer and express editions, connecting using IP from: docker inspect
I am setting -m 4gb and --cpus 4 , this is helping to execute docker run on windows. If you don't use at least --cpus fails to run container.
Thanks, Jorge Arteiro (Azure MVP)
Well, yeah I knew it worked through directly by IP, the issue I'm raising here is that I get a bluescreen when connecting through localhost. Fetching the IP obviously isn't something I want to do if I want my connection string to be part of a config file. Would not like to see this marked as closed :)
On 7 Jul 2017 8:04 p.m., "Perry Skountrianos" [email protected] wrote:
Closed #116 https://github.com/Microsoft/mssql-docker/issues/116.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/mssql-docker/issues/116#event-1154914573, or mute the thread https://github.com/notifications/unsubscribe-auth/ALjT3CCcWYaERsnNjsNY3mtDSPLnBpCSks5sLnM_gaJpZM4ONE-F .
@bartverstrynge reopening.
Thanks - let me know if I can do anything to help!
On 7 Jul 2017 8:48 p.m., "Perry Skountrianos" [email protected] wrote:
@bartverstrynge https://github.com/bartverstrynge reopening.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/mssql-docker/issues/116#issuecomment-313763207, or mute the thread https://github.com/notifications/unsubscribe-auth/ALjT3BK2lejTuFaubzadWGWHn9PsquRhks5sLn1igaJpZM4ONE-F .
Seems related to #88
This is related to #88. We are currently looking into the issue.
[update] According to the Windows Server team, this issue has been mitigated in the latest version of Windows Server, which is coming on Azure in early October, according to this blog post.
You start testing now, by participating in the Windows Insider program
Thanks, Perry (MSFT)
So the error is gone, but something else now doesn't seem to work. When I connect using my local IP, I can see all databases, tables, and queries work fine. When I connect through localhost, I can see all databases, but expanding the tables section through SSMS hangs for a long time, where as through local IP this loads instantly. Then, doing a "select top 1000" through SSMS won't work at all, but manually entering a query does work. I'm thinking towards metadata enumeration which isn't working properly through localhost, as that's exactly what's happening when performing those actions inside SSMS.