Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_ado_rds thread: RDS Error Need Help


Message #1 by "idalton" <idalton@d...> on Mon, 28 Oct 2002 19:47:00
I am bringing back ado recordset to the client side via a custom business 
object and attaching it to a third party control. See code below:

var objGrid = document.all.dspDataSpace.CreateObject
("GridServer.clsData","IMTESTSERVER");
     
//now create rs from the custom object using custom obj
var GridRS = objGrid.DisconnectedClip(sSQL,"RDSClip","Connection")
//finally assign the returned rs to DataControl object:
document.all.dsoDataControl.SourceRecordset = GridRS;
document.all.fg.DataSource = GridRS

It works great on my machine, but when I try it on another machine that 
does not have the custom business obj registered on it I get the following 
error "Safety settings on this computer prohibit creation of business 
object". I have searched every website I could and nothing could explain 
why this error occurs. What I did on the other machine was put into the 
Registry the following key per microsoft's document 
(HKEY_CLASSES_ROOT\GridServer.clsData\Clsid\(Default)"{Objects GUID}) but 
it looks like I need to install the actual custom dll onto users machine? 
Any help would be great.

Thanks 
Message #2 by Josh King <JoshK@g...> on Mon, 28 Oct 2002 13:36:47 -0600
Did you check the browsers security settings?

Josh King
GeoAccess Inc.

 -----Original Message-----
From: 	idalton [mailto:idalton@d...] 
Sent:	Monday, October 28, 2002 1:47 PM
To:	ASP_ADO_RDS
Subject:	[asp_ado_rds] RDS Error Need Help

I am bringing back ado recordset to the client side via a custom business 
object and attaching it to a third party control. See code below:

var objGrid = document.all.dspDataSpace.CreateObject
("GridServer.clsData","IMTESTSERVER");
     
//now create rs from the custom object using custom obj
var GridRS = objGrid.DisconnectedClip(sSQL,"RDSClip","Connection")
//finally assign the returned rs to DataControl object:
document.all.dsoDataControl.SourceRecordset = GridRS;
document.all.fg.DataSource = GridRS

It works great on my machine, but when I try it on another machine that 
does not have the custom business obj registered on it I get the following 
error "Safety settings on this computer prohibit creation of business 
object". I have searched every website I could and nothing could explain 
why this error occurs. What I did on the other machine was put into the 
Registry the following key per microsoft's document 
(HKEY_CLASSES_ROOT\GridServer.clsData\Clsid\(Default)"{Objects GUID}) but 
it looks like I need to install the actual custom dll onto users machine? 
Any help would be great.

Thanks 
To unsubscribe send a blank email to %%email.unsub%%

Message #3 by "idalton" <idalton@d...> on Tue, 29 Oct 2002 16:06:54
Thanks Josh that's what is was. A setting in the local intranet section.


> I am bringing back ado recordset to the client side via a custom 
business 
o> bject and attaching it to a third party control. See code below:

> var objGrid = document.all.dspDataSpace.CreateObject
(> "GridServer.clsData","IMTESTSERVER");
 >     
/> /now create rs from the custom object using custom obj
v> ar GridRS = objGrid.DisconnectedClip(sSQL,"RDSClip","Connection")
/> /finally assign the returned rs to DataControl object:
d> ocument.all.dsoDataControl.SourceRecordset = GridRS;
d> ocument.all.fg.DataSource = GridRS

> It works great on my machine, but when I try it on another machine that 
d> oes not have the custom business obj registered on it I get the 
following 
e> rror "Safety settings on this computer prohibit creation of business 
o> bject". I have searched every website I could and nothing could explain 
w> hy this error occurs. What I did on the other machine was put into the 
R> egistry the following key per microsoft's document 
(> HKEY_CLASSES_ROOT\GridServer.clsData\Clsid\(Default)"{Objects GUID}) 
but 
i> t looks like I need to install the actual custom dll onto users 
machine? 
A> ny help would be great.

> Thanks 

  Return to Index