+ Post New Thread
Page 4 of 9 FirstFirst 12345678 ... LastLast
Results 46 to 60 of 135
Home Access Plus+ Thread, Basic Help Needed! in Projects:; I cannot access the booking system at all, it falls over with the error quoted in: this post...
  1. #46

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I cannot access the booking system at all, it falls over with the error quoted in: this post

  2. #47

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I apologise for the above errors, it was an oversight on my part, I hate extra statements in confusing it. I had an extra <Resource></Resource> statements before and after the Resources, which were making it fall over.

    Now I'm getting this error when importing from SIMS:

    Code:
    Server Error in '/HAP' Application.
    
    Sequence contains no matching element
    
    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.InvalidOperationException: Sequence contains no matching element
    
    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: 
    
    
    [InvalidOperationException: Sequence contains no matching element]
       System.Linq.Enumerable.Single(IEnumerable`1 source, Func`2 predicate) +554
       HAP.Web.BookingSystem.admin.Default.importSIMS_Click(Object sender, EventArgs args) in N:\Visual Studio 2010\Projects\CHS Extranet\HAP.Web\BookingSystem\admin\Default.aspx.cs:208
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
    
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

  3. #48

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Still having issues with this, can't figure it out.

  4. #49
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,477
    Thank Post
    37
    Thanked 485 Times in 417 Posts
    Rep Power
    109
    What's the error you are now getting?

  5. #50

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    The one in the post #47.

  6. #51
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,477
    Thank Post
    37
    Thanked 485 Times in 417 Posts
    Rep Power
    109
    That exact error?

    Can you paste your <Lessons> from your HAPConfig.xml file please

  7. #52
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,477
    Thank Post
    37
    Thanked 485 Times in 417 Posts
    Rep Power
    109
    Ok found the issue, just waiting for codeplex to start working properly so I can issue a fix

  8. #53

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Yeah. The rooms output by SIMS report:

    IT1 to IT6
    BS1
    Ha
    LRC

    They're the only Resources defined in HAP.

    Edit; Ooh, ok.

  9. #54
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,477
    Thank Post
    37
    Thanked 485 Times in 417 Posts
    Rep Power
    109
    I wasn't able to update all of the changes I wanted to make, but I managed to do the main ones before codeplex disconnected me again.

  10. #55

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Code:
    Server Error in '/HAP' Application.
    
    '/Bookings/Booking[@day='1' AND lesson='Period 1' AND room='BS1'' 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: '/Bookings/Booking[@day='1' AND lesson='Period 1' AND room='BS1'' 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: '/Bookings/Booking[@day='1' AND lesson='Period 1' AND room='BS1'' has an invalid token.]
       MS.Internal.Xml.XPath.XPathParser.CheckToken(LexKind t) +4032718
       MS.Internal.Xml.XPath.XPathParser.ParsePredicate(AstNode qyInput) +72
       MS.Internal.Xml.XPath.XPathParser.ParseStep(AstNode qyInput) +349
       MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput) +17
       MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput) +70
       MS.Internal.Xml.XPath.XPathParser.ParseLocationPath(AstNode qyInput) +205
       MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput) +30
       MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput) +19
       MS.Internal.Xml.XPath.XPathParser.ParseUnaryExpr(AstNode qyInput) +31
       MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode qyInput) +23
       MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput) +23
       MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode qyInput) +23
       MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput) +23
       MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput) +19
       MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput) +19
       MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion) +54
       System.Xml.XPath.XPathExpression.Compile(String xpath, IXmlNamespaceResolver nsResolver) +52
       System.Xml.XPath.XPathNavigator.Select(String xpath) +14
       System.Xml.XmlNode.SelectNodes(String xpath) +45
       HAP.Web.BookingSystem.admin.Default.importSIMS_Click(Object sender, EventArgs args) in N:\Visual Studio 2010\Projects\CHS Extranet\HAP.Web\BookingSystem\admin\Default.aspx.cs:205
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
    All this is while trying to import the Timetable.xml file (Generated from SIMS report) into HAPs booking system.

  11. #56
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,477
    Thank Post
    37
    Thanked 485 Times in 417 Posts
    Rep Power
    109
    Ok try again with this

  12. #57

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Appears to be the same issue:
    Code:
    Server Error in '/HAP' Application.
    '/Bookings/Booking[@day='1' AND lesson='Period 1' AND room='BS1']' 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: '/Bookings/Booking[@day='1' AND lesson='Period 1' AND room='BS1']' 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: '/Bookings/Booking[@day='1' AND lesson='Period 1' AND room='BS1']' has an invalid token.]
       MS.Internal.Xml.XPath.XPathParser.CheckToken(LexKind t) +4032718
       MS.Internal.Xml.XPath.XPathParser.ParsePredicate(AstNode qyInput) +72
       MS.Internal.Xml.XPath.XPathParser.ParseStep(AstNode qyInput) +349
       MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput) +17
       MS.Internal.Xml.XPath.XPathParser.ParseRelativeLocationPath(AstNode qyInput) +70
       MS.Internal.Xml.XPath.XPathParser.ParseLocationPath(AstNode qyInput) +205
       MS.Internal.Xml.XPath.XPathParser.ParsePathExpr(AstNode qyInput) +30
       MS.Internal.Xml.XPath.XPathParser.ParseUnionExpr(AstNode qyInput) +19
       MS.Internal.Xml.XPath.XPathParser.ParseUnaryExpr(AstNode qyInput) +31
       MS.Internal.Xml.XPath.XPathParser.ParseMultiplicativeExpr(AstNode qyInput) +23
       MS.Internal.Xml.XPath.XPathParser.ParseAdditiveExpr(AstNode qyInput) +23
       MS.Internal.Xml.XPath.XPathParser.ParseRelationalExpr(AstNode qyInput) +23
       MS.Internal.Xml.XPath.XPathParser.ParseEqualityExpr(AstNode qyInput) +23
       MS.Internal.Xml.XPath.XPathParser.ParseAndExpr(AstNode qyInput) +19
       MS.Internal.Xml.XPath.XPathParser.ParseOrExpr(AstNode qyInput) +19
       MS.Internal.Xml.XPath.XPathParser.ParseXPathExpresion(String xpathExpresion) +54
       System.Xml.XPath.XPathExpression.Compile(String xpath, IXmlNamespaceResolver nsResolver) +52
       System.Xml.XPath.XPathNavigator.Select(String xpath) +14
       System.Xml.XmlNode.SelectNodes(String xpath) +45
       HAP.Web.BookingSystem.admin.Default.importSIMS_Click(Object sender, EventArgs args) in N:\Visual Studio 2010\Projects\CHS Extranet\HAP.Web\BookingSystem\admin\Default.aspx.cs:205
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

  13. #58
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,477
    Thank Post
    37
    Thanked 485 Times in 417 Posts
    Rep Power
    109
    Ok try this one

  14. #59

    Join Date
    Nov 2010
    Location
    Liverpool, UK
    Posts
    178
    Thank Post
    10
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Nope, same error.

    Edit; What does the invalid token mean?
    Last edited by CHiLL; 22nd November 2011 at 03:08 PM.

  15. #60
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,477
    Thank Post
    37
    Thanked 485 Times in 417 Posts
    Rep Power
    109
    And this one?

SHARE:
+ Post New Thread
Page 4 of 9 FirstFirst 12345678 ... LastLast

Similar Threads

  1. I need basic help with Thinstaion hard disk deployments.
    By snsweigel in forum Thin Client and Virtual Machines
    Replies: 9
    Last Post: 4th March 2008, 07:44 PM
  2. Replies: 8
    Last Post: 22nd February 2008, 12:34 PM
  3. Help! Need a BIOS re-flashed
    By ajbritton in forum Hardware
    Replies: 2
    Last Post: 28th December 2006, 12:16 PM
  4. Help needed to reconfig my DC's
    By tosca925 in forum Windows
    Replies: 16
    Last Post: 20th November 2006, 10:45 PM
  5. Help needed creating a DMZ
    By pooley in forum Wireless Networks
    Replies: 12
    Last Post: 11th January 2006, 10:42 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •