@Edu-IT, it was changed to allow you to customize the text on the buttons, and link locations. It's to actually keep it more inline with the rest of HAP+ which uses plain links like that.
Printable View
@Edu-IT, it was changed to allow you to customize the text on the buttons, and link locations. It's to actually keep it more inline with the rest of HAP+ which uses plain links like that.
Excellent Nick!!
I am getting the following error when I try to open any document logged on as any user and cannot find any reference to it it any other HAP thread:
Server Error in '/hap' Application.
The given key was not present in the dictionary.
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.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
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:
[KeyNotFoundException: The given key was not present in the dictionary.]
System.Collections.Generic.Dictionary`2.get_Item(T Key key) +4329183
HAP.Web.routing.Downloader.ProcessRequest(HttpCont ext context) +282
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +597
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +266
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Any ideas?
Usually a sign that the drive letter is missing/isn't lower/upper case.
checked the drive letter was showing and tried both upper and lower case drive letters but getting the same problem unfortunately
What's the URL of the page it's trying to get to?
I installed on Srv08R2 and followed all instructions as per the youtube vid except for the ICACLS portion I got from another thread.
This error happens if I click a drive in the basic view. In silverlight view there are no drives shown so cant click.
If I login as an admin I can see the silverlight version and the drives show, but when I click a file to view/download/rename etc it throws the error attached, though I can browse through folders ok...
Incidentally, is it correct for the Test Settings button in Basic Settings for the hap application to report back 'Invalid Application Path'? Attachment 11572
I'm sure I've missed something....
Code:Server Error in '/hap' Application.
--------------------------------------------------------------------------------
The given key was not present in the dictionary.
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.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
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:
[KeyNotFoundException: The given key was not present in the dictionary.]
System.Collections.Generic.Dictionary`2.get_Item(TKey key) +4255823
HAP.Web.mycomputer.DataBind() +2754
HAP.Web.mycomputer.Page_Load(Object sender, EventArgs e) +22
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237
[QUOTE=nickbro;738319]What's the URL of the page it's trying to get to?[/QUOT
Nick, when I try and open a document it is going to the following url:
url + /Download/servername/data/documentname.doc
Something is wrong wrong there. It should be trying to get to https://hap.school.name/hap/Download...older/document name.doc
Make sure in the ~/app_data/hapConfig.xml that the UNC path is \\server\share, and doesn't end with a \. It should not be forward slashes if it is
that seems to have cured it, thanks Nick!
I was getting some strange 'bad request' errors when I tried to change the UNC paths, which I assumed wasn't saving changes but I think it must have been
Good to hear. Best to double check the hapConfig.xml file in the ~/app_data/ folder, making sure things are as expected
Getting the following error after upgrading to 7.4. Everything else seems fine but when i click to browse my documents i get this
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The file '/hap/chs.master' does not exist.
Source Error:
Line 1: <%@ Page Title="Crickhowell High School - Home Access Plus+ - My Computer Extended Edition" Language="C#" MasterPageFile="~/chs.master" AutoEventWireup="true" CodeBehind="MyComputerSL.aspx.cs" Inherits="HAP.Web.MyComputerSL" %>
Line 2: <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
Line 3: <link href="mycomputer.css" rel="stylesheet" type="text/css" />
Source File: /hap/mycomputersl.aspx Line: 1
overwrite mycomputersl.aspx from the HAP+ Web ZIP from codeplex, should fix the problem. If it doesn't replace chs.master with masterpage.master
I've been tinkering trying to fix it but am suffering from this 'given key not present dictionary' problem
My hapconfig file seems to be in order, no back or forward slashes mixed up or ending with a slash. This is the message from Application Even log on the server when I right click and choose download on a file in silverlight version.
I'd really appreciate any help anyone can offer.
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 11/10/2011 22:31:27
Event time (UTC): 11/10/2011 21:31:27
Event ID: d3c94380e93c4e159334c915e9594ee5
Event sequence: 49
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/hap-1-129628422503431372
Trust level: Full
Application Virtual Path: /hap
Application Path: C:\inetpub\wwwroot\hap\
Machine name: FS64
Process information:
Process ID: 7784
Process name: w3wp.exe
Account name: IIS APPPOOL\hap
Exception information:
Exception type: KeyNotFoundException
Exception message: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(T Key key)
at HAP.Web.routing.Downloader.ProcessRequest(HttpCont ext context)
at System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplication.IExecutionStep.Execut e()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously)
Request information:
Request URL: https://fs64.davinci.derby.sch.uk:44...y/bulletin.pdf
Request path: /hap/Download/y/bulletin.pdf
User host address: 10.28.251.255
User: root
Is authenticated: True
Authentication Type: Forms
Thread account name: IIS APPPOOL\hap
Thread information:
Thread ID: 9
Thread account name: IIS APPPOOL\hap
Is impersonating: True
Stack trace: at System.Collections.Generic.Dictionary`2.get_Item(T Key key)
at HAP.Web.routing.Downloader.ProcessRequest(HttpCont ext context)
at System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplication.IExecutionStep.Execut e()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously)
Custom event details: