Oracle开发人员工具(ODT)和Visual Studio整合 [英] Oracle Developer Tools (ODT) & Visual Studio Integration

查看:163
本文介绍了Oracle开发人员工具(ODT)和Visual Studio整合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Visual Studio 2015的ODT(我也尝试过VS2013),希望使用"Oracle数据库项目",但是遇到了一些不太常见的特定错误消息.

I've installed the ODT for Visual Studio 2015 (I've also tried VS2013) in hopes of using the "Oracle Database Project" but experiencing some specific error messages that don't appear to be very common.

当我通过服务器资源管理器浏览数据库时,有一个选项可以让您右键单击关系表,然后单击生成创建脚本以创建项目...".

When I browse the database via the Server Explorer, there is an option for you to be able to right click on a Relational Table and click "Generate Create Script to Project...".

但是,当单击此选项时,我收到非常具体的错误消息,无法弄清原因;

However, when clicking this option I get a very non-specific error message and cannot work out why;

某些选定对象未为Project生成创建脚本.有关更多信息,请参见"Oracle Database Output"输出窗格."

"Create script was not generated to Project for some of the selected object(s). See the 'Oracle Database Output' output pane for more information."

当我查看"Oracle数据库输出"窗口时,收到消息;

When I look at the "Oracle Database Output" window I get the message;

脚本生成失败-内部错误."

"Script Generation failed - Internal Error."

对于从头开始,找出错误所在并调试此非描述性错误消息非常令人沮丧.

For here-on-in, it's gets very frustrating to find out what's wrong and to debug this non-descriptive error message.

最有趣的是,脚本生成功能可用于其他数据库对象,例如视图&程序,它只是无法用于数据库表.

What's most interesting is that the script generation function works for other database objects such as views & procedures, it just fails to work for database tables.

以前有人遇到过此错误吗?我想知道这是否是某种驱动程序问题! (我安装了oracle 11g客户端,并尝试使用特定的ODAC/ODT组合软件包,该软件包似乎也安装了12c客户端,并连接到Oracle Elements 11g服务器)

Has anybody experienced this error before? I'm wondering if it's a driver issue of some sort! (I have the oracle 11g client installed, and just tried with a specific ODAC/ODT combination package which appears to also install the 12c client, connecting to an Oracle Elements 11g server)

感谢任何帮助,谢谢.

推荐答案

我也有这个问题.

我能够早些时候创建脚本,但是现在不能.

I was able to Create the scripts earlier, but now I cannot.

我进行了一些调查,并确定这不是oracle数据库的问题.这与VS的状态有关.

I did some investigating and decided this is not a problem with the oracle database. It is something to do with the state of VS.

我重新启动了VS2015,可以再次创建脚本.

I restarted VS2015 and I could create scripts again.

这篇关于Oracle开发人员工具(ODT)和Visual Studio整合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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