Jump to content

______Server Error in '/HAP' Application. IIS issues possibly?


Recommended Posts

Posted

Hi

Ihave installed and configured HAP on our 2008 IIS 7. I am a novice to IIS. HAP works great whenaccessing from the local server, but over the internet I get the error belowwhen I attempt to log in.

I am not sure if this is happening because I havetwo applications running on the default site. We have a another site used forremote access and the HAP connection attempting to use the same https binding,as in pic of the structure below.

 

hap1.png

I'mnot sure if I can use a wildcard certificate or host headers to get round this.Our existing domain is remote.xxxx.sch.uk and the HAP site address isremote.xxxx.sch.uk/hap?

Anytip would be gratefully received

Thanks.

Error:

______Server Error in '/HAP' Application.

Theapplication is configured to issue secure cookies. These cookies require thebrowser to issue the request over SSL (https protocol). However, the currentrequest is not over SSL.

Description:An unhandled exception occurred during the execution of the current webrequest. Please review the stack trace for more information about the error andwhere it originated in the code.

ExceptionDetails: System.Web.HttpException: The application is configured to issuesecure cookies. These cookies require the browser to issue the request over SSL(https protocol). However, the current request is not over SSL.

SourceError:

Anunhandled exception was generated during the execution of the current webrequest. Information regarding the origin and location of the exception can beidentified using the exception stack trace below.

StackTrace:

[HttpException(0x80004005): The application is configured to issue secure cookies. Thesecookies require the browser to issue the request over SSL (https protocol).However, the current request is not over SSL.]

System.Web.Security.FormsAuthentication.SetAuthCookie(String userName,Boolean createPersistentCookie, String strCookiePath) +12594113

HAP.Web.Login.login_Click(Object sender,EventArgs e) +3639

System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(StringeventArgument) +153

System.Web.UI.Page.ProcessRequestMain(BooleanincludeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)+3804______

hap.png

Posted

Thanks for your reply. However being a newbie to IIS etc. I do not really understand what you mean by HTTPS offloading (I have googled it but it still doesn't seem very clear). I am using HTTPS for the site, so unsure what I need to do.

 

If you have a chance could you look at the picture I have attached to the previous post. In here it shows the structure. Should the HAP site be a new site, and not use the default site settings? Or is there a way of having both sites Xennapp1 and the HAP site both running off the same default site bindings?

 

Not sure if I'm making sense here :)

 

Thanks again.

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