wdwm Posted September 20, 2011 Posted September 20, 2011 Hi Nick, have followed the updated pdf and when I get to the setup page I get en error. (IIS6, Server 2003) In event view this is what it's saying: Event Type: Error Event Source: System.ServiceModel 4.0.0.0 Event Category: WebHost Event ID: 3 Date: 20/09/2011 Time: 11:10:47 User: NT AUTHORITY\NETWORK SERVICE Computer: WMS-SVR-001 Description: WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/46400467 Exception: System.ServiceModel.ServiceActivationException: The service '/HAP/api/setup' cannot be activated due to an exception during compilation. The exception message is: An endpoint reference cycle was detected in your configuration. The following reference cycle must be removed: webHttpEndpoint/, webHttpEndpoint/. (D:\RMNetwork\RMManage\Web Components\hap\web.config line 162). ---> System.Configuration.ConfigurationErrorsException: An endpoint reference cycle was detected in your configuration. The following reference cycle must be removed: webHttpEndpoint/, webHttpEndpoint/. (D:\RMNetwork\RMManage\Web Components\hap\web.config line 162) at System.ServiceModel.Description.ConfigLoader.LookupEndpoint(ServiceEndpointElement serviceEndpointElement, ContextInformation context, ServiceHostBase host, ServiceDescription description, Boolean omitSettingEndpointAddress) at System.ServiceModel.Web.WebServiceHost.AddAutomaticWebHttpBindingEndpoints(ServiceHost host, IDictionary`2 implementedContracts, String multipleContractsErrorMessage, String standardEndpointKind) at System.ServiceModel.Web.WebServiceHost.OnOpening() at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open() at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) --- End of inner exception stack trace --- at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath) Process Name: w3wp Process ID: 1300 Any pointers please? From anyone!
nickbro Posted September 20, 2011 Posted September 20, 2011 Open ~/Web.config Right down the bottom, try deleting <standardEndpoints> <webHttpEndpoint> <standardEndpoint name="" helpEnabled="true" faultExceptionEnabled="true" automaticFormatSelectionEnabled="true"/> webHttpEndpoint> standardEndpoints> 1
2097 Posted September 20, 2011 Author Posted September 20, 2011 same error as i had first ? i reinstalled in the HAP directory Also gave iis_wpg write permissions on the app_data folder
nickbro Posted September 20, 2011 Posted September 20, 2011 You shouldn't need to give that permission to that folder, as the system should be running either and network service (IIS6) or as the IIS Application Pool (IIS7). Check that you have editted the apppool and told it to use the application pool identity, not IUSR
Simcfc73 Posted September 20, 2011 Posted September 20, 2011 When I try and test connection in the Application pool I am getting 'invalid application path'.. must be missing something.. I have the older version still running though.
wdwm Posted September 20, 2011 Posted September 20, 2011 Open ~/Web.config Right down the bottom, try deleting <standardEndpoints> <webHttpEndpoint> <standardEndpoint name="" helpEnabled="true" faultExceptionEnabled="true" automaticFormatSelectionEnabled="true"/> webHttpEndpoint> standardEndpoints> This has done the trick, thankyou Nick.
2097 Posted September 20, 2011 Author Posted September 20, 2011 You shouldn't need to give that permission to that folder, as the system should be running either and network service (IIS6) or as the IIS Application Pool (IIS7). Check that you have editted the apppool and told it to use the application pool identity, not IUSR Im using II6 it says on your install instructions . set the hap folders IIS_wpg to Read and execute Under this it says App_data folder : set to read and write . I assumed this meant set the user iis_wpg under the app_data folder to have write permissions
jamesfed Posted September 20, 2011 Posted September 20, 2011 Hi Nick, Sorry same message as all others - I've done a clean install (at least I belive I have ) but get the attached screen shot message every time. Event viewer (Server 2008 R2/IIS 7) Comes up with the following- WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/63835064 Exception: System.ServiceModel.ServiceActivationException: The service '/v7/api/setup' cannot be activated due to an exception during compilation. The exception message is: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'. Parameter name: item. ---> System.ArgumentException: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'. Parameter name: item at System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item) at System.Collections.Generic.SynchronizedCollection`1.Add(T item) at System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses) at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses) at System.ServiceModel.Activation.WebServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses) at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) --- End of inner exception stack trace --- at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath) Process Name: w3wp Process ID: 5080 I could well be wrong in my understanding but in that error message it mentions /v7/api - where v7 is my HAP folder however I dont have a api folder anywhere to be seen (although I think I can see one in your demo setup videos). Either way v6 is running great and thanks for a wonderful bit of software!
nickbro Posted September 20, 2011 Posted September 20, 2011 Can you navigate to /v7/api/setup in the browser and tell me if it loads up
2097 Posted September 20, 2011 Author Posted September 20, 2011 Just another bug btw for your next revision . When you use the anouncement . After you save , the anouncement covers the logoff button .
jamesfed Posted September 20, 2011 Posted September 20, 2011 Can you navigate to /v7/api/setup in the browser and tell me if it loads up It loads with attached message on screen
nickbro Posted September 20, 2011 Posted September 20, 2011 It loads with attached message on screen I have no idea on that error, have you tried googling/bingging it?
nickbro Posted September 20, 2011 Posted September 20, 2011 Just another bug btw for your next revision . When you use the anouncement . After you save , the anouncement covers the logoff button . Thanks will look into it
jamesfed Posted September 20, 2011 Posted September 20, 2011 I have no idea on that error, have you tried googling/bingging it? Nothing helpful on first look but something just started a thought process - looked like there was a HTTP binding to the site which was throwing up all the errors. All working now though. Thanks again Nick!
nickbro Posted September 20, 2011 Posted September 20, 2011 Nothing helpful on first look but something just started a thought process - looked like there was a HTTP binding to the site which was throwing up all the errors. All working now though. Thanks again Nick! Good to hear. Thankfully, you wont have to go through the full setup next time
Simmer Posted September 20, 2011 Posted September 20, 2011 Redone the install 3 times now and i can get the setup page to appear but when i click on the test button i get a popup saying "System.ServiceModel.ServiceActivationException"
TronXP Posted September 20, 2011 Posted September 20, 2011 As jamesfed said above, you need to goto your site bindings (IIS Manager > Sites > "Site Name" > In the actions pane look for "bindings") ensure there is only one binding for http. I also had this problem.
nickbro Posted September 20, 2011 Posted September 20, 2011 Ask James how he fixed it. It's prob a binding issue in IIS Nothing helpful on first look but something just started a thought process - looked like there was a HTTP binding to the site which was throwing up all the errors.
jamesfed Posted September 20, 2011 Posted September 20, 2011 Ask James how he fixed it. It's prob a binding issue in IIS Yep I just had HTTP enabled on the IIS site I had setup for HAP - just click on site (left hand side of the IIS window) then on the right click bindings and remove any mention of HTTP and only leave HTTPS.
KayDubYa Posted September 20, 2011 Posted September 20, 2011 I am seeing the same issue I had with 6.5. When uploading with the extended version, I end up getting a corrupt file error when opening the docs. In the basic version, this does not happen. Can anyone offer any help with this please?
Simmer Posted September 20, 2011 Posted September 20, 2011 Im trying to find the bindings in IIS6 and failing, where can i find the option to change them
nickbro Posted September 20, 2011 Posted September 20, 2011 The MSCB (My School Computer Browser) Extended Edition will be replaced with a HTML5 site in version 8 (not that far away).
KayDubYa Posted September 20, 2011 Posted September 20, 2011 The MSCB (My School Computer Browser) Extended Edition will be replaced with a HTML5 site in version 8 (not that far away). Thanks Nick.
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