sister_annex Posted October 8, 2010 Posted October 8, 2010 Ok after alot of hair pulling (my own that is) I have managed to get it working. Next problem is how do I get teachers from home to access it, we are behind SWGFL. I have setup 'Routing and Remote access' with VPN and NAT but I dont get how the server knows what its external IP address is etc. Any help would be very much appriciated We have an ISA 2006 server that does our website publishing... We had to request a new subdomain from our lea that tagged our usual domain. i.e. folders.domain.com etc Your LEA should provide you with the IP address of the subdomain that ISA should listen on. The rules then setup in ISA should forward to the requests to the requested server. So our requests would come from something like https://folders.domain.gov.uk/homeaccess ISA takes this request and turns into https://internalserver/homeaccess and then presents that servers response. We are not SWGFL so not sure what their procedures are for this so it may be worth giving them a call to see if they can help 1
nickbro Posted October 8, 2010 Author Posted October 8, 2010 Im trying to enable external access to our RDweb on the terminal server, I've setup an ISA rule so that https://www.website.com/RDWeb should access it but firefox tells me "Firefox has detected that the server is redirecting the request for this address in a way that will never complete." What have i done wrong there, how do i solve that? It works ok internally You can't do that properly. It's the way RD Gateway works. If a request coming into IIS is a RDP session IIS offloads it to the RD Gateway, it can't do this properly if you just forward the directory in ISA. The best way is to forward all HTTP/HTTPS traffic to the RDWeb IIS server, and on that server you employ URL Rewrite : The Official Microsoft IIS Site. That IIS 7 plug in will allow you to redirect the extranet folder on the RDWeb IIS server to your HAP server. I don't do mine this way, since I run HAP on my RD Gateway server, and use URL Rewrite : The Official Microsoft IIS Site to allow access to exchange and the RM tools (which are hosted on other servers).
nickbro Posted October 8, 2010 Author Posted October 8, 2010 Ok after alot of hair pulling (my own that is) I have managed to get it working. Next problem is how do I get teachers from home to access it, we are behind SWGFL. I have setup 'Routing and Remote access' with VPN and NAT but I dont get how the server knows what its external IP address is etc. Any help would be very much appriciated The way we do it here is: 1. Ask LEA for a sub domain (e.g. folders.crickhowell-hs.powys.sch.uk) 2. Ask for this to DNS lookup internally to your server's IP address 3. Ask for the external DNS entry to point to the LEA's reverse proxy, or someother way (they should know how) 4. Get port 443 [https] (or 80 [http]) unblocked on the firewall (LEA firewall in your school) 5. If they are using a reverse proxy for access to internal websites from outside, as Powys CC does, you need to ask them to put a new entry in for your subdomain (they should do this in option 3) 6. Set your IIS webserver to accept requests for that domain 7. Buy a VALID SSL certificate (I recommend Buy GeoTrust® and VeriSign® SSL Certificates At Cheaper Prices. RapidSSL® From £14.90 - Free Trial Available (UK)) (you can use a self signed on if needed) (needs to be for the external dns name) 8. Install the SSL certificate on the server 9. If reverse proxy is in use, send that SSL cert to your LEA to have them install it as well 10.All will be well, or should be 1
wesleyw Posted October 8, 2010 Posted October 8, 2010 Nick how do I import the classes into your Booking system? Is there a video or a PDF? Wes
wesleyw Posted October 8, 2010 Posted October 8, 2010 Getting the following after re-installing: (HAP is installed on the root of the web server not Extranet) Server Error in '/' Application. -------------------------------------------------------------------------------- Object reference not set to an instance of an object. 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.NullReferenceException: Object reference not set to an instance of an object. 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: [NullReferenceException: Object reference not set to an instance of an object.] HAP.Web.Default.OnInitComplete(EventArgs e) +56 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +604 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
dezt Posted October 8, 2010 Posted October 8, 2010 @sister_annex Thanks for the pointers, I ended up reformatting the server and installing very slowly and carefully. It all seems to work now after a brief spell of a 401.2 error, I managed to clear that by copying the working web.config from my VM to the physical server. Thanks nickbro for this great app.
netadmin Posted October 10, 2010 Posted October 10, 2010 Is there any way to adjust the date format for 'tiles' view to use the format of MM/DD/YYYY? I've looked through the coding but am not seeing that section of code. Thanks.
nickbro Posted October 10, 2010 Author Posted October 10, 2010 Is there any way to adjust the date format for 'tiles' view to use the format of MM/DD/YYYY? I've looked through the coding but am not seeing that section of code. Thanks. It will default to what the server is set to (for the basic version), and what the client is set to (for the enhanced version)
netadmin Posted October 11, 2010 Posted October 11, 2010 I'm using the basic version. I have the server regional settings set to English (United States), but the date is still defaulting to DD/MM/YYYY. Do you know if there is another location on the server that I need to configure it in? Or, are there any ways to override that in the ASP page? Thanks.
nickbro Posted October 11, 2010 Author Posted October 11, 2010 Is your user set to be English US? Is the network service set to be English US?
netadmin Posted October 11, 2010 Posted October 11, 2010 Yes, the user is set to English US. I tried to set the network service to English US by using the 'Copy Settings' option from Regional Settings, but perhaps I need to set it in another location? The language for non-Unicode applications is also set to English US.
nickbro Posted October 11, 2010 Author Posted October 11, 2010 That's an odd one. It should pick up on the servers regional settings. The user you have logged onto HAP under. But it appears I've hard coded the UK time stamp. Doh, will change it for 5.4 1
nickbro Posted October 11, 2010 Author Posted October 11, 2010 Version 5.4, due end of the week includes: * Changes to the way The Basic My School Computer displays Dates * The Addition of a week view page for the booking system [ATTACH=CONFIG]8272[/ATTACH][ATTACH=CONFIG]8273[/ATTACH]
wesleyw Posted October 11, 2010 Posted October 11, 2010 Finally got everything working. Does anyone know what format the import files have to be for the classroom booking system or if there is a way to limit the amount of times a suite can be booked out on any given day? Wes
wesleyw Posted October 11, 2010 Posted October 11, 2010 Nick will you have a template available for importing from SIMS timetables? Wes
nickbro Posted October 11, 2010 Author Posted October 11, 2010 I don't sorry. I did at one point but don't any more. I made it for someone else, since for the life of me, my school doesn't use SIMS for timetabling (we will hopefully next year if our dept head gets her act together)
wesleyw Posted October 11, 2010 Posted October 11, 2010 Ah right shame I like the two week timetables and the option of allowing only a set amount of bookings per day/week would I be able to look at the code for this piece and modify it to allow for Labs/Laptop trollies to only be booked out for a maximum of per day and I can jig the import settings for CMIS/SIMS/etc? Wes
martin1 Posted October 12, 2010 Posted October 12, 2010 Firstly, a big thank you to Nick for an excellent piece of software. I have been looking for something just like this for a while now and this couldn't have come a long at a better time. Despite the setup video being for an older version, it was great to follow and made it really easy to do. I've never really dealt with websites and IIS much before, so any help was appreciated. The last problem I seem to be getting now though is to do with downloading the files. Is there any setting limiting what can be downloaded through HAP? I do seem to be getting different results between XP and Windows 7 with the latter working fine but with XP, I can only open pictures (assuming this is because it can be opened with IE) but any word documents (txt, docx etc) produces an error box.... Internet explorer was not able to open this internet site. The requested site is either unavailable or cannot be found. Go back to my Windows 7 machine and it's fine. I can't seem to find anything set in Group Policy yet that may be blocking this. Can anyone think of anything obvious, be it the config file or a setting in IIS, anything really.
martin1 Posted October 14, 2010 Posted October 14, 2010 Update: It appears to be IE that is the problem. I can't seem to download/open files with IE in school or even on a home machine. Chrome (which it dawned on me I use on my Win7 machine) allows the download as soon as you click on it but with IE, nothing appears and it errors immediately. I see version 5.3.1, which I had when I noticed the problem, has a IE yellow box fix. Anyone know if this is related to the problem? I've just reverted back to the previous 5.3 release and I still have the same issue. Thoughts... anyone?
martin1 Posted October 14, 2010 Posted October 14, 2010 Another update: Fixed it! I read through the documentation again and noticed the bit about "cache: no-cache" in IIS. I removed it and suddenly the files now download in IE 8 and 9. The delete and rename are not working as well as they were but I assume that is to do with caching again. Either way, I am now happy to launch it to the students and teachers.
zag Posted October 18, 2010 Posted October 18, 2010 (edited) Did the new version get released? Can someone help me with my LDAP settings? Web.config And this is what the groups show in adexplorer Admin CN=Users,DC=readingschool,DC=reading,DC=sch,DC=uk,rgdc1 [rgdc1.readingschool.reading.sch.uk] Students OU=Students2009,OU=Users,OU=ReadingSchool,OU=InterJigsaw,DC=readingschool,DC=reading,DC=sch,DC=uk,rgdc1 [rgdc1.readingschool.reading.sch.uk] Teaching Staff OU=TeachersMain,OU=Users,OU=ReadingSchool,OU=InterJigsaw,DC=readingschool,DC=reading,DC=sch,DC=uk,rgdc1 [rgdc1.readingschool.reading.sch.uk] Non Teaching staff OU=School_Admin,OU=Users,OU=ReadingAdmin,OU=InterJigsaw,DC=readingschool,DC=reading,DC=sch,DC=uk,rgdc1 [rgdc1.readingschool.reading.sch.uk] But I get an Logon failure, bad username or password when I browse to extranet Edited October 18, 2010 by zag
linkazoid Posted October 18, 2010 Posted October 18, 2010 What is the best way of publishing this on the web? Currently we have set it up as the following: - External DNS Record for home.mydomain.com which goes to our smoothwall external IP and then port forwards to the server. Users are prompted to enter thier login details which are not encrypted. How does everyone else do it. We do not have a ISA server to publish the site. Thanks, Michael
wesleyw Posted October 18, 2010 Posted October 18, 2010 Have you remembered to change the Allow USers from EasyLink to another group every one of your users belongs to (if you haven't got CC3 that is)? Wes
zag Posted October 18, 2010 Posted October 18, 2010 Have you remembered to change the Allow USers from EasyLink to another group every one of your users belongs to (if you haven't got CC3 that is)? Wes Yes I changed it to Is that correct?
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