teklogic Posted October 18, 2011 Posted October 18, 2011 Hi, I have followed the instructions for the installation, however I get to teh Setup.aspx page and then my error occurs. I can see all the text, however there seems to be a script that isn't loading and I cannot view images. Any ideas on the problem Craig
nickbro Posted October 19, 2011 Posted October 19, 2011 Have you reset the permissions on the folder via explorer?
teklogic Posted October 20, 2011 Author Posted October 20, 2011 Yes I have reset them following the Video on the HAP website. This is error from IE Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E; .NET CLR 3.5.30729; .NET CLR 3.0.30729) Timestamp: Thu, 20 Oct 2011 10:34:45 UTC Message: Object expected Line: 1716 Char: 7 Code: 0 URI: http://app02.kla.local/hap/setup.aspx Message: Object expected Line: 1699 Char: 8 Code: 0 URI: http://app02.kla.local/hap/setup.aspx I find this odd, because if I open the file, it only goes to 1659, so I assume there are some includes that increase the line numbering.
robjduk Posted October 20, 2011 Posted October 20, 2011 exactly the same error here too. Server 2008R2 using IIS7. Follow the video to the letter with no problems until I run setup.aspx. Feeling very stupid at the moment as it seems to work for everyone else.
robjduk Posted October 20, 2011 Posted October 20, 2011 We just get a site of text starting with the following... <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Setup.aspx.cs" Inherits="HAP.Web.Setup" %> Im hoping its something very simple I can kick myself for. Thanks
teklogic Posted October 20, 2011 Author Posted October 20, 2011 (edited) Hi, I have just managed to fix this, I opened the web.conf file and removed I hope that helps EDIT: I still have an issue, I cannot click test on the AD settings, as I have no button present. Also the AD browser does not work, just a blue box at the top. Edited October 20, 2011 by teklogic
nickbro Posted October 20, 2011 Posted October 20, 2011 The button was removed in v7.1 as it was only in there for v7.0 testing (forgot to remove it in final). If you get just a blue bar then it is unable to connect to the api to download the JSON to process your Active Directory Structure. In the browser can you go to https://hap.school.name/hap/api/setup and tell me if you get an error
teklogic Posted October 20, 2011 Author Posted October 20, 2011 When I have entered the Domain UPN and Username, when I tab through it displays an 'Internal Server Error' The /api/setup now just tells me 'Endpoint not found. Please see the service help page for constructing valid requests to the service.'
robjduk Posted October 20, 2011 Posted October 20, 2011 hmm... I have no api/setup (nor a api folder). Going to go find an earlier release and see what I can do.
nickbro Posted October 20, 2011 Posted October 20, 2011 Ok, if it's saying that WCF is working correctly. Do you have access to Firebug in Firefox? If yes: 1. Load Firebug 2. Click on Console Tab 3. Reload the Setup.aspx page 4. Enter your Domain Name, Username, and Password 5. Click on the + sign next to https://hap.school.name/hap/api/setup/GetADTree 6. Go to the Response Tab, or XML Tab (Even Better) and paste the contents here If IE9: 1. Reload the Setup.aspx 2. Press F12 3. On the Network Tab, click Start Capturing 4. Enter your Domain Name, Username, and Password 5. Click on the Students Box 6. Go back to the F12 Window 7. Stop Capturing 8. Double Click on https://hap.school.name/hap/api/setup/GetADTree 9. Copy the Response Body and Paste contents here
teklogic Posted October 20, 2011 Author Posted October 20, 2011 With Firebug, entered the domain, user and password and tabbed out. there wasnt a + sign and this is the xml error, Receiver a:InternalServiceFault An operations error occurred. An operations error occurred. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_Name() at HAP.Web.API.setup.FillNode(DirectoryEntry root) at SyncInvokeGetADTree(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) System.DirectoryServices.DirectoryServicesCOMException
nickbro Posted October 20, 2011 Posted October 20, 2011 Thanks, I'll have a look into for you. Looks like it's having an issue with something in your AD Infrastructure. Are you using an Administrator?
teklogic Posted October 20, 2011 Author Posted October 20, 2011 Yes I am using administrator at the forest level.
nickbro Posted October 26, 2011 Posted October 26, 2011 I'll add a try statement which will ignore an errors when loading the tree for v7.6, give it a try when that is released
CyberDrac Posted October 27, 2011 Posted October 27, 2011 Managed to progress to this point myself and am finding the same thing and so am eagerly awaiting your next release in the hope that it will alleviate our problems.
TheScarfedOne Posted October 31, 2011 Posted October 31, 2011 Same problem here with just the blue bar getting about 10% across. If I look on /api/setup and try the "Post" on GetAD... it shows Reference for http://localhost/HAP7/api/setup/GetADTree Url: http://localhost/HAP7/api/setup/GetADTree HTTP Method: POST Message direction Format Body Request Unknown Cannot infer schema. The Request body is wrapped. Response Unknown Cannot infer schema. The Response body is wrapped.
nickbro Posted October 31, 2011 Posted October 31, 2011 What browser are you using, can you do some bugging for me? Ok, if it's saying that WCF is working correctly. Do you have access to Firebug in Firefox? If yes: 1. Load Firebug 2. Click on Console Tab 3. Reload the Setup.aspx page 4. Enter your Domain Name, Username, and Password 5. Click on the + sign next to https://hap.school.name/hap/api/setup/GetADTree 6. Go to the Response Tab, or XML Tab (Even Better) and paste the contents here If IE9: 1. Reload the Setup.aspx 2. Press F12 3. On the Network Tab, click Start Capturing 4. Enter your Domain Name, Username, and Password 5. Click on the Students Box 6. Go back to the F12 Window 7. Stop Capturing 8. Double Click on https://hap.school.name/hap/api/setup/GetADTree 9. Copy the Response Body and Paste contents here
TheScarfedOne Posted October 31, 2011 Posted October 31, 2011 Of course...happy to help out. That was under IE8. Will grab Firefox and post up the results...
TheScarfedOne Posted October 31, 2011 Posted October 31, 2011 Ok... here is what FireBug had to say... Response Response Headers Via 1.1 MAP-TMG Connection Keep-Alive Proxy-Connection Keep-Alive Content-Length 24 Date Mon, 31 Oct 2011 22:48:25 GMT Content-Type application/json; charset=utf-8 Server Microsoft-IIS/7.5 Cache-Control private X-AspNet-Version 4.0.30319 X-Powered-By ASP.NET Request Headers Host map-webs-01.map.internal User-Agent Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Accept application/json, text/javascript, */*; q=0.01 Accept-Language en-gb,en;q=0.5 Accept-Encoding gzip, deflate Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 Connection keep-alive Content-Type application/json; charset=UTF-8 X-Requested-With XMLHttpRequest Referer http://map-webs-01.map.internal/HAP7/setup.aspx Content-Length 71 Cookie ASP.NET_SessionId=j3lxkuidy45lhiegqjojphsm POST JSON domain "map.internal" password "********" username "hap" Source {"username": "hap", "password": "********", "domain": "map.internal"} Response {"GetADTreeResult":null}
nickbro Posted October 31, 2011 Posted October 31, 2011 Odd that GetADTreeResult is coming back with NULL, it shouldn't.
TheScarfedOne Posted October 31, 2011 Posted October 31, 2011 hmmm. i thought that too. where should i be looking for a possible problem?
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