Virus Scanner induced bug with ASP.NET webservice application

博主遇到一个ASP.NET Web服务应用的奇怪问题,该应用使用MapXtreme 2004,会重启并导致MapXtreme崩溃,需重启IIS恢复。最终发现问题源于病毒扫描器锁定了ASP.NET临时文件夹中的临时文件,关闭扫描器后应用正常。同时提到若序列化相关代码文件被锁定或权限不足,应用也会失败。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Virus Scanner induced bug with ASP.NET webservice application
Today I came across a weird, annoying bug. It was an asp.net webservice application that uses MapXtreme 2004, what would happen was the application would restart and cause MapXtreme to crash. The application would crash at different times, each time IIS would need to be restarted to bring the MapXtreme app back up. The problem turned out to be the virus scanner, I think it was locking the temp files that get created by the application in the asp.net temp folder. Once this was turned off the application performed flawlessly. Something to keep in mind, ASP.NET webservices create a code file which contains a custom XML writer for serialization and a reader for deserialization, if these get locked (or permissions are denied, which was my first thoughts) the application will fail.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值