locked
Windows 10 Creator: Failed to load resources from resource file. Please check your Setup RRS feed

  • 質問

  • Hello, we have a thirdy party application based on NET Framework 1.1 running without problem on Windows 10 Pro. Some days ago, after the update of Windows Creator some functionalities of the application do not work anymore giving the error "Failed to load resources from resource file. Please check your Setup"

    The error occurs, for example,  in the line of code in BOLD:
    ...
    ' the sample code retrive the value of a property FieldName in a object "obj"

        Dim FieldName As String = "Customer"
        Dim sourcetype As Type = obj.GetType

        Dim prop As PropertyInfo = sourcetype.GetProperty(FieldName)
        Try

            If prop Is Nothing OrElse Not prop.CanRead Then
        ' do nothing
            Else
               Return prop.GetValue(obj, Nothing).ToString
            End If

        Catch ex As Exception

            Throw New System.Data.DataException( "Error reading value " & FieldName, ex)

        End Try
    ...
    The property "Customer" ( string property ) exists in object  "obj" but it is nothing. The catch part of the try is never reached from the code. The "Failed to load resources from resource file. Please check your Setup" messagebox is displayed, meaning that the catch part of the try is not evaluated.

    If the property contains a value , all is working

    I know the NET Framework 1.1 is not more supported , but there are any chance to solve the problem?

    Regrads
    aspdevelop

    2017年5月15日 13:31

すべての返信