View Single Post
  #1 (permalink)  
Old January 30th, 2006, 07:13 AM
Deepmala Deepmala is offline
Registered User
Join Date: Dec 2005
Location: , , .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default CreateObject Type mismatch error

Hi all,

We have one web application running on intranet.It uses VB6 component for business logic. Database is SQL.The application is used by about 400 to 500 users.we use CreateObject method to create objects of number of classes from the VB6 dll. whenever number of user's increases it gives "Type mismatch" error for CreateObject method. Here is the sample of the same method we are using,
 Server.CreateObject(Cstr(strComponentName) & ".clsLogin")
strComponentName is the component used.

This comes randomly for any line where CreateObject method is used.
Surprisingly the error gets over after refreshing the page.
It is really problematic to trace the error as it is not consistent.
Kindly let me know any thought on the above'll be helpful.

Thnx in advance!


Reply With Quote