Tag | IIS Posts

Enabling classic ASP pages on Windows server 2003 with IIS 6.0 Problem: we want to run a classic ASP page in the middle of our ASP.NET project from Carl Morita - original article: http://www.dovetailsoftware... IIS 6.0 might have classic asp pages disabled - (classic asp pages are disabled by default) Open up ‘Manage Your Server’ console via Start -> Control Panel -> Administrative Tools -> Manage Your Server Then click on ‘Application Server’ -> ‘Manage ...
The following is a simple checklist you can use when building web applications. Much of this still applies to other technologies and can easily be extended. I try not to get too specific on technology or methodology, but it is definitely leaning toward ASP.NET. If you can think of something I am missing or disagree, please leave a comment. Detailed information follows the checklist. How much of the checklist you follow will depend on the project. If its just a hobby site, you may skip items like ...
I love the new version of IIS. One of the great elements of Server 2008 is that it has IIS7 installed. A great aspect of the new IIS is that you can now run very common applications (wordpress, and photo gallery) on Windows. These applications are PHP based and typically are hosted on Linux Servers. IIS 7 allows for you to host these applications on Windows with some great performance A new tool from Microsoft allows you to install all of these applications with little or no configuration. (Web Application ...
Mostly a reminder for myself, but hopefully useful to somebody else - Often it is important to specify a specific user for a service to run as; it appears the setup is completely different when using IIS 5.1 or 6 (and higher). When using IIS 5.1 Set the anonymous user on the virtual directory to the user you want to run as. Disable any other authentication method on the vdir In the web.config turn impersonation ON (<identity impersonate="true" /> under System.web.) Under System.serviceModel ...
Servers are the backbone of enterprise computing today, most websites for example run on either Apache or IIS and will be running on a server of some description. Perhaps because of servers ubiquity it is easy to become complacent about them especially as they are rarely seen but understanding what a server can offer you and it's limitations will definitely help with software development. Servers on the whole are built more of the practicality side than for the esthetics, there is no need to make ...
Running Windows Vista 64 bit, Sql Server 2008 on a remote server. Using ASP.Net and the Report Viewer control on an asp.net page for a local report. Was also using IIS to host the web site instead of using the web server built into Visual Studio 2008. Searched and tried everything I could find on the net trying to fix this freaking error. On a whim (and because I didn't know what else to do and was trying everything I could think of) changed the IIS 7.0 app pool to the classic app pool. Angels came ...
I created my first technology blog back in July 2004 over on http://blogs.msdn.com/ericnel when I was an Application Architect inside Microsoft UK. At the time I had been with Microsoft 8 years, I was very focused on early adoption work with SQL Server 2005 and was looking for a broader way to help developers in the UK. A blog seemed to be a great way of doing this and I used it to share my learnings, thoughts, advice, best finds etc. throughout the beta of SQL Server 2005 and Visual Studio 2005. ...
The Microsoft Web Platform Installer is now v1.0. Simply putting, it provides you a single installer download of the web platform which includes IIS 7/116, Visual Web Developer Development Tool, SQL Server 2008 Express as well as the .NET Framework. So, if you are running Windows XP, Windows Vista or Windows Server 2003/2008, it gives you all the stuff you require to start with web development. Combined with this, the Web Application Installer which provides a lot of popular web applications such ...
So, over the holidays I migrated the ASP.NET 1.1 web app to ASP.NET 3.5. I had initially wanted to use the migration tools provided by Microsoft but I also wanted to remove some junk controls that were already part of the application and wanted to spend some time refactoring some logic so I decide to create a new application and port code over one page at a time and clean/re factor as I went. During this re-write I added some Ajax calls and also added UpdatePanels hoping to make the user experience ...
When I was trying to run the Windows Live Enabled Website that is shipped with the Windows Live Tools for Visual Studio November 2008 CTP (I had blogged about this earlier at http://geekswithblogs.net/r... and you can download the CTP from http://dev.live.com ) against IIS 7, I got the error “Could not load file or assembly ‘System.Web.Extensions, Version=3.6.0.0….” error. Interestingly this error wasn’t showing up if I create the ...
I tried loading up my Reporting Services 2005 on my visra machine today via url: http://localhost/reports/Pa... And it loaded up blank which i means i couldn't see my Report Folders and DataSources etc but i ccould see the menu like home,my subscribtion etc.. So i taught let me give the Report Server a try at http://localhost/ReportServer and i go an error insufficent permission I was too sure it was a permission issue so i checked IIS and made sure Windows Auth was enable and Anonymouse ...
SharePoint uses service accounts to run specific services behind the scenes. SharePoint does not function under the practice of “running everything as administrator”. There are several documents regarding all of the different service accounts that are recommended for SharePoint, but for some organizations the sheer number of accounts is simply not manageable. So I’ve put together a list of what I would consider the minimum accounts (and rights) for a typical SharePoint installation. The account you ...
12 Steps To Faster Web Pages With Visual Round Trip Analyzer recommends (among others useful suggestions) to Set Expiration Dates - follow Using Content Expiration (IIS 6.0), . I've looked in a few articles, including Best Practices for Speeding Up Your Web Site, "Optimizing a Page-Load Performance Profile and Optimization of a Web Site - Using Content Expiration (IIS 6.0) . Finally the post IIS Content expiration header and ASP.NET cleared my concerns: IIS is smart enough to add the expiration header ...
I was working on configuring a ArcGIs 9.3 Server with MOSS & WSS. Works great untill I enabled Security on the ArcGIS Server for the Map Service. Once enabled, You cannot disable the security using the Server Manager. But I wanted to. I was not prepared to rollback my Virtual machine. EDN search & Google search brought me information that was not all that useful. If you have enabled the Security setting on ArcGIs 9.3 server and wanted to disable the security : Just do the following on your ...
IIS Custom HTTP Error Messages Error code Error message 400 Cannot resolve the request. 401.1 Unauthorized: Access is denied due to invalid credentials. 401.2 Unauthorized: Access is denied due to server configuration favoring an alternate authentication method. 401.3 Unauthorized: Access is denied due to an ACL set on the requested resource. 401.4 Unauthorized: Authorization failed by a filter installed on the Web server. 401.5 Unauthorized: Authorization failed by an ISAPI/CGI application. 401.7 ...

The following picture shows the work process of IIS 6.0:

*Moved to: Removing a dead Solution Deployment from MOSS 2007If, like me, you tried to deploy a solution to Microsoft Office SharePoint Server 2007 and it ether failed or hung you will need to remove it somehow. But once the status has moved to “deploying”, if you receive an error like this: Error: The web.config is invalid on this IIS Web Site: C:\Inetpub\wwwroot\wss\Virt... more...Follow my new blog on http://blog.hinshelwood.com ...

Below image will show you the IIS request process. I found it somewhere on the net.

IISRequestProcess

In this issue: Alex Golesh, Bart Czernicki, Matthias Shapiro(3), Michael WOlf, Swiss MSDN Team Blog, Michael S. Scherotter, Jesse Liberty, Chris Carper, Bill Reiss, Jonathan van de Veen, and Jobi. Shoutout: Adam Kinney reports that Project Rosetta turns into a MIX09 workshop From SilverlightCream.com: Silverlight Tip: How to Inject and Execute JavaScript Function(s) on-the-fly from Silverlight Alex Golesh has a post up on injecting JavaScript Functions from Silverlight. He has a nice text-entry front ...
As one of the books part of the 75 centimeters of MS Press books I won as Speaker Idol at TechEd EMEA Barcelona I selected the training kit for the WCF Exam (70-503). Here's my review on this book. You can buy the book at http://www.microsoft-press.... Included in the book is : - a DVD with Visual Studio 2008 Professional Edition (90 day evaluation). Nice to have for people without VS2008 at their work environment and want to learn WCF and prepare for the exam. - ...
I got a problem on which was spent over two days in order to fix it. The discovery was that in the scenario: one WCF service application that for convinience is hosted in IIS and one WEB application that uses the WCF services the number of users was limited. So if the 11th user tried to access the application he was oblidged to wait an undetermined period of time(and in the end the log process was failing). The process started, first the idea was that maybe we were wrong in our layers, because of ...
I can't answer that question in detail, but I can say that on Windows 2003 servers under x64 you must explicitly set up IIS to Allow Web Service Extensions for ASP xxxxx (32) applications. In a console window, type: cscript %SYSTEMDRIVE%\adminscripts\... SET W3SVC/AppPools/Enable32bitA... 1 Then proceed with the following steps: Open IIS; Web Service Extensions Click on Allow All Web Service extensions for a specific application Choose ASP Net vX.Xxxxx (32) Click OK In a command window ...
What is FitNesse? Fitnesse is a tool that, if used wisely (big assumption), can turn requirements into functional tests. Examples can elaborate requirements. Examples can become tests. Tests can verify requirements. I'm not going to elaborate on the pro's and contra's of FitNesse. Others have done that before me. Installing the server Setting up FitNesse is a piece of cake. You just need to know the steps. First of all, go download fitnesse. Extract the downloaded content to a directory of your choosing. ...
So people are always asking me how do I get Silverlight to work in SharePoint? Then Paul Galvin and some other people told me why not post the steps. So here is what you want to do: Get Visual Studio 2008 and download SP1 from http://www.microsoft.com/do... The installer may stick at one part and may take an hour or two, so make sure you leave tons of time to spare. Get the Microsoft Silverlight Tools for Visual Studio ...
In working through an issue with workflow I stumbled across an interesting 'feature' of workflow and MOSS. Essentially I have a "Project Sites" root web where I am creating child sites via a workflow: Project Sites Child Site 1 List 1 List 2 In these child sites I am creating some lists and setting alerts on them based upon things that happen in the workflow. In attempting to create an alert on a list, I received a "List does not exist" error. In stepping through the code and inspecting all the objects ...
Update Presentation slides and sample are now available. Please click here to find them! Yeah, somehow dotNETwork decided to allow me to show all my psychopath about design and implementation in a session with a very weird long title, “Applying Domain Driven Design on ASP.NET MVC”. Yeah, two unrelated topics. In 2 hours frame, I should be introducing day to day development styles from a different perspective. I had a small talk about the process side of the world. This time we move towards the other ...
The out-of-the-box StaticSiteMapProvider is great for, well, static web sites. I don't find the StaticSiteMapProvider (and web.sitemap) model very practical for the dynamic nature of web sites/applications and especially Asp.Net Mvc applications. In an mvc application it's difficult to render a static sitemap that allows breadcrumbs like: Home Home > Cars Home > Cars > Porsche 911 Home > Cars > Porsche 911 > Edit For the sake of discussion, and to keep the discussion as small as ...
I finally and succesfully migrated a VSS 2005 Database to TFS 2008. I got soo many problems/errors. Things like: Migration tool worked, but only the folders have been created in TFS. No file has been created, Another migration warned that TF60085: No file or folder to migrate DCOM errors on the server. When re-creating a TFS Project, TF30162: Task "WITs" from Group "WorkItemTracking" failed So, after migrating "empty folders" the first time, I tried to delete the projects in TFS and re-importing ...
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 21 false false false MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Tableau Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; ...
You may need to map multiple web sites with the same port number or you may want to map an IP address that has been set to a netscaler vip/ip to multiple servers. IIS 6.0+ allows you to do that with a feature called Host Header Names. For the official details, review Microsoft's web site: http://support.microsoft.co... Here's how it works: Let's say you have a DNS entry called MetroDesignDev.LoadBalanced... @ ip address: 10.201.25.216 and one of the load balanced twins (ServerAlphaTwin) ...
That is, don't use Cassini in your development environment if you aren't planning to use it in production. For example, my customer is running IIS on their server. Why shouldn't I do the same? With what I have seen with Cassini, there is no reason. Cassini is great, but there are noticeable differences between it and IIS. I am using a third party menu that performs poorly through Cassini, but works fine on IIS. Others have documented differences in behavior with Cassini. Scott Lilly describes a couple ...
Today I encountered a new error at work which is: “Unable to load workflow actions from the server. Please contact your server administrator.” This occurred when I opened a SharePoint site in Microsoft Office SharePoint Designer, and then tried to add a Workflow. Apparently, if one makes a mistake when deploying his/her custom activities, no workflows work. The solution to this is to find the error in Visual Studio and then restart the IIS and try over again. Most probably, the error is in the new ...
Microsoft have announced "Dublin" in September, but up until now (PDC) there' has been very little information about how that is going to look now. Over at PDC are finally able to see some sessions as well as visit the various .net booths and get first hand look at the "bits" and ask questions about the new technologies. However, at this time of writing this, I have not yet attended any Dublin sessions, which really means anything I write here currently is stipulating on some stuff I've seen and ...
13:00 Tuesday saw the public availability of the virtual image congaing the “Bits” from the Microsoft Connected Systems Division (CSD). The image contains early builds of a lot of the technology that is being demoed at the PDC, and also a set of hands-on labs that will walk you through some examples of using the technology. The “Oslo PDC-08 CSD Bits Review” webcast will take a quick tour of what is available, and give you some tips on learning about all the new goodies. The main components that are ...

Note: The Wireless network at the keynote failed miserably, so this will be posted with a delay.

Scott Guthrie about tools and app development

 New APIs for multitouch and other Windows 7 API.

Note: Lots of attention put in Win32 development with C++.

Read the rest of this entry »

[Source: http://geekswithblogs.net/E... At the SBUG meeting last week, my session on "ESB Guidance: A Real-World Implementation" was meant to end with a demonstration, but we ran out of time - and in any case what I'd intended to show was probably a bit ambitious, with plenty of this-is-bound-to-go-wrong points. But I've spent some time making it more solid and the code is available now on MSDN Code Gallery: ESB Guidance 1.0 Demonstration: TriathlonResults, if you want to have a look. You'll ...
I decided to completely redesign my website www.galasoft.ch (yes, it's about time, I know). For this process, I decided to inspire myself (loosely) from my good friend Robby Ingebretsen's site, which is both simple and beautiful. Read the rest of this entry » ...
In case you happen to be needing to do host headers with a wildcard SSL Certificate, here is the article from Microsoft on how to do it in IIS 6: http://www.microsoft.com/te... The basic command line call is: cscript.exe adsutil.vbs set /w3svc/<site identifier>/SecureBindings ":443:<host header>" Where <site identifier> is the numeric identifier displayed in IIS, and <host header> ...
Website: http://cvnug.wi-ineta.org Date: October 9 Location: Chippewa Valley Technical College - Room 176 Presentation Information: Mike Benkovich from Microsoft will show us how Visual Studio 2008 enables developers and IT operators to dramatically reduce the amount of time, effort and code required to develop and deploy real-world Web applications. ASP.NET 3.5, Visual Studio 2008 and IIS 7 each provide much improved administration and management support, on top of dramatically improved performance. ...
Article Source: http://geekswithblogs.net/m... I've recently been reviewing some BizTalk setups for various reasons. These include: Is the setup correct Performance analysis and issues General troubleshooting I thought it would be useful for me and others who might want to look at doing a review of a BizTalk setup to make some notes on some of the activities you might want to do. Comparing Servers I've come across a couple of instances previously when servers had been setup incorrectly ...
Its easy to forget about the –debug parameter, but a lot of times it can be very helpful, especially with NetCmdlets where in many cases –debug will output the protocol interface (the “PITrail” as we call it at /n software) of the connection. The PITrail includes a trail of communication between the cmdlet and the remote host it is talking to. Rob emailed me to ask for help diagnosing a 425 error he was getting when using the NetCmdlets get-ftp cmdlet. As I described to Rob, in a nutshell the 425 ...
A client recently contacted me regarding a legacy application, written when I was at a previous company, that was now refusing to save customer records due to a failure to validate e-mail addresses. The application runs on Windows Professional 2000, and is a web application with minimal ASP content, and a HTML generation engine written in Visual Basic 6.0. From the Application Log error messages the client provided it was clear that the issue was with a COM object, VBScript Regular Expressions v5.5. ...
I have been coding using Microsoft technologies for a long while. Recently I was given the chance to do a little bit of web mastering. Due to my system admin background I was most definitely game for this. Learning IIS 6.0 was not a huge leap as I had done a lot of development using IIS5.1(Windows XP Professional); however I had not as yet used Host headers in IIS (IIS 5.1 only allows for one site. I will post about that later.). This was a learning experience (Don’t even get me started on the issue ...
[Source: http://geekswithblogs.net/E... Snappy title. We have a project which contains lots of WCF Service projects, and we want to generate MSIs so we can deploy them to IIS. The gaps between the projects are minimal as they all use the same structure, so instead of having separate Setup or Wix files in each of the solutions, generating the WXS files on the fly was an option. The installer steps we wanted were reasonably simple: install WCF artifacts to the chosen directory (.svc and web.config ...
While performing an upgrade from Microsoft Dynamics CRM 3.0 to 4.0, the upgrade installer halted early on with the following error message: Microsoft.Crm.Setup.Server.... failed Turns out that at some point the IIS Admin service was shutdown and disabled. Not sure how this occured since I had been running CRM 3.0 just prior to the install. So if you get unlucky enough to get this message, open up your services and Enable/Restart your IIS admin service. The setup continued without ...
If you have received the error "Unable to create the Website...To access local IIS Websites, you must run Visual Studio in the context of an administrator account.", you must be running Windows Vista and trying to create a website in the local IIS. I have been encountering this error often although it is well documented (hard to find?) And time and again, I realize that I need to run Visual Studio under the admin priveleges by elevating it, to create website in the IIS. Hence thought of posting this. ...
Recently I ran into an issue where IIS was refusing to load an otherwise previously perfectly good web application in the solution. The Visual Studio 2008 solution included a Web Application csproj, and was referencing it by URL on IIS (that is, not a local file based or Cassini web project). Attempting to load the solution brought up an error: The local IIS URL http://localhost/{YourAppName} specified for Web Project {YourAppName} has not been configured. In order to open this project the Virtual ...
1. IIS 7 Allows Multiple Web Sites On XP IIS was limited to one web site. To develop multiple web site one had to use virtual directories or develop solely with Cassini (VS Web server). The problem with both of the aforementioned strategies is that they create a significant difference between the development and production web servers. I prefer to develop with IIS, and Vista allows me to do that. 2. IIS 7 Plays Well with Asp.Net MVC I love Asp.Net MVC but it really does not work well without IIS ...
How old were you when you started programming? Well, most people don't know that I am still kind of new to computers. I grew up poor and my first experience with computers was in high school (Apple IIs and Craptastic Macs). I almost failed keyboarding class in 7th grade (required a minimum of 27 WPM with less than 4 errors/minute). I actually didn't own a computer until I was in my second semester of college. It was a Gateway and it broke so much I got good at fixing computers. That was 1998. I have ...