Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Problem with Web Server Application, ISAPI & CGI Stand Alone Executable on W2K & Win NT using IIS

Posted on 2002-06-12
9
Medium Priority
?
640 Views
Last Modified: 2010-04-04
When using a Delphi Web Server Application, ISAPI and CGI Stand Alone Executable, the program will not allow two browsers to be connected to the same database at the same time. The programs are installed on both W2K and Win NT servers using IIS. If one browser is already connected to the database, another browser from a different computer cannot connect until the other is finished. This is true no matter the database, whether it's MSSQL or a Client Access ODBC connection. I receive the following error.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Internal Server Error 500

--------------------------------------------------------------------------------
Exception: EDBEngineError
Message: An error occurred while attempting to initialize the Borland Database Engine (error $2B32)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
0
Comment
Question by:fussell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 1

Expert Comment

by:_MeSSiah_
ID: 7072598
I've heard that changing the BDE shared memory load address might resolve this problem.

Use BDEAdmin, Configuration tab, Sytem / Init.

Set SHAREDMEMLOCATION to 5BDE.
0
 

Author Comment

by:fussell
ID: 7072650
I made the change with no luck. I then rebooted the web server for kicks and still no luck.
0
 
LVL 7

Accepted Solution

by:
Motaz earned 200 total points
ID: 7073330
Did u tried to use ADO to connect to Access and MS-SQL server?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:fussell
ID: 7073745
I have not tested ADO in this instance as of yet. However, alot of our data comes from an AS/400. Client Access, which comes with the AS/400 OS, has an AS400 OLE DB Provider but when I use it in an ADO Query object in Delphi, the simplest query never comes back and seems to eat of all the virtual memory on my machine even though the test connection succeeds almost instantly. If I could resolve this issue I would probably never use the BDE again.
0
 
LVL 3

Expert Comment

by:marcoszorrilla
ID: 7073780
This is your error in the list of BDE Errors:

$2B32 (11058) = Share violation.

Perhaps the table is in exclussive mode?

Best Regards.
Marcos.
0
 

Author Comment

by:fussell
ID: 7076563
No, it is a query.
0
 

Author Comment

by:fussell
ID: 7194366
ADO did the trick, thanks.
0
 

Expert Comment

by:rpmccormi77
ID: 9121114
I am having this exact same problem with CGI-Expert and Delphi, but I cannot use an SQL server.  I just use BDE tables and point them directly to the Paradox .db files I created in Database Desktop.  ADO (and dbExpress) require an SQL server right?  How can I get around this multiple-web-access bug without having to setup a full-on SQL server?  I don't want to have to use alias's or anything...  I just want to say "Here's a table in a .db file...  allow multiple IIS connections to read from it at the same time!"  How hard is that?
0
 

Author Comment

by:fussell
ID: 9121637
I've never actually worked with Paradox tables. However, you can use ADO against several types of databases besides SQL Server. Is it possible to set up an ODBC driver to access the Paradox tables? If so, you can use ADO. When building your ADO connection string use "Microsoft OLE DB Provider for ODBC Drivers".
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

722 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