Hey! I'm using VS2010 and on my local machine, using web.config to map one url to another works fine, using the tag. However, as soon as I upload to the IIS6 server it doesn't work at all! Is there something about IIS6 that doesn't support this feature?
Thanks, any help would be massively appreciated.
IIS6 doesn't support the newest versions of .NET. What .NET version is your project running under?
Check out this article to help get you started: Configuring IIS 6.0 to Use the Correct Version of the .NET Framework
Related
Not able to install iirf on Windows Server 2012. I used this msi file from codeplex: "Iirf2.1-x64"
http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=iirf&DownloadId=261341&FileTime=129654893866170000&Build=21018
Getting below error, couldn't find much help on Google or SO so far!
Setup for Ionic's ISAPI Rewrite Filter 2.1 ended prematurely
Anyone experienced or solved this?
You install IIRF by going to the IIS MMC snap-in and either at server level (for all websites) or on each website, you choose the ISAPI filters and click add, then just look for the DLL, click OK, restart IIS and you are done, no need to use the MSI. For IIS8 you need a version that's not available at the IIRF CodePlex project official site. I have been given a new version revision that works in IIS8+, this is version IIRF-2.1.2.4-x64 and I have made it available on my website (http://www.nelsonpires.com/web-development/ionics-isapi-rewrite-filter-aka-iirf-for-iis8/) for anyone to download and use. I have tested it and confirm it works great on IIS8.5. Hope this works for you too.
See my answer on the other related question here: IIRF on IIS8 / Window Server 2012 Throwing w3wp.exe Exceptions - there's a fix for it.
I'm trying to set up IIS on Windows 7 starter for a client. I have it mostly working, however, it seems like my ajax requests aren't working. 'I tried to set it up through the "Add or Remove Windows Features" menu but "Web Management Tools" isn't included in the submenu. Does anybody have any idea what I'm doing wrong or an alternative method? Thanks.
Edit
Solution
I ended up using UltiDev's Cassini server to solve this issue. It works with telerik and all of my ajax works. Thanks for the responses.
Windows 7 Home Premium is the edition that starts including those tools. You could use IIS Express instead.
This article shows how to install IIS in Win 7 (I believe it works in Starter as well). In addition, if you install WebMatrix, I believe you get IIS 7.5 with it that would work also. What about your AJAX requests isn't working?
Many tools are not available to the windows 7 starter edition.
Solution I ended up using UltiDev's Cassini server to solve this issue. It works with telerik and all of my ajax works. Thanks for the responses.
I'm uing various different versions of WIX trying to get an installer to be able to install to both IIS versions. I've heard that WIX doesn't natively support IIS7 so one must make a CA to provide the functionality
Does anyone have an example of how to create functionality which can do this? I've already got an installer to install the web site to IIS6 but can't attach this with an IIS7 custom action I've found.
Edit: Ahh okay I'll rephrase my question.
How would I create a UI to allow a user to choose the web site to use for IIS6 and IIS7 (i.e support all versions of IIS to query)?
WiX 3.5 supports IIS7. You should use the same elements of IIsExtension you normally do for IIS6. Besides, "IIS6 compatibility" prerequisite is not required any longer.
I'm trying to run any application on XSP4 web server using new Mono 2.10 (downloaded from windows installer bundle). I have already tried to run simple ASP.NET MVC2 project and ASP.NET. Both were simple applications stubs. In all cases in browser under localhost:XXXX it seems that page is loading but nothing happens. With Mono 2.8 it works without any problems. Any suggestions how I can debug or solve this problem?
PS. My windows firewall is turned off so it shouldn't be problem.
The latest MonoDevelop Beta, 2.6b1, contains an updated XSP4 and Mono.WebServer.XSP (aliased as MonoDevelop.Xsp.dll in this distribution, and from my experience must be placed in the GAC for it to work) which fixes this issue on 2.10.
A good place to ask questions regarding ASP.NET using Mono is Mono ASP.NET list
I just got application written in ASP.NET and VB, can i deploy it on any IIS?
Are there any files in project with that kind of information?
There are no files or magic numbers anywhere that can tell you this. Chances are preety good that it will run on a newer versions of IIS but even then your goign to need to know what functionality it requires. For example is it using WebDav? IIS is preety good at being backwards compatible but forward compability not so good. For example IIS7 introduced new functionality which if the application is using it, would prevent it from running on IIS6.
Do you know what version of .net it requires that is more likely to bite you then anything else?
Any IIS that supports ISAPI, I guess, but IIS 5.1 + is recommended (.NET probably won't run on OS that run IIS4 anyway).
Here is a good MSDN link detailing which IIS version comes with which version of Windows as well as useful links for configuring it.
ASP.NET and IIS Configuration
IIS 6 is the minimum for recent .NET versions (i.e. Windows 2003) because Win2000 is not supported (considering server only here).
The Windows version will tell you the IIS version:
Server 2003: IIS 6
Server 2008: IIS 7
Server 2008 R2: IIS 7.5
Also XP: IIS5.1; Vista: IIS7