dcsimg
Results 1 to 2 of 2

Thread: I/O error during "CreateFile (open)" operation for file

  1. #1

    Thread Starter
    Fanatic Member vuyiswamb's Avatar
    Join Date
    Jan 2007
    Location
    South Africa
    Posts
    823

    I/O error during "CreateFile (open)" operation for file

    Good Day All

    I am accessing an FDB Database with a WCF service. locally it was working fine, but now i want to access the service that is stting on a remote location. my Connection string looks like this

    Code:
    <add name="FDBConnectionString" connectionString="User=SYSDBA;Password=masterkey;Database=\\192.168.03.14\Database\SCHOOL.fdb;DataSource=192.168.03.14; Port=3050;Dialect=3; Charset=NONE;Role=;Connection lifetime=15;Pooling=true; MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0;"/>
    i get an Error when i try to open the Connection


    Code:
    unavailable database
    if it take this path and access it fire explorer

    Code:
    \\192.168.03.14\Database\SCHOOL.fdb
    i can get to it. i have give all the possible permissions on the file and the Folder. am not sure what is the problem now.

    Thanks
    Last edited by vuyiswamb; Jun 9th, 2011 at 07:44 AM.

  2. #2
    New Member
    Join Date
    Jun 2018
    Posts
    1

    Re: I/O error during "CreateFile (open)" operation for file

    Quote Originally Posted by vuyiswamb View Post
    Good Day All

    I am accessing an FDB Database with a WCF service. locally it was working fine, but now i want to access the service that is stting on a remote location. my Connection string looks like this

    Code:
    <add name="FDBConnectionString" connectionString="User=SYSDBA;Password=masterkey;Database=\\192.168.03.14\Database\SCHOOL.fdb;DataSource=192.168.03.14; Port=3050;Dialect=3; Charset=NONE;Role=;Connection lifetime=15;Pooling=true; MinPoolSize=0;MaxPoolSize=50;Packet Size=8192;ServerType=0;"/>
    i get an Error when i try to open the Connection


    Code:
    unavailable database
    if it take this path and access it fire explorer

    Code:
    \\192.168.03.14\Database\SCHOOL.fdb
    i can get to it. i have give all the possible permissions on the file and the Folder. am not sure what is the problem now.

    Thanks

    open port 3050 in windows firewall

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width