joyer99
Members-
Posts
11 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by joyer99
-
Nick, Sorry for the long delay in getting back to you. We were on Holiday Break for 2 weeks, and today is our first day back. I went ahead and forced asp.net into en-GB by adding in the culture and ui-culture settings into the web.config file. That fixed the "String was not recognized as a valid DateTime." I was still getting the 405 Method Not Allowed error, but after some googling, I was able to find a fix. It seems that webdav publishing can cause some conflicts with the http verbs (PUT in this case). We had webdav publishing installed on the same server from when we were looking at another product that required webdav. I removed it and it worked. The tickets closed out fine. If anyone else runs into this, removing webdav fixed it for us. Thanks!
-
Nick and others, I just started playing around with the help desk portion of HAP, and ran into some issues with it. I am able to create a new ticket as a teacher, but when I go to close the ticket as an admin, I get the following message: "String was not recognized as a valid DateTime." I installed firebug to see what was going on, and I get two error messages: 405 Method Not Allowed, and 400 An WCF Error has Occured 405 - HTTP verb used to access this page is not allowed. <br /> <!--<br /> body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}<br /> fieldset{padding:0 15px 10px 15px;} <br /> h1{font-size:2.4em;margin:0;color:#FFF;}<br /> h2{font-size:1.7em;margin:0;color:#CC0000;} <br /> h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} <br /> #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;<br /> background-color:#555555;}<br /> #content{margin:0 0 0 2%;position:relative;}<br /> .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}<br /> --><br /> Server Error 405 - HTTP verb used to access this page is not allowed. The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access. and {"Message":"String was not recognized as a valid DateTime.","Detail":null,"FaultType":"FormatException"} I looked on the forum and saw this post http://www.edugeek.net/forums/home-access-plus/103937-string-not-recognized-valid-datetime.html but couldn't find the ".formatDate('d MM yy', curdate)" to take out in the ~HelpDesk/default.aspx. I wasn't sure if this was referring to an older version of HAP, and this line may not be in this version (8.6) or if I just missed it. The ticket never closes out, and if I choose to logout with that ticket open, it then throws up this error: Server Error in '/HAPTEST' Application. 'userlist' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value 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.ArgumentOutOfRangeException: 'userlist' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value 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: [ArgumentOutOfRangeException: 'userlist' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value] System.Web.UI.WebControls.ListControl.set_SelectedValue(String value) +3192331 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.272 Sorry for the big strings of code. I am running IIS 7.5 on Server 2008 R2 with HAP version 8.6.1213.1220. I am using https with a self-signed ssl certificate (for now, just for testing). I am not sure if it is something stupid I did, or because I am in the U.S. and the locale for HAP is GB, or something else completely different. Thanks!
-
@detz - you can mess with line 152 in the basestyle.css to give less of a border around your picture. You'll probably want to resize the generic picture to whatever you change the pixels to, just in case any of your users don't have their picture in AD. You could change it from this #hapUserMenu .mypic { background-color: #0E5D30; float: left; width: 128px; height: 128px; background-position: center top; background-repeat: no-repeat; margin-right: 10px; } to this #hapUserMenu .mypic { background-color: #0E5D30; float: left; width: 96px; height: 96px; background-position: center top; background-repeat: no-repeat; margin-right: 10px; } Not sure if this is the preferred method of doing it, but it worked for me Thanks!
-
Hey... That WORKED!! It worked for the User Menu up in the right hand corner. The Me tile under resources stayed the generic photo. Is this supposed to change as well? It doesn't matter for me because my users won't see that tile, but was just curious. Thanks for all of your help!
-
Nick, Just tested it with the new dll and pdb files and got this error Server Error in '/HAPTEST' Application. -------------------------------------------------------------------------------- Exception of type 'System.Exception' was thrown. 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.Exception: Exception of type 'System.Exception' was thrown. 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: [Exception: Exception of type 'System.Exception' was thrown.] HAP.Web.API.MyPic.ProcessRequest(HttpContext context) +1364 [Exception: Creating Directory Search and Searching for then current user Using filter: (&(objectClass=user) (sAMAccountName=testteacher)) Found 1 results, processing 1st result Found 1 thumnbnailPhotos Data found, making picture ] HAP.Web.API.MyPic.ProcessRequest(HttpContext context) +1621 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272 Thanks!
-
It's weird too. I can change other attributes in Active Directory and they show up in HAP+. I changed the user's display name and it updated it in HAP+ after clearing my cache. Does the photo have to be on a Network Share that the web server would have to have access to? Right now I just have the photo on the Desktop of one of my Domain Controllers. How does HAP pull the photo attribute? I have tried a couple different ways to import the pictures into Active Directory. One is using Dovestone's AD Photos program. Another is using Code2's Active Directory Photos program. Like I said, I can see that the attribute is set if I look at the attribute editor. I don't know if it is something with how I am getting the pictures into Active Directory? Is there a way that you recommend that works for you? Is there a log file I can look at to see why it is failing? My users are going to be pretty fired up to use HAP regardless if their picture is there or not. It is definitley not a deal breaker, but it would be nice to have their picture show up. Thanks for your help.
-
Nick, When I go to /hap/api/mypic I get the following: HAP/api/tiles/icons/128/128/images/icons/metro/folders-os/UserNo-Frame.png. If I select the picture, I can see the generic user photo. Thanks!
-
Nick, Not to piggyback on another problem (and if you want to move it to another thread, that's fine) , I was curious about this feature as well and added a user's picture into Active Directory. I only added it in for one staff member to test it out. If I go into attribute editor under that user's properties, I can see that it is set. But when I log-in to HAP+ as that user, I get the generic user picture. I didn't know if there was something that I was missing. I did check out the videos on the hap.codeplex site, but the videos were for older versions of HAP+ and talked about SIMS. I setup a test site called HAPTEST with a fresh install, thinking maybe it was some configuration on the actual site that I had screwed up, and it still didn't show up on the fresh install. I looked at the photo handler line in hapconfig.xml and it is set as follows: "photohandler="" />". Looking at the source code of the page it says the following: Test Teacher (testteacher) Edit Profile Logout Is there something else that I have to configure for it to pull the Active Directory Photo? Thanks!
-
Drive Mappings, ZIP/UNZIP, and Updating Questions
joyer99 replied to joyer99's topic in Home Access Plus+
Nick, Thanks again for your help. At first I couldn't find those lines of code in my Default.aspx file, but thought you might be referring to the newest version of HAP (I was running 8.1), and since I've been meaning to update anyway, I went ahead an updated, and founds those lines with no problems. I was a little nervous about updating since I am new to HAP+ and this was my first time updating. It did change some of the customizations that I had made, but it didn't take me long to change them back after updating. Just wanted to say Thanks! -
Drive Mappings, ZIP/UNZIP, and Updating Questions
joyer99 replied to joyer99's topic in Home Access Plus+
Nick, Can you clarify where I need to add the style="display: none!important". I was able to remove them from the context menu, but wasn't sure where I need to add in the style line. I think that it is in this section: $("#toolbar-unzip").animate({ width: 0 }, { duration: 500, complete: function() { $("#toolbar-unzip").css("display", "none") } }).click(function () { $("#progressstatus").dialog({ autoOpen: true, modal: true, title: hap.common.getLocal("myfiles/unzip/unzipping") + ": " + SelectedItems()[0].Data.Name }); $("#progressstatus .progress").progressbar({ value: 10 }); UnZip(); return false; }); $("#toolbar-zip").animate({ width: 0 }, { duration: 500, complete: function() { $("#toolbar-zip").css("display", "none") } }).click(function () { $("#zipquestion").dialog({ autoOpen: true, modal: true, buttons: { "ZIP": function() { $(this).dialog("close"); $("#progressstatus").dialog({ autoOpen: true, modal: true, title: hap.common.getLocal("myfiles/zip/zipping") + " 1 " + hap.common.getLocal("of") + " " + SelectedItems().length + " " + hap.common.getLocal("items") }); $("#progressstatus .progress").progressbar({ value: 1 }); Zip(curpath + "\\" + $("#zipfilename").val() + ".zip", 0); }, "Close": function() { $(this).dialog("close"); } } }); $("#zipfilename").val(SelectedItems()[0].Data.Name).focus(); return false; }); But I am definitely not sure on where in the code I should I add this or even if this is the right place in the default.aspx. Thanks for your help -
Nick, Just wanted to take a minute and say thank you for creating this awesome piece of software. We were about ready to pull the trigger on HTTP Commander when I found HAP+. We love the interface, and it has way more features than HTTP Commander. We did have a couple of questions regarding the Drive Mapping and the Zip/Unzip features. Drive Mapping: In Active Directory, it is possible to map the same drive letter to different people, but have the drive letter point to different locations, depending on the person logged in. We have four buildings, and for our staff, their building's Staff Shared Drive is mapped as S:\. So when someone from the High School logs in, the High School Staff Shared Directory is mapped to Drive S. When someone from the Middle School logs in, the Middle School Staff Shared Directory is Mapped to drive S. We do it this way so that it is universal for our teachers, and if we ever put anything out on the Staff shared, we can say, "Go to your S:\ Drive." We also do this because our secretaries will sometimes fill in for each other if needed and that way it is the same for their shared drives as well. Is it possible in HAP to have the same drive letter mapped to different people and point to different places? I tried adding the same drive letter into the hapconfig file, but when I logged into the web interface, it said, "An item with the same key has already been added." I was trying to make it the same as their drive mappings when they log in here at school. ZIP/UNZIP - Is there a way to remove this from the My Files page, both from the top toolbar, and the right-click menu. I thought that maybe it is just a matter of editing of the Default.aspx file in the My Files Folder, but haven't tried it yet. I took a look at that file and thought that if I remove lines 56 and 57, and also 136-214, but wasn't sure if that would screw anything else up. Updating Process: I'm running version 8.1.1003, and as I understand it, to update I just need to copy the files over. I have made a lot of customization changes to HAP (changing the colors and changing icons, mostly). Will these customization changes get overwritten? I know that it is kind of hard to say without knowing what all I changed. Thanks again for an awesome product.
