我的数据库使用的是postgresql的,使用odbc连接。
这个是服务端的日志。
- CurrentMethodName: WritePathToFile
- Tid:8 2020/5/6 10:56:09: Assembly: ForguncyServerManagerCore, Version=6.0.3.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------
- {
- "ClassName": "Newtonsoft.Json.JsonSerializationException",
- "Message": "No JSON content found and type 'GrapeCity.Forguncy.Plugin.AuthenticationMode' is not nullable. Path '', line 0, position 0.",
- "Data": null,
- "InnerException": null,
- "HelpURL": null,
- "StackTraceString": " at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
- at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
- at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
- at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
- at CommonUtilities.JsonUtilities.FromJsonStringWithTypeNameHandlingAuto[T](String str)
- at ForguncyServerManagerCore.ForguncyApp.a(String A_0, Nullable`1 A_1, Nullable`1 A_2, Boolean A_3)
- at ForguncyServerManagerCore.ServerAppManager.Start(String appName, Int32 port, Boolean https)
- at ForguncyServerManagerCore.DeployApp.a(AppSetting A_0, ServerAppManager A_1, String A_2)
- at ForguncyServerManagerCore.DeployApp.Deploy(AppSetting settings, ServerAppManager _serverAppManger)
- at ForguncyServerManagerCore.Controllers.PublishController.Publish(String appName, String userName, String password, Int32 sitePort, Boolean https, OverrideDataBaseOption overrideDataBaseOption, String guid, String fileName, String file, Int32 fileCount, String designerLangStr, PublishMergeInfo userMergeInfo, PermissionOverrideOption permissionOverrideOption)",
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": "8
- Deserialize
- Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
- Newtonsoft.Json.Serialization.JsonSerializerInternalReader
- System.Object Deserialize(Newtonsoft.Json.JsonReader, System.Type, Boolean)",
- "HResult": -2146233088,
- "Source": "Newtonsoft.Json",
- "WatsonBuckets": null
- }
复制代码
|