caf
April 2nd, 2001, 09:32 AM
RDS anyone?
My Business Rules & DA Objects run fine on the server when accessed by a client running on the development machine (my machine).
Here's a quick systems summary
MDAC 2.5 SP1 (RDS 2.5 Lib)
Win 98 SE
VB6 SP4
BTW (I can only access the remote components via DCOM & not http when using RDS. In other words
Dim xxxVarxxx as RDS.DataSpace
set xxxVarxxx ...........
Dim objBusiness as ........
'So the following line does NOT work for me
set objBusiness = xxxVarxxx.CreateObject(...,"http://theserver")
caf
April 2nd, 2001, 09:56 AM
Sorry There's More
This line however, works quite fine (from my machine)
Set objBusiness = xxxVarxxx.CreateObject(...,"theserver")
'In other words using DCOM it works but http crashes with a darn Unexpected error & some stupid hex value.
Air-knee-weigh
That's the LEAST of my concerns at this point. This stupid client can only access these two .dlls (Business Rules & Data Access) from my PC!. I mean like WOW how's that for development?
I pppackage my client (First with stupid Visual Installer that gives me some warning about a merge module refusing to accept the fact that I have MDAC 2.5 SP1 installed ......then with even more stupid(er) Package & Deployment wizard that forced me to alter the setup.lst file to get rid of two letters so that the stupid calendar control can register properly .....deep breath
Now I have to sit with a client that only works on the development machine (It works when I installed it on the server but that doesn't count!) and access to my ActiveX dlls using RDS via DCOM only!...this sux...big time!
I hate VB at this point in my life....4 Real!
Okay so my Server (NT 4 SP6a) & development Server (W/Station 4 SP6a) has Op Pack 4, my dll's are all in one MTS package, IIS 4 (NT Server) & PWS (NT W/Station) is running. MDAC 2.5 SP1 is installed on both servers.
I even put a lil VBScript file together to test it (By the By the error message when I run the client is the VERY DESCRIPTIVE - Method '~' of object '~' failed. WOW, Thank you Microsoft for making it so clear what the '~error~' is.)
The VBScript bombs out by the RDSDataSpace.CreateObject Method telling me that the business object cannot be created.
I wonder if I must re-install MDAC on the Server?
But then Why can the client (exe & within IDE) on my pc access the server components id MDAC is faulty on the Servers. There's something fishy 'bout this & it has me stumped.
I'm like so not liking this project anymore - & it started off so well)
Well, here goes.
Hope someone can yelp me soon.
U can mail me directly if you want caf@ziplip.com
Ta
Craig
[i wonder if this was what phil had in mind?]