Tag | IIS Posts

With a little help from Shay Levy’s post on Stack Overflow and the MSDN documentation, I added this handy function to my profile to automatically recycle all IIS app pools. function Recycle-AppPools { param( [string] $server = "3bhs001", [int] $mode = 1, # ManagedPipelineModes: 0 = integrated, 1 = classic ) $iis = [adsi]"IIS://$server/W3SVC/... $iis.psbase.children | %{ $pool = [adsi]($_.psbase.path); if ($pool.AppPoolState -eq 2 -and $pool.ManagedPipelineMode -eq $mode) { # AppPoolStates: ...
We just bought a new Web Server, after installing Windows 2008 R2(which is a 64bit OS and IIS7), SQL Server Standard 2008 R2 and IBM Client Access for V5R3 with its Dot Net Data Providers, I tried deploying our new project which is fully functional on an IIS6 Based Web Server, I encountered this Error The 'IBMDA400.DataSource.1' provider is not registered on the local machine. To remove the doubt that I still lack some Software Pre-Requesites or version conflicts since I encountered some erros while ...
IIS7.0 httphandler WebControlCaptcha
I was trying to configure IIS 6 SMTP server for outbound mail in Windows Server 2008. I was getting error highlighted in below: Telnet: 550 5.7.1 Unable to relay for ferdous@congral.com I am sharing my experience here how to solve this error. This is an error reply from your SMTP mail server. It indicates that your mail server is not configured to allow you to send mail through it. The standard port is 25 for SMTP connections. You can check your SMTP Server on SMTP port 25 using Telnet command.Open ...
I was having a hell of a time tonight with my IIS on my development laptop. I don’t remember doing anything to change the IIS settings. I don’t use IIS that much on my dev machine. Usually Cassini is enough for testing my development efforts but tonight I needed to replicate a problem that seems to stem from x86 v x64 mismatch, so I went to create an IIS site pointed to my dev folder. When I did, I got a “503.1 Service Unavailable Error”. First thing I did is go over all my setting to make sure I ...
At the end of November 2010 we released a new version of the Windows Azure SDK which contains many new features driven by the great feedback of early adopters plus a shiny new portal. New Portal implemented in Silverlight: The new portal is implemented using Silverlight and replaces the (IMHO rather clunky) original HTML + JavaScript portal. It is 100% better although does still have a few bugs. Enjoy! P.S. You can if you wish still use the old portal: New runtime functionality: The following functionality ...
There was a recent upgrade of the Oracle client on a production web server housing serveral app pools each containing multiple web sites. The upgrade consisted of adding the 11.2 client tools on the web server, but leaving the 9.2 and 10.2 versions alone. After learning the upgrade occured, I updated Oracle.DataAccess.dll on my site to the 11.2 dll, and the web site ran smoothly. The next day I discover the site is throwing an error: Oracle.DataAccess.Client.Or... The provider is not compatible ...
The Windows Azure Team had just published their new development portal this week and the SDK 1.3. Within this new release there are a lot of cool feature available. The one I’m looking forward to is Remote Desktop Access to your running Windows Azure Virtual Machine. Configuration Remote Desktop Access It would be very simple to make the azure service enable the remote desktop access. First of all let’s create a new windows azure project from the Visual Studio. In this example I just created a normal ...
Issue: The file upload size on your machine or web app is too small. The default file upload size for IIS is 4096K. The file size the user is trying to add can be retrieved (using the ELMAH log here) by looking at the Content-Length header property: HTTP_CONNECTION:keep-alive HTTP_KEEP_ALIVE:115 HTTP_CONTENT_LENGTH:6414851 In this example it is just over 6Mb Solution: You can add/update the HttpRuntime property in the machine or web config files, depending on at what level you want to set the size. ...
Setting up a WCF RESTful service is extremely easy to do. In fact, you can do this with no *.svc file and no config file. However, you might run into a situation where your service worked fine during development using the Visual Studio web server but when you deploy to IIS 7.5 it no longer works. Specifically, for a simple request like http://localhost/help you get the error: “HTTP Error 404.0 - Not Found. The resource you are looking for has been removed, had its name changed, or is temporarily ...
Sandbox solution is a new feature introduced in SharePoint 2010. It's a secured wrapper around webparts and other elements with limitations. There is no thumb rule that every webpart in SharePoint 2010 belongs to Sandbox Solution. But it's recommended to develop webparts with Sandbox solution. It allows administrators to monitor the solutions and control as required. SharePoint Site Collection administrators can view the resource utilization of each solution and can block if it consumes too much ...
Interested in learning Windows Server AppFabric? I hope so. It will be the backbone of the on-premise version of BizTalk in the coming years and based on news out of the PDC it looks like it will be moving to Azure (in some form) as well. There are many resources out there for learning Windows Server AppFabric. However, not all of them are equal and you can spend a lot of time meandering through material without making a lot of progress. Below is my suggested path for coming up to speed on it with ...
I've been meaning to write a blog post for a while about how we implemented a scatter gather pattern at one of my clients. Ive recently been reading Richard and the gangs new book which discusses a very similar pattern but with a different design decision. Based on that I have decided to expand on the original planned post to talk about what we did and our decision process using the decision framework discussed in the book. The aim here is to show that the "it depends" principle means that there ...
In this Issue: Brian Genisio, goldytech, Martin Krüger, Shawn Wildermuth, John Papa, Kunal Chowdhury, Michael Washington, Joost van Schaik, Karl Shifflett, Joe McBride, Bruno Terkaly, Xpert360(-2-, -3-), and Brad Tutterow. Above the Fold: Silverlight: "Customized Scrolling in Silverlight using Expression Blend" Kunal Chowdhury WP7: "Windows Phone 7 Development for Absolute Beginners (The parts you care about)" Michael Washington Training: "In the Box – MVVM Training" Karl Shifflett Shoutouts: bspann ...
I was trying to install a web app that another team member built. this failed with the message: “The installer was interrupted before <MyApp> could be installed. You need to restart the installer to try again.” Trying again is (obviously) meaningless, it will just fail over and over. And the error message is very general, something failed. In the eventlog we can find this error: Installation success or error status: 1603 If we run the installer again but with verbose logging: msiexec /i MyInstaller.msi ...
The other evening I had the unfortunate pleasure of having to rebuild a client's SharePoint farm. Generally, SharePoint is not unstable. Unfortunately, the original consultant built the farm with one service account, which made things dicey. Murphy, of some strange law fame, stepped in and presented a situation in which that service account password had to be changed. As you would expect, the administrator changed the password. Since the administrator was newer to SharePoint he didn't realize the ...
Creating a Custom Site Definition: · http://msdn.microsoft.com/e... · http://msdn.microsoft.com/e... Adding Pages to a Site Definition: Each page in the onet.xml is defined in a <Module> tag. For e.g. <ModuleName="Home"Url="$... Similarly if we want to add more than one page we can add the same in module tag. For e.g. <ModuleName="Home"Url="$... All ...
Recently while I was upgrading a client web site, I started up a holding page web site on the same URL and displayed the holding page in my browser. At the end of the upgrade, I stopped the holding page web site and restarted the main site. I then refresh the tab in my browser but only saw the holding page, until I did a control-F5. So remember if in doubt on what you should see in your browser window, do a Control-F5 to force the browser to re-load. Changes to stylesheets sonetimes need a control-F5 ...
On Thursday October 28th, 2010, I had the privilege of attending and speaking at the SoFla Local PDC10 hosted by the Gold Coast and Miami .Net User Groups. While most local PDCs focused on viewing the Redmond event, South Florida kicked it up a notch by availing some of the community’s local speakers to comment and address any questions the audience might have. I greatly enjoyed covering and answering audience questions on WebMatrix, Razor Syntax, ASP.Net Web Pages Helpers, IIS Express, ASP.Net MVC ...
Sam Abraham (Me) will be speaking at the SoFla PDC 2010 hosted by the Gold Coast and Miami .Net User Groups in Boca Raton, Florida on October 28th, 2010. The local PDC event will run in parallel to and will embrace some of the content covered and unveiled at the main PDC 2010 hosted in Redmond. This would be my third speaking event in a quiet busy October 2010 and my second visit as speaker to the Gold Coast .Net User’s Group for the month of October. I will be covering WebMatrix, Razor Syntax, ASP.Net ...
WebMatrix is a free “one stop shop” supporting all developers’ needs when creating web sites based on standard markup technologies (HTML, CSS, Javascript and jQuery). WebMatrix features an intuitive user interface to help minimize the learning curve and ease navigation and access to all application features. For instance, on startup WebMatrix enables the user to select of the following: 1-Existing sites created in WebMatrix 2-Obtain a site from one of the open source packages through Web Platform ...
If you want a virtual directory or a site in IIS7.x to redirect to another url you first have to make sure you have installed http redirect for IIS. To do that goto Control Panel > Program and Features and select Turn Windows features on or off Choose IIS and click on Add Role Services and make sure you check HTTP Redirection Let the feature be installed and configured. Now you will see the HTTP Redirect option in the Features View of IIS. Click HTTP Redirect and add the necessary redirect information ...
I’ve just been helping a colleague work out how to publish their Silverlight DeepZoom project to their local IIS instance. Went through the Publish settings in VS2010, published, connected to it via IE and… ah. No Images. OK, no worries, let’s copy the files from the ClientBin folder across that weren’t published… Hmmm, still no joy… Seems to be just the zoom images that aren’t there… Ok, how about trying to access those files.. You get this error when you attempt to access the .dzc file directly: ...
When working with multiple IIS worker processes it is useful to be able to correspond the processes to application pools. The command to do this in IIS 7 is: %windir%\system32\inetsrv\a... list wp The output looks like: WP "3948" (applicationPool:Classic .NET AppPool) You can see the PID (3984) and the name of the application pool. The PID can be used to find the process in task manager and the Visual Studio Attach to Process dialog ...
Over the last number of weeks, I have been involved in a project that required getting IIS log information from an Azure WebRole. The process established was to use Cerebrata’s Diagnostic Manager (I can’t do it justice to tell you how awesome this tool is) to monitor real-time and also to download the information collected through the transfer rate configured for the service. Then once the information had been downloaded, I would then use WebLog Expert to create a nice pdf report of the activity. ...
Recently I blogged about WCF REST services with no svc file and no config. In this post I also discussed the pros/cons of WCF services as compared to using MVC controller actions for web services and I made the case that, in many instances, WCF REST services is better than using the MVC infrastructure because WCF provides: a more RESTful API with less work a convenient automatic help page to assist consumers of your service automatic format selection (i.e., xml/json) depending on HTTP headers In ...
Hi, Shown below is one of the most easiest way to configure a BizTalk Receive Location which can receive any WCF Message based on the Binding type you provide in the configuration. This uses the WCF Custom WebService Host Factory. Where you can use this type of configurations? · Scenario where you need to send a WCF Message from .NET Code. · BizTalk Unit Testing. · Receive Locations which will be using ESB Toolkit receive locations. · and Many more. Anyways, below are the steps: - Create a IIS Virtual ...
Merge Wpf and Silverlight to single framework · Merge both frameworks to use the same assemblies and controls (with optional functionality in separate assemblies) make a .net silverlight profile that would be a subset of .net client profile and used by partially trusted xaps. · Conditional compilation within Xaml - stopgap solution: for Silverlight/WPF differences in shared markup. · Support the direct hosting of Silverlight – stopgap solution: support the direct hosting of Silverlight in a WPF application ...
If you’ve configured PDF for Search in SharePoint 2007 then you are certainly almost there in getting it to work with SharePoint 2010. The process is almost identical with some minor changes due to service name change and directory changes. Below are the steps to get iFilter working and configuring pdf files search in a SharePoint 2010 IFilter Install 1. Download PDF iFilter 9.0 for x64 platforms http://www.adobe.com/suppor... 2. Stop the IIS Admin Services by issuing ...
Here are a couple of registry values you can tweak if you are sending messages over a high latency network like the Internet. The first two are for setting the TCP receive window which is the number of bytes a sender can transmit without receiving an acknowledgment. In general, larger receive windows will improve performance over networks that combine both high latency with a lot of bandwidth. Caution: Using a TCP Window size that maximises bandwidth utilisation will do just that - It will maximise ...
If you are scratching your head because the files in the %windir%\system32\LogFiles\... directory have no entries for the incoming MSMQ messages then you need to tick two boxes: Open up Computer Management Navigate to: Services and Applications Internet Information Services (IIS) Manager Web Sites Default Web Site Right-click the web site and choose Properties On the Web Site tab, tick "Enable Logging" and press OK Right-click the MSMQ application underneath the web site and choose Properties ...
You may see the following error message when you are trying to install HTTP support for MSMQ messaging: "The Message Queuing IIS extension /LM/W3Svc/1/Root/MSMQ cannot be created. Message Queuing will not be able to receive HTTP Messages. Error Code 0x80070003 Error Description: The system cannot find the path specified" What this is saying is that the MSMQ virtual directory cannot be created. Note that setup wants to create this under "/LM/W3Svc/1/Root" which is the root of the website with ID number ...
Security. You've got to love it. Spent a little while trying to work out why my test messages weren't going over HTTP to a Windows Vista destination before I realised what was wrong. The IIS service may have been running but, of course, the Windows Firewall is blocking port 80 by default. So... Control Panel Windows Firewall Click the Change Settings link Choose the Exceptions tab Enable "World Wide Web Services (HTTP)" Enable "Secure World Wide Web Services (HTTPS)" Press OK and test again ...
This post refers to the situation where a client is sending MSMQ messages over HTTP to a receiving server hidden behind a firewall. The messages will be stuck in the Outgoing Queue with a state that switches between "Inactive" and "Waiting to Connect." If you collect a Network Monitor trace then you should see that the server replied to the message from the client with a response of "HTTP 400 - Bad Request" without including a body in the response. If you had a PSS engineer format the MSMQLOG.BIN ...
Here's one for Windows 2008 that I've copied from the Motley Queüe Blog. MSMQ’s transactional message support uses internal messages called “order ACKs” to coordinate between sender and receiver so that no user messages are lost. When transactional messages are sent via HTTP, the URLs used to send the order ACKs back to the sender sometimes contain the special character “+”. IIS 7 has a security feature in request filtering to disallow all double escaped characters, and this interferes with the return ...
Here's another reason for MSMQ messages to be undelivered over HTTP. For this customer problem, the network traffic and IIS logs showed that the messages were being correctly POSTed to the web server. The next step should be for the server's MSMQ web application to accept the HTTP traffic and convert it into a native MSMQ message for the local queue manager. As the message never appeared in the queue, the troubleshooting involved looking in the formatted output from the MSMQLOG.BIN. In this case ...
There is a KB that covers an HTTP message delivery problem on 64-bit Vista. 936497 BUG: Error message when you try to send messages to a Message Queuing queue on a computer that is running a 64-bit version of Windows Vista: "404 not found" The problem occurs when Internet Information Services (IIS) is configured to run in 32-bit mode on a 64-bit version of Windows Vista. 32-bit IIS is expecting to interact with 32-bit MQISE.DLL but that file does not exist in the %WINDIR%\SysWOW64 directory - there ...
There is an interesting MSMQ 4.0 problem highlighted in the following KB article: 936502 A message is not received when you use the HTTP protocol to send the message from a Message Queuing client to a Message Queuing 4.0-based server http://support.microsoft.co... Basically, don't put ".SVC" in your queue names as otherwise IIS will get confused IF you have chosen WCF activation: The handlers for Windows Communication Foundation (WCF) are looking for this file extension ...
After a long while trying to work out what was going wrong with another customer's system, I finally cracked it. There were two servers and we could send messages between them in one direction but not the other. Messages would happily go into the outgoing queue and then disappear. The first place I looked was in the IIS logs on the receiving machine - the web service is the first place that the message will reach so we need to check if the POST request is getting through. 2006-10-05 12:55:49 W3SVC1 ...
Here’s an unusual problem that you shouldn't expect to bump into and the solution is potentially painful. Scenario You want to make use of the HTTP protocol to send MSMQ messages from one machine to another. You have installed HTTP support for MSMQ and have addressed your messages correctly but they will not leave the outgoing queue. There is no configuration for HTTP support - setup has already done all that for you (although you may want to check the most recent "Installation of the MSMQ HTTP Support ...
With Pete's guidance, it will feel like you have that super-smart coworker in your cubicle at all times. A new Silverlight 4 book is coming out on September 7th and I had a chance to review it before it hits shelves. After reading the book and some chapters multiple times, I can tell you that this is the best book for a developer wanting to learn Silverlight 4. If you are wondering if you should buy the book or not then let me answer that right now. YES. I would definitely recommend this book to ...
I have recently started to look at EDI communications through BizTalk. Part of the EDI features in BizTalk is the use of BAM to track messaging. Amongst the applications we currently have built in BizTalk we do some SharePoint communication. This is also a possible component to our EDI solution. We also have plans to move to BizTalk 2010 in the near future, so today I started to build my new BizTalk Dev machine. I got a bit of a surprise when 2 parts of the required set had me setting a flag “Enable ...
When Commerce Server 2009 was released, it introduced a new API (commonly known as Multi Channel Commerce Foundation) based on the latest technology stack at the time. One of the biggest changes was the basis of an n-tier architect, based on WCF, which for the first time removed the Commerce Server dependencies from the web/presentation tier, and allowed all of the logic to be encapsulated on a separate application layer. In modern day architecture this becomes important when the presentation tier ...
My solution contains a number of projects; including a contract, service, host, and unit test assemblies. I host my services in ASP.NET web sites, which I run via my dev web server (cassini), and then IIS when I deploy to my production and test environments. My start up project is the Host project, so when I press F5, my service host starts and my services become available. When I want to unit tests my WCF Services however, the service host doesn’t start. I’ve specified the Host Project to Always ...
Las aplicaciones de Windows Azure se ejecutan en los centros de datos de Microsoft y son accedidas a través de Internet. Different kind of applications can be built on Windows Azure: · An independent software vendor (ISV) could create an application that targets business users, an approach that’s often referred to as Software as a Service (SaaS). ISVs can use Windows Azure as a foundation for a variety of business-oriented SaaS applications. · An ISV might create a SaaS application that targets consumers. ...
In this Issue: Michael Washington, Ezequiel Jadib, Kunal Chowdhury, Ernesto Herrera, Levente Mihály, Rob Davis, Sergey Barskiy, Jeremy Likness, Victor Gaudioso, and Jonathan van de Veen. Shoutout: Right on cue, Erik Mork and company posted This Week In Silverlight 7.23.2010 – Early Windows Phone 7 Reviews From SilverlightCream.com: Using The Silverlight DataGrid with View Model / MVVM Michael Washington has posted a tutorial on a pretty-much all-singing, all-dancing DataGrid (i.e. inline edits, button ...
One of the clear changes in Visual Studio from Visual Studio 2005, is the dependency of VS on IIS for creating websites/web applications. In VS 2005 until its SP1 you only had the choice to create Websites that use the local cassini web server for development purposes. The Web Application Projects allows you to create the legacy style of project based sites which can run on IIS. From VS 2008, you can create both Web Application Projects as well as Websites that can run on Cassini i.e. without the ...
This week, Scott Guthrie, Corporate Vice President at Microsoft’s Developer Division, announced, via blog post, the early Beta release of a new tool called WebMatrix. WebMatrix is a free developer tool that enables Web development geared toward what might I might call Markup-and-Script developers (more on that in a minute). And although WebMatrix draws upon technologies already, or soon to be, present in the fuller ASP.NET Web development platform and the Visual Studio integrated development environment ...
Microsoft has recently released the first beta version of WebMatrix. What is it? Taken from the WebMatrix official site: "WebMatrix is everything you need to build Web sites using Windows. It includes IIS Developer Express (a development Web server), ASP.NET (a Web framework), and SQL Server Compact (an embedded database). It streamlines Web site development and makes it easy to start Web sites from popular open-source apps. The skills and code you develop with WebMatrix transition seamlessly to ...
Since installing Option Pack 4 for Windows NT to get IIS running Classic ASP, we have all felt the lack of ease from Microsoft to actually create websites on a developer box. There has always been an expressed need to not need a custom configured machine to install Visual Studio and create web sites right away. Why must we open Windows Configuration and add all these pieces if a solution for our OS could be added to the development product line. My first development job was 10 years ago when I worked ...