2025-02-24 10:13:46 [85] ERROR lp.shop.core.LogBase 【GetShopSpuProductAuthorizeByCompanyidStoredid】======MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered during command execution. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered attempting to read the resultset. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Reading from the stream has failed. ---> System.IO.IOException: 无法从传输连接中读取数据: 远程主机强迫关闭了一个现有的连接。。 ---> System.Net.Sockets.SocketException: 远程主机强迫关闭了一个现有的连接。 在 System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) 在 System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- 内部异常堆栈跟踪的结尾 --- 在 MySql.Data.Common.MyNetworkStream.HandleOrRethrowException(Exception e) 在 MySql.Data.Common.MyNetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count) 在 System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) 在 System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) 在 System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) 在 System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) 在 System.Net.Security.SslStream.Read(Byte[] buffer, Int32 offset, Int32 count) 在 MySql.Data.MySqlClient.TimedStream.Read(Byte[] buffer, Int32 offset, Int32 count) 在 System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count) 在 MySql.Data.MySqlClient.MySqlStream.ReadFully(Stream stream, Byte[] buffer, Int32 offset, Int32 count) 在 MySql.Data.MySqlClient.MySqlStream.LoadPacket() 在 MySql.Data.MySqlClient.MySqlStream.LoadPacket() 在 MySql.Data.MySqlClient.MySqlStream.ReadPacket() 在 MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId) 在 MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId) 在 MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) 在 MySql.Data.MySqlClient.MySqlDataReader.NextResult() 在 MySql.Data.MySqlClient.MySqlDataReader.NextResult() 在 MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) 在 lp.shop.db.SQLHelper.ExecuteTable(CommandType cmdType, String cmdStr, MySqlParameter[] cmdParams) 位置 D:\mydocs\WeChat Files\wxid_1p3m1il9h4rz51\FileStorage\File\2024-07\lp_-shop_-hd\lp.shop.db\SQLHelper.cs:行号 275 在 lp.shop.dal.sqlcore_dal.Allpage(String tblName, String fldname, Int32 pagesize, Int32 pageindex, String orderby, String where, Int32& totalcount, Int32& pagecount, String groupby) 位置 D:\mydocs\WeChat Files\wxid_1p3m1il9h4rz51\FileStorage\File\2024-07\lp_-shop_-hd\lp.shop.dal\sqlcore_dal.cs:行号 95 在 lp.shop.bll.lp_shopproduct_bll.get_shop_spuproduct_authorize_list(String companyid, String storedid, String spuid, String spusn, String name, String catetype, String cateid, String brandid, String styleid, String roomid, String model, Int32 label, Int32 pageindex, Int32 pagesize, Int32 ispage) 位置 D:\mydocs\WeChat Files\wxid_1p3m1il9h4rz51\FileStorage\File\2024-07\lp_-shop_-hd\lp.shop.bll\lp_shopproduct_bll.cs:行号 259 在 lp.shop.api.Controllers.app.AppShopProductController.GetShopSpuProductAuthorizeByCompanyidStoredid(ShopSpuProductAuthorizePageInPut input) 位置 D:\mydocs\WeChat Files\wxid_1p3m1il9h4rz51\FileStorage\File\2024-07\lp_-shop_-hd\lp.shop.api\Controllers\app\AppShopProductController.cs:行号 45