将数据库项目Visual Stutio 2008转换为2010时出错 [英] Error converting Database projects Visual Stutio 2008 to 2010

查看:57
本文介绍了将数据库项目Visual Stutio 2008转换为2010时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在2008年成功处理了数据库项目

I was successfully handling database projects in 2008

现在我们转换了VS 2010中的所有项目

Now we converted all projects in VS 2010

当我将数据库项目转移到2010年,我收到一堆错误。 像其他项目一样,我没有出现任何错误。

When I conveted database project to 2010, I am getting bunch of errors.  Like other projects i didn't aniticipate any error.

错误  1  SQL03006:功能:[dbo]。[fnGetECLDetailListInstitutionNumber]有一个未解析的对User [IPOwner]的引用。   C:\ Products\Source2 \ImagePointSource \IPSource4.0.2.0-branch \IPDatabase \IPDatabase \IPDatabase \Schema Objects \ Functions \ divo.fnGetECLDetailListInstitutionNumber.function。 sql  13  17  IPDatabase

Error 1 SQL03006: Function: [dbo].[fnGetECLDetailListInstitutionNumber] has an unresolved reference to User [IPOwner]. C:\Products\Source2\ImagePointSource\IPSource4.0.2.0-branch\IPDatabase\IPDatabase\IPDatabase\Schema Objects\Functions\dbo.fnGetECLDetailListInstitutionNumber.function.sql 13 17 IPDatabase

我还注意到VS 2010添加了几个新文件。

I also noticed couple of new files been added by VS 2010.

请注意,我没有这个VS 2008中的问题

Note that i didn't have this issue in VS 2008

你能帮助我吗?

提前致谢

Ragu

推荐答案

2010年登录被移动到服务器项目,所以如果你有一个基于登录的用户,很可能登录不会因此,用户将处于错误状态,这会使UDF对用户的引用失败。

In 2010 logins are moved to server projects, so if you have a user that is based on a login, most likely the login will not be defined, therefore the user will be in an error state, which fails the UDF reference to the user.

您将拥有跟踪错误列表中的对象列表是否存在且未处于错误状态。

You will have to track back if the objects list in the error list exist and are not in an error state.

您是从VS 2008 RTM转换还是从GDR版本转换?

did you convert from VS 2008 RTM or from the GDR release?

 


这篇关于将数据库项目Visual Stutio 2008转换为2010时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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