Tag | IIS Posts

Previously I wrote an article regarding Unit Testing WCF with Unity. Unit testing allows you to test a single component of your application, completely independent of any other components or systems. Once you have successfully created your unit tests, the logical next step is to see how your service works when connected to other components. These integration tests allow you, for example, to run tests against your service and see how it behaves when writing to a database or consuming another service. ...
[Updated 23/12/2009: You might also want to check out my colleagues Mike and Mike who did the same] For fun I thought I would have a look at which of my posts in 2009 were my most popular. The results were quite surprising. By number of pageviews (which tends to favour 1st half of year): Entity Framework 4.0 Resources – documentation links, best blog posts and more: Posted in September and also known as 101 links on Entity Framework 4.0. Received a large update in December. 5% of my traffic! How ...
During an installation issue, a client followed the TechNet article (http://technet.microsoft.c... and those instructions are misleading. It indicates to copy the “web.config” to the Layouts directory – what if fails to specify is it should be the “layoutsweb.config” file instead. While following the article does get you passed the issue that brought you there in the first place, you eventually end up with issues on provisioned sites that reference anything in _layouts ...
Creating CSR – Certificate Request – and Generating CSR’s for IIS7/IIS 7/ Internet Information Services 7 In IIS7 – it is not intuitive – how to generate your CSR and then get your certificate issued – and apply that certificate to your site. In IIS 6 – it was pretty straight forward once you have walked through the process – but IIS 7 is as different as night/day. In IIS 7 – let’s replace the one for our SharePoint site. We had one already in place, but when we upgraded to SharePoint 2010 – it reconfigures ...
Technorati Tags: Silverlight In this article Tim Heuer concentrates his attention on RIA Services deployment. "So you’ve been playing around with Silverlight and WCF RIA Services (the artist formerly known as .NET RIA Services) and you are ready to deploy. You’ve been living in your happy Visual Studio environment, perhaps even relying on the built-in web server (a.k.a. Cassini) to serve up your pages/XAP to test. All has been well, you’ve done your testing and you are ready to publish to your server. ...
Technorati Tags: Application Architecture and Design Strategies,Silverlight,Para... Programming,Tutorials The MSDN Southern Fried Roadshow is a developer/architect training through the southeast, presented by technology evangelists Chad Brooks, Glen Gordon and Brian Hitney with Microsoft. Dec. 8 2009. Introduction to ADO.NET Data Services The new wave of Web applications are built on AJAX and Microsoft Silverlight. We learn how ADO.NET Data Services enables applications to expose data as a REST-based ...
I spent a large proportion of yesterday trying to debug why a website I was trying to publish wasn't working.. Upon copying the folder there, and converting it to an application, we browse to the site and lo, nothing there. Not a sausage... Just a blank page. Hours on this.. Is it the web.config? - ahh no. Is it the configuration of the server? - ahh no no. Let's try again, create a new folder... add in a 'Hello world' html page Browse to: Success! ok, Convert to application - Browse to: Failure! ...
In many larger environments, Exchange 2007 may be deployed with multiple Client Access Servers (CAS) across the AD site boundaries. The common configuration is to have users access one CAS server from the Internet and it proxy the request to a different CAS in the AD site where the user’s mailbox is located. The Internet facing CAS server should have the Internal URL populated with Forms Based Authentication (FBA) and Basic Authentication enabled. The External URL is optional. The authentication ...
Background: Out of first few tasks that were assigned to me in my new project, I was asked to help testing team with promoting an existing partially tested BizTalk interface. After little bit of code re-factoring and ensuring that the design has been simplified (removed some unwanted logging etc.), we put code to the test. Functionality wise there were not many issues which surprised us and we quickly got over it. However, it wasn’t for long that we realized that there was some obvious issue hidden ...
Http to Https redirection is commonly a preferred configuration for Outlook Web Access for most organizations. The challenges presented in IIS7 are that the built-in redirection feature only allows relative redirection without a full URL entered. To perform Http to Https, the full URL is required. This becomes an issue when organizations are trying to redirect for both internal and external users who commonly are using different URLs to access the server. The solution is 2 fold. First, turn on relative ...
WCF Service Testing: A challenge for a WCF service developer is to know whether the service developed by him is interoperable with other applications made in different technologies. Often People will write sample windows applications to check whether WCF service else we tend to use dynamic Web service invocation tools which can put up a request to a WCF service and show you the result set. One such tool is SOAP UI. I had a requirement where my WCF service should communicate with Java clients. Once ...
I had an issue recently with my SSAS 2008 performance counters - they were all showing up as 0. I could see them listed in Performance Monitor, but none of them worked. The counters for my SSAS 2005 instance worked fine, but the 2008 ones did not. I had observed this behaviour on my old Vista x86 machine and now it was happening on a fresh install of Windows 7 x64. I tried numerous steps to troubleshoot this issue including going through this detailed blog post from the CSS SQL Server Engineers blog, ...
What is Proxy and how to generate proxy for WCF Services? The proxy is a CLR class that exposes a single CLR interface representing the service contract. The proxy provides the same operations as service's contract, but also has additional methods for managing the proxy life cycle and the connection to the service. The proxy completely encapsulates every aspect of the service: its location, its implementation technology and runtime platform, and the communication transport. The proxy can be generated ...
All these days I was trying out with ADO.Net Dataservices in my local Visual Studio 2008 express which used to run in the Cassini WebServer which comes along with that. I was having some problem with the port as the number is dynamic.So I decided myself to upload the same in IIS and did so. When tried running the app pointing to the DataService file "Data.svc" I got a boom error saying the MIME type was not registered. I was going through IIS trying to find a possible solutions .I tried adding the ...
The Windows Azure team announced availability of the November 2009 CTP of Windows Azure along with new Tooling for Visual studio and an improved Development Fabric as well as samples. The official announcement is given below, straight from the horses’ mouth. Today we released several new features for Windows Azure through the Windows Azure Tools and SDK. This release adds support for Visual Studio 2010 Beta 2 and VWD Express 2010 Beta 2. What’s New · Service Model UI:A redesigned and significantly ...
The next Winnipeg SharePoint UG event will be on Tuesday, November 24th at 5:30 PM. Same location as always: 17th floor conference room at the Richardson Building (One Lombard Place). Pizza will be provided. Presentation abstract is below, and to register please visit our registration site here. Architecting SharePoint Solutions Presenter: Juan Larios During the last year or so, Juan Larios has been working for a local client and has had a chance to architect solutions to common problems that many ...
When working with Microsoft Chart Control. You sometime get error: 1)Error executing child request for ChartImg.axd or 2)No http handler was found for request type 'POST' and Chart control For error 2 you just need to add <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVis... System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad36... validate="false" /> to the handler in your web.config Solution to ...
This is a follow up to my usergroup presentation I recently did for Gold Coast Usergroup recently. I have many emails, ok just 2 asking me to document my presentation so they can get started developing with windows Azure. before you get started you need to make sure your development machine is running, Vista or Windows Server 2008 or my favorite windows 7, you also need to have IIS 7.0 with WCF HTTP activation installed. Next you will need to have Visual Studio 2008 or Visual Web Developer Express. ...
I’ve been spending a lot of time lately debugging through some web-hosted applications. Some of these applications are hosted by Visual Studio’s own internal web server (Cassini), and others are hosted by my local instance of IIS. Web projects hosted locally get automatic attached to the VS debugger when you press F5. Projects hosted under IIS do not. In order to debug IIS hosted projects, you must attach the Visual Studio debugger to the IIS worker process (aspnet_wp.exe or w3wp.exe) manually. Traditionally, ...
Like many developers I have chosen to upgrade to Windows 2008 to test enterprise scenarios. I have a virtual environment that I want to test in isolation from my local machine. I'm currently trying to test some email functionality that will notify users in a windows workflow. In Windows 2003 this is really easy to do because you have the ability to setup a POP3 server to setup one or more email accounts to test this type of functionality. Unfortunately, I discovered two key missing features in Windows ...
Use adsutil.vbs, located in the folder C:\Inetpub\AdminScripts (Windows XP, default installation). The command to use is (from a command prompt): C:\Inetpub\AdminScripts> cscript.exe adsutil.vbs create_vserv W3SVC/2 C:\Inetpub\AdminScripts> cscript.exe adsutil.vbs copy W3SVC/1 W3SVC/2 The number (2) is the website ID of the new website. If you create multiple websites, you will need to use a unique ID each time. The first of these commands will create a new website. The second will copy all ...
Implementing callback in WCF services. This is a way of writing asynchronous code using wcf services. But do we know why to do this explicitly when adding a service reference also gives you a facility of generating asynchronous operations? This is because the asynchronous operations which we generate while adding service reference are not fake asynchronous calls, in fact they are synchronous call only, just let code not to wait for the response/ notification and it has its timeout period and will ...
Visual Studio 2010 Beta 2 is out and has a slick new UI. Also, this Beta has most of the features that would ship with the final version compared to the earlier Beta. Note that while new features might be added, there are chances that some of the features demonstrated here may also not be a part of the final release. But, for now, lets examine the current Beta 2. The first thing you would notice and probably like, is the UI enhancements. Herebelow, is the launch screen. Also, the start page has been ...
Recently I had cause to investigate performance and tuning of BizTalk Server 2004, and found that although there was some useful and interesting information available, there was usually little actual guidance on how to apply even the simplest settings to your specific solution/environment. When you take a look at the guidance available for tuning IIS, there are some reasonably simple steps that you can follow to get you started; for example you can make some simple changes to machine.config based ...
Few minutes ago a colleague and friend asked me about some problem he was having with ASP.NET themes. He was using a theme and including a CSS file in it, the CSS file was linked in the generated HTML but clearly it was not applied. Putting the URL of the CSS file in the browser address bar would return an empty result in Firefox, and a crappy DOCTYPE,HTML,HEAD,BODY tags in IE. The same website works normally with other developers running Windows XP or Windows 7. Going further to the problem, I tried ...
I won’t complain, because it is free… But (expletive here)… My Particular Experience was with IIS on Windows Server 2008, but the experience should be about the same for XP, Vista, Server 2003, and 2008. The Apache configuration appears to be well documented in the Win32Install directions https://wiki.mozilla.org/Bu... If you’ve installed any open-source software before some of the steps for bugzilla may already be done so I’ll outline the steps and you can skip any ...
Over the last couple of weeks I have dedicated quite some time to knowing Team Foundation Server (from here on out referred to as TFS) and the interaction between it and Visual Studio Team System/Team Explorer. The process has not been without pain, but with pain come great lessons. So, over the next days I will be posting here what was the success story of installation in both HTTP and then the process to get HTTPS in place too. But, how about starting to lay down the foundation of what the process ...
In the October edition of MSDN Magazine, there’s a great article that does a quick rundown of building a component that can be surfaced as a Web Part via the Gallery and placed in Web Part zones on pages. The article by Steve Fox is here: Steve Fox - Visual Studio 2010 Tools for SharePoint Development – MSDN Magazine October 2009 There’s a couple very important aspect that might not be 100% clear from the title – 1st, you’re really visually designing a User Control (ASCX). So, this is really just ...
I was recently introduced to the PAL (Performance Analysis of Logs) tool. This is a great tool that allows you to produce HTML reports based on the analysis of performance monitor counter logs. It applies complex thresholds based on those defined by Microsoft. The HTML reports produced include charts and very useful descriptions and links for important counters, they also contain various degrees of alerts for when thresholds are exceeded. These reports can be very useful aids when performance tuning ...
First I'd like to congratulate all the returning MVPs, and all the new ones... fun awaits and I hope to see you all at the Summit! I'd particularly like to call out people I know that have just become Silverlight MVPS. Tim Heuer did a great post with links to everyone, so I won't repeat that. Bryant Likes -- wow... it's been a well-earned award all the way back to rolling that gear, Bryant :) Jeff Paries ... if you're not familiar with Jeff, you should be... Jeff is the animation master of Silverlight! ...
[Source: http://geekswithblogs.net/E... For a forthcoming celebration, I've been working on a jukebox web application: The client controls the music being played on the server, so its intended for local networks where you want shared control of a central music player. If you can find a use for it, help yourself – it's on CodePlex here: The People's Jukebox. If nothing else it's a straightforward example of a Silverlight 2.0 client talking to WCF REST services, in what's probably a familiar ...
Recently I needed to try and reduce contention within IIS when calling a number of web services. Eventually this led to the need to make some changes to the machine.config file. The changes identified were based on the Microsoft recommended settings. These recommended values should be viewed as a start point for continued tuning, but have been shown to work in most circumstances. They are based on the premise that for each ASPX page in use you are making one Web service call to a single IP address. ...
Lors de mes essais de Visual Studio 10, j’ai été confronté à l’installation de IIS 7 sous Win7. Après de longues recherches, il d’avère qu’il est de loin préférable d’installer les composantes IIS 7 avant d’installer VS10. Si vous êtes comme moi et que vous avez des problèmes : 1- Exécuter les lignes de commandes suivantes. Elles auront pour effet d’ajouter les features d’IIS utiles pour le développement. start /w pkgmgr /iu:IIS-WebServerRole; start /w pkgmgr /iu:IIS-WebServerRole;WAS-W... ...
Cet article concerne Visual Studio 2010 Beta1. Les informations peuvent ne pas être véritables lors de la sortie de la version finale du produit. La procédure suivante permet de créer un workflow simple et de le déployer dans IIS 7. Créer un nouveau projet dans VS 2010 : File | New | Project… Créer un projet de type Declarative Flowchart Service Library : Un projet de service sera alors créé possédant un nouveau service Service1.xamlx. (Normalement, dans les versions ultérieures, il ne devrait plus ...
One project I'm working on now requires the use of an application written in PHP though newer portions of it are written in .NET - they wanted to host both together and I figured it would be easier to configure PHP on IIS than it would be to configure .NET on Apache :) I was right - it was dead simple to get PHP installed and running on IIS. I simply followed the guide written here by Peter Guy. The guide he wrote covered everything I needed and I was up and running quickly...sweet ...
This is one of a series of posts on my preparations for sessions on Azure and ORMs at Software Architect 2009. One of the things that has been added to Windows Azure while i have been “elsewhere” is the Service Management API which the team introduced on the 17th of this month (Sept 2009). This is a REST-based API which allows: Deployments – Viewing, creating, deleting, swapping, modifying configuration settings, changing instance counts, and updating the deployment. Listing and viewing properties ...
My first actual project with regard to our systems was to write a new Proxy. I'm going to have to be a little ambiguous, once again, because I don't want to give away any proprietary or quasi-proprietary information. One of our major systems serves as a sort of brokerage for Flumphs (I'm going to compensate for being ambiguous by being completely ridiculous about it). Flumph providers constantly feed our system with information about new Flumphs. Flumph-consumers have given us their criteria they ...
Here Scott talks about the new feature Auto-Start included in .NET 4.0 and IIS 7. This can prove really helpful in avoiding the initial delay experienced by the first visitor of a web ASP.NET application. Here's the post ...
I am visiting beautiful city of Nashvillie, TN, US and involoved in rather interesting project involving WCF, silverlight and SQL server 2008. Also being used are Search server (FAST) / Lucene .Net Omniture (for Web analytics) Integration with Community server, Twitter, Facebook Velocity – Distributed caching. MemCache – Web server Cache I am also planning to use Nikhil’s MVVM Silverlight Fx at silverlight end or MEF LINQ / Enity framework - for ORM. That remind me of scenario where i had to register ...
I’ve just published a “Behind the Scenes” webcasts on CloudCasts. It’s the first in a series of webcasts that will look at the project and how it is developed, tested, and hosted in Windows Azure. In this webcast I’ll run through the deployment of a new version of the CloudCasts website. I’ll start by showing the project structure and how I have configures the application to use local or cloud based storage in the development phase. I’ll give you a few tips on hosting your Azure applications in IIS ...
Inside MS WSS 3.0 – Pattison & Larson Chapter 1 – Getting Started · WSS is a Site Provisioning (Creating) Engine · Multiple SQL DBs (2005 / 2000 / Express) store content & configuration data · Farm – one or more computers providing WSS to users · Configuration DB – farm wide settings o Server names o User roles · Content DB – one per WSS Application o · WSS runs on top of IIS · Needs IIS to handle incoming HTTP requests · The IIS Default Site has listener that passes HTTP requests to sharepoint/home ...
Steps to make a disaster back up: Record which Web applications are associated with the SSPs · Perform a full back up of the SSPs. · Completely stop the farm by stopping the services associated with Office SharePoint Server 2007 and by stopping Internet Information Services (IIS). · Back up the following databases by using SQL Server 2005 tools: o Content databases o Central Administration content database o Configuration database o Windows SharePoint Services Help Search database o Back Up the SQL ...
For my personal projects (and likely our work projects) I've been looking into Subversion as an alternative for VSS. And so far, I've only 'blowed up' my repository a dozen times in the installation process. I am by absolutely no stretch of the imagination an SVN expert (I just started tinkering with it this week), but figured I would toss out a few of the hurdles I toughed through in getting it up and running. After installing the product I got to spend a few frustrating days connecting to my server ...
Over the last few months I have made the move to 64 bit – Windows 7 RTM on my laptop and Windows 2008 standard server with hyper-v on my dev box. I’m also running 64 bit Office 2010 and a number of other 64 bit goodies. But it is in the area of development I’m really having ‘fun’. So first off it was time to setup a 64 bit dev image: Windows Server 2008 R2 Std (64 bit) SQL Server 2008 (64 bit) Visual Studio 2008 (32 bit only) BizTalk 2009 Developer Edition (64 bit) Windows SharePoint Server 3.0 (64 ...
I faced an issue with IIS when trying to see the available application pools. But the IIS tree seems to be empty. To solve this issue: 1- Close the IIS 2- Open the Services (click Start, click Control Panel, double-click Administrative Tools, and then double-click Services. ) or if on windows server go to Administartive tools from Start and then services. 3- Stop the IIS Admin service and then start it and make sure to stop and start the services that depends on it too. 4- Open the IIS the application ...
Historically I have always viewed ASP.NET session state as “pure evil.” In-proc session state is about as unreliable as you can get given that you can have timeouts, ASP.NET might recycle itself, IIS might get bounced, no scalability, and cannot work in a web farm. SQL Session state is very resilient and works in web farm scenarios but the performance is not good and at that point you might as well be better off writing your own strongly-typed data access layer rather than blobbing everything in ...
I was working this morning on hooking up the application I’ve been writing to Health Vault, and I came upon this fun little error “keyset does not exist” that is everywhere on bing and google.com but lacking any clear instructions on how to fix it. After about two hours of trying to figure out what exactly was going on, I finally have my application working. For both the purposes of helping others fix this error, and for me to remember what I did when I try to set up an application on our live server, ...
An old fix but I felt necessary to post If you open IIS on any of your SharePoint servers and it comes up blank, it is because there are too many threads connected to it at the same time. This is due to the wonderful Timer service for SharePoint. There are two ways to fix this: 1. Do an iisreset (temporary fix) 2. Install this hotfix http://support.microsoft.co... (permanent fix) The hotfix should also fix the following events in the logs that would not go away for anything - Event ID 6398 ...
I had to make our site work in SSL mode and ONLY SSL mode. I also had to allow url's that pointed to our site before I forced it work in secure mode. I also had to allow for all the other domain names that we own work in SSL mode. I thought I would share how to get this done right so no matter what it works. Create an HTML page named 403-4.htm. Put it in a folder outside your web site’s root folder. Give the page your company’s logo and some nice looking text that states; The page must be viewed ...
So I have recently implemented dynamic themes and master pages for the program I’ve web program I’ve been writing this year. I had noticed something peculiar after publishing the updates to my live server. When I published it as a precompiled DLL (that did not allow updates), the theming worked just fine. The user would log in, select their theme (currently supports two) and it would render every page fine. When I published it using X-copy, one page would render as a mash up between the two themes. ...