Firebird error with Terminal Services

Posted on 2007-10-17
Last Modified: 2013-12-09
I am running Firebird 1.5.3 on a windows2003 server with terminal services. Firebird is installed as a service. The frontend of the program is written in Delphi7. Clients connect through with remote desktop via terminal services. When I try to run the application I get the following error when the program reaches the point where it tries to open the firebird database: "operating system directive CreateFile failed. The requested operation cannot be performed on a file with a user-mapped section open"
Question by:emocke
    LVL 19

    Expert Comment

    THis sounds like:
    a) the database is on a mapped-drive, this is not permitted
    b) the database has not been excluded from virus-scanning
    c) you are attempting to connect without including the machine name in the path, please show your connection string
    LVL 19

    Expert Comment

    by:Gary Benade
    This is a know problem for local connections in terminal services, try changing the firebird.conf file add or change the following line:
    IpcName = Global\FIREBIRD

    Accepted Solution

    Figured it out after a few hours trying all different solutions. In the end it worked when I installed firebird as the administrator running as a service. The problem was caused by me trying to install firebird through terminal services instead of at the console. It also has to be installed as a service, installing it as an application causes the error after the third or fourth person logs in. Because I didn't have physical access to the machine I used VNC instead of Remote Desktop. Everything works fine now.
    LVL 1

    Expert Comment

    Closed, 500 points refunded.
    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
    Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now