我的程序出现了这2个错误 [英] i get this 2 error on my program

查看:80
本文介绍了我的程序出现了这2个错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在我的程序中插入一个699 MB的文件时出现此错误(此程序将文件转换为代码):



http://up.pnu-club.com/di-KWYO.jpg [ ^ ]



我收到此错误当我想删除我的一些文件时:



http://up.pnu-club.com/di-FU2Y.png [ ^ ]



如何解决这些问题?请说清楚。谢谢你。

i get this error when i insert an 699 MB file on my program (this program convert files to code):

http://up.pnu-club.com/di-KWYO.jpg[^]

and i get this error when i want to delete some of my files:

http://up.pnu-club.com/di-FU2Y.png[^]

how to fix these ? please explain clearly. thank u.

推荐答案

1。第一个很清楚。它说超时已到期。无论你做什么都花费太长时间,所以sql超时。因此,要么增加超时时间,要么更改代码以提高效率。



2.第二个错误也很明显。等号附近的语法不正确。您需要修复代码的语法。由于您显示了调试代码的屏幕截图,只需查看SqlStr是什么,并且在等号后可能没有任何内容。应该很容易修复。
1. The first one is very clear. It says timeout expired. Whatever you are doing is taking too long and so sql times out. So, either increase the timeout period or change your code to be more efficient.

2. The second error is also very clear. Incorrect syntax near an equal sign. You need to fix the syntax of your code. Since you showed a screen shot of debugging the code just look at what SqlStr is and there is likely nothing after the equal sign. Should be very easy to fix.


这篇关于我的程序出现了这2个错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆