BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Deployment of Web App to ISAPI

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
L.Tate
Guest





PostPosted: Fri Aug 13, 2004 6:57 pm    Post subject: Deployment of Web App to ISAPI Reply with quote



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





PostPosted: Sat Aug 14, 2004 7:23 pm    Post subject: Re: Deployment of Web App to ISAPI Reply with quote



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





PostPosted: Sat Aug 14, 2004 7:31 pm    Post subject: Re: Deployment of Web App to ISAPI Reply with quote



L.Tate schreef:

Quote:
Any help you can give me will be greatly appreciated.

Also, if you are using OleDB you need to call Co(Un)Initialize in each
thread, see

http://groups.google.be/groups?hl=nl&lr=&ie=UTF-8&selm=3e7b84dd%241%40newsgroups.borland.com

Danny
---

Back to top
L.Tate
Guest





PostPosted: Mon Aug 16, 2004 12:46 pm    Post subject: Re: Deployment of Web App to ISAPI Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.