sister_annex Posted March 8, 2011 Posted March 8, 2011 this error is related to the permissions. Right click the drive go to permissions and add a permission for the actual computer name of the server you are using to host home access plus. So we use "server1" to host. Add "server1" to the permissions list give it full control and it should then allow you in. I'm not sure about that... surely as the user account is being impersonated by the website when the request is made to a particular server it looks like it comes from the respective user not the computer. Maybe I'm wrong, but, we have not had to do anything like that here to get it to work.
levell3r Posted March 8, 2011 Posted March 8, 2011 i did try this and have had no change. Still getting unauthorised access. Im currently going through some things with sister_annex in emails, but am still open to suggestions on here.
nickbro Posted March 8, 2011 Author Posted March 8, 2011 HAP is having an issue with the w: drive Something in there is causing HAP to throw an error. If you look at the event logs on the server it should provider more info Does that UNC exist? HAP would only throw an error on the basic if there was a problem with group permissions
levell3r Posted March 8, 2011 Posted March 8, 2011 D'oh!! Seems i had re-enabled 'Integrated Windows Authentication' in my previous toiling over getting the initial ldap right. http://captionwit.com/wp-content/caption/Embearassed-bear_SXsXT_r.jpeg sorry all. Big thanks to Sister_annex and the others who made suggestions. i appreciate all the help!
AdamK Posted March 10, 2011 Posted March 10, 2011 Hi, I've recently setup HAP and I'm doing a bit of testing. I've noticed on my setup that I can't delete image files. All other files delete fine, its just images. So far I have tested with png, jpg and gif. Could anyone point out where this problem might of come from? I have attached a screenshot of the error: http://www.handsworth.bham.sch.uk/hap/del-img-error.png Adam
wesleyw Posted March 11, 2011 Posted March 11, 2011 Just replaced my old working version for 5.4.5 however now I get: Server Error in '/HAP' Application. -------------------------------------------------------------------------------- Logon failure: unknown user name or bad password. 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.Runtime.InteropServices.COMException: Logon failure: unknown user name or bad password. 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: [COMException (0x8007052e): Logon failure: unknown user name or bad password. ] System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +420085 System.DirectoryServices.DirectoryEntry.Bind() +36 System.DirectoryServices.DirectoryEntry.get_AdsObject() +31 System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) +78 System.DirectoryServices.DirectorySearcher.FindAll() +9 HAP.AD.ActiveDirectoryHelper.getUser(DirectoryEntry root, String userName) +153 HAP.AD.ActiveDirectoryHelper.GetRolesForUser(DirectoryEntry root, String username) +35 HAP.AD.ActiveDirectoryRoleProvider.GetRolesForUser(String username) +10 System.Web.Security.RolePrincipal.IsInRole(String role) +182 HAP.Web.Default.Page_Load(Object sender, EventArgs e) +817 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +91 System.Web.UI.Control.LoadRecursive() +74 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1 As an error any ideas? I've check the web.config file within HAP but everything looks fine I've changed the EasyLink stuff to a group within my ad too? Wes
nicklec Posted March 11, 2011 Posted March 11, 2011 Just came across a strange problem, a laptop that isn't part of our domain running windows 7 and IE8 has an error trying to download any files - being IE it doesn't give any useful feedback but it seems to say '404' error in words like it somehow can't find the file. Same computer works absolutely fine with Firefox.... Running windows update now but seems like IE isn't handling something properly, anyone come across this?
jrmurray Posted March 11, 2011 Posted March 11, 2011 Hey Guys I've got an error where some students can't access the drives, I've checked the groupings but its still not working any ideas? Ta J
sister_annex Posted March 11, 2011 Posted March 11, 2011 Hi, I've recently setup HAP and I'm doing a bit of testing. I've noticed on my setup that I can't delete image files. All other files delete fine, its just images. So far I have tested with png, jpg and gif. Could anyone point out where this problem might of come from? I have attached a screenshot of the error: http://www.handsworth.bham.sch.uk/hap/del-img-error.png Adam Adam, This is usually permissions based, check your permissions and try again Just replaced my old working version for 5.4.5 however now I get: Server Error in '/HAP' Application. -------------------------------------------------------------------------------- Logon failure: unknown user name or bad password. 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.Runtime.InteropServices.COMException: Logon failure: unknown user name or bad password. 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: [COMException (0x8007052e): Logon failure: unknown user name or bad password. ] System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +420085 System.DirectoryServices.DirectoryEntry.Bind() +36 System.DirectoryServices.DirectoryEntry.get_AdsObject() +31 System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) +78 System.DirectoryServices.DirectorySearcher.FindAll() +9 HAP.AD.ActiveDirectoryHelper.getUser(DirectoryEntry root, String userName) +153 HAP.AD.ActiveDirectoryHelper.GetRolesForUser(DirectoryEntry root, String username) +35 HAP.AD.ActiveDirectoryRoleProvider.GetRolesForUser(String username) +10 System.Web.Security.RolePrincipal.IsInRole(String role) +182 HAP.Web.Default.Page_Load(Object sender, EventArgs e) +817 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +91 System.Web.UI.Control.LoadRecursive() +74 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1 As an error any ideas? I've check the web.config file within HAP but everything looks fine I've changed the EasyLink stuff to a group within my ad too? Wes Wes, Check your username, passwords and LDAP settings are correct, this error is usually due to these problems Just came across a strange problem, a laptop that isn't part of our domain running windows 7 and IE8 has an error trying to download any files - being IE it doesn't give any useful feedback but it seems to say '404' error in words like it somehow can't find the file. Same computer works absolutely fine with Firefox.... Running windows update now but seems like IE isn't handling something properly, anyone come across this? nicklec, Try removing cache-control: no-cache from your IIS settings, this fixed the issue for me... HTH All 1
sister_annex Posted March 11, 2011 Posted March 11, 2011 Hey Guys I've got an error where some students can't access the drives, I've checked the groupings but its still not working any ideas? Ta J Firstly welcome Secondly, Check permissions (I am presuming you have already done this but either way no harm in doing it twice ) If the particular student cannot access that share when using a normal windows logon they will not be able use it in HAP+ Mark
jrmurray Posted March 11, 2011 Posted March 11, 2011 Hi sister_annex Yer I've checked the windows permissions and they all seem fine, and when they log onto a PC their drive is mapped correctly so I'm a little stummped atm J
nicklec Posted March 11, 2011 Posted March 11, 2011 nicklec, Try removing cache-control: no-cache from your IIS settings, this fixed the issue for me... HTH All Seems to have done the trick thanks, also seems to have sped it up quite considerably; was this in the install docs and I missed it?
sister_annex Posted March 11, 2011 Posted March 11, 2011 Seems to have done the trick thanks, also seems to have sped it up quite considerably; was this in the install docs and I missed it? It is in the Install Doc to add it, unfortunately I do not know how much of an effect it will have on other features. I would suggest trying every available feature to make sure they still work
sister_annex Posted March 11, 2011 Posted March 11, 2011 Hi sister_annex Yer I've checked the windows permissions and they all seem fine, and when they log onto a PC their drive is mapped correctly so I'm a little stummped atm J Is it the same students every time, or is it a random occurrence?
nicklec Posted March 11, 2011 Posted March 11, 2011 It is in the Install Doc to add it, unfortunately I do not know how much of an effect it will have on other features. I would suggest trying every available feature to make sure they still work We're only using the file stuff at the moment ... will wait and see if nick pipes up with the significance and/or reason why IE is so terrible at display websites faithfully....
AdamK Posted March 11, 2011 Posted March 11, 2011 Adam, This is usually permissions based, check your permissions and try again I've checked permissions and they seem fine. The same user is able to upload documents, pdfs, scripts, etc and can delete them without error. It just seems to bring up errors when handling the deletion of image files. If I go into the share on the network and change the file extension to not be an image, then I can delete the file. If I change a .doc file to a .jpg I can't delete it, but if I change it back to .doc I can. So I'm fairly sure its not permissions thats the problem. Does anyone else have the same issue, or is it just me? Adam
sister_annex Posted March 11, 2011 Posted March 11, 2011 I've checked permissions and they seem fine. The same user is able to upload documents, pdfs, scripts, etc and can delete them without error. It just seems to bring up errors when handling the deletion of image files. If I go into the share on the network and change the file extension to not be an image, then I can delete the file. If I change a .doc file to a .jpg I can't delete it, but if I change it back to .doc I can. So I'm fairly sure its not permissions thats the problem. Does anyone else have the same issue, or is it just me? Adam That is an interesting one... It may be one for nickbro to answer Sorry Mark
jrmurray Posted March 11, 2011 Posted March 11, 2011 same students everytime.....I've done a work around which is to set the .net impersonation username as the domain admin and it doesn't let them see any other kids docs....do for now but if you have any ideas to another solution would be great
nicklec Posted March 11, 2011 Posted March 11, 2011 same students everytime.....I've done a work around which is to set the .net impersonation username as the domain admin and it doesn't let them see any other kids docs....do for now but if you have any ideas to another solution would be great I'm not sure about your terminology (just followed the install and edited the config with our stuff) but that sounds like how it should be?
sister_annex Posted March 11, 2011 Posted March 11, 2011 May be worth popping up your web.config file (obviously remove any passwords that are in there) Mark
nickbro Posted March 12, 2011 Author Posted March 12, 2011 (edited) Current progress of HAP 6: Tracker API changed from text to .net WebService (more secure and more reliable) [DONE] My User Card added [DONE] My Computer .net WebService API added Replace API in the Silverlight Browser to using the .net WebService. More WPF compliant Silverlight My Computer Browser (currently uses a lot of older methods for rendering, this should make it quicker) More threading on the Silverlight Browser The ability to choose either an XML or MS SQL Provider for the logon tracker [DONE] Move certain code out of the main hap.web dll [DONE] Start an Web Based Installer which will ask the right questions So as you can see, it's getting there. Need to start on updating the my computer browser soon HAP 6 introduces the ability to use MSSQL for the logon tracker. The SQL generation script will be included in HAP. Edited March 12, 2011 by nickbro 1
nickbro Posted March 12, 2011 Author Posted March 12, 2011 The speed difference between XML and SQL is quite high for the logon tracker. Since all of the other parts of HAP use relatively small XML databases, I'm not in a rush to upgrade, although I will keep an eye on performance.
nicklec Posted March 14, 2011 Posted March 14, 2011 Sounds good, what is the significance of the "cache-control: no-cache" which seems to break HAP for IE on windows 7 (IIS6)?
titch Posted March 14, 2011 Posted March 14, 2011 Apologies in advance....I know this is going to be something simple as is probably more to do with iss 7.5 than HAP but after installing I am getting when trying to access through webpage. Again first time using ISS so sorry. HTTP Error 500.21 - Internal Server Error Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list
sister_annex Posted March 14, 2011 Posted March 14, 2011 It does seem to be more of an IIS problem than HAP+ The page: How to Fix "PageHandlerFactory-Integrated" bad module "ManagedPipelineHandler in IIS7 is probably a good starter for ten 1
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