Jump to content

Creating an intranet start page - getting Internal error pop ups


Recommended Posts

Posted

Hi

 

I have created a second instance of HAP on my server, it appears to work, and logs me in automatically - which is what I wanted (Followed this thread:http://www.edugeek.net/forums/home-access-plus/88365-quick-question-hap-internal.html )

 

However, I get 6 internal error pop ups - and this appears to be because of an error 500 on the file - all I did was copy and paste the working system into another folder...

 

Anyways - here is the debug info:

 

   
       Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.
       <br />
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} <br />
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}<br />
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}<br />
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }<br />
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }<br />
         pre {font-family:"Lucida Console";font-size: .9em}<br />
         .marker {font-weight: bold; color: black;text-decoration: none;}<br />
         .version {color: gray;}<br />
         .error {margin-bottom: 10px;}<br />
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }<br />
        
   

   

           Server Error in '/hapinternal' Application.

            Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service. 

           

            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.NotSupportedException: Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.



           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: 



           
              
                 
                     

[NotSupportedException: Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.]
  System.ServiceModel.Activation.HostedAspNetEnvironment.ValidateHttpSettings(String virtualPath, Boolean isMetadataListener, Boolean usingDefaultSpnList, AuthenticationSchemes& supportedSchemes, ExtendedProtectionPolicy& extendedProtectionPolicy, String& realm) +198300
  System.ServiceModel.Channels.HttpChannelListener.ApplyHostedContext(String virtualPath, Boolean isMetadataListener) +104
  System.ServiceModel.Channels.HttpsChannelListener.ApplyHostedContext(String virtualPath, Boolean isMetadataListener) +39
  System.ServiceModel.Channels.HttpsTransportBindingElement.BuildChannelListener(BindingContext context) +123
  System.ServiceModel.Channels.Binding.BuildChannelListener(Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters) +166
  System.ServiceModel.Description.DispatcherBuilder.MaybeCreateListener(Boolean actuallyCreate, Type[] supportedChannels, Binding binding, BindingParameterCollection parameters, Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, ServiceThrottle throttle, IChannelListener& result, Boolean supportContextSession) +393
  System.ServiceModel.Description.DispatcherBuilder.BuildChannelListener(StuffPerListenUriInfo stuff, ServiceHostBase serviceHost, Uri listenUri, ListenUriMode listenUriMode, Boolean supportContextSession, IChannelListener& result) +583
  System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost) +2020
  System.ServiceModel.ServiceHostBase.InitializeRuntime() +82
  System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) +64
  System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +789
  System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +255
  System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +1172

[serviceActivationException: The service '/hapinternal/api/livetiles' cannot be activated due to an exception during compilation.  The exception message is: Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service..]
  System.Runtime.AsyncResult.End(IAsyncResult result) +901424
  System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +178702
  System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +136


                 
              
           

           


           

           Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

           

   

 

And this is a picture of where the 6 errors show up:

 

haperror3.PNG

 

When I press OK on the errors, the page appears fine - but none of the live tileness works....

 

Any ideas?

Posted

The error message give you a clue at what is wrong. Also make sure you are using https

 

 

Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.

Posted

But for Windows auth you said to ensure all others were disabled?

 

Its working fine on http for the bits Im doing it seems - as otherwise it will route through the SSL on the external domain and not windows auth which defeats the whole point again :(

Posted
Seems what I wanted to do is not really possible then :( any chance of releasing the style in a pure XHTML/CSS style? I know I wouldn't ave the live tiles but at least styling would be consistent. Can't believe no one else has asked for tis?!
Posted
Have a look at the basestyle.css file. You should be able to use the developer tools in IE/Firefox to actually copy the HTML that's generated for the live tile interface and combine it with the CSS. Animations are done through jquery, which is in the hap.js file in scripts
Posted
Thanks Nick. Possible future feature? - as I do think having this info on your intranet start page (unread emails/calendars) and easy access to booking system would be fab. I know it's home access plus... But I always think a consistent system is best...!

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