Home Home
  login

Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Error when I edit an issue

desktop
add-ons

When i try to edit a issue, after "Save & Close" action, i have a popup windows with this message :
'100' is an unexpected token. The expected token is '"' or '''. Line 20, position 71.

System.Xml.XmlException

Stack Trace:
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
   at System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String expectedToken1, String expectedToken2)
   at System.Xml.XmlTextReaderImpl.ParseAttributes()
   at System.Xml.XmlTextReaderImpl.ParseElement()
   at System.Xml.XmlTextReaderImpl.ParseElementContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(Stream inStream)
   at CounterSoft.Gemini.Commons.Rest.Serializer.ConvertToObject[T](Stream stream)
   at CounterSoft.Gemini.WebServices.BaseService.GetObjectFromReponse[T](Stream stream)
   at CounterSoft.Gemini.WebServices.BaseService.ThrowResponseException(WebResponse response)
   at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType)
   at CounterSoft.Gemini.WebServices.IssuesService.UpdateIssue(IssueEN issue)
   at CounterSoft.Gemini.Client.Commons.Helpers.ServiceHelper.UpdateFullIssue(GeminiModel model, IssueEN ieIssue, Int32 userID, Int32 projectID)
   at CounterSoft.Gemini.Client.UI.Presenters.IssueDetailPresenter.MySaveClick()
   at CounterSoft.Gemini.Client.UI.Forms.IssueDetailForm.btnSaveCloseClick(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at Telerik.WinControls.RadControl.OnClick(EventArgs e)
   at Telerik.WinControls.UI.RadButton.ButtonElement
Click(Object sender, EventArgs e)
   at Telerik.WinControls.RadItem.OnClick(EventArgs e)
   at Telerik.WinControls.UI.RadButtonItem.OnClick(EventArgs e)
   at Telerik.WinControls.RadItem.DoClick(EventArgs e)
   at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e)
   at Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e)
   at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

The modifications are not saved.

Regards

pascal.court
· 1
pascal.court
Replies (10)
helpful
0
not helpful

Please make sure that you have enabled "All Verbs" for the ASHX handler in IIS.
See the REST seection (9.5) of the installation guide: http://www.countersoft.com/downloads/v35/docs/GeminiInstallationGuide.pdf


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Hello Thanks for the response,

But i have modified the settings on IIS like the REST section of the installation guide.
I have setted "All verbs" for the .ashx extension.

My server is Windows 2003 server, service Pack 2.
With all Microsoft patches.
The IIS version il IIS V6.0

I use the last version of gemini and gemini desktop (3.5.4) and i have installed with the automatic installer, not the zip file.

The web interface works fine.
I use the "windows" authentification.

Regards



pascal.court
· 1
pascal.court
helpful
0
not helpful

For more information, I have this error message on the IIS Server:

Event code: 4008
Event message: File authorization failed for the request.
Event time: 24/09/2009 06:37:41
Event time (UTC): 24/09/2009 06:37:41
Event ID: 1b53b834d8d54027b61540cf4389afd7
Event sequence: 147
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/Root/gemini-1-128982477858427405
    Trust level: Full
    Application Virtual Path: /gemini
    Application Path: C:\Program Files\CounterSoft\CounterSoft Gemini Issue Tracker\Gemini Web Application\
    Machine name: servername
 
Process information:
    Process ID: 3524
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Request information:
    Request URL: http://servername/gemini/api/issues.ashx/issues/5
    Request path: /gemini/api/issues.ashx/issues/5
    User host address: 156.135.90.38
    User: domain\user
    Is authenticated: True
    Authentication Type: Negotiate
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


pascal.court
· 1
pascal.court
helpful
0
not helpful

Can you please make sure that anonymous access is not selected in IIS directory security for the Gemini site?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I have setted the IIS directory permission like the informations on your Knowledge base describe on the article "How do I configure Gemini to use Windows authentication"


pascal.court
· 1
pascal.court
helpful
0
not helpful

Can you please try and grant your windows user / group full control on the API folder of the Gemini site?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Did this fix the problem as I am having the same issue?

Thanks


ckw
· 1
ckw
helpful
0
not helpful

Are you using windows authentication? Did you set the ASHX handler to accept all verbs?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Yes, using windows auth and have set all verbs. It looks like a permissions issue as our intrastructure guys have made me an admin on the server and it all works.

I now need to work out what permissions are required on the api dir (probably read and execute?) so I don't have to made everyone an admin.

Thanks


ckw
· 1
ckw
helpful
0
not helpful

You need read, modify and delete on the api.


Mark Wing
· 9108
Mark Wing