-
Notifications
You must be signed in to change notification settings - Fork 78
SQL Server Artifact missing #57
Comments
the artifact name is SQLServer (no space). this worked. But I am getting this error:
|
I have the same error. The key exists, I've checked the registry using regedit. |
I've edited the script so that it looks like this No errors, however the dockerfile is as below |
that new command may be pulling the local computers instance names (it seems like you may have a local SQL Server install too) as opposed to the mounted reg hive form the vhd image. Even if this is true, then still the output doesn't seem right.. |
Yes, I suspect so. |
There might be something wrong with the code to load the reg hive. |
I ran into this same issue. I tried andreputera's code changes, which didn't resolve the issue for me. So I created the registry key 'HKLM:\Software\Microsoft\Microsoft SQL Server\Instance Names' on my host system and discovered that after creating that registry key on my host system andreputera's code changes then resulted in the code executing without error. This seems to suggest that (with the code changes) the SQLServer artifact is actually pointing to the registry hive on the host machine and not the registry hive contained in the VHD. --Edit: It seems like in the registry path $TempKey is not being treated as a variable, will investigate further. --Edit: --Edit: --Edit: --Edit: --Edit: --Edit: --Edit: |
The documentation on Docker (https://blog.docker.com/2016/12/convert-asp-net-web-servers-docker-image2docker/) suggests we can pass "SQL Server" as an artifact. I have installed and seems like I can use only IIS. I don't see the other artifact related commands in the functions folder. Are we supposed to get them from somewhere else ?
The text was updated successfully, but these errors were encountered: