Can't connect to database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tessenwein
    New Member
    • Sep 2006
    • 3

    Can't connect to database

    I have an browser based application written in Delphi 6 and a toll called Intraweb. Delphi/IntraWeb allows me to compile the application as either an standalone .exe or an ISAPI .dll. I compile it as a .dll to run it as an ISAPI application running under IIS 6.0 on a Windows 2003 server. The application connects to a MySql database and allows normal table functions (browse, read, update rows.) The application works fine when I compile and run it as an .exe. The problem is when I compile it as a DLL and try to access it from Internet Explorer. It hangs on the instruction

    MySQLServer1.Co nnected := True;

    The browser window just sits there with no response.

    I added code to trace the instructions and the above is the last instruction to execute.

    I don't think it is a problem with MySql since the application works fine as an .exe. I thought it might be a permissions issue since the access from the browser would use the internet guest account ID, but I have given this ID full access to all the MySql folders and my web site folders on the server.

    Any ideas what I am doing wrong? Do you need more information regarding the problem?

    Thanks in advance, Tim
Working...