Tag | IIS Posts

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. ...
What is Kerberos Authentication? Kerberos (or Cerberus) was a three-headed dog in Greek Mythology which guarded the gates of Haides (King of underworld God of Death). Kerberos was responsible to prevent ghosts of the dead from leaving the underworld. The Kerberos Protocol was created by MIT as a solution to network security problems like: 1) Insecure unencrypted password over the internet 2) Firewalls, which assumes that the bad guys are outside the network, what about the Bad Guys within the network. ...
When I set up my first KiGG site, I was surprised to discover that I had to manually publish articles. I assumed it would be an automated process that would run once a day. Since there are times I may not be able to log into my website, I set about figuring out how to automate the process. I should note that during this process, I didn’t use best practices. I had one requirement: make a program that I can schedule to publish stories on KiGG. I wasn’t really sure what I would need to go about doing ...
Today I was working with a small Silverlight application that is using the new navigation feature. Basically I adapted what Tim Heuer (thank you for your great videos and posts!) shows in his tutorial here. Apparently that sample has not been updated for the final version of Silverlight 3. When you watch that video and download the sample code, you'll notice that although it will compile under Silverlight 3 RTM, running it will result in a white screen. In Firefox that is -- curiously enough IE partly ...
Normal 0 false false false MicrosoftInternetExplorer4 st1\:*{behavior:url(#ieooui) } /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} ...
Not long ago I notice interesting “feature” of WCF REST, hosted in the IIS7: when size of data from client exceeds some value, service broke the connection. I created test service, where I could reproduce this issue, using WCF REST Starter Kit (you can download here actual release, Preview 2). One of service's method is: [WebHelp(Comment = "Sample description for DoWork")] [WebInvoke(UriTemplate = "DoWork", Method = "POST")] [OperationContract] public SampleResponseBody DoWork(SampleRequestBody request) ...
One of the SL app’s that I have developed (http://www.dbschemaeditor.... calls services that are located on the sames domain… so far so good. Some weeks ago a user was complaining that in some occasions the application thrown a “Connection failed” message whenever he tried to login, … researching a bit on the issue I found that the user was typing in the url address dbschemaeditor.com (no WWW), what happens in this case? It’s treated as a cross domain call !! (request for clientaccesspolicy.xml ...
Mother of all Blog Posts Building expertise in WPF / Silverlight · Core Programming Concepts: Declerative programming, Dependency properties, DataBinding, Commands, Triggers, VSM, Control templating, the inheritence model , XAML extensions and control templating · Transforms and animations - SVG experience helps · Comprehend the core differences in SL and WPF- lack of Commands and Triggers (Behaviours and VSM are superior anyway), Calling different types of services (WCF, Sockets, Duplex, ADO.NET ...
I had to go through several Blogs and spend several hours trying to configure my BizTalk project to use Client Certificate Mapping, SSL, and WsHttp Adapter. These are the steps that were needed to make this combination work: 1. Enable Anonymous Access in IIS for the Web Site 2. Setup Certificate Mapping in IIS 3.Enable "Require SSL" 4. Edit the Web.Config file and make sure that the System.ServiceModel looks like this: <system.serviceModel> <bindings> <wsHttpBinding> <binding ...
Translation of original post by Scott Guthrie: / Tlumaczenie oryginalnego posta napisanego przez Scott’a Guthrie: http://weblogs.asp.net/scot... Jedna z najciekawszych aplikacji wychodzacych w tym roku jest maly menadzer pobierania – Microsoft Web Platform Installer – ulatwia on instalowanie i konfigurowanie serwera i róznych aplikacji badz modulów uzywanych przy rozwijaniu witryny. Jest to darmowe narzedzie, które mozesz pobrac ze strony www.microsoft.com/web ...
Ten post jest tlumaczeniem oryginalu napisanego przez Scott’a Guthrie’go, który znajduje sie na stronie http://weblogs.asp.net/scot... This is translation of original post by Scott Guthrie - http://weblogs.asp.net/scot... SEO (search engine optimization) to jeden z najwazniejszych elementów, które nalezy uwzglednic podczas projektowania portalu. Znaczny procent odwiedzin ...
Yes, now its Microsoft getting into SEO. Personally, I have not been a big fan of SEO initiatives and the action that is going around it. Following article is what I agree: http://societrends.com/2009... Having said that, we still have to keep our customers happy and IIS SEO Toolkit can make developers life easy. Some of customization we do today for achieving SEO requires multiple third party utilities and in the end becomes miserable to maintain. Executive Summary Microsoft ...
It looks like someone (probably search engine bots) were a little more excited with these servers than they were with the last and made over 10,000 requests in a minute, causing IIS to shut down.  I up-ed the limit and am going to keep an eye on concurrent connections for awhile.  If you see any issues with GWB, please @jjulian message me on Twitter or email me at jjulian AT geekswithblogs.com.  Thanks!!!!
Today, we announced the IIS Search Engine Optimization (SEO) Toolkit Beta – a free toolkit that helps Web developers, hosting providers, and server administrators improve their sites’ relevance in search results by recommending how to make them more search engine-friendly. The SEO Toolkit Beta is available for installation via the Microsoft Web Platform Installer 2.0 Beta. The IIS SEO Toolkit Beta is a piece of the larger Microsoft Web Platform strategy, which enables developers and end-users to ...
[Source: http://geekswithblogs.net/E... If you have a solution with secure HTTPS endpoints but no suitable certificate for development and test environments, you can self-certify using a combination of IIS 6 Resource Kit tools, and manual steps. Chris Adams gives a good overview in this post, but there are a couple of additional things to consider in a distributed environment, which I'll cover in this walkthrough. The walkthrough is based on the following infrastructure: - where XYZ-FRONTEND ...
Um so you know its your dream to use windows server 2003/2008 as your desktop Operating system right? So most of you just said no. However for the small amount that might just be curious here is a little script to stop installed server applications built into these server installs. @echo off :start set /p _input="Server? [y/n]" if %_input% equ y ( echo Starting server services… sc start HTTPFilter REM HTTP SSL sc start IISADMIN REM IIS Admin sc start lanmanserver REM Server sc start MSSQLSERVER REM ...
This error ("Failed to access IIS metabase") can occur when you try to access your WCF when you have added for hosting within IIS. To solve this problem do this: Reregister ASP.NET for IIS: Open an Visual Studio Command Prompt (or a regular command prompt and cd into the .Net dir - usually: C:\WINNT\Microsoft.NET\Fram... then type: aspnet_regiis -i When complete, from the same command prompt run: iisreset Verify your IIS virtual/app dir is setup correctly (uses .Net 2). If you don't ...
In this Issue: SmartyP, Andrea Boschin, Mike Taulty(2), Tim Heuer, Shawn Wildermuth(2), Jordan Knight, Steve Strong, Ashish Shetty, and Kevin Dockx. It was a busy weekend, beginning with Friday, so SC's been pretty quiet. Lucikly everyone else has been as well, so the list isn't overly long today :) From SilverlightCream.com: Create Circular Rotating Text in Expression Blend SmartyP has an artle up on Alex Knight's site... he's demonstrating wrapping text around a button this time... and a very nice-looking ...
I recently had the good fortune to attend a free Microsoft event on BizTalk Server RFID. I’ve had a little play with BizTalk Server RFID in the past but one thing I hadn’t realised was that when you create a process it actually creates a WCF service and publishes it to IIS. RFID Admin IIS Manager Note the hosting.svc file and the process.svc files. Over the next few days I hope to have a closer look at these and see what they expose and what you can do with them. Overall I find this quite cool but ...
Intro For the blog engine I’m writing for the WinPHP contest I needed a place to store data. Because windows specific features need to be used, Microsoft SQL Server is the logic choice. Getting data from the database isn’t as easy as making that choice. The extension that comes with PHP worked well with SQL Server 2005, but failed when running on a Windows Server 2008 machine with SQL Server 2008. Here’s a step-by-step tutorial on how to get it to work on SQL Server 2008. Installation First, download ...
I dealt with an interesting, if arcane, issue today at a client's site. The client is in the process of deploying an early version of a BizTalk application to their test environment for the first time. The test environment is hosted by another company, and BizTalk Server 2006 R2 had been installed and configured by that company. They are using the 64 bit version on Windows 2003 R2 with SP2. The BizTalk application publishes a WCF endpoint, hosted in IIS6. The hosting company has quite correctly created ...
I recently upgraded my office workstation to Windows 7 RC from Vista SP1. Everything in the upgrade went smoothly, until I after installed the IIS 7 server components and tested my sites on my local IIS server. When loading any asp.net site, I received the following error: Request for the permission of type 'System.Web.AspNetHostingPe... System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934... failed. I configured my usual permissions for the temp folders, .NET Temp folders, ...
I tried some of the hacks to run IE 7 and 8 parallel but found out myself in ruined version of default IE :(. Only solution that can work perfectly is using VMWare or virtual pc to host different os with different web browser is quite frustrating if you need to do development then you need to setup IIS for accessing your website on the virtual machines. But i found something thats so much awesome i cant think any hack is easier than Xenocode Browser Sandbox. Its a great exaple of Application virtualzation ...
Got woken up this morning by frantic people in Amsterdam. Their document libraries stopped receiving emails! First thing I checked was to make sure emails were still making it to the sharepoint server. To the IIS drop box at least... So I sent a test email there. Yep, they were definitely getting there. And they were disappearing too so that means the timer service was working and picking them up. So where the hell were they going? So I throttled the email events: After sending another test email, ...
[Update: 4/21/09] I did get this to work finally. This article clued me in: http://www.4guysfromrolla.c... It turns out the server.CreateObject() method takes only one parameter, the name of the object. But the global CreateObject function takes two parameters. The second parameter being the server on which the object should be run. So not only did I need to add the server name as a second parameter, but I also had to use the global CreateObject() function to create the object. ...
So, I recently had to write a small application that would basically prevent anonyomous users from accessing a site...which normally would take all of 5 minutes. The catch, though, was that the site I had to prevent access to was static content...predominantly HTML and Flash movies. Setting up forms authentication at first glance seems to work without issue...until you try to access an HTML file directly. Upon doing so, you'll go to the HTML page without issue for the simple fact that HTML pages ...
Look at what you get for FREE when you install Microsoft Web Platform Installer (Web PI) 2.0 Beta. There is so much you can do with these tools. Sometimes, its hard to find these packaged items on the web/msdn which enables you to ramp up/develop rich internet web applications. For example, how many times you rambled for IIS setup when you don't have I386 folder unavailable/OS DVD is not available! The good thing is, the installer keeps all softwares up-to date and it takes care of order of installing ...
How to Enable IIS 6.0 Compression for SharePoint: Microsoft’s Internet Information Server (IIS) has long support HTTP Compression. However, supporting and implementing compression are two different things. Many settings within IIS are easily configured from the IIS Admin GUI. Unfortunately, enabling and configuring compression is not supported through the GUI and requires editing the IIS Metabase. The metabase can be edited manually or updated from a command prompt. The commands can be combine into ...
In this Issue: Mark Monster, SilverLemma, Al Pascual, Silverlight SDK(2), Tim Heuer, Expression Blend and Design, Silverlight Web Services Team, Corey Schuman, Michael Sync, and Jesse Liberty(2). From SilverlightCream.com: Silverlight 3 and RIA Service – Creating a Proxy for Cross Domain HttpRequestsMark Monster sent me this link about the .NET RIA Service and creating proxies for Cross Domain requests... dang... are all the easy topics taken :)Creating Pie Charts with C# and Silverlight SilverLemma ...
One of the key configurations to get AJAX working on IIS 7.0 [Windows Server 2008 | Vista] This should be added within the web.config of the SharePoint site. The <system.webserver> Element The <system.webserver> element contains configuration settings used by Microsoft Internet Information Server (IIS) 7.0. The following example shows the <system.webserver> element for ASP.NET AJAX. Add this section to the existing Web.config file as a child of the <configuration> element. ...
First of all, thanks to all those brilliant people who made the long arduous journey to the UK (and to all those who just happened to be near by). I know it must have killed you to be so far away for so long. I can only imagine how hard it was for you. All of us that couldn’t go really feel for you and feel your pain. Okay! So, for those of us that couldn’t go, some of these guys really did a tremendous job of twittering what was going on during the conference. They absolutely did not have to do ...
Being a System Administrator as well as a Web Developer I run into issues with the Mail protocol SMTP. Things hang or people want their email better formatted. Or simply test out you spam messages you are going to blast before you well blast them. Of course you run into issues like is my ports open correctly, is the SMTP server setup to block relaying? Has my domain been blacklisted from spamming? These kind of questions are important. While I can’t fix the blacklisting domain issue the rest is well ...
Good news! Starting April 1st SharePoint Designer will be free! Bad news! Starting April 1st SharePoint Designer will be free! I have a love / hate relationship with SharePoint Designer, but I have always been quick to defend it to those developers out there who think it is Satan’s offspring. Although I’m sure some of Dark Lord’s minions had their hand in designing some of SharePoint’s quirks, I’m fairly certain SharePoint Designer is not quite that evil. It does however attempt to spread mayhem. ...
Torq Software decided to allow web access the internal systems so that they can be accessed by more field agents and clients via the internet with a manageable impact on the processor and bandwidth usage footprint. The team chose Visual WebGui RIA Platform and soon enough discovered how easy it was to start developing Visual WebGui screens due to the fact that it uses the same GUI designer technology that was already used to develop the Windows Forms version of the application. It was relatively ...
I have to say that I’m a big fan of WCF’s modularity and power. At the moment though, I’m struggling with impersonation issues and feeling overwhelmed by the sheer size of the thing. “With great power comes great responsibility”, I suppose. We have a legacy policy in our company whereby web services impersonate a particular user account that can write to certain file shares and access databases. This has served us well for intranet web apps, but I’ve run into difficulties because I’m forging ahead ...
Recently my customer encounters the following errors in TFS 2005: Exception Message: The process cannot access the file 'X:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\VersionControl\App... because it is being used by another process. (type IOException) Finally, we found that it is because that TFS application pool in IIS is configured to use multiple worker processes. Please configure it back to 1 to solve this problem ...
Every ASP.NET developer is accustomed to writing configurable values into the web.config for directing programming logic at runtime. This practice has always made a lot of sense for storing things that will change depending where assets (such as databases, web services, etc.) are going to live come production time. The tricky part comes in when you need to store configurable values that change the behavior of your code, but don't apply to other systems in any meaningful way. An example of one such ...
I have been struggling to get my version of SQL Compact 3.5 SP1 to work. Version 3.5 used to work without a hitch but my next project is going to be using SQL Server 2008 which requires the service pack (but I will still have to support SQL2005 applications). The project will have handheld scanners operating at the docks where wireless signal will not be guaranteed and so replication is the best option. I could not get the replication working to a SQL2005 publication no matter what I tried and the ...
I wanted to post about one of the best tools I’ve found for getting Kerberos properly configured and in the process getting some great HOWTO information on Kerberos, how it works, etc. When working with SharePoint, and the plan is to have your site run under Kerberos, I recommend using this tool before actually provisioning the Web App. You can do it later, but you’d have to “stop” the WSS provisioned Web App before using this tool. Why? Because the IIS site you use for testing must use the DNS name ...
[Source: http://geekswithblogs.net/E... WCF bindings provide the MaxReceivedMessageSize property, which lets you block any incoming messages on the client side over a given size (defaulting to 64Kb). If you're using message-based itinerary processing with ESB Guidance, when a WCF service returns a message larger than this default, you'll get a System.ServiceModel.QuotaEx... and the response message will be suspended: System.ServiceModel.Communi... The maximum message ...
I just installed Microsoft Enterprise Service Bus Guidance framework (November 2007 version for BizTalk 2006 R2). Although lengthy installation process is well documented in the accompanying help file I ran into multiple issues and it took a couple of days to sort everything out. I'd like to mention here major problems/solutions in case somebody decides to go through the same. First, if you install on other than default location (C:/%PROGRAM_FILES% and C:/Projects) make sure to update all scripts ...
In this issue: Tim Greenfield, Adam Kinney, Shawn Wildermuth, Alex Knight, and Joel Neubeck. Shoutout: The Swiss MSDN Team Blog has a bonus for all you wanna-be WPF'ers out there: Windows Presentation Foundation – Line of Business Hands-On-Lab Material From SilverlightCream.com: Speed up your app by compressing WCF service responses Tim Greenfield shows how to setup IIS to get your WCF services compressed during transit. Just for drill, I checked my shared hosting and I don't have that sort of granular ...
Note: The ASP to ASP.NET Migration tool was designed when ASP.NET v1.0 was just out and it does most of the conversion related to the then model. Also, there are a few known issues and it doesn't do a near to perfect conversion. If you are starting with ASP.NET development, the latest version is ASP.NET 3.5 which is a part of Visual Studio 2008 and I believe it provides conversion from classic ASP as well. As a part of the upcoming Virtual Tech Days, I am trying to demonstrate on migrating from ASP ...
Read or watch ============ Read “What is Azure” web site http://www.microsoft.com/az... Read the white paper by David Chappell http://download.microsoft.c... Watch the PDC 2008 session “A Lap Around Windows Azure” by Manuvir Das http://channel9.msdn.com/pd... He has an alternative presentation (40 minutes) here http://channel9.msdn.com/po... Install ...
On a fresh php installation (on WinXP using IIS 5) the mysql extension did not load. This turned out to be because php could not find the libmysql.dll library - to resolve just put the php dir (eg "c:\xampp\php) and the ext dir (c:\xampp\php\ext) into the PATH environment variable (and restart iis). To verify your php configuration, create a php file with the following content: <?php phpinfo(); ?> Save this as something like info.php into your web root dir and navigate to it with a browser ...