ISAPI & ComInitialization

<< Click to Display Table of Contents >>

Navigation:  Forum >

ISAPI & ComInitialization

Forum link

 


 

05-09-2018, 01:58 PM:

 

I've an app that has ComInitialization set to ciMultiThreaded and it all works fine on my installation of IIS (Version 8). however, when I deploy it to my Client's server running the same version of IIS I get the error 'Cannot change thread mode after it is set'.  If I change it to ciNormal it seems to work OK.

 

So the question is, has IIS got some setting somewhere that controls COM on the face of it both systems look the same and is there any harm in leaving it at ciNormal?

 

Any help much appreciated.

 

Regards

 

John

 


 

05-10-2018, 03:39 PM:

 

Where are you setting it?

 


 

05-10-2018, 05:06 PM:

 

Just setting it on the ServerController form properties.