开发者

Visual Studio 2010 and ODP.NET error

Can someone please guide me to fix this problem while accessing "Server Explorer" ? I've tried reinstalling VS 2010 but no luck.

Visual Studio 2010 and ODP.NET error

Version of ODP.NET and VS2010,

Visual Studio 2010 and ODP.NET error

Activity Log,

OracleVSGPkg.Close - Exception when terminating Oracle Developer Tools SQL*Plus Service Oracle.VsDevTools Unable to load DLL 'oravs11w.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at Oracle.VsDevTools.OracleSVCSqlplus.Terminate() at Oracle.VsDevTools.OracleVSGPkg.Microsoft.VisualStudio.Shell.Interop.IVsPackage.Close() {D601BB95-E404-4A8E-9F24-5C1A462426CE} 

Another re-installation, here is the log,

317  OracleVSGPkg.Close - Revoking Oracle Developer Tools Oracle Input Output Service {D601BB95-E404-4A8E-9F24-5C1A462426CE}  Oracle Developer Tools for Visual Studio 2011/04/27 07:04:14.549 
318  OracleVSGPkg.Close - Revoking Oracle Developer Tools Oracle Database Project Service {D601BB95-E404-4A8E-9F24-5C1A462426CE}  Oracle Developer Tools for Visual Studio 2011/04/27 07:04:14.550 
319  OracleVSGPkg.Close - Revoking Oracle Developer Tools Oracle Message Box Service {D601BB95-E404-4A8E-9F24-5C1A462426CE}  Oracle Developer Tools for Visual Studio 2011/04/27 07:04:14.551 
320  OracleVSGPkg.Close - Revoking Oracle Developer Tools Common Language Runtime Service {D601BB95-E404-4A8E-9F24-5C1A462426CE}  Oracle Developer Tools for Visual Studio 2011/04/27 07:04:14.552 
321  OracleVSGPkg.Close - Revoking Oracle Developer Tools PL/SQL Language Service {D601BB95-E404-4A8E-9F24-5C1A462426CE}  Oracle Developer Tools for Visual Studio 2011/04/27 07:04:14.553 
322  OracleVSGPkg.Close - Revoking Oracle Developer Tools SQL Language Service {D601BB95-E404-4A8E-9F24-5C1A462426CE}  Oracle Developer Tools for Visual Studio 2011/04/27 07:04:14.554 
323  OracleVSGPkg.Close - Revoking Oracle Developer Tools Package Service {D601BB95-E404-4A8E-9F24-5C1A462426CE}  Oracle Developer Tools for Visual Studio 2011/04/27 07:04:14.555 
324  OracleVSGPkg.Close - Remove the Oracle Developer Tools as an IOleCommand Target {D601BB95-E404-4A8E-9F24-5C1A462426CE}  Oracle Develope开发者_Python百科r Tools for Visual Studio 2011/04/27 07:04:14.556 
325  OracleVSGPkg.Close - Cleanup the Oracle Developer Tools Global resources {D601BB95-E404-4A8E-9F24-5C1A462426CE}  Oracle Developer Tools for Visual Studio 2011/04/27 07:04:14.557 
326  OracleVSGPkg.Close - End Oracle Developer Tools VS Package Close {D601BB95-E404-4A8E-9F24-5C1A462426CE}  Oracle Developer Tools for Visual Studio 2011/04/27 07:04:14.558 
327 ERROR End package load [Oracle Developer Tools for Visual Studio .NET] {D601BB95-E404-4A8E-9F24-5C1A462426CE} 80004005 - E_FAIL VisualStudio 2011/04/27 07:04:14.559 


I realise this is an old post but I have just come across this exact problem when uninstalling the Oracle.ManagedDataAccess.Client beta.

If you follow the instructions shown in your screen shot, i.e.

Make sure have have ran the Oracle Universal Uninstaller (OUI).

Open a devenv instance with

devenv /log

Once the instance has loaded close it down and go to.

C:\Users\{yourUser}\AppData\Roaming\Microsoft\VisualStudio\11.0\

And look for the ActivityLog.xml file closest to your current time. And Open it.

C:\Users\c20082\AppData\Roaming\Microsoft\VisualStudio\11.0

Look for an entry similar to the following

  <entry>
    <record>288</record>
    <time>2013/07/18 07:56:02.183</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [Oracle Developer Tools for Visual Studio]     </description>
    <guid>{D601BB95-E404-4A8E-9F24-5C1A462426CE}</guid>
  </entry>

Search your registry for this key and delete any entries referencing it.

Reinstall Oracle Developer Tools, and you should be good to go.


I have faced this issue many times. Actually reinstall ODT package is an alternative but very annoying. Hence I solved in this way, just reregistering the dlls in question.

  1. Open Visual Studio 2010 command prompt as administrator.
  2. Execute devenv.exe /log. Open the log to certify wich version is used. In my case, for instance, is Oracle.VsDevTools.10.0.
  3. At the same prompt opened priorly, execute these two lines:

    gacutil /i {oracle home where you installed ODAC 11.2.0.2.1}\odt\vs2010\Oracle.VsDevTools.dll

    gacutil /i {oracle home where you installed ODAC 11.2.0.2.1}\odt\vs2010\Oracle.Management.Omo.dll

  4. Open your Visual Studio 2010 and go to Help -> About Microsoft Visual Studio. As you can see, the package was loaded successfully.

Visual Studio 2010 and ODP.NET error

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜