1 Reply Latest reply: Jan 17, 2013 4:41 AM by sjoerd de vries RSS

    UPK 11.1 installation error "(405) Method Not Allowed"

    user10923137
      Hi

      While assisting a customer to install UPK 11.1 I encountered an issue and a Libraryloader log was generated

      System of the client to install UPK 11.1 on is

      - Virtuele machine W2008 x64 R2
      - Separate sql cluster for the databases

      Both machines are in the same domain!


      2012-12-14 15:18:36 INFO Application started
      2012-12-14 15:18:36 INFO Command line: "C:\Program Files (x86)\User Productivity Kit\UPK Developer 11_1Server\LibraryLoader.exe" "C:\install\Oracle UPK\V30865-01\UPK_Pro_v11.1.0" "/librarylocation:http://vupk:80/UPKDevcontent" /language:NL /producttier:Server /branding:UPK /overwrite:no /update:no /authenticationtype:windowscurrent
      2012-12-14 15:18:36 INFO Source path: C:\install\Oracle UPK\V30865-01\UPK_Pro_v11.1.0
      2012-12-14 15:18:36 INFO Library location: http://vupk:80/UPKDevcontent
      2012-12-14 15:18:36 INFO Language: NL
      2012-12-14 15:18:36 INFO Product tier: Server
      2012-12-14 15:18:36 INFO Branding: UPK
      2012-12-14 15:18:36 INFO Overwrite: False
      2012-12-14 15:18:36 INFO English only: False
      2012-12-14 15:18:36 INFO Options:
      2012-12-14 15:18:36 INFO Import system documents: True
      2012-12-14 15:18:36 INFO Copy files: True
      2012-12-14 15:18:36 INFO Authenticate only: False
      2012-12-14 15:18:36 INFO Authentication type: windowscurrent
      2012-12-14 15:18:36 INFO User name:
      2012-12-14 15:18:36 INFO Password: ***
      2012-12-14 15:18:36 INFO Update: False
      2012-12-14 15:18:36 INFO Loading documents in Server - Client environment
      2012-12-14 15:18:36 INFO Authenticate by Windows authentication
      2012-12-14 15:18:36 ERROR Gkn.OnDemand.Library.OfflineException:
      at Gkn.OnDemand.Library.LibraryComponent.AuthenticateProfile(IUserProfile userProfile) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\LibraryComponent.cs:line 388 at Gkn.OnDemand.Library.LibraryComponent.Run(String command) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\LibraryComponent.cs:line 264 at Gkn.OnDemand.ComponentModel.ApplicationCore.Run(String bootComponentId, String command) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\ComponentModel\AppCore.cs:line 154 at Gkn.OnDemand.ComponentModel.Application.Run(String bootComponentId, String command) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\ComponentModel\Application.cs:line 538
      InnerException:
      Gkn.OnDemand.Library.LibraryConnectionException: There is a problem with the server configuration. See your system administrator with the following information.
      at Gkn.OnDemand.Library.RemoteRepositoryStrategy.GetLibraryInfo(IUserProfile userProfile) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\RemoteRepositoryStrategy.cs:line 98 at Gkn.OnDemand.Library.LibraryService.GetLibraryInfo(IUserProfile userProfile) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\LibraryService.cs:line 290 at Gkn.OnDemand.Login.LoginService.Authenticate(IUserProfile userProfile, Boolean login) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\Login\LoginService.cs:line 183
      InnerException:
      System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (405) Method Not Allowed.
      Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Gkn.OnDemand.Service.Content.RepositoryInfoServiceReference.IRepositoryInfoService.GetLibraryInfo() at Gkn.OnDemand.Library.RemoteRepositoryStrategy.GetLibraryInfo(IUserProfile userProfile) in e:\BUILDROOT_SUN\Builds\Branches\Hacienda\tfs\Core_DotNet\LibraryComponent\RemoteRepositoryStrategy.cs:line 91
      InnerException:
      System.Net.WebException: The remote server returned an error: (405) Method Not Allowed.
      at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)


      Would it be possible to have a SQL/IIS configuration plan that we can share with a customer and have in this plan the minimum requiremnts regarding settings and autorisations?

      I suspect there is something wrong with their SQL or IIS settings however I didn't succeed to determine that.

      Or if their is a possibility to share their settings here and get feedback on that to solve the issue?
        • 1. Re: UPK 11.1 installation error "(405) Method Not Allowed"
          sjoerd de vries
          The "Method Not Allowed" message is a very common message, meaning that there are problems in GET/POST actions.

          To answer your question about teh basic IIS configuration:

          The Roles must include IIS default features and under IIS Authentication you must enable Windows Based authentication if you plan to use this. If you plan to use forms authenticaton you don't need this option under the IIS Role. In that case the basic authentication is fine.

          Under Features I recommend also to set teh option on for ASP.NET and especially the option for WCF activation. Without it might also work, but this installs the .Net framework properly. Then install UPK 11 and let UPK install .Net framework 4.

          If you installed .Net framework 4 manually, make sure it is registered properly, for example with the command: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir