I hava cloned a web Project from git but Project content is not shown on Visual Studio 2015.
I have tried to reload the Project. But, it is not working too. You can find error message for reload here.
C:\Path\Project.Web.csproj : error : The Web Application Project Wise.Monitor.Web is configured to use IIS. Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.
How can I solve this problem.
I have found the problem. It is not related to git. It was a permission problem.
Just go to following folder, and allow Access when a pop up shown asking for permission. Thats all.
c:\windows\System32\inetsrv\config
You can find more details on this post.
Related
I just downloaded and installed Visual studio on my computer (windows 8.1) to start building windows 8 apps. The problem is when I try to run any application this error message shows up (the application from this error message is called Parcels.comStarter):
Error 1 Error : DEP0700 : Registration of the app failed. Deployment
Register operation on Package
a783768f-d79c-495b-bf64-e59e4297fb42_1.0.0.0_neutral__1mfyfctfxa0tr
from:
(d:\Gebruikers\wardv_000\Downloads\Parcels.comStarter\Parcels.comStarter\Parcels.com\bin\Debug\AppX\AppxManifest.xml)
failed with error 0x8E5E0530. See
http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app
deployment issues. (0x80073cf9) Parcels.com
I searched the entire internet but I didn't found a solution. I also did reinstall visual studio and I still have the problem.
Thanks in advance
Open the Services management console (services.msc) and stop the Windows Installer service.
In Windows Explorer, go to C:\ProgramData\Microsoft\Windows\AppRepository\ and rename PackageRepository.edb to PackageRepository.edb.backup.
Back in the management console, restart the Windows Installer service.
Now run Visual Studio as an administrator and open your project.
I was having this exact same problem, and the solution for me was to unlink my Windows account from my Microsoft account.
There are a couple of things to try.
Run WSReset (press [Win] then type wsreset)
Delete the metastore and remotemetastore folder here: C:\Users\%userprofile%\AppData\Local\Microsoft\Windows\SettingSync where %userprofile% is your username. (I suggest just renaming them to metastore.old and remotemetastore.old)
Make sure that there are no staged packages for the app in question.
If you re-deployed an app that was already installed by some other user, then you would get a deployment error. This should wear off if you change the identity in your package.appxmanifest fie.
You should try an OS refresh. You should not lose your apps and settings.
After that re-link your windows account to microsoft account.
If that doesnt work...The problem may be that visual studio is not able to delete the application data in local folder. So when you go in the location C:\Users\UserName\AppData\Local\Packages you will find application data of app installed in your computer, now you need to find your app's application data and delete the folder. The folder name is the same as the package family name which you can see in your solution.
now again open the solution and rebuild and your app will run. (hopefully)
close visual studio and simulator before deleting the folder.
make sure that your account is set as administrator.
I had the same problem with visual studio running under Parallels VM. The solution was to copy the project from a cloud based directory to a local directory.
I am using service stack and I need to have periods included in my routing for example to indicate a version number, eg
/Model/v1.0/Save
When I deploy the service onto IIS6 it works perfectly, however when i run it locally through Visual Studio I get an error of
Request handler not found.
If I remove the period then it works!!
I have looked through all the questions and there was a similiar one,
ServiceStack Handler Not Found When Periods Present in Path
BUT the answer implies that it cant be done and I have seen it working. Secondly in the link referenced in the answer the Service Stack rest tests seem to show that a Version number with a period is a valid route??
See here
https://github.com/ServiceStack/ServiceStack/blob/master/tests/ServiceStack.ServiceHost.Tests/RestPathTests.cs#L210
Please can someone give me some guidance on this one!
Thanks
I just answered this similar question, and i think the same should apply in this case: Visual Studio Development Server (Cassini) does incorrect routing for dots.
If you create a file system Web site in Visual Studio 2010 and the Web site is in a folder that contains a dot (.) in the folder name, URL routing will not work reliably. An HTTP 404 error is returned from some virtual paths. This occurs because Visual Studio 2010 launches the Visual Studio Development Server (Cassini) using an incorrect path for the root virtual directory.
There are 3 workarounds, and only the "use IIS instead of Cassini" workaround seems to work for ServiceStack.
The problem will go away if you edit your project Web properties and check "Use IIS Express" instead of "Visual Studio Development Server".
The cases to use IIS Express are explained in the announcement, and there is a download link.
I can't get an Umbraco installation set up completly. I have been running into the error:
Oops...the installer can't connect to the repository
Starter Kits could not be fetched from the repository as there was no
connection - which can occur if you are using a proxy server or
firewall with certain configurations, or if you are not currently
connected to the internet. Click Continue to complete the
installation then navigate to the Developer section of your Umbraco
installation where you will find the Starter Kits listed in the
Packages tree.
I have tried this via manual install, Web platform installer and WebMatrix.
When I tried this wie WebPI and manual I gave the IIS_IUSRS FULL ACCESS to the Umbraco folder and de C:\windows\temp folder to be on the safe side. Which has brought no effect.
I have also tried using the steps described here and on google.
Every option has been tested on my physcial windows 7 professional machine, as well as on my virtual Windows server 2008 R2 dev-environment with the actual Umbraco 6.0.5 build.
I am hoping you can provide me with a working solution
Kind Regards
This problem is probably caused due to the umbraco installer not being able to connect to the internet, it doesn't look like a file permission problem.
If you are behind a proxy or firewall, you could add a proxy to the web.config that will allow umbraco to connect to the repository.
<defaultProxy useDefaultCredentials="true" />
http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx
Setting the permissions for ISS_IUSRS should work, though I would use the "IIS APPPOOL\{application-pool-name}" user to set the permissions.
A ps script is available at the bottom of the following page: http://our.umbraco.org/wiki/install-and-setup/set-umbraco-folder-permissions-from-command-line
However, if you reached the point where the installer is asking to install a package, isn't the application already running?
What happens if you quit the process, and login to umbraco?
Ok, first of; here's what I did:
Install AZURE tools
Reboot
Start Visual Studio - new Azure project
Add web role (asp.net MVC 4 beta web role)
Hit F5 (debug)
It starts up the storage emulator and the compute emulator and starts to load in runtimes, and then I get a popup saying that the debugger couldn't connect.
Then after some googeling I'm suggested to try to run the application without running the debugger to see if I can acces the application. When I do I get this:
So I figure that IIS does not have permissions to access some file/directory. So I go to IIS and look up the application pool running the app, and it tells me that the identity in use is NetworkService, then I go give NetworkService full permissions to the entirety of the folder IIS has set for the application (which also happens to be the path to the project dir). Still I get the same error. Now I'm more or less out of ideas, but I try one last thing, which is to also give IUSR full permissions to the same dir, but this did not help either.
How can I go about resolving this problem? I haven't tried actually launching my project to Azure yet, cause if I can't even get it to work in development I don't see much point. Any and all help would be appreciated.
I ran into the same error today after uninstalling .NET 4.5/Visual Studio 11 Dev Preview, then installing ASP.NET MVC 4 Beta (this is before Feb 29th when the updated VS 2011 Preview drops).
Since I uninstalled .net 4.5, you just need to do an "aspnet_regiis -i" to ensure the .net framework (4.0) is set up with IIS 7.x this worked for me.
Edit: This will work if you uninstall/then manually install Visual Studio 2012 RTM as well.
I had a similar error yesterday. For me the problem was that the output of the build was empty in the target folder.
I tried to answer a similar question https://stackoverflow.com/a/9411422/182371:
Check %UserProfile%\AppData\Local\dftmp\IISConfiguratorLogs\IISConfigurator.log
file for the error messages. Mode details at
https://stackoverflow.com/a/8432621/182371
Make sure that the build output of your project is not empty. You can do this by going to IIS, find the site with the name similar to
'deployment16(6).WindowsAzureProject2.WebApplication3_IN_0', right
click --> Explore.... Make sure that this folder is not empty and
contains all the files required to start a web project successfully.
As for the Access Denied error:
it could be just an IIS default setting to disable browsing. To resolve that, just navigate to that web site in IIS, find Directory Browsing icon, and press Enable. You will at least see the files inside that directory.
Also try not only 127.0.0.1:81, buta specific document inside that folder, like 127.0.0.1:81/Default.aspx
Take into account the fact that there's sometimes some mess with the ports. You see that in the error message it's port 82, but in your browser it's port 81. So make sure you're using the right port. Or, even better, in your service definition try to use some non-standard port for this to avoid remapping.
I've met the same issue. In the end, I had to reinstall IIS 7.
I got this exact same error and tried a re-install of IIS and the Azure SDK - nothing worked.
Eventually tracked it down to the "IIS URL Rewrite Module 2". I went to the Control Panel and chose Repair and it resolved it. If you have a section in your web.config then this might be the cause.
Follow step 11 from http://www.microsoft.com/en-us/download/details.aspx?id=35448. Worked for me on Windows 8 with Oct 2012 SDk when upgraded from 2011.
I get the error "Failed to map the path 'MyAppName/App_GlobalResources'", where MyAppName is the name registered in IIS. I ran aspnet_regiis -i,and also removed .NET 3.5 and reinstalled it since the IIS had been installed later. However, the moment i run a aspx page, this is the error i get.
What does this error really mean , and what is the way out of it ?
Thanks for any info.
I fixed it as advised in similar problems faced by others
"In RegEdit, give ASPNET account full access to:
HKEY_CLASSES_ROOT\Interface{70B51430-B6CA-11D0-B9B9-00A0C922E750}"
If you are using windows 7 then right click on visual studio and run as administrator. It will solve your problem.