raytowle Posted May 23, 2011 Posted May 23, 2011 Hi, Just wondering if any one has any thoughts on my last post as it's been a few days. Appreciate your busy though. Ray
beneal Posted May 23, 2011 Posted May 23, 2011 Changing the 'My School Computer' is easy enough: Open up MyComputerSL.aspx and scroll down to line 60 to alter. In terms of general look and feel, first place to start for colours etc would be the css files - there's a couple in the root plus ones for the booking system and helpdesk in their respective folders. Best way to see how they affect the site is to change bits and see what happens (all backed up, obviously..)
raytowle Posted May 23, 2011 Posted May 23, 2011 Thanks for your reply. The general look and feel of the site we have managed to tweak by doing exaclty as you suggested... and making sure we took backup's excesivly In regards to the MyComputerSL.aspx, line 60 is part of the I cant see anything in here which changes the text that is displayed on the layout of the extended computer browser. The specific bit we'd like to change is as best I can describe it the "folder path list" just above the documents and just beneath the "home", "new folder", "view" tool bar on the file browser pages. I suspect this might be part of the silverlight / javascript coding, but i'm not sure. If you can shed any more light on this, it would be great. As the environment we are placing this utility is not a school, it would be nice to remove the references to "My School Computer" Many Thanks
beneal Posted May 23, 2011 Posted May 23, 2011 I think the line I was talking about should be a couple of lines above your line 60 then: My School Computer - Extended Version That only changes the title on the page though, not the folder path - I suspect you're right about that being in the silverlight code.
raytowle Posted May 23, 2011 Posted May 23, 2011 I think we found that line and changed it.... It would be nice if we could change the bit i'm talking about, but we're not really into silverlight programming, so was hoping some one on here might know how to change this. Here's hoping that Nickbro can shed some light on this if he's not too busy. Thanks
nickbro Posted May 23, 2011 Author Posted May 23, 2011 The silverlight code can't be changed without editing the source project. The rest is all CSS styled
Edu-IT Posted May 24, 2011 Posted May 24, 2011 On the latest version, is it normal for the Home Access Plus Home and Basic Version links to be plain HTML? These used to be fancy buttons. @nickbro
raytowle Posted May 24, 2011 Posted May 24, 2011 Hi Having now done a full install of HAP, and got it working.... we are having intermittent issues on a regular basis with downloading files. Once downloaded, they corrupt. Some files open with no problems, and on other occasions, the server times out. We have other websites running on the server, and dont experience any loss in conectivity to them. Has any one seen this before, and any ideas where we might start looking for problems? We don't think its an internet connection problem as the other websites stay up and running.... could it be that HAP has a time out or struggles when multiple files are accessed at the same time? Any suggestions or ideas would be appreciated. Ray
nickbro Posted May 24, 2011 Author Posted May 24, 2011 @nickbro @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.
nickbro Posted May 24, 2011 Author Posted May 24, 2011 @nickbro @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.
Avalon Posted October 10, 2011 Posted October 10, 2011 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(TKey key) +4329183 HAP.Web.routing.Downloader.ProcessRequest(HttpContext context) +282 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +597 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +266 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1 Any ideas?
nickbro Posted October 10, 2011 Author Posted October 10, 2011 Usually a sign that the drive letter is missing/isn't lower/upper case.
Avalon Posted October 10, 2011 Posted October 10, 2011 checked the drive letter was showing and tried both upper and lower case drive letters but getting the same problem unfortunately
nickbro Posted October 10, 2011 Author Posted October 10, 2011 What's the URL of the page it's trying to get to?
bumlardy Posted October 10, 2011 Posted October 10, 2011 (edited) 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'? I'm sure I've missed something.... 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 Edited October 10, 2011 by bumlardy
nickbro Posted October 10, 2011 Author Posted October 10, 2011 What's the URL of the page it's trying to get to? What's the URL of the page it's trying to get to?
Avalon Posted October 10, 2011 Posted October 10, 2011 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
nickbro Posted October 10, 2011 Author Posted October 10, 2011 Something is wrong wrong there. It should be trying to get to https://hap.school.name/hap/Download/Drive/Folder/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
Avalon Posted October 11, 2011 Posted October 11, 2011 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
nickbro Posted October 11, 2011 Author Posted October 11, 2011 Good to hear. Best to double check the hapConfig.xml file in the ~/app_data/ folder, making sure things are as expected
Simmer Posted October 11, 2011 Posted October 11, 2011 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: Line 3: Source File: /hap/mycomputersl.aspx Line: 1
nickbro Posted October 11, 2011 Author Posted October 11, 2011 overwrite mycomputersl.aspx from the HAP+ Web ZIP from codeplex, should fix the problem. If it doesn't replace chs.master with masterpage.master
bumlardy Posted October 11, 2011 Posted October 11, 2011 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(TKey key) at HAP.Web.routing.Downloader.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Request information: Request URL: https://fs64.davinci.derby.sch.uk:443/hap/Download/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(TKey key) at HAP.Web.routing.Downloader.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Custom event details:
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now