向Web应用程序添加多个数据库时出现异常 [英] exception while adding multiple databases to a web application

查看:80
本文介绍了向Web应用程序添加多个数据库时出现异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过C#编程将具有多个数据库的Web应用程序附加到另一个Web应用程序.但出现以下错误:

异常:发生更新冲突,您必须重试此操作.对象SPWebApplication Name = ...已通过登录(...)...在计算机上的....进程中进行了更新.

在日志上没有错误.仅存在与Web部件有关的警告.
我已纠正该错误,但仍然出现相同的错误.
我可以将一个数据库应用程序附加到一个数据库中.

I am trying to attach a web application with multiple databases to another web application through C# programming. But I am getting the following error:

Exception : An update conflict has occurred, and you must re-try this action. The object SPWebApplication Name=... was updated by login(...)..., in the .... process, on machine ...

On logs there is no error. there is only warning related to web parts.
I rectified that but still getting the same error.
I am able to attach a web application with one database.
Any pointers to this will help.

推荐答案

是的,我正在访问单个Web应用程序的多个数据库.
yes,I am ataching multiple databases of a single web app.


这篇关于向Web应用程序添加多个数据库时出现异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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