Invalid Token CS 2008 SP1

rated by 0 users
Answered (Verified) This post has 1 verified answer | 8 Replies | 3 Followers

Khoai
Top 200 Contributor
101 Posts
Points 1,365
By: Khoai
Posted: Sat, Jun 28 2008 5:29 AM

I have this error when I try to Manage REST API

 

'CommunityServer/Rest�' has an invalid token.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Xml.XPath.XPathException: 'CommunityServer/Rest�' has an invalid token.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[XPathException: 'CommunityServer/Rest�' has an invalid token.]
MS.Internal.Xml.XPath.XPathScanner.NextLex() +644
MS.Internal.Xml.XPath.XPathParser.ParseNodeTest(AstNode qyInput, AxisType axisType, XPathNodeType nodeType) +59
MS.Internal.Xml.XPath.XPathParser.ParseStep(AstNode qyInput) +188
MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput) +11
MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput) +126
MS.Internal.Xml.XPath.XPathParser.ParseLocationPath(AstNode qyInput) +121
MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput) +70
MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput) +21
MS.Internal.Xml.XPath.XPathParser.ParseUnaryExpr(AstNode qyInput) +30
MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode qyInput) +17
MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput) +17
MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode qyInput) +17
MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput) +17
MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput) +16
MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput) +16
MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion) +51
System.Xml.XPath.XPathExpression.Compile(String xpath, IXmlNamespaceResolver nsResolver) +44
System.Xml.XPath.XPathNavigator.Select(String xpath) +11
System.Xml.XmlNode.SelectSingleNode(String xpath) +29
CommunityServer.Components.ApplicationConfiguration.Instance(Type type, Boolean useCache) +106
CommunityServer.WebServices.Services.Common.RestConfiguration.Instance(Boolean useCache) +15
CommunityServer.ControlPanel.Tools.ManageRest.Page_Load(Object sender, EventArgs e) +40
System.Web.UI.Control.OnLoad(EventArgs e) +99
CommunityServer.ControlPanel.UI.PanelPage.OnLoad(EventArgs e) +4
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

 
  • Post Points: 20 |

Answered (Verified) Verified Answers

Dave Donaldson
Top 500 Contributor
65 Posts
Points 985
CS Developers
Answered (Verified) By: Dave Donaldson
Posted: Tue, Jul 1 2008 10:18 AM In reply to

We determined the problem to be an issue with our obfuscation tool. The problem has been corrected and the download packages have been updated, so grab them for the fix.


 
Answered (Verified)
  • Post Points: 20 |

All Replies

Oliver Nanninga
Not Ranked
5 Posts
Points 55
By: Oliver Nanninga
Posted: Sat, Jun 28 2008 5:26 PM In reply to

Hi Guys,

I encountered the same probem. Upgraded comunity server 2007 to 2007.1 and from their to 2008. I am using ASP.NET version 2.0 on Windows 2003 Standard. Everything else seems to work fine.

 
  • Post Points: 20 |
Nick
Top 10 Contributor
2,419 Posts
Points 19,465
MVPs
By: Nick
Posted: Sat, Jun 28 2008 6:37 PM In reply to

Just found this out.  CS 2008 SP1 seems to have totally broken the REST API.  http://dev.communityserver.com/forums/t/500302.aspx

 
  • Post Points: 20 |
Dave Donaldson
Top 500 Contributor
65 Posts
Points 985
CS Developers
By: Dave Donaldson
Posted: Sat, Jun 28 2008 8:08 PM In reply to

We've verified the problem and are investigating. We'll post back with a response soon.


 
  • Post Points: 20 |
iuconGmbh
Not Ranked
1 Posts
Points 20
By: iuconGmbh
Posted: Tue, Jul 1 2008 4:45 AM In reply to

I think I found something:

In the SP1 you ship CommunityServer.WebServices.Services.dll and CommunityServer.WebServices.dll.

CommunityServer.WebServices.Services.dll has a referecnce to CommunityServer.WebServices.dll Version 4.0.30610.20608, but you are shipping Version 4.0.30610.27608.

I hope you can fix this issue asap, because I get stuck with my project which has to go online next week!!

 
  • Post Points: 20 |
Dave Donaldson
Top 500 Contributor
65 Posts
Points 985
CS Developers
Answered (Verified) By: Dave Donaldson
Posted: Tue, Jul 1 2008 10:18 AM In reply to

We determined the problem to be an issue with our obfuscation tool. The problem has been corrected and the download packages have been updated, so grab them for the fix.


 
Answered (Verified)
  • Post Points: 20 |
Khoai
Top 200 Contributor
101 Posts
Points 1,365
By: Khoai
Posted: Tue, Jul 1 2008 11:40 AM In reply to

Dave Donaldson:

We determined the problem to be an issue with our obfuscation tool. The problem has been corrected and the download packages have been updated, so grab them for the fix.

Could you tell me which file or folder I have to replace to fix this issue? Or I have to replace all?

 
  • Post Points: 20 |
Nick
Top 10 Contributor
2,419 Posts
Points 19,465
MVPs
By: Nick
Posted: Tue, Jul 1 2008 3:36 PM In reply to

Replacing the dlls seems to have fixed it

 
  • Post Points: 20 |
Khoai
Top 200 Contributor
101 Posts
Points 1,365
By: Khoai
Posted: Wed, Jul 2 2008 12:03 AM In reply to

Ok, the issue solved.

 
  • Post Points: 5 |
Page 1 of 1 (9 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com