I've just started checking out WebMatrix, and am running into a problem. I performed a fresh install of WebMatrix, then started a tutorial which involves creating one small cshtml file. Whenever I try to run the site, I get the following error:
This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.cshtml' may be incorrect. Please review the URL below and make sure that it is spelled correctly.
Requested URL: /Home.cshtml
In the IIS Express Requests section, the page request shows the following error:
404.17 Dynamic Content Mapped to Static Handler
Details: The requested matched a wildcard mime map and was matched to the static filder (What's up with all the typos MS?) handler. However, if the pre-conditions were different, the request would map to a different handler. This can mean that the pre-conditions are incorrect.
I tried reinstalling to no avail. Does anybody have any ideas?
I am running Windows 7 Pro, with IIS 7 installed. (IIS Express is supposed to be able to run side-by-side no problemo)
Thanks much!
It was set to 4.0 -- Uninstalling and reinstalling ASP.NET Web Pages did the trick.
It seems you selected 2.0 .NET framework in Settings section (in WebMatrix). Change it to '.NET 4 (Integrated)'.
Same boat - just toying with it and its "integrated workflow" with VS2010..but alas, it's not as "clean" as one would hope (or maybe just needs more manual tweaking of knobs and switches).
But try this (instead of, or before giving up all hope and re-installing): run Webmatrix in Administrator mode (right click -> runas).
Your solution is something I had to do on the server side though (IIS6/w2k3)....via web platform installer. While it seems odd to install Webmatrix server side, I just gave up and did it anyway to ensure all the dependencies are installed along with it (didn't want to spend or rather waste any more time figuring it out).
Worked for me....after looking glassy eyed with that "but it was working fine yesterday" look. So I hope this saves you (and anyone else) some time and frustration.
Related
I'm working with VS2103 Update 5 and RS 10, the feed for the extensions is https://resharper-plugins.jetbrains.com/api/v2/curated-feeds/Wave_v3.0/ and also tried changing https to http.
any time I open Resharper Extensions Manager, I get the extensions window blank and nothing loads.
I'm working under a proxy, but all of my teammates have the same proxy configuration and I'm the only one that have this issue. I used fiddler to check the request, but no request is made at all.
Not sure if VS is blocking something or what's happening, but I've tried many things like updating to VS2015, uninstall and reinstall RS, downgrade RS from 10 to 9.2.
you have any idea of what could be happening here?
This is almost certainly due to a proxy issue. It looks like ReSharper use nuget to deliver their packages. The old version of nuget was pretty much unstoppable at getting through the corporate proxy, but it seems like the new dotnetcore version has a bug in it that means that it can't get through the proxy for a lot of people: https://github.com/dotnet/cli/issues/2190. They seem to have recently closed the bug, but I've not tested to see if it works. It didn't a few months ago on our proxy which was an epic world of pain. Basically until they start referencing a version of the nuget dll with the fix it won't work.
However, you can manually download the package from their website and use that instead: https://resharper-support.jetbrains.com/hc/en-us/articles/207241675-Offline-plug-in-installation-process
When I did this I still got some warnings, but the extension (StyleCop) seemed to work OK.
Do you have more than one source listed in the Extension Manager options? If there are two with the same name, it can get things confused and not work.
Next thing to try is to run Fiddler, and see what's happening over the network. You should see the requests to the extension gallery, and what kind of responses you're getting back - 407 will tell you if it's a proxy issue, for example.
UPDATE: Hang on. ReSharper 10 should be wave_v4.0, not wave_v3.0. That looks like it's not been updated from 9.2.
I think the cause of your problem can be the DPI settings (text and layout scale) on that monitor.
https://blog.jetbrains.com/dotnet/2019/06/11/blank-tool-windows-resharper-visual-studio-2019-net-framework-4-8-per-monitor-dpi-awareness
It's 2022 and I'm still struggling with this, despite I reset all to 100%.
(I haven't tried to logout and login again yet)
When I tried to use an Ajax control toolkit, I get a grey out error and searching around they said installing VS10 Service pack could help to solve the problem. So I did install it and now I got a serious problem:
I can no longer load the website that I can load normally before, it shows this error:
Server Error. 500 - Internal server error.
I tried many ways and finally found this one looks quite close to what happened to me:
http://support.microsoft.com/kb/842329
And I tried what it suggested:
go to C:\Windows\system32\mcfc42.dll-> properties\security\Edit\Add
Added:
Iwam_computername or computername\Iwam_computername
Also added:
Everyone
Allow Full control to all.
Restart server. But still the same problem. Please help me to fix this problem, unfortunately my server did not install backup option before I install VS SP1 so I could not recover to the previous point. Any solution ? If I cannot access it, no way I can code and test my website...
I found the solution for this. At first, to narrow down the problem I load the website at server side (not at client side) then I see this error lines in my web.config file, I think when I click at property at project in VS and choose .net 4.0 then back to 3.5 it add some duplicate to my web.config file. I just add all the first lines related to .net 3.5 and keep the xml format correct then it works fine now! Many thanks !!
I have a WP7 project in VS2010 pro/ultimate and I have added a web reference from another project on the same solution. The web service project is just a normal website project, I just created .ASMX file. I tested the service using web browser and it works fine.
The problem is, after I added this service as service reference, I cannot reference it in my WP7 project and I can't view it in Object Browser either as if it doesn't exist.
I use local URL like 'http://localhost:12345/WebService.asmx' when I added the service, VS can see all the methods and can add successfully. Very strange for me and I don't know how to solve this issue.
Anyone can give me any clue on this? Thanks very much.
I've had a similar issues before- on one machine, a restart was required, on another, I had to uninstall ALL of my SL stuff, then uninstall Vstudio, then reinstall and reapply any SL add-ons.
Then it worked fine.
Also had a friend with the same issue- uninstall all, then reinstall worked for him also.
I believe these were machines with pre-rtm SL and Phone bits on them.
I've had a similar problem. I created a WP7 project using VB.Net. I built a WCF Class web service, a client side proxy class, and then a WP7 application with the service reference. When I added the service reference, the code generating utility would not build the required Reference.svcmap file detail (it only created the header information). However the project would still compile, yet I couldn't reference the service in code as it didn't exist in the underlying files.
I tried recreating the WP7 project in C# and everything worked. My guess is that the VB implementation of WP7 might still have some issues, however that is a guess only. I'm keen to see if anyone else has had the same issue specific to the VB WP7 template or if it is something else.
I bumped into the same problem, but it was fixed after a reboot as suggested in this thread by dethSwatch.
I do remember that a silverlight SDK update was installed a bit earlier, maybe the reboot is required after the update?
I think this issue might be related to the January Update to the WP7 tools. I managed to fix this issue by installing the VS10-KB2486994-x86.exe fix found on the above page. That sorted the issue I had with generating a client side proxy for the WCF service I wanted to call. Hope this helps.
I am trying to get started in development of my website and plugins using Umbraco. When I download the binaries from Codeplex, the installation and running of the website works fine. When I downloaded the source code, All I get is a login screen even when the web.config files are the same. Am I doing something wrong or is there something I missed.
The path I use to map IIS to is
branches\4.1.0\umbraco\presentation
You need to compile the source code to get it to work.
To be honest, you shouldn't need the full source unless you really want to start hacking around in the core (which may cause you problems with future updates) or you want to see how stuff works. The Umbraco framework is pretty extensible, I've not found too much so far that I couldn't do without having to touch the core source.
I had a similar issue when running the source and that was that the hashing of the admin password did not work. So i debugged it to see what value was expected and then changed it in the database.
Trying to configure cc.net on windows vista but keep getting errors. Now getting the following error
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension
configuration. If the page is a script, add a handler. If the file
should be downloaded, add a MIME map.
Can anyone plz tell which MIME type to add to get it work
First go to C:\Windows\Microsoft.NET\Framework\v2.0.50727 via the command line and run aspnet_regiis.exe /i.
Next check the ISAPI and CGI Registrations under IIS for the site and make sure the ASP.NET 2.0.x is there and is enabled. I've seen ASP.NET 2.0.x be listed even though it wasn't installed properly and I've also seen the ASP.NET 2.0.x web server extension be disabled, both cause a similar issue to what you're encountering.
If you haven't gotten this yet (I see it's an old post) first do the aspnet_regiis.exe /i as recommended by wegrata, then
%systemroot%\system32\inetsrv\APPCMD.EXE migrate config "Default Web Site/ccnet"
Also, instead of doing the aspnet_regiis bit, you should be able to accomplish the same by turning on ASP.NET from Add/Remove windows components. This was what I had to do on Win 7