Ok...I'm really out of my element on this one....but here is the obvious
error

Unable to cast object of type 'System.UInt32' to type 'System.Object[]'.

....the un-obvious portion is why is it throwing this.  I would suspect
there is a bug in the api.  But to troubleshoot this I would modify the
program to pull a single 'sample' AL instead of all of them....this sample
would be a copy of one of the ones it's having problems with.  Then I would
start making basic mods to the al, remove the run if qual, change its fire
on conditions, remove actions one at a time, etc till I found the offending
item.  Then I would strip the AL down to just that condition causing the
fault and submit a ticket to BMC (or the support structure that supports the
VB API, if any) listing the code used and a def of the object causing the
issue.....

I have had to do this SEVERAL times for the Java API...it typically takes
them 2-3 patches before they actually fix the API bugs, but they do
typically eventually get fixed....till then you hafta modify your program to
avoid the many potholes laying around.

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Grooms, Frederick W
Sent: Wednesday, April 21, 2010 9:36 AM
To: [email protected]
Subject: Re: ARAPI.NET 7.5.xxx

Sending this for Paul ...

Version 7.1.00 Patch 007 200904160530

AssemblyQualifiedName   BMC.ARSystem.ARTypeMgr, BMC.ARSystem,
Version=7.5.3397.30568, Culture=neutral, PublicKeyToken=8cae4d61f13dc9bb

_ARControlStruct        
{"Unable to cast object of type 'System.UInt32' to type 'System.Object[]'."}

StackTrace         
at BMC.ARSystem.ARTypeMgr.ObjectFromVariantAR(Object& given, Object var,
Server server)    
at BMC.ARSystem.ARTypeMgr.ObjectFromVariant(Object& given, Object var,
Server server)    
at BMC.ARSystem.ARTypeMgr.ObjectFromVariant(Type typ, Object var, Server
server)    
at BMC.ARSystem.Server.get__ARControlStruct()


DeclaringType   {Name = "ARTypeMgr" FullName = "BMC.ARSystem.ARTypeMgr"}
System.Type
IsAbstract      FALSE   Boolean
IsAssembly      TRUE    Boolean
IsConstructor   FALSE   Boolean
IsFamily        FALSE   Boolean
IsFamilyAndAssembly     FALSE   Boolean
IsFamilyOrAssembly      FALSE   Boolean
IsFinal FALSE   Boolean
IsGenericMethod FALSE   Boolean
IsGenericMethodDefinition       FALSE   Boolean
IsHideBySig     TRUE    Boolean
IsPrivate       FALSE   Boolean
IsPublic        FALSE   Boolean
IsSpecialName   FALSE   Boolean
IsStatic        FALSE   Boolean
IsVirtual       FALSE   Boolean
MemberType      Method {8}      System.Reflection.MemberTypes
MetadataToken   100663604       Integer



-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of LJ LongWing
Sent: Wednesday, April 21, 2010 9:39 AM
To: [email protected]
Subject: Re: ARAPI.NET 7.5.xxx

Can you provide the error?

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Paul Kowalski
Sent: Wednesday, April 21, 2010 6:03 AM
To: [email protected]
Subject: ARAPI.NET 7.5.xxx

I have a VB.NET program that reads Active links. It's a simple loop thru all
active links and output the RunIfQualification, out of over 3000 active
links around 10 fail and I'm getting an error from arapi.net. The active
links that fail pretty simple (not complex). 

Are there any known issues or work arounds?

Server ARS 7.01
ARAPI.NET 7.5 (downloaded last week)

____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

Reply via email to