Jump to content

Recommended Posts

Posted (edited)

Thanks Sister Tried that but now have a new error! Any clues from the error below? Thanks

 

A referral was returned from the server.

 

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.DirectoryServices.DirectoryServicesCOMException: A referral was returned from the server.

 

 

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:

 

 

[DirectoryServicesCOMException (0x8007202b): A referral was returned from the server.

]

System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +788

System.DirectoryServices.DirectoryEntry.Bind() +44

System.DirectoryServices.DirectoryEntry.get_AdsObject() +42

System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) +98

HAP.AD.ActiveDirectoryHelper.getUser(DirectoryEntry root, String userName) +217

HAP.AD.ActiveDirectoryHelper.GetRolesForUser(DirectoryEntry root, String username) +28

System.Web.Security.RolePrincipal.IsInRole(String role) +249

System.Web.Configuration.AuthorizationRule.IsTheUserInAnyRole(StringCollection roles, IPrincipal principal) +184

System.Web.Configuration.AuthorizationRule.IsUserAllowed(IPrincipal user, String verb) +445

System.Web.Configuration.AuthorizationRuleCollection.IsUserAllowed(IPrincipal user, String verb) +241

System.Web.Security.UrlAuthorizationModule.OnEnter(Object source, EventArgs eventArgs) +11335444

System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +266

Edited by titch
TYPO
Posted

Thanks

 

Ok this is more of a HAP issue...

 

Usually this happens if you have incorrect username/ password, or your LDAP settings are incorrect.

 

I know I am being really special here but I am obviously doing something wrong in the config. If my DC server was named 123server and my admin OU was named boss had would this sit using the config tool. This is what I have below (I know you will be laughing inside)

 

LDAP://123server/{0}OU=boss,OU={1},OU=Establishments,DC=crickhowell,DC=internal

 

Thanks

Posted (edited)

Not laughing lol, you'll be surprised just how many people get this wrong...

 

your LDAP settings should be similar to the following:

 

LDAP://DCSERVER.FQDN/{0}(only needed if RM),OU=boss,DC=domain,DC=com

 

so for example, if your internal domain name was school.internal then your LDAP settings would read:

 

LDAP://123server.school.internal/OU=boss,DC=school,DC=Internal

 

Are you using RM or are you vanilla??

Edited by sister_annex
Posted
Cheeky I know but would you mind if i pm you my settings. Really want to get this going now, and I know its gonna be something simple. Would be forever indebted to you :)
Posted
Cheeky I know but would you mind if i pm you my settings. Really want to get this going now, and I know its gonna be something simple. Would be forever indebted to you :)

 

PM sent

  • Thanks 1
Posted

Hi Nick,

 

Like everybody else I am seriously impressed by HAP but unlike most people I am struggling to get it to work. When installed on the FRS I get the following error message when trying to open the home page (when logged on at the server):

 

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

 

Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to 'D:\RMNetwork\RMManage\Web Components\web.config' because access is denied.

 

Source Error:

 

 

[No relevant source lines]

 

 

Source File: D:\RMNetwork\RMManage\Web Components\web.config Line: 0

 

I have uninstalled and reinstalled the software several times but the above fault persists. Also, RMMC stops working with a 6001 error if HAP is installed but only on the FRS, works fine everywher3er else.

 

If HAP is installed on another server it works a treat internally (//servername/extranet) however nothing happens when I try using domain name/extarnet.

 

Can anyone suggest what might be wrong?

 

Kind regards

 

Ian

 

 

Reply Edit Forward

Posted (edited)

Apologies if this is mentioned earlier in the thread but i think ive installed this correctley on a 2003 server running iis6. When I browse to the site it asks me for my logon credentials 3 times before displaying a "Server Error /Extranet Application". "Access is denied" error

 

 

Should I have windows integrated authentication ticked?

 

Where may i have gone wrong.

 

Thanks

Edited by Jamie_a
extra info
Posted
Apologies if this is mentioned earlier in the thread but i think ive installed this correctley on a 2003 server running iis6. When I browse to the site it asks me for my logon credentials 3 times before displaying a "Server Error /Extranet Application". "Access is denied" error

 

 

Should I have windows integrated authentication ticked?

 

Where may i have gone wrong.

 

Thanks

 

 

Basic Authentication should be ticked and the other entries (anonymous, integrated etc) should be unticked.

 

Access denied is a permissions thing, it may be an entry in the web.config file hat you have to change to a specific group on your network that may be the issue though may be worth checking this first - the code below is about 75% of the way towards the bottom of the config file.

 

   
   
     
     
   

 

I'm not RM unfortunatley so not sure about the other issues, sorry.

 

 

Mark

  • Thanks 1
Posted

Hi Nick,

 

Like everybody else I am seriously impressed by HAP and really appreciate the time and effort you have put into this. We have some of the features working but need a little bit of help with the logon tracker. We have made the changes according to your videos on the Home Access Plus+ site but nothing shows in the tracker portal, it’s probably just a tweak that’s needed, but I can’t seem to fathom it out. Any help would be appreciated

Posted

Loving the whole HAP system, cheers!

Wondering if anybody could help, currently configuring the Static booking but even if I change the term to start this week on Week 2 it still reports week 1 so my timetable bookings are all incorrect. Any ideas what setting I need or can change to force the week to be week 2 this week?

Cheers

Gaz

Posted
After clicking ok to the login it takes an age to load up the HAP page has anyone else had this?

 

Wes

 

When tested I noticed this (only for the first page) - when removing cache control to solve an IE/Win7 issue it seems to have sped up - just wondering if you are using a DC other than forest root too?

Posted
After clicking ok to the login it takes an age to load up the HAP page has anyone else had this?

 

Wes

 

We had this too and I ended up removing the update line in the main page file, as it seemed to be hanging while checking for something. Removing this line sped it up to near instant

Posted

Been using this successfully for about a term now, but have had one user in this morning on a Mac who has had problems. Whenever he loads the Silverlight version of the site, Safari presents a Silverlight message with error number 2105 "Initialize error".

 

He's using the latest version of Silverlight (had to install it for the first time when using the site) and his browser UA is Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4

 

Another user has the exact same setup and his works fine. Haven't tried reinstalling Silverlight yet as I've only had a few minutes with his MacBook to look at the problem, but I was wondering if anyone else had any pointers for the next time I get hold of it?

Posted
We're having issues on Macs too on version 5.4.5. Works fine in Firefox on OSX 10.5/6 but cannot download files using Safari.
Posted (edited)

"Operation could not be completed. (kCFErrorDomainCFNetwork error 303.)"

 

While googling this problem I came across this thread which suggests the problem is to do with the way Safari handles 'chunking'. Perhaps nickbro could have a read of this thread and see if the suggested fix could be applied to HAP+.

 

Thanks all.

Edited by gybe78
Posted

Thanks sister-annex. I think this is being caused by the fact that HAP+ breaks a file down into chunks when downloading it and Safari gets lost when stringing the chunks back together (of course not being a developer I could be completely wrong!).

 

Given that other browsers running on a Mac work fine it may be an unwanted Safari 'feature' that needs a workaround in the app itself.

Posted
Thanks sister-annex. I think this is being caused by the fact that HAP+ breaks a file down into chunks when downloading it and Safari gets lost when stringing the chunks back together (of course not being a developer I could be completely wrong!).

 

Given that other browsers running on a Mac work fine it may be an unwanted Safari 'feature' that needs a workaround in the app itself.

 

I just use the inbuilt asp.net transmit file procedure, everything that happens after that is in handled by asp.net

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...