function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rob Waibel JrRob Waibel Jr 

How do I fix Cannot convert type 'sForce.ListViewRecordColumn[]' to 'sForce.ListViewRecordColumn' error CS0030

I have added my enterprise wdsl to my local ASP.NET web site and when I attempt to log in, I get the following error:

Cannot convert type 'sForce.ListViewRecordColumn[]' to 'sForce.ListViewRecordColumn' error CS0030

I found a post that says to edit the resource.vb file except I dont have one.
Missing Resource.vb file
Any and all help would be appriciated.
Best Answer chosen by Rob Waibel Jr
Terry DowningTerry Downing
Look in this thread for a workaround

https://developer.salesforce.com/forums/ForumsMain?state=id#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906F0000000Ai2JIAS (https://developer.salesforce.com/forums/ForumsMain?state=id#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906F0000000Ai2JIAS)
 

All Answers

Gaurav NirwalGaurav Nirwal
You can't convert this type
Rob Waibel JrRob Waibel Jr
I understand that I can't convert the type.  From what I have been reading, i can fix teh error if I can get teh resource.vb file to create.  The error is caused by double parenthisis "()()".  How do I get the resource.vb file to be created?
Terry DowningTerry Downing
Look in this thread for a workaround

https://developer.salesforce.com/forums/ForumsMain?state=id#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906F0000000Ai2JIAS (https://developer.salesforce.com/forums/ForumsMain?state=id#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=906F0000000Ai2JIAS)
 
This was selected as the best answer
Rob Waibel JrRob Waibel Jr
Thanks Terry.  I have the system up and running.  I am unable to use the sForce.soapObject but I am able to login via the sForceService.  thanks for the link!
DRK78DRK78
Old thread, but I'll bump it.  Had the same problem with v41 today.  The 'workaround' still does the trick.  Thanks Terry!