ASP Problem with Access Portal

Discussion in 'Parallels Remote Application Server' started by SGM, Jul 12, 2011.

  1. SGM

    SGM Guest

    Dear All,

    I've recently installed Web Portal to run some tests on a Windows Server 2008 R2. The Administration Portal opened without problems, but with the Acces Portal for users appears this error.

    Code:
    Information
    Page: http://localhost:85/2XWebPortal/AppList.aspx
    Message: Se produjo una excepción de tipo 'System.Web.HttpUnhandledException'.
    
    + 	
    Stack Trace
      	Exception en System.Web.UI.Page.HandleError(Exception e)
    en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    en System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    en System.Web.UI.Page.ProcessRequest()
    en System.Web.UI.Page.ProcessRequest(HttpContext context)
    en ASP.applist_aspx.ProcessRequest(HttpContext context)
    en System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 
    Any clue? I'm rather new on Windows Server 2008 R2, but I could make it work on a previous Virtual Machine with the same OS.

    Thanks for your help


    Best regards
     
  2. gs

    gs Guest

    Hi there,

    - Do you use other 2x products either?
    - Please cross check with this to prepare the win2008r2 server.
    - Make sure the win2008r2 is NOT an AD.

    You might contact 2x support

    Kind regards,
     
  3. SGM

    SGM Guest

    Hi,


    Yeah, we're using application server on production and wanted to test the access via web portal for test purposes, it looks so interesing.

    As soon as I can I'll check all the configuration.

    Thanks for your help!
     
  4. I had that same issue initially and it was due to the 2x Web Portal setup not properly configuring the 2XWebPortal and 2xWebService directories as applications in IIS. In addition to the steps outlined in the previous link, here are the additional steps I followed that made everything work on my own 2008 R2 install:

    1. Edit the bindings on the 'Default Web Site' in IIS (launch IIS Admin, expand server - sites - right-click on 'Default Web Site' and select 'Edit Bindings')
    2. Find the binding for HTTP, click on it, and click the Edit button
    3. Change the port to another random non-conflicting port (I chose '8000') and then click OK and Close
    4. Run IIS reset from an elevated command prompt and, if the 2x Secure Gateway is on the same box, cycle the 2x services (or reboot)
    Note: If running everything on one box, you can verify only 2x is listening on port 80 as follows:
    - Regardless of whether UAC is enabled, open an elevated command prompt (right-click on icon and select 'Run As Administrator')
    - From this window, run 'netstat -aon | find ":80"' and note the 4 digit number at the far right (ex, 1908)
    - From the same window, run 'tasklist /fi "PID eq 1908"' (change the number to yours from the above) and you should only have '2XProxyGateway.exe' listed
    5. From an elevated command prompt, again regardless of the state of UAC, switch to the dir with the 2X Web Portal installer and run 'msiexec /i 2XWebPortal.msi' and complete the installation as desired
    6. Launch IIS Administration and verify the 2x directories underneath the 2X Web Server site exist and are configured as applications (they should have what looks like a piece of paper in front of a world icon)

    If all went well, you should be ready to go. If it didn't, run the MSI from the elevated command prompt a second time and check again. On one server, I had to run the MSI 3 times before it installed properly.

    Hope this helps.
     
  5. sadilza

    sadilza Bit poster

    Messages:
    1
    This redirect works on my android.
    Could I / Should I convert to LC server side scripts?
     

Share This Page