Skip to Content
author's profile photo Former Member
Former Member

DI/JCo: Problem Data interface for Web applications


We are running into problems with the DI objects in conjunction with IIS (ASP). On every page we need to query/update information on items. It takes quite a long time to connect to the SBO database every time, so to connect again on every page is no option.

Putting the DI object into a session variable is also no option, since the DI component is not Free threaded.

Does anyone have a solution to use the DI component in an IIS application?

Many thanks in advance.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2004 at 04:46 PM

    Previuosly I have used pooling in MS Component Services. To make this possible you should write a simple dll that supports pooling. I think you can find some info in MSDN/google on how you should do it. Doing this you can have several company-objects connected at the same time and you don't have to connect to the company for every call you make in your ASP-pages. I haven't tried this with SBO but i have done this with a similar object that used much time connecting to the database.

    Leif Skaar

    Bis-One as Norway

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.