I am trying to setup RavenDB on my new Windows 8 dev machine. I have enabled Windows Authentication on that particular site and disabled Anonymous Authentication. I am logged in as a Local User account, which is also a member of Administrator. This normally works just fine on my previous Windows 7 dev machine. In this one I keep getting asked for login. I have tried using the account I'm logged in as but I keep getting asked to log in. I'm simply trying to use the RavenDB Studio.
I have tried this on Chrome and IE - probably missing something obvious/fundamental but can't think of what. Any ideas please? Thanks.
I was using unstable 1.2 build 2139. It was fixed in build 2140.
Related
I've just created a new IIS website on a Windows Server 2008 in order to use it to deploy a new website.
The website is still empty.
If I try to open IIS Web Platform Installer under Management Tools, I get stuck on the error:
'doctype' is an unexpected token. The expected token is 'DOCTYPE'.
Line 1, position 3.
After closing the error, the Web platform Installer closes.
Do anyone know how to solve it?
Let me know in the comments if you need any other info or technical data, I have really no idea on how can I troubleshoot this
I had the same issue. However, I cannot uninstall IIS completely as I have many sites on my IIS running.
What I did was, I tried to install an IIS module which was not there. for eg, I chose CORS module.
You can get it from here https://www.iis.net/downloads/microsoft/iis-cors-module
Once I tried installing, WPI automatically uninstalled and reinstalled during the process and it resolved the issue.
Hope it helps!
As mentioned by #qbik Simply updating the Web platform installer fixed the issue. You can download the latest at this time from here.
Done, here's how I solved.
This issue seems to be strictly related to an old configuration of this server, so I had to manually reset it. If you face this issue, these following steps should work fine:
First of all, I had to remove the IIS role functionality from
Control Panel > Programs and Features > Turn Window Features on or
off > Roles.
Then, I restarted the server and added again the IIS role
functionality (make sure to check all of the asp net
functionalities).
After that, I restarted the server (again) and I have reinstalled: 1) DotNetCore.2.0.7-WindowsHosting (you've got to find the installer online, make sure to download the last version. 2.0.7 was the last when I made this question so on 25/05/2018) 2) Web platform Installer from here.
Executing web platform installer from all program inside start menu worked fine.
Hope it will be helpful
(See Also:
How to Install Web Platform Installer and Web Deployment)
I installed Windows Server 2012 and was able to connect 2 remote desktop users as expected. When the 3rd tried to connect it said you had to kick off one of the two simultaneous users currently on.
So I purchased a Per-User 5 license Open CAL and applied it. It is listed correctly as installed in the Remote Desktop Licensing Manager. Total licenses 5, available 5, everything looks great.
However, trying to connect a 3rd user via Remote Desktop to this server still gives the same error. I have done this before in Windows Server 2008 without a problem. Any ideas? I have the Remote Desktop Service role installed.
Not sure why the downvote for the question, but here's what worked for me:
Add the Remote Desktop Session Host role.
Apparently that has to be there for it to work properly.
I am trying to code a website for azure. First I'm trying to run a simple test... but I'm not being able to run the simplest test ever... a cloud service with 1 web role (asp.net mvc4 site) with only 1 action (homepage).
I'm using Visual studio 2012 (Ultimate) and I just installed Azure SDK (version 2.1). When I run the website, the emulator starts and everything seems fine. But when the page opens in my Firefox it says "The connection was reset" and the page doesn't load.
I'm not sure what I'm doing wrong... I'm trying like a "hello world" for azure... it should work pretty straight forward. I tried using other ports for the endpoint (8081, 9595, etc) but the result was the same. I also disabled windows firewall... just in case.
I would really appreciate any help... I've been stuck with this for several hours and I really don't know what else to try.
Not sure what's going on, as a simple F5 on a brand new MVC4 project should "just work." Having said that:
Make sure you're running VS2012 as administrator, otherwise it won't launch the emulator.
Make sure your Azure project is the startup project.
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 am running the OpenIDRelyingPartyWebForms sample from the DotNetOpenAuth release.
I have VS 10, IIS 7.5, Windows 7.
When I run the project using the development server, it works fine and I navigate to the OpenId login page. It works with both F5 and Ctrl F5,
When I add the project as an application inside IIS 7.5, I get the "No OpenID endpoint found" error.
Any ideas?
Where are the VS development server settings stored so I can compare them?
Is the IIS 7.5 server the same as your dev box or is it a different box? Usually firewalls are to blame for this.
Perhaps the best way to diagnose it is to enable verbose logging and see if DNOA tells you more about why it is failing.