Web Interface for Resource Manager 2.2

234

Got Citrix Resource Manager? Try out Web Interface for Resource Manager! Web Interface for Resource Manager is an ASP.NET 2.0 web application that contains several SQL queries to display useful information contained in the Citrix Resource Manager Summary Database.

version 2.2

UPDATE March 1, 2007 – The resolution to errors received when saving your configuration is posted in the Known Issues section of this article.

Got Citrix Resource Manager?  Try out Web Interface for Resource Manager!

Web Interface for Resource Manager is an ASP.NET 2.0 web application that contains several SQL queries to display useful information contained in the Citrix Resource Manager Summary Database.  Web Interface for Resource Manager displays this information in a drill-down graphical and tabular manner.

What’s new in version 2.2?
Web Interface for Resource Manager version 2.2 includes everything in version 2.1, plus the following new features:

  • New information on the Client report
    • When no client version is stored in the Citrix Resource Manager Summary Database, the Client report performs a lookup based on the build number.  Special thanks goes to Alex Danilychev for creating a Client Build vs. Version chart.
    • The Client report has an icon that will show all workstations that have used a particular client. 
    • When you click on the user icon in the Client report, the workstation the user used to launch the session is displayed in the report.
  • There are 3 new features on the Client report:

  • Microsoft Excel exports on every tabular report
    The ability to export viewed results to Microsoft Excel is now on every report that presents tabular data.
  • Active Directory group security for Configuration options
    The configuration page is now optionally securable by specifying an Active Directory group in the configuration page.
  • Web.Config connection string encryption
    When you enter your database connection details in the configuration page, the resulting connection string that is stored in Web.Config is now encrypted.

 

  • Active Directory group security for Configuration options
    The configuration page is now optionally securable by specifying an Active Directory group in the configuration page.

 

  • French Translation
    Thanks to Laurent FALGUIERE, there is now a French translation of Web Interface for Resource Manager.  Resource Manager for Web Interface is also in German (thanks to Josef Zeiler), Dutch (thanks to Michel Roth), and English.

 

  • Farm name display in page titles
    The name of your farm is now displayed in the title of each page.  This helps keep things straight when you have multiple farms and an instance of Web Interface for Resource Manager for each farm.

Another thanks goes to Michel Roth for creating a Web Interface for Resource Manager Premo.  What is a Premo? “A Thincomputing.net Premo is a crossover between a preview and a demo of a new (version of a) product or technology in the field of Server Based Computing and Virtualization.”  Be sure to check it out…

  Download Web Interface for Resource Manager version 2.2 (for Presentation Server 3.0 and above) 

What’s on the radar for the future?

  • More “higher level” reports – meaning more reports that show entire farm data.  These reports will include drill down capabilities in to some of the more granular existing reports. 

Known issues

Issue
You receive a message stating “In order to modify configuration settings, the ASP.NET process account (either the local ASPNET or Network Service account, by default) must have write permission granted for the Web.config file in the web site directory.”

Resolution
Make sure the NETWORK SERVICE account (or whichever account is configured for the IIS Application pool identity WI RM is in) has write access to the directory where Web.Config resides. This is due to the way the Configuration.Save() method works in the .Net Framework. When this method is called, a temporary config file is created before overwriting the Web.Config file. If the NETWORK SERVICE account does not have write access to the directory, the temporary file cannot be created and you will receive the error message stated above. Also, ensure Web.Config is not a Read Only file.

If all database tables are not owned by dbo, you will receive errors. For more explanation on this phenomenon, see this article.

If you do not properly set up your database authentication, you will not be able to view any reports. Please refer to this article for database authentication guidelines.

Note: Version 2.2 is only intended for Presentation Server 3.0 and above. This is due to the differences in the Resource Manager Summary Database schema.  The MetaFrame XP Summary Database schema does not include the tables necessary to generate these new reports. Please use Web Interface for Resource Manager Version 1.1 for MetaFrame XP.

Screen Shot of Web Interface for Resource Manager’s GUI Configuration Tool


Click to enlarge

Be sure to check out Access Tracking Manager (ATM) from XTS as well. ATM leverages Microsoft SQL Server Analysis Services and OLAP Cubes to provide even more detailed reports for your Citrix environments.

234 thoughts on “Web Interface for Resource Manager 2.2

  1. Was investigating upgrading from v2.0 to 2.1 this morning, and low and behold v2.2 comes out! Works like a dream. the new reports look just the job.

    Well done Jason!

  2. If you saw my last post on 2.1, having issues getting web.config to save out. Jason, can you send me the connection string info and I will create it manually?

    Thanks,
    Bruce Noe

  3. Great app! I just upgraded from 2.1 to 2.2 in our dev environment and I receive this error after completing the configuration setup. I’ve never set a UTC Offeset before – must I now?

    Object reference not set to an instance of an object.
    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.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    Line 74: protected void loadDays()
    Line 75: {
    Line 76: float utcOffset = float.Parse(Session[“utcOffset”].ToString());
    Line 77:
    Line 78: // Start our query 7 days before the start of the month

    Source File: d:\inetpub\intranet\ws.dev.kcc.com\ctxresmgr\calendar.aspx.cs Line: 76

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    _Default.loadDays() in d:\inetpub\intranet\ws.dev.kcc.com\ctxresmgr\calendar.aspx.cs:76
    _Default.Page_Load(Object sender, EventArgs e) in d:\inetpub\intranet\ws.dev.kcc.com\ctxresmgr\calendar.aspx.cs:45
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +47
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

  4. You don’t need to provide a UTC Offset override. Make sure Default.aspx is your start page though. Default.aspx determines whether to use your client UTC Offset or the UTC Offset Override specified in Web.Config.

  5. Jason,
    Installed 2.2 over 2.1, setup the cofnigration and it created the web.config. Now when i access I get this error:
    An error has occured attempting to read the configuration. The error message is:

    Failed to decrypt using provider ‘DataProtectionConfigurationProvider’. Error message from the provider: Key not valid for use in specified state. (Exception from HRESULT: 0x8009000B)

    Any ideas? Thanks much.

  6. What should the syntax be of the database connection tried various and getting a different errors. Have checked i can connect via MS Access link tables to the DB.

    In Database server i have tried. Servername ; Servername\instancename ; \\servername\instancename ;

    In Database name i have tried, instancename; dbname

    Any help greatly recieved !

  7. Still waiting on how to send you a PayPal donation. 🙂

    One little error I found was with RDP connections in the Client Report Section, viewing either users or computers:

    Index and length must refer to a location within the string.
    Parameter name: length

    Line 48: string strClientVersion = Request.QueryString[“v”];
    Line 49:
    Line 50: if (strClientVersion.Substring(0, 1) == “c”)
    Line 51: strClientVersion = ” “;

    [ArgumentOutOfRangeException: Index and length must refer to a location within the string.
    Parameter name: length]
    System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +2846919
    System.String.Substring(Int32 startIndex, Int32 length) +11
    clientsByUser.getData() in m:\Inetpub\wwwroot\CitrixRM2.2\clientsByUser.aspx.cs:50
    clientsByUser.Page_Load(Object sender, EventArgs e) in m:\Inetpub\wwwroot\CitrixRM2.2\clientsByUser.aspx.cs:40
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +47
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

  8. In addition to the Process Report, I would also love to see a report on how the users are connecting:

    Launched Using: WI (via Secure Gateway)
    Launched Using: ICA Client
    Launched Using: PNAgent

  9. I have two entries in the LU_FARMNAME table because I also capture RM Summaries from a Remote Access Farm, I know, shame on me.

    My request is; could you set the “Farm Name” in your reports to use PK_FARMNAMEID = 1 or possibly allow for selection if more than one entry exists in that table?

  10. Is there a way to hide the Configuration portion of the web page?

    I’d like to publish the site for our Intranet folks to see but not with the DB credentials in clear text, or if the portion of the web page could be hidden would be better.

  11. Jason , First of all would like to Thank you on your fantastic effort. This is really one of the best Citrix Add-On / Thirdparty utility with immense value. I have been using reporting feature quite heavily and I m not sure if i m understanding correctly or there is some discrepancies in the report

    Scenario 1: I start the RM for Web and Usage Calendar Comes up. I drop down in the application list , select the application and Click Submit. I get the calendar with USERS and Application Name coloumn. When I click the application name I get the bar graph per hour with no users for both “All Sessions and Unique Sessions”. I get values from there. Then I goto Applications –> Concurrent Usage , I select the date and Click and Submit. When I check the Concurrent sessions No its differnt from what i Get from Usage Calendar report.

    Questions :

    1. Are the values meant to differnt or same and what is the realtion between these two reports.

    2. When I goto Applications –> Concurrent Usage and If i select date of 02/19/2007 to 02/19/2007 I get the report for 02/18/2007. Need to know what are the timings used in these reports.

    3. If i Slect date 02/18/2007 and 02/20/2007 for report genreation in Applications –> Concurrent usage I get a totally differnt number which is quite big. Is this number average of all the days or just the biggest no of the days selected for Report Generation.

    Thanks
    Sunil Pawar

  12. I get the same error…. web.config will not save.
    I gave both the aspnet & network service account write permissions.
    What did you do to solve the issue?

  13. Both of these issues are addressed in the version 2.2 release. First, by default, database credentials are encrypted in Web.Config. Second, if you specify an Active Directory Group in the Administration Group field on the Configuration Page, only members of that group will be able to access the configuration page (the link to the configuration page will be hidden as well for users that are not a member of the Administration Group).

  14. This error isn’t exactly “another example of excellent coding” as the title of your comment states. This is actually an oversight (bug) on my part. Thanks to your detailed description, I have corrected this issue. You can re-download version 2.2 for the fix.

    Also, I am not trying to solicit donations, but if you just have money burning a hole in your pocket, click here.

  15. Answers to your questions:
    1. The Usage Calendar does not report concurrent usage. The Usage Calendar reports the number of unique users that logged on to your farm per day.
    2. When entering dates, since I am not prompting for times, the time of 12:00 AM is used by default from the .Net Framework. If you have a negative UTC offset, this will actually grab values in the previous day. I think a good feature enhancement would be to add a time value to the selection criteria.
    3. The number displayed in the Concurrent Usage report for either servers or applications is the highest number of concurrent users during the time span specified.

    Hope this helps.

  16. Hey there Jason

    Firstly i would like to say this site is fantastic we use it to get a quick view of the 5 farms we have going… which this tool lets us do quick and easy..

    BUT! if everything was just fine i wouldn’t write this message 😀
    The problem is the webserver we have going is 24h on the clock which is no problem BUT! the database server hosting the datastore is 12h, and is using US calender (and yeah the webserver is using european calender… and the database server is using US…)
    Which gives problem on the convert (i’m no programmer but i think this was the problem.. hehe..)
    BTW. i’m using 2.1 if this is corrected in 2.2 just post that.. 😀

    I then had one of our programmer dude’s look your code through and he corrected the problem on that site (allthough he couldn’t do it on server metrics since the cs has been compiled…)

    I sent you a mail but i didn’t get any response guess you get alot of mails.. 😀
    Hope you can see the problem in the post i created…

  17. Hi,
    I am facing problem with graphs displays.
    All the requests are OK.
    The only graph that is displayed is ServerMetrics.
    All the other are blank. The Flash PlugIn is well loaded and functional (drag and drop FC2Area3D.swf works fine)
    All the table are owned by dbo
    The WebServer has it is owned ApplicationPools (IIs is also hosting the WI 4.0)
    A error occurs on IE6 :
    Line: 301
    Char: 1
    Error: Objetct Expected
    Code: 0
    URL: http://127.0.0.1/appsConcurentUsage.aspx

    Thanks for your help and this great Tools.
    DAviD

  18. Hello Morten,
    I haven’t tried your setup in a lab environment yet to do some troubleshooting. However, I did change almost all of the date functions in version 2.2 to accommodate the French translation. Check out version 2.2 and let me know.

    P.S. I do get a lot of email and I try to answer it all. I apologize for letting your email slip through the cracks.

  19. Hi, i’ve installed the versoion 2.2 but i becam this error:

    Compilation Error
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS0006: Die Metadatendatei C:\S2K3\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll konnte nicht gefunden werden.

    c:\s2k3\system32\inetsrv> “C:\S2K3\Microsoft.NET\Framework\v2.0.50727\csc.exe” /t:library /utf8output /R:”C:\S2K3\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll” /R:”C:\S2K3\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll” /R:”C:\S2K3\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll” /R:”C:\S2K3\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll” /R:”C:\S2K3\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll” /R:”C:\S2K3\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll” /R:”C:\S2K3\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll” /R:”C:\S2K3\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\citrixreportsv22\c2442863\b169eaf8\assembly\dl3\e5f343a3\005a67e7_425ac701\conuse.DLL” /R:”C:\S2K3\assembly\GAC_32\System.Data.OracleClient\2.0.0.0__b77a5c561934e089\System.Data.OracleClient.dll” /R:”C:\S2K3\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll” /R:”C:\S2K3\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll” /R:”C:\S2K3\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll” /out:”C:\S2K3\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\citrixreportsv22\c2442863\b169eaf8\de-DE\App_GlobalResources.jgdiefgj.resources.dll” /debug- /optimize+ /res:”C:\S2K3\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\citrixreportsv22\c2442863\b169eaf8\resources.wirm.de-de.resources” /w:4 /nowarn:1659;1699 “C:\S2K3\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\citrixreportsv22\c2442863\b169eaf8\App_GlobalResources.jgdiefgj.de-DE_0.cs”

    Microsoft (R) Visual C# 2005, Compilerversion 8.00.50727.42
    für Microsoft (R) Windows (R) 2005 Framework, Version 2.0.50727
    Copyright (C) Microsoft Corporation 2001-2005. Alle Rechte vorbehalten.

    error CS0006: Die Metadatendatei C:\S2K3\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll konnte nicht gefunden werden.

    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

    Can you Help me?

  20. First of all, really great work, Jason …

    The only thing i’m missing is a link from Applications to users view ,like in Clients view. I’ve seen, that it’s possible to do this form the Calender view, but it would be great to do this espescially for Cuncurrent users.

  21. First off, a great product and many thanks. When I attempt to do a search by username on user report, I receive no data back. Any suggestions?

  22. Thanks Jason. You helped in lot of queries. But still could not understand one query. hopefully whenever you have some time can you plesase shed some light on it

    If i Slect date 02/18/2007 and 02/20/2007 for report genreation in Applications –> Concurrent usage I get a totally differnt number which is quite big. Is this number sum of all the days or just the biggest no of the days selected for Report Generation. Whereas if i select individually dates of 02/18/2007 , 02/19/2007 and 02/20/2007 and genreate reports i get smaller no for same application

    thanks
    Sunil

  23. i have followed the install instructions to the letter, and are now presented with the configuration page, and no matter how i try i cannot get the “test configuration” to work. the error i keep getting is “logon failed for user “NT Authority/network service”.

    Sorry if i am being dumb but my knowledge of SQL can fit on a postage stamp.

    Can anyone suggest what i am doing wrong.

  24. Jason,

    I see old servers that no longer exist, showing up in the WIRM tool. How do I cleanup the database of these old servers/entries?

  25. Hi all,
    I have installed and can use the manage access day detail, usuage calendar bu that’s about it. looking at other posts it would appear that i should have a configuration console and various other bits.

    also I only get some of my users in the manage access list and no groups . can someone clarify this.

    The tool looks fantastic and i would love to use it once i can get these issues sorted out

  26. Hi Jason,
    first of all would like to congratulate with you about the product.
    It is lean and functional.
    I also would like to ask you if it is compatible with PS 4.5
    I tried to launch it against a DB created by 4.5 and I got the following:

    Server Error in ‘/WIRM’ Application.
    ——————————————————————————–

    Invalid object name ‘SDB_SESSION’. SELECT CONVERT(VARCHAR, DATEADD(hh, -4, SESSIONSTART), 111) AS sessionDate, COUNT(DISTINCT(FK_USERID)) AS sessionsStarted FROM SDB_SESSION WHERE SESSIONSTART BETWEEN ‘2/22/2007’ AND ‘4/8/2007’ GROUP BY CONVERT(VARCHAR, DATEADD(hh, -4, SESSIONSTART), 111)
    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.Exception: Invalid object name ‘SDB_SESSION’. SELECT CONVERT(VARCHAR, DATEADD(hh, -4, SESSIONSTART), 111) AS sessionDate, COUNT(DISTINCT(FK_USERID)) AS sessionsStarted FROM SDB_SESSION WHERE SESSIONSTART BETWEEN ‘2/22/2007’ AND ‘4/8/2007’ GROUP BY CONVERT(VARCHAR, DATEADD(hh, -4, SESSIONSTART), 111)

    Source Error:

    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

    1. Add a “Debug=true” directive at the top of the file that generated the error. Example:

    or:

    2) Add the following section to the configuration file of your application:

    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

    Stack Trace:

    [Exception: Invalid object name ‘SDB_SESSION’. SELECT CONVERT(VARCHAR, DATEADD(hh, -4, SESSIONSTART), 111) AS sessionDate, COUNT(DISTINCT(FK_USERID)) AS sessionsStarted FROM SDB_SESSION WHERE SESSIONSTART BETWEEN ‘2/22/2007’ AND ‘4/8/2007’ GROUP BY CONVERT(VARCHAR, DATEADD(hh, -4, SESSIONSTART), 111)]
    DataAccess.getCalendarDataSQL(Single utcOffset, DateTime startDate, Int32 appID) +1029
    DataAccess.getCalendarData(Single utcOffset, DateTime startDate, Int32 appID) +85
    _Default.loadDays() +229
    _Default.Page_Load(Object sender, EventArgs e) +402
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +47
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

    ——————————————————————————–
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

  27. Reading your comments, it looks like you are talking about the Web Interface Access Control Center (WIACC) instead of Web Interface for Resource Manager. For WIACC, make sure you are specifying the LDAPDomain correctly.

  28. After Fixing the permissions to the folder that contains the web.config file. I save the configuration adn then the link took me to calendar.aspx and this error should up on the web page:

    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.Data.OracleClient.OracleException: ORA-00933: SQL command not properly ended

    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:
    [OracleException (0x80131938): ORA-00933: SQL command not properly ended
    ]
    System.Data.OracleClient.OracleConnection.CheckError(OciErrorHandle errorHandle, Int32 rc) +204
    System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, Boolean needRowid, OciRowidDescriptor& rowidDescriptor, ArrayList& resultParameterOrdinals) +1020
    System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, ArrayList& resultParameterOrdinals) +25
    System.Data.OracleClient.OracleCommand.ExecuteReader(CommandBehavior behavior) +138
    System.Data.OracleClient.OracleCommand.ExecuteDbDataReader(CommandBehavior behavior) +4
    System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +7
    System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +141
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +83
    System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1770
    System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) +92
    System.Web.UI.WebControls.ListControl.PerformSelect() +31
    System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
    System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
    System.Web.UI.WebControls.ListControl.OnPreRender(EventArgs e) +26
    System.Web.UI.Control.PreRenderRecursiveInternal() +77
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360

  29. Try replacing your Web.Config with the Web.Config from the original download. Then, when you go to the site, you should be taken to the configuration page. Re-configure your parameters for database connection, language, etc. Also, which version of Oracle are you using? Which language are you choosing (English, Dutch, German, or French)?

  30. I am also using English and the language. I copied the web.config file as you stated earlier and reconfigured my settings. but this error is still popping up. Does it have anything to do with the version of the Oracle database I am using?

  31. Hi, Jason.
    I’m using windows authentification only. I’m getting an error Login failed for user ‘Domain name\Machine name$’ when I run a test connection. How do I set it up to take the username instead of the machine name for the authentification?
    Thanks.

  32. Hi Jason, I am having an issue with the web interface. I posted as guest earlier with the same problem. I wanted to give you a better perspective. I tested the connectivity to the database on the configuration page and the test was a success. When I hit save configuration, the page loads to configure.aspx and I get the above error.

    The Oracle database I am using is oracle 8i and the client installed on the server is 9i. I am using English as my language and thats about it. Resource manager seems to be working fine.

    Is there an issue with oracle 8i as the database server? I have read that people have had success with oracle 9. Are there certain sql commands that oracle 8i cannot understand that your program might be sending? I would really like to get this up and running.

    I am using PS4 on windows 2003 server sp1.

    Here is the stack trace:
    Stack Trace:
    [OracleException (0x80131938): ORA-00933: SQL command not properly ended
    ]
    System.Data.OracleClient.OracleConnection.CheckError(OciErrorHandle errorHandle, Int32 rc) +204
    System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, Boolean needRowid, OciRowidDescriptor& rowidDescriptor, ArrayList& resultParameterOrdinals) +1020
    System.Data.OracleClient.OracleCommand.Execute(OciStatementHandle statementHandle, CommandBehavior behavior, ArrayList& resultParameterOrdinals) +25
    System.Data.OracleClient.OracleCommand.ExecuteReader(CommandBehavior behavior) +138
    System.Data.OracleClient.OracleCommand.ExecuteDbDataReader(CommandBehavior behavior) +4
    System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +7
    System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +141
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +137
    System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +83
    System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1770
    System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) +92
    System.Web.UI.WebControls.ListControl.PerformSelect() +31
    System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
    System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
    System.Web.UI.WebControls.ListControl.OnPreRender(EventArgs e) +26
    System.Web.UI.Control.PreRenderRecursiveInternal() +77
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Control.PreRenderRecursiveInternal() +161
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360

  33. I too, would like to say what great tool this is. We are now getting 80% of the reporting we wanted out of RM in a simple installation/configuration.

    The only problems I am having is the export to excel is not working for the pages that use the Tabular control for the DataSource.

    The other problem is the links to show the client version by user and the client version by workstation don’t work and just refresh the Clients report.

    Any tips on how to get these items to work correctly?

    Thanks again!!!!

  34. This is exactly what I have been looking for. Many thanks are due to you. I can find no way creating an appropriate segue, so I’ll just say this: I found two interesting behaviors.

    In the Calendar.aspx page, if I access the “Filter by Application” drop down, I noticed that one of my apps doesn’t show. What’s interesting is that it doesn’t show if the start of the app name is “01” (that’s a zero). This is true no matter what comes after the “01” (we use the numbering to order the primary apps on the page). Not a huge thing, just interesting.

    The second thing is a bit more admin-y. I could not for the life of me get the configuration to save even when allowing ASPNET and NETWORK SERVICE modify rights to the web.config. I got around it manually, but just thought that it might be worth mentioning in case there was something else.

    In any case, excellent work, I am extremely grateful.

    Josh

  35. Never mind on config save, I had overlooked that the NETWORK SERVICE needed write access to the directory. [slaps forehead]

  36. Hi there,

    I was wondering if you have any plans for giving Resource Manager the abilty to connect to an MS Access Database.

    Cheers

    Steve

  37. Clarification, my “01” app does in fact show up; just minus the “01”. So if I publish the app as “01 Outlook 2003”, I see “Outlook 2003” in the dropdown list.

    So at least it’s there and maybe it’s just a display bug.

  38. I have followed the installation instructions and when browsing to the page to configure i get a 404 page not found. I have IIS installed on D: instead of C:
    2003 server R2 SP1 IE7 .NET 2.0
    Someone please kick the brain cell of mine that seems to be unbale to fire.
    Thanks

  39. Hello,

    i have tested your Tool with XP SP2 and it works fine …

    Then i moved to a W2k03 SP1 Server.
    When i test the connection, the following errormessage occur
    “Test failed!
    System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.”

    The oracle client is installed…

    I dont know, where is my problem..

    Thanks
    Jasc

  40. Need some help with the network service permission issue. I have the WIRM dir in my wwwroot folder and have given Network Service read/write permission. I verifed the IIS pool is running under the NS account but still can not save the config. Any ideas?

    Dave

    PS – Great Briforum, thanks for all the tips and tools!

  41. hello,
    I think there is a bug in getMetricXML.aspx.cs
    when I do a stat for processor usage for today 02 may 2007

    asp send this request to oracle

    SELECT sdb_metrics.metricupdatetime + (1 / 24) AS metricupdatetime,
    sdb_metrics.maxmetricvalue
    FROM sdb_metrics INNER JOIN lu_metric
    ON sdb_metrics.fk_metricid = lu_metric.pk_metricid
    WHERE (sdb_metrics.fk_serverid = ‘6’)
    AND (lu_metric.fk_objectid = ‘7’)
    AND (lu_metric.fk_metriccounterid = ‘7’)
    AND (lu_metric.fk_instanceid = ‘5’)
    AND (metricupdatetime BETWEEN TO_DATE (‘2007-05-02 11:00:00’,
    ‘YYYY-MM-DD HH24:MI:SS’
    )
    AND TO_DATE (‘2007-05-03 10:59:59’,
    ‘YYYY-MM-DD HH24:MI:SS’
    )
    )
    ORDER BY metricupdatetime

  42. Hi Jason,
    when I want to know which users/computers use a specific ICA or RDP – Client, I click on the symbol at the client report page. When the client has no version, a runtime error occurs. In Version 2.0 is this okay. What can I do?

    Thanks
    Michael

  43. Jason, First off, thank you for making this tool available to the community. Now if only I knew enough to make it work. 😉

    Is there a requirement for SQL server 2005 on the backend?

    I have a farm that was upgraded from XPe to PS4, RMSummary DB is on SQL server 2000 (nothing that I can change).

    I can enter the config and test the connection successfully, however, I cannot retrieve any reports. The error I get is:

    “An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server) ”

    In speaking with our SQL admin, he indicated that he does allow named pipes. Any ideas for me?

  44. do you have any plans to implement a “Top 5 Users” report?

    It’d be nice to know who the heavy users of the system are.

    Cheers.

  45. ….if i press link to appsfrequency.aspx. This is the only graphic (Flashplayer 9 installed) which is not working.
    clientreport.aspx is working.
    Config is SQL2000. Configuration/DB connection works. Read only flag removed/.NET 2.0 Network account settings okay…..
    still the same error
    using version 2.2
    Any hints?
    But, great tool anyway.

  46. Hi everybody,
    how is the time scale built in server metrics ?
    Here in Germany I get strange results in this slice – serverload decreases from midnight till early mornin, which seems quite impossible. Timescale of application usage is ok. How can this be fixed ?

  47. Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 14.05.2007 18:48:43
    Event time (UTC): 14.05.2007 16:48:43
    Event ID: 6b6491b19d0d43ad893599bd376e0ec6
    Event sequence: 8
    Event occurrence: 1
    Event detail code: 0

    Application information:
    Application domain: /LM/W3SVC/1/Root/RM-3-128236349228975594
    Trust level: Full
    Application Virtual Path: /RM
    Application Path: C:\Website\
    Machine name: SZHM9063

    Process information:
    Process ID: 3120
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE

    Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object.

    Request information:
    Request URL: http://szhm9063/RM/appsConcurrentUsage.aspx
    Request path: /RM/appsConcurrentUsage.aspx
    User host address: 10.16.1.65
    User:
    Is authenticated: False
    Authentication Type:
    Thread account name: NT AUTHORITY\NETWORK SERVICE

    Thread information:
    Thread ID: 1
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace: at applicationReport.Page_Load(Object sender, EventArgs e)
    at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
    at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
    at System.Web.UI.Control.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

  48. Hi Jason,

    Firstly, I would like to echo all the thanks and praise heaped on you by the other posters in response to such an excellent product.
    I’m coming from a ASP Classic background, and have been asked to see if I can filter the reporting to only allow two of our servers, and only an app with DQM in the name.
    Are you able to point me in the right direction to make the mods to do this?

    All the best,

    James
    Perth
    Western Australia

  49. I get Page not found error.
    I followed the install steps. I also added Default.aspx to content page. I never displays anything. Even in ISS when I right click on the Default.aspx file and select Browse it comes up with page not found error.
    Can someone help?

  50. Thanks for the info – is there a way to specify the port??? We have named instances, so our DB instance is not on 1433.

  51. Great Tool!
    But…..
    🙂
    I only can select from the “Top Ten” dropdown list “1” and “2”. From the other selections i get “An error occured….” in the macromedia flashplayer window

  52. Excellent tool… thank you!

    Unfortunately what I wanted most out of this was the concurrent usage reports which are not working for some reason.

    I’ve included the error below. Any help would be greatly appreciated.

    ———————–
    Request timed out.
    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.Web.HttpException: Request timed out.

    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:

    [HttpException (0x80004005): Request timed out.]

  53. Well I changed this line:
    DateTime dtLast30 = DateTime.Parse(Session[“maxDateExtreme”].ToString()).AddDays(-30);

    to ()).AddDays(-3);

    For the last 3 days. I did not get a timeout after I made that adjustment.
    I’m guessing some kind of connection/command timeout = 0 needs added in?
    I’m just not sure how or where to add it.

  54. I am located here in Seattle, WA – USA and I get a similar problem. It shows that most users on the system are during the night when in reality most of my users are during the day.

  55. In usage calendar , I selected the applications:

    I see only the diectly open public appications, but I see not the application is open in the seperate session (I open the public desktop with incl. publ.outlook). I see in “usage calendar” the desktop-connections.

  56. I did not see a response to this question. Is there a way to specify a specific port. We have 1433 shutdown for security reasons.

    I have used older versions of this product and love it. I would hate to lose it because of security.

  57. Great Tool but i have a problem with the exports, i always get this error :
    Internet Explorer cannot download usagereport.aspx for “MyserverName”
    Internet explorer was not able to open this internet site.
    The requested site is either unavailable or cannot be found. Please try again later.

    Any idea ?

    Thanks.

  58. I have the same thing but I can’t go beyond 1 app. The 2nd app in the list would have a “&” in the name and the 3rd app has a “!”.

    Maybe this is related to your issue.

  59. Hi Jason,

    Firstly I’d like to add my thanks for this excellent tool, the standard citrix method for accessing this data is severely lacking when compared to this !

    Secondly I’d like to agree with the above comment and ask if the next release could include a way of drilling down from the Application reports to get a list of users, this would be a very good way of checking if an application is actually being used !

    Many Thanks,

    Phill.

  60. This is a cool tool. Thanks for it. Question, i have mentioned a admin group name on the configuration page and it is hidden now. I am not able to see the page now eventhough i am part of that admin group. Could you please suggest what i should be looking at?

  61. Great Tool. As suggested in one of the thread, i had given admin group name to hide the configuration page. Eventhough i am part of the admin group, it is hidden for me also. Any suggestions to look at?

  62. We’re using published desktop solutions where the PN agent is installed on the server desktop. On client side we’re using Thin clients. If a user has Active Directory Permissions on an application, the icon is displayed on the published desktop.

    Now we discovered the following. If a user starts the published desktop and then a published application within the desktop, these applications didn’t get counted in the RM Webinterface.
    Is this by design or an error?

  63. Hi – I wanted to use this tool as it looks awsome but I cannot get past the configuration page.
    Test failed!
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server)

    I checked the remote connections and it is fine, the account has dbo as it is the same SQL login as my Citrix ODBC connection uses and it workes fine.

    Please help….

    AJ

  64. I get:

    Invalid postback or callback argument. Event validation is enabled using in configuration or < %@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

    on the page appsConcurrentUsage.aspx with .NET 2.0.50727.42

  65. I just upgraded to WI 2.2 while moving over the rmdb to SQL 2K5. My rmdb is working fine but I can’t pull anything from the website. Any ideas? This is the error message I get:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server)

  66. Figured it out. I granted the Network Service account Modify permissions on the directory containing the web.config and now it works fine. By the way, keep up the good work. This tool is extremely helpful.

  67. I have done eveything right I believe. I’m trying to run this from my PC (XP) I installed IIS and followed the instructions but I always get the message that this page cannot be displayed. Any ideas?

  68. Just a couple of side notes. I did put aspx in the document list and I reinstall .Net 2.0. Still nothing will display

  69. Same issue for me in regards to saving the web.config file.
    I granted permissions for aspnet and network service account. Also changed the table owner to dbo. But I am still getting the message…”In order to modify configuration settings, the ASP.NET process account (either the local ASPNET or Network Service account, by default) must have write permission granted for the Web.config file in the web site directory.”

  70. I got it! I ended up granting full rights to the network service and aspnet and it worked. I will scale back the rights to get the appropriate level w\o granting too many rights to aspnet and the network service account.

  71. Thanks you for great software. It makes ME look smart! But really, thanks for developing and most importantly sharing this great utility.

  72. Hi

    nice tool!
    But would be great if there is a posibility to generate a report in server metrics over several days “from – to” and over several servers not only one

    Best regards

    Mat

  73. Hey People,

    i’ve got a slight issue, hoping you may be able to help. Trying to edit the config on our WI for resource manager (2.2), getting access denied. No one in the company know’s who set the Website up or the correct account. Anyone know a way that we can make give a user config rights? Or do i have to reinstall the website?

    Cheers

    Chris.

  74. Really nice tool… I like it… 🙂
    But like the person above I would like an option to search by client name. Would be great if this would be implemented in the next version!

  75. I’m confused, do you need SQL 2005 for this to work? I did not think so, as at my last job we had SQL 2003 and WIRM 2.2 here at my new job we have SQL 2000 on Windows 2000 and I am getting the “Named Pipes Provider, error: 40 – Could not open connection to SQL server” error. It does not appear that I can telnet via port 1433, is there a permission issue I’m not seeing or something?

  76. You do not need SQL 2005 (in fact, the database I used to develop the project was a SQL 2000 database). However, WIRM does not currently support Named Pipes (only TCP/IP connections). Names Pipes support is available in the next version though.

  77. I have done the same, even going as far as making Network Sevice the owner of web.config, but I still cannot save changes to web.config, were you able to resolve this?

  78. Did you check permissions to the directory? Make sure the NETWORK SERVICE account (or whichever account is configured for the IIS Application pool identity WI RM is in) has write access to the directory where Web.Config resides.

  79. I love everything about this application, AWESOME, thanks.

    I have read that there are a lot of people that would like to get graphing over multiple days. What I would like to see is a graph showing the number of concurrent users for a specific application over a day (units in hours) and over multiple days\weeks (units in days using highest number of concurrent for that day).

    I have only been playing with this for about an hour and I LOVE IT. So far this is the only issue I have, great job. Thanks for giving back to the community, I hope one day to give back as 1/2 as much as you.

  80. Hello,

    Can someone post and example web.config file (with bogus values in it)? I have given NETWORK SERVICE full rights to the directory as mentioned several times on this site, but I still cannot get it to update the web.config file with the configuration settings.

    So I would like to just manually update the file and be done with it – but I don’t know the correct format of the settings.

    Thus – if someone could post one of their files and just change the private stuff in it (like passwords, users names and servers names) to something generic, I would appreciated it.

  81. I’ve read this entire page and followed the instructions to the letter and I am still not able to view the default page. I’ve completely blown security out fo the window in my attempt to find the issue. It’s not possible to open the inetpub directory anymore than I have an dI still get this error.

    Any suggestions?

    Thank you 🙂

  82. When attempting to connect using Windows authentication to the our SQL 2005 database, I recieve an error stating that the database is not configured to accept remote connections and that this is a default behavior of SQL 2005. This is incorrect. SQL 2005 accepts remote connections and is a default setting.

    Is there a way around this? I would like to use this utility because it sounds awesome and appears to be just the reporting utility that I need.

    Thank you.

  83. I’m working on supporting named pipes. In the meantime, is it possible for you to support both TCP/IP and named pipes on your SQL 2005 server? I can give you instructions on how to do this if you like.

  84. I’m working on supporting named pipes. In the meantime, is it possible for you to support both TCP/IP and named pipes on your SQL 2005 server? I can give you instructions on how to do this if you like.

  85. You can modify the AdminGroup property in web.config. Look for the following line:

    <add key=”AdminGroup” value=”group” />

    Change this to any AD group, or just remove the value to allow all users config rights.

  86. I’m sorry you are experiencing difficulties with saving the configuration through the web site. Here is a sample web.config (English version) that you can modify with you values to get it to work:

    <?xml version=”1.0″?>
    <configuration xmlns=”http://schemas.microsoft.com/.NetConfiguration/v2.0″>
    <appSettings>
    <add key=”TimeZoneUTCOffset” value=”” />
    <add key=”AdminGroup” value=”” />
    </appSettings>
    <connectionStrings>
    <add name=”rmsummarydbConnectionString” connectionString=”Data Source=[your sql server];Initial Catalog=[your rm db];Persist Security Info=True;User ID=[sql user id];Password=[sql password];Current Language=English”
    providerName=”System.Data.SqlClient” />
    </connectionStrings>
    <system.web>
    <identity impersonate=”true” />
    <sessionState mode=”InProc” cookieless=”false” timeout=”600″/>
    <globalization requestEncoding=”utf-8″ responseEncoding=”utf-8″
    culture=”en-US” uiCulture=”en-US” enableClientBasedCulture=”false”
    responseHeaderEncoding=”utf-8″ enableBestFitResponseEncoding=”false” />
    <pages theme=”WIRM”/>
    <compilation debug=”false”>
    <assemblies>
    <add assembly=”System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089″/></assemblies></compilation>
    <authentication mode=”Windows”/>
    </system.web>
    </configuration>

  87. It may be that your SQL server is not set up for SQL authentication. To check this, open SQL Server Management Studio, right click on your server name, choose Properties, select Security, ensure that “SQL Server and Windows Authentication mode” is selected.

  88. Hello Guest.
    At first, I was taken aback by this comment. But, your insightful comment is not far off. I get a lot of emails surrounding this sight (and I have tended to give them priority). So, I have gone back through the comments and updated with some suggestions.

  89. Thanks for making this available. Simple and easy to use. I can’t wait for the additional reporting. One thing I would like to see is a report that not only shows last login, but every login for all users that can export to excel. Thanks again.

  90. Great Tool!!
    I am looking for the same functionality. It would be even better if there was ability to select a timeline in the day and report for a number of days, weeks and months on this timeline. This would allow for the exclusion of non-production idle times.

  91. Hi Jason

    I am unable to connect as we have sql setup to use port 1445 instead of 1433 is there a work around or will there be an option to select a different port in the next version. BTW when will the next version be.

    Thanks for your time
    Chris

  92. Jason – How do I make it so I can see the data sooner? Currently I can only see the data from yesterday and beyond. I would like to be able to see the data from today if possible…

  93. You need to perform a summary database update. The summary database is updated once daily. In pres 4.0 click Resource Manager – Summary Database – update now. It will take about 15 or 20 minutes if you have a very large farm. To change the summary database settings, click the configure button. johnny blizzard

  94. I installed PS 4.0 with the default MSDE using the batch file provided by Citrix. WIRM will not accept the username/password provided.

    I can use the same username/password for the MS SQL Server Management software. I even enabled SQL and Windows authentication. Both the window account and SQL account can login. But not to WIRM. The summary database appears to be working fine on Citrix.

    Any Ideas?

    Thank you,
    Ryan

  95. You have this error when you session Expire (for exemple the user go to drink a coffee between 2 clicks 🙂 ).
    Can I Suggest to add
    if (Session[“utcOffset”] == null)
    Response.Redirect(“Default.aspx”);
    to all the pages ?
    I see that these 2 lines are on a few page…

  96. Gotcha… that works, however is there a way to make the Summary Database update more than once a day, without manually going into the CMC?

  97. thanks jason for this tools

    someone can help me for these problems ?

    Black screen in appsConcurrentUsage.aspx view
    no information in appsFrequency.aspx view
    no information in clientReport.aspx

    information in/sessionDetail.aspx?sessionID=8 are ok with client version

    dbo is owner on all tables for the db

    chris

  98. I am getting the following error. I am trying to install on my XP workstation. I am also using this against a PS 4.5 Farm.

    Server Error in ‘/CitrixWebReport’ Application.
    ——————————————————————————–

    Failed to access IIS metabase.
    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.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.

    The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.

    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:

    [HostingEnvironmentException: Failed to access IIS metabase.]
    System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) +3609834
    System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath vpath) +9
    System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +169
    System.Web.CachedPathData.GetConfigPathData(String configPath) +382
    System.Web.CachedPathData.GetConfigPathData(String configPath) +243
    System.Web.CachedPathData.GetApplicationPathData() +68
    System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3503459
    System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189

    ——————————————————————————–
    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

  99. I am getting the following error. I am trying to install on my XP workstation. I am also using this against a PS 4.5 Farm.

    Server Error in ‘/CitrixWebReport’ Application.
    ——————————————————————————–

    Failed to access IIS metabase.
    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.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.

    The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.

    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:

    [HostingEnvironmentException: Failed to access IIS metabase.]
    System.Web.Configuration.MetabaseServerConfig.MapPathCaching(String siteID, VirtualPath path) +3609834
    System.Web.Configuration.MetabaseServerConfig.System.Web.Configuration.IConfigMapPath2.MapPath(String siteID, VirtualPath vpath) +9
    System.Web.Hosting.HostingEnvironment.MapPathActual(VirtualPath virtualPath, Boolean permitNull) +169
    System.Web.CachedPathData.GetConfigPathData(String configPath) +382
    System.Web.CachedPathData.GetConfigPathData(String configPath) +243
    System.Web.CachedPathData.GetApplicationPathData() +68
    System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +3503459
    System.Web.Configuration.RuntimeConfig.GetLKGRuntimeConfig(VirtualPath path) +189

    ——————————————————————————–
    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

  100. Using filemon, I was able to find that it was using the internet guest account to try and write the temporary file. I had to grant it the rights.

    Do I have something mis-configured? The identity tab of the application pool says it’s using Network Service.

  101. Hi and great Application!

    Just wondering if there was any way to get the metric information over a date range? For example the maximum CPU% Time looking at all of December?

    Thanks.

  102. For a feature enhancement I’d like to see the ability to display unique users on an per application basis. Another nice feature would be the ability to export the screen to a PDF – it would make reporting very nice and portable to give to users.

  103. Correction – I’d like to see the total of unique users. At the moment I have to add them up, but seeing a total number would rock!

  104. So I get the calendar but when I click users I dont get any report graphic. I see in the known issues section that there might be something wrong with the DB auth but the link just points to a MSDN page on a overview of SQL Auth…we are using Mixed mode on SQL 2005. Anyway, how do I “Troubleshoot” this issue?

  105. Jason,

    We moved the RM DB to another server, and now when I go to the WIRM site I get a SQL error stating “Cannot open database requested in login ‘xxxxx’. Login fails. Login failed for user ‘xxxxx’.”

    I go to the configure webpage and I get an access denied. I am in the group specified on the AdminGroup line.

    How do I get to the configure page so I can update the databse location… and make the above access denied error go away?

  106. Jason,

    We moved the RM DB to another server, and now when I go to the WIRM site I get a SQL error stating “Cannot open database requested in login ‘xxxxx’. Login fails. Login failed for user ‘xxxxx’.”

    I go to the configure webpage and I get an access denied. I am in the group specified on the AdminGroup line.

    How do I get to the configure page so I can update the databse location… and make the above access denied error go away?

  107. Hi

    May I add myself to the list of the impressed. Seems to be a great tool.

    I have only just come across this tool and tried setting up v2.1 on my PS4.5 farm. Authentications worked fine but some pages failed. I then spotted v2.2 so switched to that version. I now cannot authenticate 🙁 I get the error:
    Test failed!
    Login failed for user ‘(null)’. Reason: Not associated with a trusted SQL Server connection.

    Any ideas???

    Regards

    Dave

  108. The easiest way it to overwrite your web.config file with the original from the download. This will allow you to specify new values. FYI, the reason this happened is because Web.config is encrypted with a machine key. Since you changed machines, Web.config coudln’t be un-encrypted.

  109. So I get the calendar but when I click users I dont get any report graphic. I see in the known issues section that there might be something wrong with the DB auth but the link just points to a MSDN page on a overview of SQL Auth…we are using Mixed mode on SQL 2005. Anyway, how do I “Troubleshoot” this issue?

  110. We have been using webrm on multiple farms and i must say it works fantastic.
    Recently we set webrm up to cvonnect to 2 new farms, seperate rmsummarydb’s. Both are CPS 4.5. And both are displaying duplicate server entries in the server metrics dropdown boc. One server listing has no info and the other does. Has anyone seen this?
    Is there a workaround? It only happens when conecting to summarydb for CPS 4.5.

    Thanks for any help.

    Regards,
    Chris

  111. Downloaded and configured RM WI as per instructions, and getting error “Service Unavailable”
    any one know why this would happen?
    -thx

  112. i am unable to see the graphics, I get the following error : “Windows has blocked this software because it can’t verify the publisher”
    I have tried many things like putting the web site in the trusted sites and so on… No way to get it to work. Can someone help.

  113. I made the permission changes for both the local network service acct and the aspnet account but I cannot seem to save my config. Everything tests ok and I can see the reports while in my session, but have to re-enter when I close the browser. Suggestions are appreciated….

  114. No. The data modified is at 9am this morning which is when I installed it. I just tried it again and the date did not update

  115. I have this same issue, was thinking that the Database may have duplicate netries that need weeding out manually – just haven’t got round to checking yet….
    The duplicate entries all have no data attached….

  116. Resolved my issues with this via the woderful catch all of a reboot!

    WIRM now working fine and in demand by our IT Management.

    Thank you for a wonderful tool! I look forward to v3.0 and beyond!

  117. Hi Jason, great WI tool, all works fine for me, except I cannot see the graphs – the DB and tables are all oned by dbo……please help – thanks.

  118. FIRST AND FOREMOST: GREAT APP!
    THANKS!
    I have three farms that I’m trying to monitor. Two of them work perfectly but on the third one I can’s open appsConcurrentUsage.aspx. I’m getting:
    =========================================

    Object reference not set to an instance of an object.
    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.NullReferenceException: Object reference not set to an instance of an object.
    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    applicationReport.getChartData() +83
    ASP.appsconcurrentusage_aspx.__RenderContent1(HtmlTextWriter __w, Control parameterContainer) +228
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +98
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +59
    System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +68
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
    System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +37
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
    System.Web.UI.Control.Render(HtmlTextWriter writer) +7
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
    System.Web.UI.Page.Render(HtmlTextWriter writer) +26
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2558
    ==========================================
    There is nothing special about this farm except I’ve configured and enabled Summary Database just yesterday. If I reconfigure WIfRM to point to another RM database it works w/o a problem. Hence I think is is the actual RM database problem (?) I’ve seen this problem on one other farm but it went away after I ran the “Update Now…” via CMC.
    Any ideas?
    Thanks,

  119. My SQL server only accepts Windows Auth. Can I use this? I am getting this error:

    Test failed!
    Login failed for user ”. The user is not associated with a trusted SQL Server connection.

  120. First, this is one of the coolest things I’ve come acrossed in sometime, thanks Jason.

    I did have to create an app-pool that ran as an accout w/ dbo access to the summary database (I’m the one who posted this error, too).

    One thing I was wondering, when drilling into a particular sessions details, is there a way to determine there ica session ID, for example “ICA-tcp 443 (%USERNAME%)”? I’m collecting some ICA Session metrics, and that is how they are referenced in the summary database, but I have no great way to coorelate that to the session.

    Any thoughts would be cool,

    Thanks again Jason!!!

  121. I installed Hotfix Roll Up 2 on my 4.5 farm and now in WIRM all the user names show up with the name of a service account that runs some scripts at login instead of the real user name. CAMC displays the correct info for the actie sessions. Any ideas?

  122. None of the above worked for me, but what fixed it for me was I jave full access to the IUSR_CITRIXLIC account to the web.config file.

    Kevin

  123. Jason,

    I had the same problem with the gent above. Granted Internet Guest full access and it works, even though Network Service is the default in Application Pools. Any ideas?

  124. Jason,

    I tried a brand new download of the WIRM product and I am getting a “Invalid object name ‘SDB_SESSION'” error when I try to validate the connection from the configuration page. The only thing that has changed is the SQL server. The new server is listed in the configuration and no dice… any suggestions?

  125. HI . I installed 2.2 Wr and when I try to test the config a get “Invalid object name ‘SDB_SESSION'”. I have tried my different logins and made sure anonymous is turned on under the IIS website. The sql 2005 server is installed on the same box as WR. Please help.. What else can i do… tks

  126. What RM Tables. I checked all the tables for the Citrix AAC DB and they are all owned by DBO..

    What do you think

  127. I validated the SQL account I am using is dbo of the RM database. I am still getting the same error: Invalid object name ‘SDB_SESSION’

  128. The SQL account you use only to connect to the database only needs read access.

    Go in to SQL Server Management Studio (2005) or SQL Enterprise Manager (2000). Find your RM database. Then, click on the Tables tree node under the RM database (in the left pane). This will list all the tables in your RM database in the right pane. One of the columns will say Owner. This needs to be dbo for all tables.

  129. I am seeing the same thing. In the event log of the server there are multiple DCOM errors and I have added the indicated user to the DCOM componet that is supposedly failing, yet the graphs will not display at all. Any suggestions?

  130. I’m having some issues with the wirm. The first one is that although I have the value

    The time displayed for user sessions, applications etc are hours ago.

    The dates that are displayed are using this format:
    MM/DD/YYYY. This seems that does not work well when sorting the data by date because it sorts with the first field(month). The religional settings in my server are in greek, which means that we use the following format:

    dd/mm/yyyy

    I have also another problem which is propably related with my configuration in citrix. All applications exist in folders, which means that one application may also exist in more than one folder. For example the application word belongs to the folder Office and Editors. Although the name is displayed the same, citrix uses another id for the second word:
    WORD004B

    So in the reports I see 2 seperate applications
    WORD and WORD004B.

    Is there something I can do for this?

    thank you

  131. First off, thanks to you Jason!! What a legendary tool! And free as well! Awesome stuff! The only gripe I have is that I can’t get the administrators group to work… Even though I am in the AD group that I type into this field, I do not have the Configuration page listed as a link on the nav bar.. (and when I type it in manually I get an access denied error). I first thought that it might be an error with the name of the group having a space in it, or an underscore, but even when I create an AD group without a space (WIRMAdmins) I still can’t get it to work.. Can anyone assist me?

  132. Hi Jason,
    As everyone here i like to thnank you for this terrific job.
    I have openned a case on the CTX support regarding the Ressource Manager.
    AS the Platform is using session sharing and user habits are to lauch 2 applications at a time (hosted by the same PS) only the first Application is logged on the Session table, and both processes logged in Process Table.

    Could you confirm me that the WIRM is working effectivelly at Session level. Is there a simple way to change that to reflect the real process level? AS i am using it for the last 2 years, i really do not want to loose all the history collected. My Other option is to purge it all and to disable session shariong.
    Thank for your advice
    DAViD
    http://support.citrix.com/forums/thread.jspa?forumID=87&threadID=104846&tstart=0

  133. This is expected behavior as the SDB_SESSION table only records new sessions. SDB_PROCESS will contain every process that was launced during a session. So, with session sharing, only the initial application launch creates a new row in SDB_SESSION. Purging data from your RM Summary Database won’t change any of this. If there is a specific query you need, I will be glad to help out.

  134. Hi Jason,
    Thanks for your help.
    Do you think that WIRM could work at Process Level ?
    I mean that all Applications Usage and calandar reports data link to Process and not data link to a Session.
    On my situation, reports about Session are really too far from reports made from Process; And your tool is just so cool that i would like to keep it instead of developing a home made report site.
    By the way, does the new version of your tool will handle that ?
    Same question about the native tool on PS 4.5 release.
    Thanks again for all.
    DAviD

  135. After data was migrated from SQL2000 to SQL2005 we are not be able to view any reports.
    Is there anything that we are missing.
    No errors to connect to the database

  136. After data was migrated from SQL2000 to SQL2005 we are not be able to view any reports. Is there anything that we are missing. No errors to connect to the database. Everything was working with WIRM v1.x & SQL2000, now we trying to configure WIRM v2.2 & SQL2005 (can see old data, but no new reports)
    thanks in advance for any help

  137. Hello Jason,

    I tried to use the tool but could not make it to work.I tried to install the tool as per the setup instruction but the problem arised in Step 2: Configure your Globalization and Database options, It says “Navigate to the web site you created in step 1” but We havent created a site,its just a virtual directory. So i could go further with the configuration as i could not see any database configuration option. I am a starter at the IIS, I dont have much Idea in IIS, but still when i right click on the newly created virtual directory and click browse I get a message “Server Application Unavailable” Can anyone help me out in this issue.

    Thanks
    Rama

  138. Jason, Thanks for providing such a great tool. My question here is can i see usage based on users accessing Citrix from our Internal and External Networks.I want to separately see the count for users coming internally and externally. Also i am new to this tool so can you suggest me how can i look into the version of the tool which is set up in our environment so that i can check and update this to the latest version. Thanks in advance.

  139. All,
    I am getting the following message when I try to run one of the reports:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server)

    – Please note the following details:
    a. The server, database, & username & pw come back with a gree check mark.
    b. we have even gone so far as to use the SA account (temporarily) to no avail.

    I am sure its something easy that I have just missed. Any help would be greatly appr. Thank you.

    DC

  140. Hi Jason,

    I am receiving the following error when WIRM is creating images eg Server Metrics etc… Could you help please?

    Server Error in ‘/rms’ Application.
    ——————————————————————————–

    Invalid postback or callback argument. Event validation is enabled using in configuration or < %@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
    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.ArgumentException: Invalid postback or callback argument. Event validation is enabled using in configuration or < %@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

    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:

    [ArgumentException: Invalid postback or callback argument. Event validation is enabled using in configuration or < %@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.]
    System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) +358
    System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) +108
    System.Web.UI.WebControls.TextBox.LoadPostData(String postDataKey, NameValueCollection postCollection) +31
    System.Web.UI.WebControls.TextBox.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +11
    System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +413
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3386

    ——————————————————————————–
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

  141. Hi everybody. I have this error when I go in “Server | Server Metrics” and I select “Count”.
    Object reference not set to an instance of an object.
    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.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    Line 23: height=”420″
    Line 24: align=”middle”>
    Line 25: “> Line 26: ” quality=high bgcolor=#FFFFFF width=”565″ height=”420″ name=”FC2Column” align=”middle” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer”>
    Line 27:

    Source File: c:\Inetpub\wwwroot\WIRM\serversMetrics.aspx Line: 25

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    ASP.serversmetrics_aspx.__RenderContent1(HtmlTextWriter __w, Control parameterContainer) in c:\Inetpub\wwwroot\WIRM\serversMetrics.aspx:25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +114
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +251
    System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +80
    System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +86
    System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +59
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +251
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +251
    System.Web.UI.Page.Render(HtmlTextWriter writer) +37
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4591

    Thanks.
    Emmanuel

  142. We had the same thing happen here. Our daily total user numbers dropped significantly on Jan 30th and when we checked the Server Metrix tab about 15 servers have duplicate entries. There’s data for one of the entries but not the other. We suspect this is what is causing the disparity with our total daily user numbers but we have no idea how that happened.

  143. Hi Jason. Is there a way to configure a port for the SQL server in the connectionstring statement? We have a MS SQL 2005 server running on a different port and yes, the connection is failing. Thanks.

  144. Jason, I am unable to save the 2.2 configuration. I have verified all of the security settings as outlined in the "known issues" section as well as the replies you have given to others in this thread but nothing seems to work. When trying to save I get the following error:

    "….the ASP.NET process account (either the local ASPNET or Network Service account, by default) must have write permission granted for the Web.config file…."

    Kirk

  145. Hello,
    i tested the product and on the configuration page i get this error when i try to connect with windows authentication to the SQL DB 2008 database:
    Test failed!
    Ungültiger Objektname ‘SDB_SESSION’

    What can i do?

    Thanks
    Dennis

  146. Whichever account is used as the application pool identity where the WIRM app is needs to have access to the file/directory where Web.Config is. As a temporary workaround, you can give Everyone full control of the directory, then revoke that right once you save your config (you only need read access once the config is written).

  147. OK.
    I think that dbo is the object owner.
    Where can i see it in the SQL 2008 Mgmt. Studio?
    Im not a specialist in SQL 🙁
    I use SQL 2008 Std.. Works this version of WIRM 2.2 with SQL 2008?

  148. You can see the object owner in SQL Management Studio when looking at the tables. If a table starts with [b]dbo[/b].SDB_SESSION, then [b]dbo[/b] is the owner. If a table starts with [b]dennis[/b].SDB_SESSION, then [b]dennis[/b] is the owner. If there are tables that do not have dbo set as the owner, you can change it using the sp_changeobjectowner stored procedure. See the following article for information on automating the use of sp_changeobjectowner:

    http://www.sqlteam.com/article/let-sql-server-write-sql-statements

  149. OK.
    I checked it.
    In my Citrix DB there is a folder
    "Systemtabellen" and tables
    dbo.DATATABLE
    dbo.DELETETRACKER
    dbo.INDESXTABLE
    dbo.KEYTABLE

    It seems that dbo is the object owner.
    What can i do?

  150. The tables you listed are the datastore (XenApp or XenDesktop) tables. You will need to configure WIRM to point to your Resource Manager Summary Database. There should be tables like SDB_SESSION, SDB_PROCESS, LU_CLIENT, etc.

  151. We’ve got a number of computers now arriving which are IE8 or above only and we’re unable to reverse back to IE6 which allows our version of web application developed in Asp.net 1.1 to work.
    To try and combat this we’ve setup a Citrix server which publishes version 6 of IE and we’re presenting this to the users through a Citrix XenAPPlication.

    Our problem is that web application seems to work perfectly well on the physical Citrix server, however, the client can see the login screen, can enter their credentials and the client seems to recognise if the credentials are incorrect, but when you type the correct credentials in the following error occurs:

    The website has encountered an unexpected problem

    What happened: There was an unexpected error in the application. This may be due to a programming bug. How this will affect you: The current page will not load. What you can do about it: Close your browser, navigate back to the home page of the application and try repeating your last action. Try alternative methods (if any) of performing the same action. If problem persists, contact the site administrator. More information:
    The following information about the error was automatically captured:
    Error Message: Object reference not set to an instance of an object.
    at XXXXProf.XXXXWeb.Main.LocalizePage()
    at XXXXProf.XXXXWeb.Main.Page_Load(Object sender, EventArgs e)
    at System.Web.UI.Control.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain()

    Any assistance you can give me with this would be greately appreciated.

  152. Hi! I know this is kind of off-topic but I had to ask.

    Does managing a well-established blog such
    as yours take a lot of work? I am brand new to blogging but I do write in
    my diary on a daily basis. I’d like to start a blog so I can
    easily share my personal experience and feelings online.
    Please let me know if you have any kind of recommendations or tips for brand new
    aspiring bloggers. Appreciate it!

Leave a Reply

Your email address will not be published. Required fields are marked *