CounterSoft User Forums

Welcome to CounterSoft User Forums Sign in | Join | Help
Home Forums

Error when I edit an issue

Last post 02-25-2010, 12:38 PM by MarkWing. 10 replies.
Sort Posts:
  •  09-23-2009, 3:38 PM

    Error when I edit an issue

    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.btnSaveClose_Click(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
  •  09-23-2009, 4:21 PM

    Re: Error when I edit an issue

    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/Gemini_Installation_Guide.pdf


  •  09-24-2009, 7:34 AM

    Re: Error when I edit an issue

    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


  •  09-24-2009, 7:41 AM

    Re: Error when I edit an issue

    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.
  •  09-24-2009, 9:10 AM

    Re: Error when I edit an issue

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

  •  09-25-2009, 8:55 AM

    Re: Error when I edit an issue

    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"
  •  09-25-2009, 9:11 AM

    Re: Error when I edit an issue

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

  •  02-25-2010, 10:47 AM

    Re: Error when I edit an issue

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

    Thanks

  •  02-25-2010, 10:55 AM

    Re: Error when I edit an issue

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

  •  02-25-2010, 12:13 PM

    Re: Error when I edit an issue

    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

  •  02-25-2010, 12:38 PM

    Re: Error when I edit an issue

    You need read, modify and delete on the api.

View as RSS news feed in XML