ASPNet_RegSQL named instance with port specified

29 views Asked by At

When trying to use ASPNet_RegSQL (v4.0.30319) with a named instance with port specified (i.e. -Sserver\instance,#####), I get the error "The argument '-SMyServer\MyInstance,12345' is invalid.". Is there a work-around for this issue? This is for connecting to a named instance "in the cloud" that does not provide SQL Browser identification of the port, so a port specification is required. I am able to use this server specification with sqlcmd.exe successfully. It appears to be a limitation of the ASPNet_RegSQL application.

Trying to run ASPNet_RegSQL with -S specification that includes port number. Expected it to "work". Instead got error "The argument '-SMyServer\MyInstance,12345' is invalid."

0

There are 0 answers