locked
French Verson: Whsinfo.GetUsersInfo Broken RRS feed

  • Question

  • I have created a web application for WHS called P80. My application runs on ASP.Net via .net Framework 3.5. MY application runs great on all versions. However only on the French version of Windows Home Server does the following error occur.

    When I execute the following code:

    Dim pInfo As WHSInfoClass = New WHSInfoClass()
    Dim
    users As Array = pInfo.GetUsersInfo


    pInfo.GetUsersInfo throws an error stating that The group name is not found (translated from French). Have any other developers seen this? My code works, but fails in French. Everything else and I touch almost every point in the API works in any language including French.

    Here is the error:

    System.Runtime.InteropServices.COMException was unhandled by user code

      ErrorCode=-2147022676

      Message="Le nom de groupe est introuvable. (Exception de HRESULT : 0x800708AC)"

      Source="Microsoft.HomeServer.SDK.Interop.v1"

      StackTrace:

           à Microsoft.HomeServer.SDK.Interop.v1.WHSInfoClass.GetUsersInfo()

           à Users.ListUsers() dans C:\Documents and Settings\Administrateur\Mes documents\Visual Studio 2008\WebSites\P80\Users.aspx.vb:ligne 15

           à Users.Page_Load(Object sender, EventArgs e) dans C:\Documents and Settings\Administrateur\Mes documents\Visual Studio 2008\WebSites\P80\Users.aspx.vb:ligne 10

           à System.Web.UI.Control.OnLoad(EventArgs e)

           à System.Web.UI.Control.LoadRecursive()

           à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

      InnerException:


    Monday, October 19, 2009 2:19 AM

Answers

All replies