Christian - Tuesday, April 30, 2013 10:05 AM:
Hi,
i wrote a small VB serverside Script, but I got strange errors like this:
- Die Datei "C:Program Files (x86)ArasInnovatorInnovatorServerdllwohe9es7.dll" konnte nicht gefunden werden.<SOAP-ENV:Envelope xmlns:SOAP-ENV="schemas.xmlsoap.org/.../"><SOAP-ENV:Body><SOAP-ENV:Fault xmlns:af="www.aras.com/.../faultcode><faultstring>Die Datei "C:Program Files (x86)ArasInnovatorInnovatorServerdllwohe9es7.dll" konnte nicht gefunden werden.</faultstring><detail><af:legacy_detail>Die Datei "C:Program Files (x86)ArasInnovatorInnovatorServerdllwohe9es7.dll" konnte nicht gefunden werden.</af:legacy_detail><af:exception message="Die Datei "C:Program Files (x86)ArasInnovatorInnovatorServerdllwohe9es7.dll" konnte nicht gefunden werden." type="System.IO.FileNotFoundException" /></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
The missing DLL is a randomed, that means the name is allway different.
Somebody got a solution idea?
Best Regards.
vasant - Wednesday, May 1, 2013 1:02 AM:
Hi Christian,
Without reviewing VB script it is very difficult to guess, what is and where is Problem? So paste your VB script code here..
Thanks- Vasant
Christian - Monday, May 6, 2013 3:16 AM:
Hi,
Its ah cloned method:
Function Main() As Item
Dim myItems As Item = Me.getItemsByXPath("//Result/Item")
Dim I As Integer
'System.Diagnostics.Debugger.Break()
If myItems.getItemByIndex(0).getAttribute("type","") <> "ETM" Then Return Me 'nothing to do
For i=0 To myItems.getItemCount()-1
Dim myItem As Item = myItems.getItemByIndex(I)
' -- external owner icon
If Not myItem.getProperty("external_owner") Is Nothing Then
Dim customer As String = myItem.getProperty("customer_id")
myItem.setProperty("Jey")
End If
Next
Return Me
End Function
Very simple I think.
Christian - Monday, May 6, 2013 6:51 AM:
Ok,
to understand it, this error is an error, which occors if something is wrong, ok, so my method is finally wrong.
I debug, now it works, but I dont understand why I got such an confusing message......
Nevertheless,
Eric Domke - Monday, May 6, 2013 8:48 PM:
For some reason, compilation errors in VB.Net currently cause the cryptic error messages you saw. Things to look out for include not specifying the data types on declared variables (including in loops) and any other compilation errors. For help, when you get a message such as "can't find C:Program Files (x86)ArasInnovatorInnovatorServerdllwohe9es7.dll", there often is a file called C:Program Files (x86)ArasInnovatorInnovatorServerdllwohe9es7.out which shows the actual compilation errors.