| View previous topic :: View next topic |
| Author |
Message |
L.Tate Guest
|
Posted: Fri Aug 13, 2004 6:57 pm Post subject: Deployment of Web App to ISAPI |
|
|
Hi,
I have deployed my ISAPI web application to my ISP
and I am getting the following error when running the
application -2147417842 I hit the refresh button and the app does bring up
my screen with the data but intermittenly the error comes back. I am using
Delphi 7.1
connecting to SQL SERVER 2000 database using DBEXPRESS components with
MSSQL and oledb as the vendor. Running the application internally with IIS
works fine without errors. When the ISP tried to run IIS
in low application protection mode other web sites received the -2147417842
error so the ISP switched the application protection mode to high for us.
The other web sites no longer get that error but we still do.
Any help you can give me will be greatly appreciated.
Thanks
Lisa
|
|
| Back to top |
|
 |
danny heijl Guest
|
Posted: Sat Aug 14, 2004 7:23 pm Post subject: Re: Deployment of Web App to ISAPI |
|
|
L.Tate schreef:
| Quote: | Any help you can give me will be greatly appreciated.
|
You are most probably sharing database connections between threads.
Don't do this. Each IIS thread needs it's own database components.
Danny
---
|
|
| Back to top |
|
 |
danny heijl Guest
|
|
| Back to top |
|
 |
L.Tate Guest
|
Posted: Mon Aug 16, 2004 12:46 pm Post subject: Re: Deployment of Web App to ISAPI |
|
|
Danny,
Thanks for the response I do have the
ConInitFlags := Coinit_Multithreaded in my project.
What do you mean by I am sharing database connections
between threads? How do I correct? Another question is which application
protection mode should we be running in IIS?
Thanks,
Lisa
"danny heijl" <danny_dot_heijl_at_telenet_dot_be> wrote
| Quote: | L.Tate schreef:
Any help you can give me will be greatly appreciated.
You are most probably sharing database connections between threads.
Don't do this. Each IIS thread needs it's own database components.
Danny
---
|
|
|
| Back to top |
|
 |
|