Jump to content

Recommended Posts

Posted (edited)

Have just had My LEA complete my change request for HAP as well as my SSL Certificate arrive so today is the first day I can test and try HAP from Home before Allowing staff to use the service. Got 2 problems that I have run into quite early however.

 

Hopefully found a solution to the first Problem Link

 

On My Win7 PC at home with IE10 I am unable to login and get the following error in the developer Console,

 

SCRIPT5009: 'WebForm_DoPostBackWithOptions' is undefined 
login.aspx, line 1 character 1

 

If IE is put in IE8 or 9 mode I can login perfectly Fine as is the same with Chrome and Firefox.

 

2nd issue occurs in all browsers I have tested. IE, Chrome and Firefox.

 

This is the same as Someone has put in the top sticky in which file of name " " already exists. Clicking Ok attempts the upload and it then fails with

 

Upload of    has failed!

Value cannot be null. 
Parameter name: No File Attached!

 

Server is 2008R2 running IIS7.5.

 

Thanks for any help

 

Ben

Edited by Benner900
Posted

Hi Nick,

 

Thanks for the reply.

 

Just tried downgrading to V1.8.3 and theres no difference. On upload it still prompts that it is untitled and it wants to overwrite untitled. And then fails becasue the value cannot be null.

 

Ben

Posted (edited)

Hi Nick,

 

I have tried Drag and dropping files into the file area, Upload button selecting just 1 file and Upload button selecting multiple files and they all give the same message about being untitled. The Only difference is when using the multiple selection it prompts multiple times that all files being uploaded are untitled.

 

Edit: On Windows XP on IE8 you get the uploader which says file1: file2: etc. The upload does work on that version but does not on Win7 with IE10 in IE8 mode. Chrome also does not work on Windows XP.

 

Ben

Edited by Benner900
More Information
Posted

Right, another try with this issue, 1st we will try the drag and drop, see if we can get the debug info.

 

What you will need:

 

1. Open ~/myfiles/default.aspx with nodepad

2. Go to Line 650

3. Insert above that line:

console.log((event.target.files || event.dataTransfer.files)[i]);

4. replace the lines below with:

                                /*var file = new Upload((event.target.files || event.dataTransfer.files)[i], item.Data.Path);
                               uploads.push(file);
                               file.Start();*/

5. Load Your Browser

6. Login to HAP+

7. Go to My Files

8. Access the folder you want

9. Press F12 (IE/Firebug) or Firefox > Web Developer > Web Console > Untick CSS/Security

10. Try to drag and drop a file to upload

11. Note what the console does

 

To undo:

1. Open ~/myfiles/default.aspx with nodepad

2. Go to Line 650

3. Remove it

4. Remove /* and */ from the 3 lines below

Posted

Thanks for the reply,

 

After doing the above and completing the steps as I drop the file into the My Files area I still get prompted that it is untitled, Clicking ok to this gives the following error in the console,

 

POST [url]https://*******:442/HAP/api/myfiles-upload/U/[/url] 500 (Internal Server Error) *******:442/HAP/myfiles/:163
Upload.ContinueUpload *******:442/HAP/myfiles/:163
$.ajax.success *******:442/HAP/myfiles/:163
l jquery.min.js:2
c.fireWith jquery.min.js:2
T jquery.min.js:2
r jquery.min.js:2

 

Ben

Posted
Hello all, HAP+ is awesome. Having the same issue as listed here...Not a web guy so how do I go about doing this?

 

Download this file: http://code.jquery.com/jquery-1.8.3.min.js

 

Put it in the \Scripts folder under your root HAP install folder (usually C:\inetpub\wwwroot\HAP\Scripts).

 

Rename the jquery.min.js that's already in the folder to something like jquery-old.min.js

 

Rename the file you downloaded to jquery.min.js

Posted (edited)
v9.3 should of fixed the issue without downgrading jquery

 

When I try to upgrade to 9.3 nothing displays...I extract everything and then copy and paste it over the existing HAP directory correct?

 

I have done this twice. Once without stopping the services for IIS and once with, both had the same results...nothing would display.

Edited by WLS-ITGuy
Posted
Errrr, nothing will display? Can you expand a bit on that, screenshots, etc.

 

I retract that nothing will display - I rebooted the server, then got the LDAP error, then restarted the services and rebooted and now cannot log in through any account.

Posted
I retract that nothing will display - I rebooted the server, then got the LDAP error, then restarted the services and rebooted and now cannot log in through any account.

 

And now I can log back in. I rebooted again.

Posted
Just released v9.4, which adds the option to enable Secure LDAP, it will be disabled by default unless you turn it on. Sorry for this issue
Posted
Just released v9.4, which adds the option to enable Secure LDAP, it will be disabled by default unless you turn it on. Sorry for this issue

 

I suppose this should be its own thread. updated to 9.4 and get the error below. Even after rebooting and restarting services.

 

[color=#000000][font=Verdana][b]Server Error in '/' Application.[hr][/b]

[b][i]The LDAP server is unavailable.[/i][/b]

[/font][/color][font=Arial][color=#000000][b]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. 

[b]Exception Details: System.DirectoryServices.Protocols.LdapException: The LDAP server is unavailable.

[b]Source Error: 

[TABLE="width: 100%"]
[TR]
[TD]Line 36:                 Line 37:                     [color=red]Line 38:                         <%=((HAP.AD.User)Membership.GetUser()).DisplayName %> (<%=((HAP.AD.User)Membership.GetUser()).UserName %>)[/color]Line 39:                         Line 40:                             ?<%:DateTime.Now.Ticks.ToString() %>)">[/TD]
[/TR]
[/TABLE]

[b]Source File: c:\inetpub\HAP\Hap\masterpage.master[b]    Line: 38 

[b]Stack Trace: 

[TABLE="width: 100%"]
[TR]
[TD][LdapException: The LDAP server is unavailable.]   System.DirectoryServices.Protocols.LdapConnection.Connect() +559   System.DirectoryServices.Protocols.LdapConnection.SendRequestHelper(DirectoryRequest request, Int32& messageID) +288   System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout) +108   System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties) +495[PrincipalServerDownException: The server could not be contacted.]   System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties) +1847   System.DirectoryServices.AccountManagement.PrincipalContext.DoServerVerifyAndPropRetrieval() +103   System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name, String container, ContextOptions options, String userName, String password) +721   HAP.AD.User.get_UserPa() +133[unauthorizedAccessException: Invalid Administrator Credentials, you may need to get your administrator to reset the HAP+ Settings for Active Directory]   HAP.AD.User.get_UserPa() +256   HAP.AD.User..ctor(String username) +185   HAP.AD.MembershipProvider.GetUser(String username, Boolean userIsOnline) +165   System.Web.Security.Membership.GetUser(String username, Boolean userIsOnline) +169   ASP.masterpage_master.__Render__control17(HtmlTextWriter __w, Control parameterContainer) in c:\inetpub\HAP\Hap\masterpage.master:38   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246   System.Web.UI.WebControls.LoginView.Render(HtmlTextWriter writer) +45   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +307   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246   System.Web.UI.Page.Render(HtmlTextWriter writer) +40   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4943[/TD]
[/TR]
[/TABLE]
[/b][/b][/b][/b][/b][/b][/color][/font]
Posted
Ok, the error coming up there is saying that your Administrator username/password is write, you may need to go to the setup.aspx page and reset it
Posted
I am going to assume that I need to redownload and "reinstall" :)

 

Upgraded to 9.4 and now I get internal server error no matter what browser I use. I re-entered the admin/password but nothing has improved.

Posted (edited)
Is the internal server error coming up in a Browser popup, or the whole page? If the latter, try going to the site from the server

 

Browser pop up and it doesn't matter if it is on the server through IE or on the network via chrome, IE, or Firefox or off network on the same three browsers.

Edited by WLS-ITGuy
Posted
Browser pop up and it doesn't matter if it is on the server through IE or on the network via chrome, IE, or Firefox or off network on the same three browsers.

 

Oh and cannot get to the setup.aspx page as I still get a password issue.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...