Frex,
At the risk of pointing out the obvious, since this is running in a filter, the 
path C:\Photos\00109125J.jpg must be valid on the server and not the local 
client. When developing on a local machine, then moving to a server, these 
types of things often get overlooked. Just a thought.


Scott Parrish

IT Prophets

(770) 653-5203

www.itprophets.com

________________________________
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Frex Popo
Sent: Wednesday, February 04, 2009 10:15 AM
To: [email protected]
Subject: ARERR [310] Value has wrong data type for the field

**
Dear all,

ARSERVER 7.1.00 Patch 004
OS: WINDOWS SERVER 2003
DB was SQL Server 2005
Client 7.1.0 Patch004

I hope this is not another bug as I already came across two this week which I 
reported to BMC.

I have a filter set a field, which adds an attachment to an attachment pool in 
the CTM:People form which fires on modify. The log shows that the filter 
executes a set action an fails with the error: ARERR [310] Value has wrong data 
type for the field

Here an extract from the filter log:

0: Set Fields
<FLTR> <TID: 0000001952> <RPC ID: 0000067665> <Queue: Fast      > <Client-RPC: 
390620   > <USER: Demo                                         >                
   PERFORM-ACTION-ADD-ATTACHMENT 1000003962  "C:\Photos\00109125J.jpg"
<FLTR> <TID: 0000001952> <RPC ID: 0000067665> <Queue: Fast      > <Client-RPC: 
390620   > <USER: Demo                                         >                
   Exit code: 0  Value: 0
<FLTR> <TID: 0000001952> <RPC ID: 0000067665> <Queue: Fast      > <Client-RPC: 
390620   > <USER: Demo                                         >               
Value has wrong data type for the field
<FLTR> <TID: 0000001952> <RPC ID: 0000067665> <Queue: Fast      > <Client-RPC: 
390620   > <USER: Demo                                         > **** Error 
while performing filter action: Error 310

Here is the client API log showing the ARSetEntry error:


   ARSetEntry results
Return Code: ERROR
Status List: 1 items
Status Struct:
   Message type: ERROR
   Message number: 310
   Message: Value has wrong data type for the field
   Appended:

I tried this in another server installation on a SQL SERVER 2000 Databse and it 
works just fine.

Any thoughts on this?

Many thanks
frex


__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

Reply via email to