Nhãn hiệu của chúng tôi

Impact-Company-Logo-English Black-01-177x54

Chào mừng bạn đến với Trang web của Schneider Electric

Chào mừng đến với trang web của chúng tôi.
		
Hôm nay chúng tôi có thể giúp gì cho bạn?
PME Errors in Application Modules web applications. Dashboards, trends, tables, alarms all do not work properly. Multiple errors logged in Application Modules database.

Issue
1) None of the Application Module based web applications are working. Various errors show up in the ApplicationModules database diagnostics tables. Amongst the error messages a low level error comes from the DataSourceDriver indicating a problem with SQLServer data types.
2) PMALARM service fails to start due to timeout during install time.

In ApplicationModules - Diagnostics Viewer view an error will be logged:

LogClientException: System.ServiceModel.FaultException`1[Framework.Interfaces.Faults.SystemFault]: An error occurred while accessing a system resource or another service. Please try again later. (Fault Detail is equal to Framework.Interfaces.Faults.SystemFault).
LogClient: DataSourceDrivers::DataSourceDrivers.DataSourceInitializationLogger::LogWarningMessage
LogClientExtendedInformation: ApplicationModule: MetadataService
Description: The type initializer for 'ExtentPlaceholderCreator' threw an exception.
State: System.TypeInitializationException: The type initializer for 'ExtentPlaceholderCreator' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.EntryPointNotFoundException: Unable to find an entry point named 'SetClrFeatureSwitchMap' in DLL 'SqlServerSpatial110.dll'.
at Microsoft.SqlServer.Types.GLNativeMethods.SetClrFeatureSwitchMap(Int32 clrFeatureSwitchMap)
at Microsoft.SqlServer.Types.SqlGeometry.IsValidExpensive()
at Microsoft.SqlServer.Types.SqlGeometry.Construct(GeoData g, Int32 srid)
at Microsoft.SqlServer.Types.SqlGeometry.GeometryFromText(OpenGisType type, SqlChars text, Int32 srid)
at Microsoft.SqlServer.Types.SqlGeometry.STGeomFromText(SqlChars geometryTaggedText, Int32 srid)
at Microsoft.SqlServer.Types.SqlGeometry.Parse(SqlString s)
--- End of inner exception stack trace ---

Product Line
Power Monitoring Expert 8.2
Power Monitoring Expert 9.0
Power Monitoring Expert 2020

Environment
Web Applications: Dashboards, Trends, Alarms
ApplicationModules database
Install/Upgrade

Cause
An incompatible version of the Microsoft.SqlServer.Types.dll has been installed on the server. PME is attempting to use this incompatible version and crashing.

Resolution
By editing the Framework.Service.Host.exe.config file PME can be forced to use the correct version of Microsoft.SqlServer.Types.dll.

  1. Stop the 3 Application Modules Services. (CoreServicesHost, DataServicesHost and ProviderEngineHost).
  2. Open the Framework.Service.Host.exe.config file in a text editor. It is typically located at  C:\Program Files (x86)\Schneider Electric\Power Monitoring Expert\applications\bin.
  3. At the bottom of the file just above the closing </configuration> tag edit the following xml to match the latest Microsoft.SqlServer.Types.dll found in "C:\Windows\assembly".

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

<dependentAssembly>
<assemblyIdentity name="Microsoft.SqlServer.Types" publicKeyToken="89845dcd8080cc91" />
<bindingRedirect oldVersion="1.0.0.0-11.0.0.0" newVersion="10.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>


Please note that this may affect different versions of SqlServerSpatial dll.
Therefore is recommended to edit the xml fragment to match the latest Microsoft.SqlServer.Types.dll found in "C:\Windows\assembly".

aa
In this case it should be edit to: <bindingRedirect oldVersion="1.0.0.0-13.0.0.0" newVersion="10.0.0.0" />

Update
This problem can occur in PME2020, but reference SqlServerSpatial120.dll in the error message, rather than SQLServerSpatial110.dll.
The resolution is to edit Framework.ServiceHost.exe.config by changing the Microsoft.SqlServer.Types "newVersion" value from 12 to 10

aa

Schneider Electric Việt Nam

Bạn cần trợ giúp?

  • Công cụ chọn sản phẩm

    Nhanh chóng và dễ dàng tìm được sản phẩm và phụ kiện phù hợp cho các ứng dụng của bạn.

  • Nhận báo giá

    Bắt đầu gửi yêu cầu bán hàng trực tuyến và chuyên gia sẽ liên hệ với bạn.

  • Nơi mua hàng?

    Dễ dàng tìm nhà phân phối Schneider Electric gần bạn nhất.

  • Trung tâm Hỗ trợ

    Tìm sự hỗ trợ cho mọi nhu cầu của bạn tại một nơi.

  • Tài liệu về Sản phẩm
  • Tải xuống phần mềm
  • Công cụ chọn Sản phẩm
  • Thay thế và thay đổi sản phẩm
  • Trung tâm Hỗ trợ
  • Tìm Văn phòng của chúng tôi
  • Nhận báo giá
  • Tìm Nhà Phân phối
  • Cơ hội nghề nghiệp
  • Hồ sơ doanh nghiệp
  • Báo cáo hành vi sai trái
  • Khả năng truy cập
  • Phòng tin tức
  • Nhà đầu tư
  • EcoStruxure
  • Tìm việc
  • Blog
  • Chính sách bảo mật
  • Thông báo về Cookie
  • Điều khoản sử dụng
  • Change your cookie settings