Install vs 2005 in windows 10 - visual-studio-2005

I want to install vs 2005 in my windows 10 PC. I uninstalled following from my PC:
vs 2015
vs 2017
SSMS 2017
Now, when i tried to install vs 2005. I get the error:
"A problem has been encountered while loading the setup components. Canceling setup".
Error log:
[04/26/20,00:09:41] MSITOSIT: [2] CRootComponent::SetManager() - MsiGetActiveDatabase returned an invalid handle
[04/26/20,00:09:41] MSITOSIT: [2] ERROR processed; exception was thrown for retail build
Developer Comment: MsiGetActiveDatabase returned an invalid handle
Build Time: Thu Dec 11 15:04:18 2003
DWORD: 0
[04/26/20,00:09:41] setup.exe: [2] ISetupModule::SetManager() failed in ISetupManager::LoadSetupObjectGuid() : vs_setup.dll
[04/26/20,00:09:42] setup.exe: [2] CSetupManager::LoadSetupObjectname() - Failed in call to LoadSetupObjectGuid() for strName: in file: vs_setup.dll
[04/26/20,00:09:42] setup.exe: [0] LoadComponent(), LoadSetupObjectName failure: vs_setup.dll
[04/26/20,00:09:42] setup.exe: [0] LoadComponent failed in ISetupManager::LoadComponentsFromDBObject(): vs_setup.dll
[04/26/20,00:09:42] setup.exe: [2] CSetupManager::LoadDatabaseValues() - Failed in call to LoadComponentsFroMDBObjects()
[04/26/20,00:09:42] setup.exe: [2] CSetupManager::RunIntro() - Failed to Load Database Values
[04/26/20,00:09:43] setup.exe: [2] CSetupManager::RunLoadSetup() - Failed to Run the Intro
If anyone faced this problem before, could you please let me know the solution.

I just formatted my PC and installed vs 2005. It installed without any issues.

You need to install the older .NET Framework that VSS 20O5 runs on...
In Turn Windows features on or off. Check off the first one on the list named .NET Framework 3.5 (includes .NET 2.0 and 3.0). Reboot and then install VSS 2005

Related

Could not copy obj\Debug\net6.0\CMA.dll to bin\Debug\net6.0\CMA.dll. Exceeded retry count of 10. Failed. The file is locked by: Visual Studio 2022

I just upgraded to "Microsoft Visual Studio Community 2022 (64-bit) - Current
Version 17.1.2" and while I try to compile the.Net core 6 web Application, it gets this error:
Severity Code Description Project File Line Suppression State
Error MSB3027 Could not copy "obj\Debug\net6.0\CMA.dll" to "bin\Debug\net6.0\CMA.dll". Exceeded retry count of 10. Failed. The file is locked by: "Microsoft Visual Studio 2022 (8816)" CMA C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 4631
When I double click the error message it opens the file Microsoft.Common.CurrentVersion.targets and highlights the part below:
<!-- Copy the build product (.dll or .exe). -->
<Copy
SourceFiles="#(IntermediateAssembly)"
DestinationFolder="$(OutDir)"
SkipUnchangedFiles="$(SkipCopyUnchangedFiles)"
OverwriteReadOnlyFiles="$(OverwriteReadOnlyFiles)"
Retries="$(CopyRetryCount)"
RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)"
UseHardlinksIfPossible="$(CreateHardLinksForCopyFilesToOutputDirectoryIfPossible)"
UseSymboliclinksIfPossible="$(CreateSymbolicLinksForCopyFilesToOutputDirectoryIfPossible)"
ErrorIfLinkFails="$(ErrorIfLinkFailsForCopyFilesToOutputDirectory)"
Condition="'$(CopyBuildOutputToOutputDirectory)' == 'true' and '$(SkipCopyBuildProduct)' != 'true'"
>
<Output TaskParameter="DestinationFiles" ItemName="MainAssembly"/>
<Output TaskParameter="DestinationFiles" ItemName="FileWrites"/>
</Copy>
Any Idea what to do?

Installation of open km not successful

OpenKM Installed on
OS: Windows Server 2016
VM: ESX 6.5
After the successful Installation, the Apache Service is not showing in Microsoft Services Console (MSC).
Find below the error generated after a login attempt :
http://192.168.0.28:8080/OpenKM/login.jsp
Application error
Class: org.apache.jasper.JasperException
Message: An exception occurred processing JSP page [/login_desktop.jsp] at line [230] 227:
Date: Wed Jul 22 15:59:10 PKT 2020
Regards,
Anwar

IntelliJ community edition 2018.2 Unable to import maven project: See logs for details

I am using IntelliJ on Mac OS Mojave and having an issue loading maven projects in the IDE
I updated my IntelliJ to latest version i.e. 2018.2 community edition
Updated my JDK to 11.0.1
updated maven to 3.5.4
Now I am not able to see maven projects in my IDE and my IDE keeps on showing me "Unable to import" error in the events logs window. Strangely I can compile the project using mvn commands from terminal but cant see the maven projects in IDE window.
error screen shot
I also tried to check the logs which has following in it. I have made sure that Java version used by IntelliJ is version 11. I also tried clearing the idea folder as suggested for other similar questions but that did not help either
Settings
018-10-31 00:45:28,583 [ 119986] INFO - tartup.impl.StartupManagerImpl - Activity run in 109ms on UI thread
2018-10-31 00:45:29,001 [ 120404] INFO - j.ide.ui.OptionsTopHitProvider - 233 ms spent on EDT to cache options in project
2018-10-31 00:45:29,585 [ 120988] WARN - ution.rmi.RemoteProcessSupport - Unrecognized option: -d64
2018-10-31 00:45:29,585 [ 120988] WARN - ution.rmi.RemoteProcessSupport - Error: Could not create the Java Virtual Machine.
2018-10-31 00:45:29,585 [ 120988] WARN - ution.rmi.RemoteProcessSupport - Error: A fatal exception has occurred. Program will exit.
2018-10-31 00:45:29,630 [ 121033] WARN - ution.rmi.RemoteProcessSupport - Unrecognized option: -d64
2018-10-31 00:45:29,630 [ 121033] WARN - ution.rmi.RemoteProcessSupport - Error: Could not create the Java Virtual Machine.
2018-10-31 00:45:29,630 [ 121033] WARN - ution.rmi.RemoteProcessSupport - Error: A fatal exception has occurred. Program will exit.
2018-10-31 00:45:29,632 [ 121035] ERROR - #org.jetbrains.idea.maven - Cannot reconnect.
java.lang.RuntimeException: Cannot reconnect.
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:82)
at org.jetbrains.idea.maven.server.MavenServerManager.applyProfiles(MavenServerManager.java:526)
at org.jetbrains.idea.maven.project.MavenProjectReader.applyProfiles(MavenProjectReader.java:394)
at org.jetbrains.idea.maven.project.MavenProjectReader.doReadProjectModel(MavenProjectReader.java:103)
at org.jetbrains.idea.maven.project.MavenProjectReader.readProject(MavenProjectReader.java:62)
at org.jetbrains.idea.maven.project.MavenProject.read(MavenProject.java:655)
at org.jetbrains.idea.maven.project.MavenProjectsTree.doUpdate(MavenProjectsTree.java:555)
at org.jetbrains.idea.maven.project.MavenProjectsTree.doAdd(MavenProjectsTree.java:500)
at org.jetbrains.idea.maven.project.MavenProjectsTree.update(MavenProjectsTree.java:461)
at org.jetbrains.idea.maven.project.MavenProjectsTree.updateAll(MavenProjectsTree.java:432)
at org.jetbrains.idea.maven.project.MavenProjectsProcessorReadingTask.perform(MavenProjectsProcessorReadingTask.java:60)
at org.jetbrains.idea.maven.project.MavenProjectsProcessor.doProcessPendingTasks(MavenProjectsProcessor.java:132)
at org.jetbrains.idea.maven.project.MavenProjectsProcessor.access$000(MavenProjectsProcessor.java:32)
at org.jetbrains.idea.maven.project.MavenProjectsProcessor$2.run(MavenProjectsProcessor.java:107)
at org.jetbrains.idea.maven.utils.MavenUtil.lambda$runInBackground$5(MavenUtil.java:449)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:314)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.rmi.RemoteException: Cannot start maven service; nested exception is:
com.intellij.execution.ExecutionException: Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:161)
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:66)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:41)
at org.jetbrains.idea.maven.server.MavenServerManager.lambda$applyProfiles$3(MavenServerManager.java:526)
at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:76)
... 20 more
Caused by: com.intellij.execution.ExecutionException: Unrecognized option: -d64
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
at com.intellij.execution.rmi.RemoteProcessSupport.acquire(RemoteProcessSupport.java:159)
at org.jetbrains.idea.maven.server.MavenServerManager.create(MavenServerManager.java:158)
... 24 more
2018-10-31 00:45:29,633 [ 121036] ERROR - #org.jetbrains.idea.maven - IntelliJ IDEA 2018.2.5 Build #IC-182.4892.20
2018-10-31 00:45:29,633 [ 121036] ERROR - #org.jetbrains.idea.maven - JDK: 1.8.0_152-release
2018-10-31 00:45:29,633 [ 121036] ERROR - #org.jetbrains.idea.maven - VM: OpenJDK 64-Bit Server VM
2018-10-31 00:45:29,633 [ 121036] ERROR - #org.jetbrains.idea.maven - Vendor: JetBrains s.r.o
2018-10-31 00:45:29,633 [ 121036] ERROR - #org.jetbrains.idea.maven - OS: Mac OS X
2018-10-31 00:45:29,633 [ 121036] ERROR - #org.jetbrains.idea.maven - Last Action: EditorBackSpace
Finally, I managed to solve it by uninstalling IntelliJ, deleting all the setting from current and previous versions of IntelliJ ( ⁨Users⁩/⁨/⁨Library⁩/ ⁨Preferences⁩) and then reinstalling it again
Before that , I tried all the following as suggested in various posts that did not help much in my case
Cleaning up .idea folder
setting up PATH variables correctly
Using maven from installed directory instead of bundled option
Most important part was cleaning up the old settings and a simple reinstall did not work for me.
What I am not sure still is that what was causing "Invalid options -d64" error from those settings. But finally now I can try out latest Java, Maven and IntelliJ
Thanks.
It's a known issue with JDK 10/11: https://youtrack.jetbrains.com/issue/IDEA-195143. Bug is fixed in 2018.3
It seems you are running Maven with an unrecognized option, -d64, and that's causing that error. Check your Maven settings in IntelliJ.

Can i install / use nuget if my documents folder is on a shared drive?

I see a number of issues on the nuget forum around not being able to install if your My documents folder is on a shared drive. If I don't have the flexibility to change this (locked down policy) is there any way i can use nuget?
Here is the error i get when trying to install it from the VS Extension Manager:
The system cannot find the path specified. (Exception from HRESULT:
The VS log file shows:
3/23/2012 9:45:26 PM - Microsoft Visual Studio Extension Installer
3/23/2012 9:45:26 PM - -------------------------------------------
3/23/2012 9:45:26 PM - Initializing Install...
3/23/2012 9:45:26 PM - Extension Details...
3/23/2012 9:45:26 PM - Identifier : NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5
3/23/2012 9:45:26 PM - Name : NuGet Package Manager
3/23/2012 9:45:26 PM - Author : Microsoft Corporation
3/23/2012 9:45:26 PM - Version : 1.6.21215.9133
3/23/2012 9:45:26 PM - Description : A collection of tools to automate the process of downloading, installing, upgrading, configuring, and removing packages from a VS Project.
3/23/2012 9:45:26 PM - Locale : en-US
3/23/2012 9:45:26 PM - MoreInfoURL : http://docs.nuget.org/
3/23/2012 9:45:26 PM - InstalledByMSI : False
3/23/2012 9:45:26 PM - MinFramework : 4.0
3/23/2012 9:45:26 PM - MaxFramework : 4.0
3/23/2012 9:45:26 PM -
3/23/2012 9:45:26 PM - Supported Visual Studio Editions :
3/23/2012 9:45:26 PM - Version : 10.0
3/23/2012 9:45:26 PM - Pro
3/23/2012 9:45:26 PM - IntegratedShell
3/23/2012 9:45:26 PM - VWDExpress
3/23/2012 9:45:26 PM - VPDExpress
3/23/2012 9:45:26 PM - Version : 11.0
3/23/2012 9:45:26 PM - Pro
3/23/2012 9:45:26 PM - IntegratedShell
3/23/2012 9:45:26 PM - VWDExpress
3/23/2012 9:45:26 PM - VPDExpress
3/23/2012 9:45:26 PM -
3/23/2012 9:45:26 PM - Supported Isolated Shells :
3/23/2012 9:45:26 PM -
3/23/2012 9:45:26 PM - References :
3/23/2012 9:45:26 PM -
3/23/2012 9:45:26 PM - System.IO.DirectoryNotFoundException: The system cannot find the path specified. (Exception from HRESULT: 0x80070003)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudio.Settings.ExternalSettingsManager.GetScopePaths(String applicationPath, String suffixOrName, Boolean isLogged, Boolean isForIsolatedApplication)
at Microsoft.VisualStudio.Settings.ExternalSettingsManager.CreateForApplication(String applicationPath)
at VSIXInstaller.App.GetExtensionManager(SupportedVSSKU sku)
at VSIXInstaller.App.GetExtensionManagerForApplicableSKU(SupportedVSSKU supportedSKU, IInstallableExtension installableExtension, List`1 applicableSKUs)
at VSIXInstaller.App.InitializeInstall()
at VSIXInstaller.App.OnStartup(StartupEventArgs e)
I was facing a similar issue and the various suggestions about CasPol and loadFromRemoteSources failed; here's what worked for me (on Windows 7 sp1):
Uninstall the current NuGet extension
Close Visual Studio
Open up a registry editor and navigate to HKEY_CURRENT-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\
The Personal key will show the shared folder as its value
Amend that value to a local drive location, e.g. C:\Temp\
Don't close regedit as you'll be changing it back in a moment
Open Visual Studio
it might complain about not finding certain settings, but I just clicked through the warnings
Install the NuGet extension
at least for me, this all happened smoothly in exactly the way that wasn't happening before
Quit Visual Studio
Revert the Personal registry value back to its previous state
Restart Visual Studio
... et voilà!
I don't tested this myself, but you can try to modify C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.config file and include loadFromRemoteSources element:
<loadFromRemoteSources enabled="true"/>
at the location <configuration> \ <runtime>. Additionally you can try to verify that no other old version NuGet is installed. You should start Visual Studio 2010 shortcut with context menu and choose "Run as administrator" to be sure that you can uninstall it.
Additionally you can consider to add "FullTrust" to the share for the .NET
CasPol.exe -m -ag 1.2 -url file://ServerName/ShareName/* FullTrust
Try to set your Environment Variable Path in the MyComputer's System Properties > Advance tab
The only thing I know NuGet installs under "My Documents" is the following:
%LocalAppData\NuGet <-- here you usually find the default cache folder
%AppData\NuGet <-- here you find the machine-level nuget.config file
Can you check if these folders are there?
Just a theory, but if not, maybe you can create those folders yourself and retry the installation?
If you have redirected folders.... then something is borked.
Workaround:
Choose menu Start → All Programs → Accessories, right-click on Command Prompt, and choose Run As Administrator. Type subst Z: "C:\Windows" and press Enter (Z is your redirected folder path).
Run your stuff again.
The "fix": http://support.microsoft.com/kb/886549

unable to start webmatrix

I recently installed WebMatrix. When I start the WebMatrix on my machine, it shows me the error and closes. Following are the error details
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: webmatrix.exe
Problem Signature 02: 7.9.0.0
Problem Signature 03: 4e694933
Problem Signature 04: Microsoft.WebMatrix.Core
Problem Signature 05: 7.9.0.0
Problem Signature 06: 4e69493b
Problem Signature 07: 1544
Problem Signature 08: 24
Problem Signature 09: System.ArgumentException
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
hi Justin Thanks for the update. here is the event log you asked for
Log Name:
Application
Source: Application Error
Date: 12/12/2011 11:57:52 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: HANU-LPT2.hanusoftware.local
Description:
Faulting application name: WebMatrix.exe, version: 7.1.1307.1, time stamp: 0x4e694933
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0xe0434352
Fault offset: 0x0000b9bc
Faulting process id: 0xd8
Faulting application start time: 0x01ccb8971a1262b8
Faulting application path: C:\Program Files (x86)\Microsoft WebMatrix\WebMatrix.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: 6a9b0c3e-248a-11e1-ab5c-705ab6a78e2c
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-12-12T06:27:52.000000000Z" />
<EventRecordID>418956</EventRecordID>
<Channel>Application</Channel>
<Computer>HANU-LPT2.hanusoftware.local</Computer>
<Security />
</System>
<EventData>
<Data>WebMatrix.exe</Data>
<Data>7.1.1307.1</Data>
<Data>4e694933</Data>
<Data>KERNELBASE.dll</Data>
<Data>6.1.7601.17651</Data>
<Data>4e211319</Data>
<Data>e0434352</Data>
<Data>0000b9bc</Data>
<Data>d8</Data>
<Data>01ccb8971a1262b8</Data>
<Data>C:\Program Files (x86)\Microsoft WebMatrix\WebMatrix.exe</Data>
<Data>C:\Windows\syswow64\KERNELBASE.dll</Data>
<Data>6a9b0c3e-248a-11e1-ab5c-705ab6a78e2c</Data>
</EventData>
</Event>
Looks like it's well-known issue:
there is a known issue with Dev 11 Beta and WM 2 Beta. We are
actively working on an update to WM 2 Beta to address this - I
anticipate this will be released early next week (Chris Sfanos, Web
Platform Installer PM)
Recommendation to rollback:
Uninstall Microsoft SQL Server Compact 4.0 SP1 x64 ENU CTP1
Uninstall Web Platform Installer
Uninstall WebMatrix Beta 2
Uninstall IIS 7.5 Express
(If you installed PHP for WebMatrix) Delete the remaining PHP folder under C:\Program Files (x86)\IIS Express
Install Web Platform Installer 3.0 (http://www.microsoft.com/web/downloads/platform.aspx)
Install WebMatrix 1 from the Web Platform Installer 3.0
(If desired) Install PHP for WebMatrix from the Web Platform Installer 3.0
Link: http://forums.iis.net/p/1187677/2015970.aspx
I had the same issue with Webmatrix.
Go to Documents->IISExpress->config folder
Delete the applicationhost.config file and start webmatrix
It should start normally
found the solution on IIS forums
I had issues with my applicationhost.config the bindings that I setup stopped working.
<binding protocol="http" bindingInformation="*:50499:*" />
Had to become, still unsure why
<binding protocol="http" bindingInformation="*:50499:localhost" />

Resources