Please can you help me with this VS 2010 issue. This issue comes out every time I want to run my project. Can it be fixed somehow? The screen shot isi aviable in attached file.
try registring IIS again...To do this follow the given steps...
go to C:\Windows\Microsoft.NET\Framework\v4.X folder from Command prompt
execute aspnet_regiis.exe -I command from Command prompt
close the Visual studio and re-open.
Try re-run the project again.
Thanks
Related
when I open a project in VS and Press F5 I get the error of "Process with an id of "xxxx" is not running" but if I keep Visual studio open and wait for about 30 minutes and then press F5 it works fine!
Does anyone knows why?
1.Run Visual Studio as an administrator
2.Open your project file(In Solution Explorer, right-click project=>unload project=>edit x.xxproj)
Delete script below:
<DevelopmentServerPort>63366</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:63366/</IISUrl>
Save the changes and reload the project. F5 to check if it helps.
Please check this similar issue.
Do the following steps :-
Close all the instances of VS in your PC.
Open folder which contains solution file for current project and delete the hidden .vs folder.
Again open the Visual Studio.
Press F5 and IIS Express should load as normal, allowing you to debug.
It works for me. Thanks!
we need a lot more information.
Are you trying to build a program with an IIS Instance? Did you delete any DLLs? Does it work on other machines?
Things to try:
Try a full clean and rebuild. That is, clean the solution, git new, rebuild all. Fix any errors and warnings, then launch with F5.
Run Visual Studio as an admin. Start > Visual Studio > right click > Run as Administrator.
In your csproj file, delete the following lines:
<DevelopmentServerPort>62140</DevelopmentServerPort>
<DevelopmentServerVPath></DevelopmentServerVPath>
<IISUrl>http://localhost:62116/</IISUrl>
Save, then reload.
Try following the solutions from this Stack Overflow:
Process with an ID #### is not running in visual studio professional 2013 update 3
Delete the IIS folder with:
rmdir /s /q "%userprofile%\Documents\IISExpress
Delete the .vs\Config folder in your Visual Studio instance.
Relaunch Visual Studio as Administrator, so they can be rebuilt.
You should now be up and running.
I tried all the solutions from here and from the Internet.
Eventually I uninstalled IIS Express and reinstalled it, and it worked. (tried on VS 2015)
I've done th esame as Sunny_sid but I just renamed .vs with old_vs, just in case.
Restart VS right after and project runs !
I was getting the same error today in my Visual Studio 2019. The easy fix is to kill the process that is running in the port you are trying to use.
To fix this, here are the steps I have done.
Verify that the port your application is running, right-click on the project, open the property pane.
Open the PowerShell and type the preceding command
Get-Process -Id (Get-NetTCPConnection -LocalPort 1068).OwningProcess
Please remember to change the port number. From the result, you can see that you have an ongoing process with Id 21276. You can also get this information from your IISEXPRESS too, from the pop-up message you get when the error occurs.
Go to Task Manager and then click on the Details` tab, find the process
Right-click on the process and then click End Task
You can also try doing this in PowerShell by running taskkill /F /PID pid_number or taskkill /IM "process name" /F
In my case, the error was caused by the fact that the project was targeting .NET5 but my other workstation only has .NET6. I changed the version number in the csproj file. I assume that installing .NET5 in this environment would have worked as well.
Would think the error message when I attempt to run the project would have been clearer. It was simple in the end.
I resolved the issue by turning OneDrive back on, seriously.
I must have free up some space on my PC and left OneDrive off. When VS ran it needed some files to be available to start up IIS.
I also cleaned .vs and bin/obj and we are back running 🤔
I am trying to simply uninstall and remove Visual Studio from my computer however when I go to control panel and find it to remove it the installer opens and I click remove then it gives me this error log. If anyone knows how to fix these issues help would be greatly appreciated. Thanks again.
[2b18:000c][2019-02-21T17:20:25] Error 0x80131509: No product was found
at Microsoft.VisualStudio.Setup.Engine.GetRegisteredProduct()
at Microsoft.VisualStudio.Setup.Engine.Uninstall(CancellationToken token)
Update another error message gives this:
Please follow the cleanup steps to remove VS 2017:
See if you have this file on your machine: "%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe"
If so, please launch it from an admin command prompt with a -full param
InstallCleanup.exe -full
If not, please manually delete the "%programfiles(x86)%\Microsoft Visual Studio\Installer” folder
Relaunch the newly downloaded vs_enterprise.exe (or vs_professional.exe or vs_community.exe…)
Allow the first step to install the installer
Once the installer comes up and you can see workload choices (.net desktop and the like), close it
Go launch the same InstallCleanup.exe to clean up old build of VS
I use the permission of Administrator to install vs_enterprise.exe.
But the install package don't work at all.
OS: win10 professional
The install log in appdata/local/temp/ is as follow:
dd_bootstrapper_20170313103210:
Beginning of the log. Start Time: 13/03/2017 10:32:10 VisualStudio Bootstrapper:13/03/2017 10:32:10: Current Optin root path does not
exists VisualStudio Bootstrapper:13/03/2017 10:32:11: Commandline
arguments =
dd_vs_enterprise_decompression_log.txt:
[3/13/2017, 10:32:4] === Logging started: 2017/03/13 10:32:04 === [3/13/2017, 10:32:4] Executable: D:\vs2017\vs_enterprise.exe
v15.0.26206.0 [3/13/2017, 10:32:4] --- logging level: standard ---
[3/13/2017, 10:32:4] Directory
'C:\Users\gary\AppData\Local\Temp\b012f31d56525c685e\' has been
selected for file extraction [3/13/2017, 10:32:4] Extracting files
to: C:\Users\gary\AppData\Local\Temp\b012f31d56525c685e\ [3/13/2017,
10:32:5] Extraction took 484 milliseconds [3/13/2017, 10:32:5]
Executing extracted package:
'vs_bootstrapper_d15\vs_setup_bootstrapper.exe ' with commandline ' '
[3/13/2017, 10:32:11] The entire Box execution exiting with result
code: 0x0 [3/13/2017, 10:32:11] Launched extracted application
exiting with result code: 0xc000000d [3/13/2017, 10:32:11] ===
Logging stopped: 2017/03/13 10:32:11 ===
Thank You~
I was having this exact problem, thought it was a services thing. The installer would start if I ran it as soon as Windows booted; if I waited, it didn't.
Turns out it was RivaTunerStatistics server that was running for my gaming overlays. Closed it, and voila, working again. Tried multiple times to confirm.
I had a similar issue, my Visual Studio Professional 2017 installer was closing before the installation starts. I solve the issue by following these steps:
1 - Open the prompt(CMD) with administration rights
2 - Check if you have the "InstallCleanup.exe" file inside the folder "%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\". If the file is there then go to step 7
3 - Manually delete the "%programfiles(x86)%\Microsoft Visual Studio\Installer” folder
4 - Relaunch the newly downloaded visual studio installer
5 - Allow the first step to install the installer
6 - Once the installer comes up and you can see workload choices (.net desktop and the like), close it
7 - inside CMD navigate to the folder "%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\"
3 - run this command: "InstallCleanup.exe -full"
4 - that's it. Just run the installer again.
It worked for me.
I had the same Problem on two different Pc's (both win10) and the only thing that worked for me, was reinstalling Windows's and rerun the visual studio installer. I know, that's not a good, fast or easy solution, but it works.
I had a similar issue with the VS 2017 installer (similar error message), and I was finally able to resolve my problem after 4 days of troubleshooting with Microsoft Support. I'm developing on a Dell laptop and the support technician believes one of the Dell services was causing issues with the winmgmt service.
Below is a command that failed to run during troubleshooting. After making sure we had an OS restore point saved, we issued the winmgmt /resetRepository command. After that, the VS 2017 Pro installer was able to execute without error.
Here are the exact steps taken by Microsoft Support:
Step 1: Create a Windows system restore point.
Step 2: From the command prompt with administrative rights or elevated privileges, execute the following command: net stop winmgmt
Step 3: Open a Windows Explorer and locate the path to C:\windows\system32\WBEM\ folder and rename the Repository folder to something else like RepositoryOLD (right click and choose 'Rename Folder').
Step 4: restart the computer
Step 5: From the command prompt with administrative rights or elevated privileges, execute the following command: net stop winmgmt
C:\>net stop winmgmt
The Windows Management Instrumentation service is stopping.
The Windows Management Instrumentation service could not be stopped.
Step 6: From the command prompt with administrative rights or elevated privileges, execute the following steps and execute the following this: winmgmt /resetRepository
C:\>winmgmt /resetRepository
WMI repository has been reset
Step 7: restart the computer.
Hope this helps someone else.
I had the same problem but it was solved by the answer #Ben Logan gave (Closing RivaTunerStatistics).
After trying all the suggested answers here (using VS 2017), I followed the instructions on the official Microsoft docs which worked for me. In summary:
Close the Visual Studio Installer.
Delete the Visual Studio Installer directory. Typically, the directory is C:\Program Files (x86)\Microsoft Visual Studio\Installer.
Run the Visual Studio Installer bootstrapper. You may find the bootstrapper in your Downloads folder with a file name that follows a vs_[Visual Studio edition]__*.exe pattern. If you don't find that application, you can download the bootstrapper by going to the Visual Studio downloads page and clicking Download for your edition of Visual Studio. Run the executable to reset your installation metadata.
Try to install or update Visual Studio again. If the Installer continues to fail, go to the next step.
For anyone still having this problem:
One of my co-workers encountered the same problem. We spent 4 hours searching for solutions, uninstalling VS and other software that we thought might be the culprit.
In the end, THIS LINK helped us figure it out. The problem is somehow explained there and is linked to NODE_OPTIONS variable. If you have that variable set, remove it then restart your computer. This solved his problem.
Configuration:
Widows 10, Visual Studio 2017 Enterprise.
I hope this helps you
Copy vs_enterprise.exe to a USB and run. It will work.
try to run this file using console
example: c:/vs_community__556869458.1519050247.exe
I've both VS 2012 and VS 2013 installed on my computer. The problem is that when I download an VSIX-File and open it with the Visual Studio version selector the file gets opened by VS but instead of installing it. VS opens the file as if it was an unknown binary format.
The attached image shows how VSIX-files are opened (happens with every file ... this is just an example):
I faced the same issue. Just use the VSIXInstaller to install the extension.
You can open "Developer Command Prompt for VS2012" tool in Start -> Microsoft Visual Studio 2012 -> Visual Studio Tools. On the console, run the below command:
VSIXInstaller <path to vsix file>
Open "Developer Command Prompt for VS2015" as administrator.
Type VSIXInstaller.exe vsixFilePath
Note that this way wouldn't work with me and gives me "Path to vsix file 'G:\Roslyn' is invaild or you don't have required access permissions". To solve this you need to put the path in a double quote like this:
VSIXInstaller.exe "G:\Roslyn SDK.vsix"
I got into a weird situation where in a fresh install of W10 and VS2015 Community, the Player Framework vsix installation won't start, either by dbl click or from command prompt using VSIxInstaller.exe, and would show no message at all. The solution was to open an elevated command prompt (run Developer Command Prompt for VS2015 as administrator) and then type VSIXInstaller.exe worked.
I am not clear whether you want to install or just view the contents of VSIX. If you want to install the extension, you just need to double click it and it will install (Do not try to open it with VS Version selector). If you want to see what is inside VSIX, it is basically an archive. So either try to use program like 7-zip to open it else, rename .vsix to .zip and then unzip it.
Further, there is also a chance that you have wrongly associated vsix files to be opened with Visual Studio. In such a case it will open in Visual Studio any case.
Finally, if you have wrongly associated the vsix to open with Visual Studio, try installing the extension using VSIXInstaller.exe found in C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VSIXInstaller.exe
To add to the other answers, if the VSIX files either doesn't have an associated program to open with or opens with the wrong application, selecting the VSIXInstaller.exe as the associated commands re-enables the ability to double-click and directly install it (without the need to do it via commandline).
I faced a similar issue when I first installed VS 2017. This is what worked for me.
Resolution:
Restart VS 2017.(I hadn't restarted it before installation)
Install it from Tools->Extension & Updates.Search for "Perforce" and install.
I double clicked on this and it installed just fine.
Couldn't do it on VS2013 through the extensions dialog.
for me the problem was the extension InstallerProjects was on network server so I had to copy it to my machine (local) and it worked
Every time I install and try to launch Microsoft Visual Studio 2012. I get the following popup with the following message:
the file %CommonDir%\publish.tlb could not be loaded. An attempt to repair this condition failed because the file could not be found. Please re-install the program.
I have tried re-installing it a number of times but I still the message above. I have researching it but I can't seem to find anything. Does anyone have an idea, how this issue could be fixed?
Please run this command from the command prompt by typing windows+R key:
devenv /resetuserdata
The problem should get fixed.