将文件上载到数据库时出现问题 [英] Problem in uploading a file into database

查看:88
本文介绍了将文件上载到数据库时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



我在检查文件架构的同时将文件上传到数据库中。

但是在上传时文件,在一半的方式我得到错误上传失败,它回滚。

请任何人帮助我,因为我无法弄清楚问题。

什么时候我插入数据库我有三列客户端,准备和完成哪些应该具有相同的值(例如:如果有1234个客户端,那么所有三个应该有1234进入数据库)。但客户和准备好的时候我完成了-1。





ID LogGuid FileGuid客户端已完成准备


473 AFA202BE-682A 15AA042C-7E28-497D 1234 -1 1234





这就是我在数据库中获得的。请有人告诉我或指导我,我错了。

Hi all

I am uploading a file into the database whilst checking the schema of the file aswell.
But while uploading a file , in the half way i am getting the error uploading fails and it rolls back.
Please can anyone help me because I am unable to figure out the problem.
When I insert into the database I have three columns clients, prepared and completed which should have same values( example: if there are 1234 clients then all three should have 1234 into the database). But clients and prepared are okay when it comes to completed I am getting -1.


ID LogGuid FileGuid Clients Completed Prepared

473 AFA202BE-682A 15AA042C-7E28-497D 1234 -1 1234


This what I am getting in the database. Please can anyone tell me or guide me please that where I am going wrong.

推荐答案

以admin身份登录 - >运行 - > iisreset - >输入。



希望这有帮助。
Log in as admin -> Run -> iisreset -> enter.

Hope this helps.


这篇关于将文件上载到数据库时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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