Error Installing Oracle Database Client 12c - oracle

Getting this error While installing Oracle Database Client 12c Release 1
Error in writing to file 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\\..\..\Xml\Schemas\Oracle.ManagedDataAccess.Client.Configuration.Section.xsd'. [C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\..\..\Xml\Schemas\Oracle.ManagedDataAccess.Client.Configuration.Section.xsd (Access is denied)]
Any fix for this ?

I had the same problem here. Even after running as administrator, I still had to locate the file, in my case at "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Xml\Schemas" open properties window and uncheck read only (remember to aply the configuration to the subfolders and files). Hope it helps.

Related

Visual Studio 2005: Unable to connect to visual studio's localhost web server

I recently upgraded to Windows 10 from Windows 7 and I was unable to debug a web site in Visual Studio 2005. I got the error: unable to connect to visual studio's localhost web server. I don't know if the upgrade caused it to break, but this was previously working.
To resolve this I ran process monitor on devenv.exe to see which calls ended in not SUCCESS. Turns out, my Visual Studio 2005 installation was looking for WebDev.WebServer.exe to be located here:
C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE
Whereas it was missing. I copied it over from here:
C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\9.0
And it seems to work.
Across the internet other answers will tell you it needs to be in the .NET framework folder, but I found that in my case it needed to be in the Visual Studio 8 folder.
Copy WebDev.WebServer.EXE from "C:\Program Files (x86)\Common Files\microsoft shared\DevServer\9.0" to "C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE" will resolve this.

Teamcity: error MSB3147: Could not find required file 'setup.bin'

C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.target
error MSB3147: Could not find required file 'setup.bin' in ... folder
I have seen there are similar messages during the time frame of last upgrade of VS for 2012.
I did not find the registry keys on the build server as mentioned in other posts i.e. Could not find required file 'setup.bin'
I appreciate your help.
Teamcity: error MSB3147: Could not find required file 'setup.bin'
According to this blog entry the bootstrapper files are installed during the .NET Framework SDK/Visual Studio IDE install. It also shows the registry entries that are searched to look for the bootstrapper directory.
If one computer that does not have .Net Framework SDK/Visual Studio IDE installed(such as, build server), none of the registry key would be set.
I did not find the registry keys on the build server as mentioned.
You can install .Net Framework SDK/Visual Studio IDE on the build server to get this registry key. If you don not want to install them, you could manually set it up by following steps:
Copy the whole C:\Program Files (x86)\Microsoft Visual Studio 14.0\SDK folder from the local machine with Visual Studio IDE installed to the server.
creating the 14.0 registry key and adding the value:
For 86bits:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\GenericBootstrapper\14.0]
"Path"="C:\Program Files (x86)\Microsoft Visual Studio 14.0\SDK\Bootstrapper"
For 64 bits:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\GenericBootstrapper\14.0]
"Path"="C:\Program Files (x86)\Microsoft Visual Studio 14.0\SDK\Bootstrapper"
Note: Visual Studio must be restarted.
I don't have SDK installed on the server. I have updated the .csproj with
<PropertyGroup>
...
<BootstrapperEnabled>false</BootstrapperEnabled>
</PropertyGroup>
That fixed the build.

Visual Studio 2017 hangs at "initializing templates..."

This is a brand new installation of VS2017 (latest version at the time of writing - 15.1 (26403.0)) on a fresh installation of Windows (Windows 10 Enterprise 64-bit) with no extensions or addons included yet. When going to File New Project VS simply sits at 'initializing templates...'. I've waited for twenty minutes before having to force quit the application.
I have tried the command line argument for devenv /installvstemplates which does not help.
Any help is appreciated, let me know if you need any additional info.
Update
I continued troubleshooting the issue. I ran VS as administrator with logging and noticed that these are the final logged entries when attempting to load templates:
Found templates with duplicate template ids at "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\ProjectTemplates\CSharp\Windows\1033\ClassLibrary_WorkerRole.vstemplate" and "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\ProjectTemplates\CSharp\Windows\1033\ClassLibrary\csClassLibrary.vstemplate"
Found templates with duplicate template ids at "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\ProjectTemplates\CSharp\1033\SharedProject\SharedProject.vstemplate" and "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\ProjectTemplates\CSharp\Windows\1033\SharedProject\SharedProject.vstemplate"
Found templates with duplicate template ids at "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\ProjectTemplates\VisualBasic\Windows\1033\ClassLibrary_WorkerRole.vstemplate" and "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\ProjectTemplates\VisualBasic\Windows\1033\ClassLibrary\classlibrary.vstemplate"
Error! Unable to access file (%USER%\AppData\Roaming\Microsoft\VisualStudio\15.0_ea1722b9\ProjectTemplatesCache\cache.bin)
Even though this was a fresh install on a clean system I did attempt an uninstall and reinstall of VS2017 which did not work. I even selected less options in an attempt to mitigate the duplicate template ID warnings.
I ended up having to uninstall VS 2017 again. Uninstall Windows 10 SDK (of which I had two versions for some reason). Run VS 2017 installer as administrator.
This time it installed and completed with warnings, the warning was that it did not install the .Net Core SDK because it says I already have a version, though I don't see it. It's possible I'll have to deal with this later as there may be a hung registry key.
Still, I loaded up VS 2017 and the templates initialized immediately. So this problem is resolved.

Visual Studio Empty Cordova Multi Device Hybrid App Build Failure [error code 8]

Having tried to follow all advices, remedies and workarounds including removing and reinstalling the Multi-Device Hybrid Apps for Visual Studio CPT1 I still can't seem to do a successful build of the included "Blank App (Apache Cordova)" project.
Build ends consistently in one single error:
The command ""C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7
\IDE\Extensions\k04kuuo3.ie0\packages\vs-mda\install" "C:\Program Files (x86)
\nodejs\" "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7
\IDE\Extensions\k04kuuo3.ie0\packages\vs-mda"" exited with code 8.
File %USERPROFILE%\AppData\Roaming\npm\node_modules\vs-mda-targets\Microsoft.MDA.targets
Line 108
Column 5
Project BlankCordovaApp1
Environment settings:
ADT_HOME %USERPROFILE%\AppData\Local\Android\android-sdk
ANT_HOME C:\apache-ant-1.9.3
GIT_HOME C:\Program Files (x86)\Git\cmd
JAVA_HOME C:\Program Files (x86)\Java\jdk1.7.0_55
PATH %JAVA_HOME%\bin;%ANT_HOME%\bin;%ADT_HOME%\platform-tools;%ADT_HOME%\tools;
C:\Program Files (x86)\nodejs\;C:\Program Files (x86)\Windows Kits\8.1\Windows
Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\
(contains no reference to "Platform")
Your kind help is very much appreciated, Thanks Ian
I just ran into this on one of my PCs and here's how I got it fixed:
Quit Visual Studio
Open the Android SDK manager by typing the Windows key and then "SDK manager", hit enter
Install Android Build Tools Rev 19 by checking the box next to it and clicking Install packages
Accept the license
Open Visual Studio and your project, then run it again
Jordan (Microsoft, Multi-Device Hybrid Apps tools team)
Finally the light bulb went on for me: The problem was the install batch files not being able to locate xcopy.exe and therefore the simple remedy was to just extend the path variable with
%SystemRoot%\system32;
The build now runs without further errors.
Thanks Jordan and Ian.
I ended up doing both.
I ran the Android SDK manager to install the Android Build Tools Rev 19 as well as some other updates.
I also added "%SystemRoot%\system32;" to the PATH environment variable.
Everything running as it should.

The specified module could not be found. Exception from HRESULT: 0x8007007E

Im getting the following message on a messagebox shown from visual studio when I try to do any modifications on an sql server database from visual studio's server explorer on my 64bit machine at home. The database was created and filled on a 32bit machine. Any thoughts?
EDIT:
Fixed it by replacing the corrupted dll located here: "C:\Program Files (x86)\Common Files\microsoft shared\Visual Database Tools\dsref80.dll"
Just as a bit of a heads-up to anyone else coming here from Google...
This happened (for me, and most people here) as a result of installing VS11 Beta, and then un-installing VS11 Beta without installing VS2012. Replacing the DLLs mentioned above, and optionally the DLLs located in the path below, seemed to fix the problems.
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\*.dll
My problem was largely the same.
I was unable to create database diagram. Visual Studio 2010 would just silently fail, but SQL Server Management Studio gave the error message "The specified module could not be found. (MS Visual Database Tools)". This happened after having tried (and removed) the new Visual Studio beta.
Your solution brought me in the right direction. But instead of the dsref80.dll file, my problem was the whole folder C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8. After removing that folder and inserting a copy from a virtual machine (repairing VS would probably have worked also), everything is working again!
I ran into this problem trying to use the SQL Server 2008 R2 Business Intelligence Development Studio (BIDS), which uses Visual Studio 2008 Shell (integrated mode). Every time I tried to create a new Integration Services Project, I was getting an error, "... The specified module could not be found. (Exception from HRESULT: 0x8007007E) (System.Windows.Forms) ...".
As other posters have noted, the files in MSDesigners8 seem to be corrupted. I didn't think to install SQL Server 2008 R2 BIDS in a virtual machine to get copies of the DLL's to put into that folder, but I found a solution which seems to work: installing the Visual Studio 2008 Shell (integrated mode) SP1.
Before that, I renamed the MSDesigners8 folder to MSDesigners8_old (and the .dll files were also renamed .dllold. I don't think that matters necessarily; I'm including it here only in case it does matter). I tried repairing as well as reinstalling BIDS, but it did not recreate the MSDesigners8 folder. Installing SP1 did.
After that, it may also take a reinstall of BIDS, but it may not. Good luck!
I was experiencing this same error on Visual Studio Professional 2012 Version 11.0.61030.00 Update 4 and solved it by going to C:\Program Files (x86)\Common Files\microsoft shared\Visual Database Tools and renaming the dsref80.dll file to desref80.old.dll and then running the "Repair" action on my Visual Studio installation. When repairing, the Visual Studio repair dialog told me it couldn't locate the package source since I didn't have the installation disc available, so I just selected the "Download" option and it worked. This installs the appropriate version of the desref80.dll file.
f you think you may have this problem, just replace your files with a copy from another SQL Server 2008R2/Visual Studio 2008 Installation, that is working, as follows:
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msddslm.dll
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msdds.dll
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msddsf.dll
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msddslmp.dll
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msddsp.dll

Resources