CustomFieldsService.SaveCustomFieldData returning error
Version: v3.6.0 Build 2543.
I am saving custom field data against an existing issue, but the SaveCustomFieldData method is returning:
"'100' is an unexpected token. The expected token is '\"' or '''. Line 20, position 65."
Any help is appreciated.
Cheers.
dongertz
· 1 |
|
Tuesday, January 12, 2010, 5:03:31 PM |
0
|
Please make sure that you have enabled "All Verbs" in the ASHX file handler in IIS for the Gemini site. |
||||
|
0
|
All Verbs is set. Code example: CustomFieldDataEN cfData = new CustomFieldDataEN(); cfData.IssueID = createdIssue.IssueID; cfData.ProjectID = createdIssue.ProjectID; cfData.CustomFieldID = customFieldId; cfData.CustomFieldData = cfTextBox.Text; cfData.UserID = this.user.UserID; this. serviceManager.CustomFieldsService.SaveCustomFieldData(cfData);NOTE: If cdData.UserID is set with my UserID (I'm part of Gemini Administrators) the custom field is set. If cfData.UserID is set with the UserID, who has Project Administration and Issue Administration permissions, the previously stated error is returned. |
||||
|
0
|
We can't seem to replicate the error. Is it possible to send us your database (support at countersoft dot com)? |
||||
|
0
|
A backup copy of the database and additional information have been emailed to the address above with the subject line of ATTN: Saar Cohen |
||||
|
0
|
First, Saar, etal, thank you for the excellent off-forum support to diagnosis and solve this issue. Resolution: The error was generated because of a lack of permissions on the file system. Per Saar's, suggest, "Try to give the user full access in Windows file/folder permissions on the “api” folder located under the Gemini web application." I granted the user Full Control and the exception was no longer being thrown. Saar and the rest of the CounterSoft Tech Team, thanks again for the great support !!! Cheers. |
||||
|