- Recent
- Popular
- Tags (4)
- Subscribers (16)
- Known Installation Issues With ASP.NET MVCDecember 3
-
I’m working to try and keep internal release notes up to date so that I don’t have this huge amount of work when we’re finally ready to release. Yeah, I’m always trying something new by giving procrastination a boot today.
These notes were sent to me by Jacques, a developer on the ASP.NET MVC feature team. I only cleaned them up slightly.
The sections below contain descriptions and possible solutions for known issues that may cause the installer to fail. The solutions have proven successful in most cases.
Visual Studio Add-ins
The ASP.NET MVC installer may fail when certain Visual Studio add-ins are already installed. The final steps of the installation installs and configures the MVC templates in Visual Studio. When the installer encounters a problem during these steps, the installation will be aborted and rolled back. MVC can be installed from a command prompt using msiexec to produce a log file as follows:
msiexec /i AspNetMVCBeta-setup.msi /q /l*v mvc.log
If an error occurred the log file will contain an error message similar to the example below.
MSI (s) (C4:40) [20:45:32:977]: Note: 1: 1722 2: VisualStudio_VSSetup_Command 3: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe 4: /setup
MSI (s) (C4:40) [20:45:32:979]: Product: Microsoft ASP.NET MVC Beta -- Error 1722. There is a problem w
- Poll on Moving Subtext To ASP.NET 3.5November 28
-
How many of you out there who use Subtext host it on a hosting provider who does not have ASP.NET 3.5 available? I’d like to make the next version of Subtext 2 take a dependency on 3.5. Note that it wouldn’t have to take a dependency on SP1. Just ASP.NET 3.5 proper as I believe most hosting providers support it.
If you’re stuck with a hosting provider who only supports ASP.NET 2.0 and not 3.5, do leave a comment.
Note that we’re still in the planning stages for Subtext 3, which will be built on ASP.NET MVC. In the meantime, I still plan to update Subtext 2.*. In fact, much of the work we will do for Subtext 3 may be prototyped in 2.* and ported over.
Tags: subtext - Subtext 2.1 Released! Contains Security UpdateNovember 28
-
A Subtext user found a security flaw which opens up Subtext to potential XSS attacks via comment. This flaw was introduced in Subtext 2.0 by the feature which converts URLs to anchor tags. If you are still on 1.9.5b or before, you are not affected by this issue. If you upgraded to 2.0, then please update to 2.1 as soon as you can.
Note that you can edit comments in the admin section of your blog to fix comments if someone attempts to abuse your comments.
This release has several other bug fixes and usability improvements as well. I started to replace the use of UpdatePanel in some areas with straight up jQuery, which ends up reducing bandwidth usage.
List of bug fixes and changes:
- Fixed Medium Trust issue by removing calls to UrlAuthorizationModule.CheckUrlAccessForPrincipal which is not allowed from medium trust.
- Removed email address from RSS feed by default and added Web.config setting to change this in order to protect against spamming.
- Upgraded Jayrock assembly to fix the issue with VerificationException being thrown.
- Fixed code which strips HTML from comments when displaying recent comments. Certain cases would cause CPU spike.
- Fixed Remember Me functionality for the OpenID login.
- Fixed a bug with adding categories in which an error was displayed, even though the category was added correctly.
- Fixed a bug in the code to convert URLs to anchor tags.
- ASP.NET MVC on IIS 6 WalkthroughNovember 26
-
I’ve seen a lot of reports where people have trouble getting ASP.NET MVC up and running on IIS 6. Sometimes the problem is a very minor misconfiguration, sometimes it’s a misunderstanding of how IIS 6 works.
In this post, I want to provide a definitive guide to getting ASP.NET MVC running on IIS 6. I will walk through using the .mvc or .aspx file extension for URLs first, then I will walkthrough using extension-less URLs.
If you’re running into problems with IIS 6 and ASP.NET MVC, I recommend trying to walk through all the steps in this post, even if you’re not interested in using the .mvc or .aspx mapping. Some of the lessons learned here have more to do with how ASP.NET itself works with IIS 6 than anything specific to ASP.NET MVC.
Initial Setup
To make this easy, start Visual Studio and create a new ASP.NET MVC Web Application Project on the machine with IIS 6. If your IIS 6 machine is on a different machine, you can skip this step. We can deploy the site to the machine later.
After you create the project, right click the project and select Properties. The project properties editor will open up. Select the Web tab and select Use IIS Web Server. Click on the image for a full size view.
- Combining JQuery Form Validation and Ajax Submission with ASP.NETNovember 21
-
As I mentioned before, I’m really excited that we’re shipping jQuery with ASP.NET MVC and with Visual Studio moving forward. Just recently, we issued a patch that enables jQuery Intellisense to work in Visual Studio 2008.
But if you’re new to jQuery, you might sit down at your desk ready to take on the web with your knew found JavaScript light saber, only to stare blankly at an empty screen asking yourself, “Is this it?”
See, as exciting and cool as jQuery is, it’s really the vast array of plugins that really give jQuery its star power. Today I wanted to play around with integrating two jQuery plugins – the jQuery Form Plugin used to submit forms asynchronously and the jQuery Validation plugin used to validate input.
Since this is a prototype for something I might patch into Subtext, which still targets ASP.NET 2.0, I used Web
