4 Replies Latest reply on Jun 21, 2014 11:40 PM by dmshimself

    New Install 7.7.1 Problems to Opening WebAccess and Integrated Console

    AndrewWard Apprentice

      I hope the penny starts to drop on this product soon because I am getting less and less confident that I can actually learn enough to be able to control it. Whatever I do I always seem to end up hitting a brick will!

      I have built a fresh install of version 7.7.1 with integrated and explicit sites for both the Console and WebDesk and also need Self Service.

      The database has been restored from a partner organisation in order to bring in customisations applied by a LANDesk Consultant.

       

      I hope someone can help me figure out what I have overlooked and point me in the right direction to get it resolved.

       

      The application pools and websites have all been created

      inetmgr.png

      Browsing these urls gives the results shown

      //localhost/ss      integrated log on failed     displayed on http://localhost/LDSDSandpit.WebAccess.Integrated/ss/Logon/IntegratedLogonFailed.rails

      //localhost/wd     integrated log on failed     displayed on http://localhost/LDSDSandpit.WebAccess.Integrated/ss/Logon/IntegratedLogonFailed.rails
      //localhost/wde   null argument exception for parameter name service displayed on http://localhost/LDSDSandpit.Webaccess.Explicit/wde (full error text below)

      //localhost/LDSDSandpit.Console.Explicit/                displays a blank untitled page http://localhost/LDSDSandpit.Console.Explicit/

      //localhost/LDSDSandpit.Console.Integrated/           displays a blank untitled page http://localhost/LDSDSandpit.Console.Integrated/

      //localhost/LDSDSandpit.WebAccess.Integrated/wd integrated log on failed http://localhost/LDSDSandpit.WebAccess.Integrated/wd/Logon/IntegratedLogonFailed.rails

      //localhost/LDSDSandpit.WebAccess.Explicit/wd      displays username and password dialog

      can successfully log on to Help Desk     http://localhost/LDSDSandpit.WebAccess.Explicit/wd/Dashboard/OpenHomeDashboard.rails?id=df2......

      can successfully switch to servicedesk  http://localhost/LDSDSandpit.WebAccess.Explicit/ss/Dashboard/OpenHomeDashboard.rails?id=a50......

      //localhost/LDSDSandpit.WebAccess.Explicit/ss      displays username and password dialog

      can successfully logon to servicedesk    http://localhost/LDSDSandpit.WebAccess.Explicit/ss/Dashboard/OpenHomeDashboard.rails?id=a50......

      can successfully switch to Help Desk     http://localhost/LDSDSandpit.WebAccess.Explicit/wd/Dashboard/OpenHomeDashboard.rails?id=df2.......

       

      How come the only one that seems to work is the  explicit logon through the integrated virtual directory wd?

       

      Default.htm in the virtual directories under inetpup\wwwroot contain the following window.location.href assignment

      • ss    "/LDSDSandpit.Webaccess.Integrated/ss"
      • wd   "/LDSDSandpit.Webaccess.Integrated/wd"
      • wde "/LDSDSandpit.Webaccess.Explicit/wde"

       

      Full error connecting to //localhost/wde

      Log Name:      Application
      Source:        ASP.NET 4.0.30319.0
      Date:          19/06/2014 11:21:30
      Event ID:      1309
      Task Category: Web Event
      Level:         Warning
      Keywords:      Classic
      User:          N/A
      Computer:      servername.CCC.Cambridgeshire.gov.uk
      Description:
      Event code: 3005
      Event message: An unhandled exception has occurred.
      Event time: 6/19/2014 11:21:30 AM
      Event time (UTC): 6/19/2014 10:21:30 AM
      Event ID: f5abad2ebcfc456c8c10551839212e4c
      Event sequence: 1338
      Event occurrence: 60
      Event detail code: 0

      Application information:
          Application domain: /LM/W3SVC/1/ROOT/LDSDSandpit.WebAccess.Explicit-1-130474903343137751
          Trust level: Full
          Application Virtual Path: /LDSDSandpit.WebAccess.Explicit
          Application Path: C:\Program Files (x86)\LANDesk\LDSD Sandpit\WebApp\WebAccess\
          Machine name: servername

      Process information:
          Process ID: 4052
          Process name: w3wp.exe
          Account name: domain/user

      Exception information:
          Exception type: ArgumentNullException
          Exception message: Cannot be null
      Parameter name: service
         at Ninject.ResolutionExtensions.GetResolutionIterator(IResolutionRoot root, Type service, Func`2 constraint, IEnumerable`1 parameters, Boolean isOptional, Boolean isUnique)
         at Touchpaper.Web.Console.MyNinjectControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType)
         at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName)
         at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory)
         at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
         at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
         at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



      Request information:
          Request URL: http://localhost/LDSDSandpit.Webaccess.Explicit/wde
          Request path: /LDSDSandpit.Webaccess.Explicit/wde
          User host address: ::1
          User: 
          Is authenticated: False
          Authentication Type: 
          Thread account name: domain\user

      Thread information:
          Thread ID: 10
          Thread account name: domain\user
          Is impersonating: False
          Stack trace:    at Ninject.ResolutionExtensions.GetResolutionIterator(IResolutionRoot root, Type service, Func`2 constraint, IEnumerable`1 parameters, Boolean isOptional, Boolean isUnique)
         at Touchpaper.Web.Console.MyNinjectControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType)
         at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName)
         at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory)
         at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
         at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
         at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


      Custom event details:

      Event Xml:
      <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
        <System>
          <Provider Name="ASP.NET 4.0.30319.0" />
          <EventID Qualifiers="32768">1309</EventID>
          <Level>3</Level>
          <Task>3</Task>
          <Keywords>0x80000000000000</Keywords>
          <TimeCreated SystemTime="2014-06-19T10:21:30.000000000Z" />
          <EventRecordID>117591</EventRecordID>
          <Channel>Application</Channel>
          <Computer>servername.CCC.Cambridgeshire.gov.uk</Computer>
          <Security />
        </System>
        <EventData>
          <Data>3005</Data>
          <Data>An unhandled exception has occurred.</Data>
          <Data>6/19/2014 11:21:30 AM</Data>
          <Data>6/19/2014 10:21:30 AM</Data>
          <Data>f5abad2ebcfc456c8c10551839212e4c</Data>
          <Data>1338</Data>
          <Data>60</Data>
          <Data>0</Data>
          <Data>/LM/W3SVC/1/ROOT/LDSDSandpit.WebAccess.Explicit-1-130474903343137751</Data>
          <Data>Full</Data>
          <Data>/LDSDSandpit.WebAccess.Explicit</Data>
          <Data>C:\Program Files (x86)\LANDesk\LDSD Sandpit\WebApp\WebAccess\</Data>
          <Data>servername</Data>
          <Data>
          </Data>
          <Data>4052</Data>
          <Data>w3wp.exe</Data>
          <Data>domain/user</Data>
          <Data>ArgumentNullException</Data>
          <Data>Cannot be null
      Parameter name: service
         at Ninject.ResolutionExtensions.GetResolutionIterator(IResolutionRoot root, Type service, Func`2 constraint, IEnumerable`1 parameters, Boolean isOptional, Boolean isUnique)
         at Touchpaper.Web.Console.MyNinjectControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType)
         at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName)
         at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController&amp; controller, IControllerFactory&amp; factory)
         at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
         at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
         at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)

      </Data>
          <Data>http://localhost/LDSDSandpit.Webaccess.Explicit/wde</Data>
          <Data>/LDSDSandpit.Webaccess.Explicit/wde</Data>
          <Data>::1</Data>
          <Data>
          </Data>
          <Data>False</Data>
          <Data>
          </Data>
          <Data>domain/user</Data>
          <Data>10</Data>
          <Data>domain/user</Data>
          <Data>False</Data>
          <Data>   at Ninject.ResolutionExtensions.GetResolutionIterator(IResolutionRoot root, Type service, Func`2 constraint, IEnumerable`1 parameters, Boolean isOptional, Boolean isUnique)
         at Touchpaper.Web.Console.MyNinjectControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType)
         at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName)
         at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController&amp; controller, IControllerFactory&amp; factory)
         at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
         at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
         at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)
      </Data>
        </EventData>
      </Event>

        • 1. Re: New Install 7.7.1 Problems to Opening WebAccess and Integrated Console
          dmshimself ITSMMVPGroup

          It looks as though some of those virtual directories have been created by hand as the names don't quite tie up with what would be produced if you created an instance using the configuration tool.  I'd go back to basics and delete all the configurations and just create a single, standard instance and get that working with explicit login and console, the simplest version to get working.  Then create another integrated framework for console and get that working (there are articles up here somewhere on doing that).  You'd then be in a position to try the same with webaccess and integrated login.  Only then would I try creating my own virtual directories or setting up redirection.

          1 of 1 people found this helpful
          • 2. Re: New Install 7.7.1 Problems to Opening WebAccess and Integrated Console
            AndrewWard Apprentice

            Everything was created with the configuration tool but the default name was changed to LDSDSandpit from the default ServiceDesk so that additional environments could be created if needed.

            I have resolved the integrated logins on

                 //localhost/ss     and //localhost/LDSDSandpit.WebAccess.Integrated/ss     for self service

                 //localhost/wd    and //localhost/LDSDSandpit.WebAccess.Integrated/wd    for web desk

            The problem was caused by the database restore from the partner organisation which had unknown network logins associated with the users because it came from a different Active Directory Domain. Ensuring a valid domain\userid was entered in the Network Logins for the analyst allowed integrated logon.

             

            The blank untitled page is still displayed forhttp://localhost/LDSDSandpit.Console.Explicit/

                 //localhost/LDSDSandpit.Console.Explicit/

                 //localhost/LDSDSandpit.Console.Integrated/

            However I suspect these URLs are not supposed to work. I only found them by browsing the virtual folder from within the IIS Mgmt mmc. The same behaviour is seen on the source UAT system at the partner organisation.

             

            These explicit logons continue to function

                 //localhost/LDSDSandpit.WebAccess.Explicit/ss

                 //localhost/LDSDSandpit.WebAccess.Explicit/wd

             

            This leaves the Null argument exception as the outstanding problem on

                 //localhost/wde and //localhost/DSDSandpit.WebAccess.Integrated/wde

            • 3. Re: New Install 7.7.1 Problems to Opening WebAccess and Integrated Console
              Paul Hyman Expert

              Hi Andrew

               

              Thank you for using the LANDesk community.

              Also Dave thank you for all the assistance you provide for LANDESK customers.

               

              Following our phone conversation earlier today it was good to hear that you have now got a working test system.

               

              The blank untitled page is still displayed forhttp://localhost/LDSDSandpit.Console.Explicit/

                   //localhost/LDSDSandpit.Console.Explicit/

                   //localhost/LDSDSandpit.Console.Integrated/

              You are right they should be blank and they are not meant to work as a webpage. This is because they are frameworks for the console application to pass data through and you would point Console to them via the console.exe.config and consolex64.exe.config files.

               

              The issue we also faced on the our call was the network logon duplicate key error which was due to another user having the same network logon to what you was trying to create.  We found this out by writing a query on the User object and having the criteria as the Network Logins.Network Login

               

              Thanks

              Paul

              • 4. Re: New Install 7.7.1 Problems to Opening WebAccess and Integrated Console
                dmshimself ITSMMVPGroup

                I'm glad you've made some progress.  You don't need to rename a virtual directory by the way; just create a new instance and a new set of directories are created for you.  LDSD tends to 'know' what you have created using the configuration centre by storing the information in config files.  if you stick to using configuration centre for all of this type of thing, you should be fine.  Change things manually and you can trip over some bear traps.