Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named Instance cannot connect [DNET627] #588

Closed
firebird-automations opened this issue Sep 3, 2015 · 4 comments
Closed

Named Instance cannot connect [DNET627] #588

firebird-automations opened this issue Sep 3, 2015 · 4 comments

Comments

@firebird-automations
Copy link

Submitted by: Rand Random (rand.random)

I have installed a named instance with the following command

(Notice that before executing this command I already had firebird server installed, so I now have a default instance and a named, access to the default still works fine but it fails to connect to named instance)
"C:\Program Files\Firebird\Firebird_2_5\\bin\instsvc" install -name XYZ <-- installs firebird with the named instance
"sc" start "FirebirdServerCONNEX" <-- starts the service

and now I try to connect to this instance with .NET Provider but it fails with the following exception:
Unable to complete network request to host "localhost/CONNEX"

Am I doing something wrong or is there a problem?

My FbConnectionStringBuilder looks like this:

        return new FbConnectionStringBuilder
        \{
            Charset = "UTF8",
            Database = "C:\\Test\\foo\.fdb",
            DataSource = "localhost/XYZ",
            UserID = "SYSDBA",
            Password = "masterkey",
        \}\.ToString\(\);

Hope you can help me out.

@firebird-automations
Copy link
Author

Commented by: @cincuranet

There's nothing like named instance Firebird. The name parameter you're referring to is name of service, the one you see in list of services in Windows.

Hence you still need to use hostname and port to connect to server.

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Closed [ 6 ]

resolution: Won't Fix [ 2 ]

@firebird-automations
Copy link
Author

Commented by: Rand Random (rand.random)

Thanks for the info, could you maybe provide an link where this "feature" is described.
If I cannot specify that the connection should be established to this "named" service what is it actually good for?

@firebird-automations
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants