"The web application project is configured to use IIS. Unable to access the IIS Meta Base. You do not have sufficient privilege to access the IIS web sites on your machine"
Just installed Service Pack 1 yesterday. This error was not present before SP1, so I'm pretty sure it is SP1 that caused it. However, I need SP1 for future projects/work that requires it. Hopefully someone can point me in the right direction?
Try using this from the command line:
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
Check your version "v2.0.50727"
Related
I had a computer with VS2019 Community installed. I got a new computer, copied my documents over, and installed VS2022 Community. I am launching VS as admin. In the upper-right corner of VS it says "Admin". Also, when launching VS I get the User Account Control prompt associated with launching as an admin. Yet when I build my solution and launch IIS Express, I get a message "...You do not have permission to access the IIS configuration file. Opening and creating web sites on IIS requires running Visual Studio under an Administrator account". Does anyone know what else to do or have a suggestion of what else to look at? Any help would be appreciated.
Seems the message is a red herring. I incorrectly assumed that IIS Express was installed with VS. The solution was to install IIS Express.
I have problem trying to install visual c++ 2015. All I get is error Message. The error message is 0x80240017. I have tried several solutions provided online but it seems none of them is working for me. Some will tell me to fully uninstall then restart my PC and try to do the installation again.
I'm running windows 7 32bit.
Thanks so much in advance.
I'm very grateful to everyone.
I found the solution to my problem. The specifications of Microsoft Visual C++ 2015 indicate that your Operating System must have a Service Pack. Eg service pack 1 for win7.
You can check this by checking the properties of my computer. Right under the operating system it will be indicated if you have a service pack or not.
To get a service pack for windows 7 try to check for updates. Make sure you see service Pack 1. Or whatsoever. If not install the updates available and restart your PC then check for updates again. Then it should be there.
Thanks house for your contribution
I have Visual Studio Ultimate 2013 and SharePoint Designer installed on my local machine. I have a SharePoint installed on a server farm that i have full read and write permissions on. My problem is when i try to create the project the wizard to connect to the SharePoint will not show up and it says i need it installed on my local machine. I have read many forums posts such as
https://social.msdn.microsoft.com/Forums/en-US/5853a07e-e033-43ab-929b-f5766354fea9/cannot-connect-to-sharepoint-2013-farm-with-office-tools-for-visual-studio-2012?forum=sharepointdevelopment
https://msdn.microsoft.com/en-us/library/office/jj220047(v=office.15).aspx
along with others these are just the ones still open in my browser. I would love some help or a proper tutorial because the ones i am finding are no help and im not seeing anything besides a error message saying i cannot create a project until i install foundation or server for sharepoint
This is a case where the error message means exactly what it says. You must install SharePoint on your development machine in order to use Visual Studio for local SharePoint development. You can develop on Windows Server 2008/2013 (most common solution I've seen), install SharePoint on your Windows 7/8 machine (which is painful to do but possible), or set up a remote environment for development after signing up for an Office 365 Developer Site.
After hours of searching I found a work around for anyone who is running into this problem... You need to make a web reference to the SharePoint site then you can access the XML and do it that way. Microsoft hides the option its under service reference then you click web reference add the URL and a easily called name add it and your good to go.
Please can someone help me, am getting this message whenever I start my windows 7 system:
Visual Studio Just-In-Time Debugger.
An unhandled exception ('System.IO.FileNotFoundException') occured in IAStorDataMgrSvc.exe [5824]. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled. In visual Studio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Just-In-Time.
I have uninstalled Visual Studio yet this challenge persists.
Because of the above error I can no longer properly use my wamp server.
Did you also install IIS when you installed Visual Studio.
IIS and the APache in WAMP are both web servers and both want to use TCP port 80. IIS is probably staring automatically and getting port 80 first so Apache cannot have it.
If you are not using IIS then uninstall it as well.
If you are then you will have to change IIS and probably some other bits so they dont start automaticaly. Do this on the Services dialog.
Ive got the same problem.
I dont know about the relationship betwin Visual studio and Wamp, and I somehow doubt its related, sence at the instal of VS2017 Ive had already instaled Wamp.
What I do know is that, even in offline instal mode this problem persists, my gues is that JustINtimeDebugger got locked.
My solution:
I killed the PowerShell.exe process (under vs_instalershell ) using File Explorer and install it later.
Note, this does not solve the problem it just bypass it.
Theoreticaly, next you should try to unlock the RegisterJustInTimeDebugger.ps1 file from C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.Debugger.JustInTime,version=15.0.26208.0 with (consider changing the path if needed):
Unblock-File -path "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.Debugger.JustInTime,version=15.0.26208.0"
Altenative:
Update the System Variable __PSLockDownPolicy to 1 or delete it if it exists.
But I have failed to make it working even now.
I have installed web matrix and It has somehow removed the existing IIS Express 8.0, that is installed by default during the VS2012RC installation. I think that is because the web Matrix is using IIS 7.5. So that it has replaced the IIS Express 8 with IIS Express 7.5.
So my tech lead told me to remove the existing IIS 7.5 that has been installed during the installation of Web Matrix, And I removed it. So I have no IIS for debugging. So once I tried to install the IIS 8 manually and it says that there is a existing version of IIS Express 8. So that I can not even install the IIS Express 8.
So I did a repair to my VS2012RC. After a lengthy process it finally gave me a report as
"IIS 8.0 Express
Package failed"
So, Now I am totally stuck with this. Can some one good at this VS stuff help me on this issue.
Another thing is, previously when I open the project and it was not loaded(It says the project is not loaded) So, then when I write click on it and do a reload it said "For debugging you have to have IIS 8.0 and ask me to download it and install ".
When I click next and then it goes to "MS web platform Installer" and direct me to the "IIS 7.5 download page" But the install button was enabled and says its installed. What should I do to overcome this issue. This is like a nightmare.
I also Tried to use "Fix it" and Its beta testing is over and I can not do a proper uninstall of the IIS 8, which says that is still existing.
Thank you.
So, what I did was using MS web platform Installer my option of IIS Express 7.5 and IIS Express 8.0 was gone due to a registry issue. But there was another IIS 8.0 which is compatible with Windows XP and Vista and upper. So I downloaded it installed. It installed in no time and then I opened the project and changed my solution configuration, single start up to my website project. And it worked. That saved me form the havoc that day.
Later I uninstalled the IIS 8.0(Xp compatible) and then did a repair again to my VS 2012 and it installed correctly that time. Then I changed the configuration as said above and done.
If you have the same kind of problem you have to check the configuration also. Since I forgot that this took even longer instead of repairing time for the VS 2012 as well as the system restore.