zshadar Posted November 9, 2011 Author Posted November 9, 2011 Hi, I followed your instructions, and after replacing the hap.web.dll file I get a different error: 500 Internal Server Error. The event log for for Home Access Plus on the server is empty. Regards
nickbro Posted November 9, 2011 Posted November 9, 2011 Can you try accessing the HAP+ page from the server, should give you some more info
zshadar Posted November 16, 2011 Author Posted November 16, 2011 Hi, I tried it from the server, still event viewer is empty, the error message is the same. Thanks
nickbro Posted November 16, 2011 Posted November 16, 2011 When you use intenet explorer on the HAP+ server to launch HAP+ it provides more information in IE. Not the event viewer! Usually on something that is wrong in IIS
zshadar Posted November 16, 2011 Author Posted November 16, 2011 There no more information. Only internal server error message which came after changing the dll file you told me to previously. Thanks
zshadar Posted November 16, 2011 Author Posted November 16, 2011 Hi, now I can't get the setup page to start. This is the message: Server Error in '/hap' Application. -------------------------------------------------------------------------------- Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1061: 'ASP.setup_aspx' does not contain a definition for 'sg_TextChanged' and no extension method 'sg_TextChanged' accepting a first argument of type 'ASP.setup_aspx' could be found (are you missing a using directive or an assembly reference?) Source Error: Line 111: Line 112: Line 113: Line 114: Line 115: Source File: c:\Inetpub\wwwroot\hap\Setup.aspx Line: 113 Show Detailed Compiler Output: c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\hap\55cd546f\70e6ba5a\App_global.asax.g_d-lw43.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\v4.0_4.0.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.Protocols\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.Protocols.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\hap\55cd546f\70e6ba5a\assembly\dl3\67b9618a\9d8bb77b_e497cc01\HAP.AD.DLL" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\hap\55cd546f\70e6ba5a\assembly\dl3\dedac25f\f9edb97b_e497cc01\HAP.Data.DLL" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__ I can fit it all in.
Iamthelaw Posted November 17, 2011 Posted November 17, 2011 I tried this as i'd got past the exception error so i thought and started getting this: [ArgumentException: An item with the same key has already been added.] System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +52 System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +9375355 System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) +11 HAP.Web.Configuration.LinkGroups..ctor(XmlDocument& doc) +390 HAP.Web.Configuration.Homepage.get_Groups() +56 HAP.Web.Default.Page_Load(Object sender, EventArgs e) +6740 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 Alas, after applying the update above, and having tried with different users / clearing cache etc, still getting the above error.
nickbro Posted November 18, 2011 Posted November 18, 2011 Looks like there is a group with the same name, have a look in the hapConfig.xml file, under the /hapConfig/Homepage/LinkGroups
zshadar Posted November 22, 2011 Author Posted November 22, 2011 I replaced th \bin folder with the one you posted and now get: Server Error in '/hap' Application. -------------------------------------------------------------------------------- Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1061: 'ASP.setup_aspx' does not contain a definition for 'sg_TextChanged' and no extension method 'sg_TextChanged' accepting a first argument of type 'ASP.setup_aspx' could be found (are you missing a using directive or an assembly reference?) Source Error: Line 111: Line 112: Line 113: Line 114: Line 115: Source File: c:\Inetpub\wwwroot\hap\Setup.aspx Line: 113
nickbro Posted November 22, 2011 Posted November 22, 2011 Make sure you replace the setup.aspx file with the one in the attached file
zshadar Posted November 22, 2011 Author Posted November 22, 2011 But it is not moving any further. I just get this message as soon as I put the admin password. Thanks
zshadar Posted November 22, 2011 Author Posted November 22, 2011 Ok I done the changes to the web.comfig file and now get this error. Server Error in '/hap' Application. -------------------------------------------------------------------------------- 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: The 'location' start tag on line 143 position 3 does not match the end tag of 'configuration'. Line 196, position 3. Source Error: Line 194: Line 195: Line 196:
CHiLL Posted November 22, 2011 Posted November 22, 2011 In the Deny Users section, replace the * with an OU, or multiple OUs from AD that you want to restrict access to, such as students, teaching staff, etc.
zshadar Posted November 22, 2011 Author Posted November 22, 2011 Hi, in what format should I write it? How exactly is it written?
CHiLL Posted November 22, 2011 Posted November 22, 2011 Here's mine: Taken from ~\HAP\web.config.xml.
zshadar Posted November 22, 2011 Author Posted November 22, 2011 Now I get this error: Did anyone manage to get it working on IIS6? Server Error in '/hap' Application. -------------------------------------------------------------------------------- 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: The 'location' start tag on line 143 position 3 does not match the end tag of 'configuration'. Line 196, position 3. Source Error: Line 194: Line 195: Line 196: Source File: c:\inetpub\wwwroot\hap\web.config Line: 196
CHiLL Posted November 22, 2011 Posted November 22, 2011 It looks like you have an extra or missing or at the end of one of them.
nickbro Posted November 22, 2011 Posted November 22, 2011 On that line, used This will allow domain admins, and deny any other users. That code will stop HAP Users from Accessing as well as unauthenticated users, but allow everyone else
zshadar Posted November 22, 2011 Author Posted November 22, 2011 Now I get the same message again: If you have not already done so, please edit ~/web.config with notepad, etc..., changing: to This is the entry already in my file:
nickbro Posted November 22, 2011 Posted November 22, 2011 I will say that regardless of it being in the web.config file or not, it's just there to make sure that you have checked
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