RE: whats difference in server.createobject and cr
CreateObject is just a shortcut for writing Server.CreateObject<BR><BR>They do the same thing. They are not supposed to do anything differently but we have noticed that they do. We are running an MTS box alongside an IIS box and there is a firewall between the two. We had problems with Server.CreateObject which for some bizarre reason went away when we used CreateObject instead.
That is incorrect! Server.CreateObject and CreateObject ARE differnet, because CreateObject does not flow the current ObjectContext into the created object, so it cannot interact with ASP intrinsic objects or participate in page-level transactions and is not created in the same security context.<BR><BR>I'd be willing to bet that the problem you refer to is down to the security context the object is running in.<BR><BR>Dunc
I would suggest you NOT use createobject in ASP...cause then those objects cannot access the built in objects in ASP and they cannot participate in transactions. <BR><BR>When we use server.createobject ASP can track the object instance. <BR><BR>
whoever you are could you pleas give us MORE than just your one-liners(which seem to be wrong half the time) so we could understand what you are trying to say...I mean we are all here to learn ANYONES point of view (right or wrong) is a lesson by itself....Please try and explain a bit more<BR><BR>Just a suggestion...you can obviously ignore it<BR><BR>Thanks<BR><BR>