Tag | IIS Posts

[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 ...
Background (skip if you know Web Application Projects) In VS 2002/2003, the web project model for a website was similar to "class library" projects, where you have a .CSPROJ or .VBPROJ file that keeps track of files "included" in the project, and compiles all the pages and controls code behind to a single assembly under "\bin". Each page/control has an automatically generated .DESIGNER.CS or .DESIGNER.VB file, which contains objects mapping to the server controls in the page/control markup (the generation ...
So I got this yesterday as I went to do a test deployment to a clone of our production server and couldn't for the life of me figure out what was wrong...until I remembered getting this months ago when we first started developing this app on VPC. The fix in this case was pretty simple - assuming the XAP file is named correctly and doesn't have any non-DOS friendly characters in it, just remember to add the new MIME type to IIS to handle the XAP extension. I must have scratched my head for about 20 ...
[Source: http://geekswithblogs.net/E... If you're hosting WCF services in IIS and try accessing the WSDL using ServiceDescriptionImporter.... you'll get an error saying Unable to import binding BasicHttpBinding_IXyzService… WCF separates out its schemas into logical components, which ServiceDescriptionImporter and other clients (including the ESBSimpleSamples ServiceClient generator) can't work with, as they're expecting a single flat WSDL. Christian Weyer from Thinktecture has a solution ...
Although I was more-or-less lambasted for my post about free vs. open source software, I want to follow-up with a comment or two about .NET development. There is a common misconception that developing for Windows using .NET is an expensive endeavor. For the record, .NET development is free. .NET Framework SDK The .NET framework itself (a.k.a. runtime) is completely free. In fact, if you don't have it, go and download it right now. Check out "Get the Framework" on the right. http://msdn.microsoft.com/e... ...
Nowadays program and hardware adaptation to take advantage of dynamic changes in behavior is becoming increasingly important as a result of technological trends. The requirement for co-existence is essential for any language claiming to be general purpose. Subsequently, the service agent manages communication between a business assembly and an external Web service. Consequently, A composite service is atomic in nature, but orchestrates the invocation of component services into a business level process. ...
I got the following error on a fresh install of Scuttle (0.7.2) on a newly created Windows Server 2003 with PHP (5.2.6), MySQL5.0.51b) and IIS 6: Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead in C:\Inetpub\Scuttle\includes... on line 131 Warning: setlocale() [function.setlocale]: Invalid locale category name LC_MESSAGES, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME ...
Had a problem with WCF that I thought I should blog about. We're in the scenario where we have a WCF service that needs to call another service to do some calculating and then return the result back to the client. For now, the service is hosted on the same server, but eventually, it could get expensive, so we'll push out that calculation to another server. The WCF configuration also has an endpoint address that is not the same as the base address reported to it by IIS; IIS is of course reporting ...
It seems every time I try to install PHP and MySQL something doesn't work - usually there's either a file missing from the PHP distro or something in the install notes is missing or incorrect. This time it was both. I first tried the PHP msi install - first mistake. As it does not include the MySQL extensions - neither does the 5.2.6 PECL zip file (I mistakenly thought this would include all the extensions). So if you've installed PHP using the MSI installer - uninstall it (via Control Panel - Add/Remove ...
Its good to have a calendar control in the new Reporting Services 2005 which wasn't available in the previous version. Good on you Microsoft but sorry the calendar control isn't working well. I was working on some reports and i noticed that when previewing the reports in Visual Studio or in the Report Manager site all seems good when i select a date from the date picker it does format accordingly to my culture setting which is en-AU date format e.g dd/M/YYYY but when i'm loading the reports via the ...
The ASP.NET Wiki is down today. It just displays a big Service Unavailable message with an HTTP Error 503. If you've been running 32-bit and 64-bit assemblies on IIS and get the Service Unavailable 503 message on your server, David Wang has a blog entry about it here ...
Since Windows XP Service Pack 2, there's been a buddy living in the system called Http.sys. IIS and SQL Server both interact with this kernel-mode HTTP listener to receive and response to HTTP requests. Within the .NET framework, you can build your own application to interact with HTTP requests using the HttpListener class, which is simply managed code built over the Http.sys API. The code to work with the HttpListener class is quite simple, as illustrated with this example: System.Net.HttpListener ...
Read this on foxnews today. I had to laugh. Having been a system admin, all I can think is duh? Have they never read BOFH? If you don't know what it is, read it here and here. Several notes: 1. We don't need to change our passwords as often. We don't write them down on sticky notes and post them on our desks. We don't give them out over the phone in restaurants (I overheard a bank teller's username and password once in a restaurant while she was on lunch break . . .), and we practice safe computing. ...
We should install the certificate to the server that hosts the services with Transport level security. For tests we could use the self-made certificate, for production we recommend to use the certificate issued by the industrial certificate provider as the VeriSign. 1. Install Microsoft .NET Framework 2.0 Software Development Kit (SDK) (x64) [http://www.microsoft.com/d... It is installed by default to the "C:\Program ...
I took the plunge. I have had the bits for 2008 for a little while and I finally decided to set it up for my TFS environment. Windows Server 2003 is so last year! My buddy ET blogged a few weeks ago on installing TFS on Windows 2008 32 bit. I used his post as a guide, but added a little more detail to some of his steps and updated the overall process for 64 bit. Sadly, the TFS App tier does not run on 64bit Windows and no amount of begging by me would get the product team to send me a patch. *sigh* ...
I just surfed on this on the sharepoint forum so i decided to share It can save a lot of time though Getting Started Topics SharePoint Developer Introduction for .NET Developers http://www.microsoft.com/cl... Microsoft SharePoint Team Blog http://blogs.msdn.com/share... Troubleshooting Topics Problem Area: Debugging and Troubleshooting Problem When developing against the SharePoint object model in an application outside of IIS (service, console, Winforms etc..) on a machine ...
There are many ways to run a test in VSTS: From the Test View window, from the Test List window, and from the Test Results window, to name a few. VSTS then runs the test in the IIS or the ASP.NET Development Server Process. But what if you want to step through a test? How do you set a breakpoint? Microsoft has documented the "official" answer here: However, I have found a much simpler way to accomplish this: Run your tests from within Visual Studio runtime. To do this, rather than running your tests ...
Install IIS, ASP.NET, .NET Framework 3.5, SQL Server 2005 Express /w Reporting Services, a Web Application, create the Web Application database, and Deploy Report files using a batch script... Possible? Yes!!! I often like to explore possibility and this was my challenge. So here's what I did... I knew I wanted to have a batch file to start the installation and get everything installed, but I wasn't quite sure how to accomplish such a feat. So after some Google searches I started to put the batch ...
About once a day I was getting the following error from an ASP.Net web page that uses ActiveRecord: Exception Details: System.Data.SqlClient.SqlEx... A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) I would subsequently get this error upon refreshing the page: Exception Details: System.InvalidOperationExce... ExecuteReader requires an open and available Connection. ...
I've finally uploaded my ESBSimpleSamples project to CodePlex here: ESB Simple Samples It's intended as a quick-start for using the ESB Guidance package, and it has a client library for building strongly-typed service request objects. It has two very simple sample services which return the encoded value of a given character, either in ASCII or Unicode. The services are exposed as Web services and IIS-hosted WCF, and there's a WinForms client which lets you call them directly or via ESB. Prerequisites ...
While I was finishing up the "ESBSimpleSamples" project, I came across this strange error. On submitting a message to the ProcessItinerary Web service I got a 503 Service Unavailable error, and the event log showed the app pool had been shut down, with The identity of application pool, 'ESBAppPool' is invalid and error code 80070532. A quick Google suggested it was an issue with the BizTalk isolated account. I hadn't changed it at all and the service was fine a couple of days ago, but I checked the ...
Many applications need to integrate data from multiple sites into a combined answer. As discussed, the modular architecture of the IIS7 and ASP.NET integrated request processing pipeline allows you to plug your own custom feature modules into the integrated pipeline to add support for new custom processing capabilities (Cross-Cutting Phenomena). looking from a philosophical point of view, what functions are computable by a computer? Logic variables pioneered by concurrent logic and concurrent constraint ...
The solution technique for the finite-element problem is based on a domain decomposition . talking a little out of this context, equality is not always a function put a predicate of pairs of numbers i.e. a property of pairs of numbers. Technically, XAML is not a language itself but a .NET serialization and initialization language. Software Clustering has been used in the past, mainly as an aid in the reverse engineering process of software (Runtime Engine of Immutable Builders). Understanding is ...
Ok, say that 5 times real fast :) The things a person finds themselves involved in while trying to grub through the day and leave enough brain cells functional for Silverlight before crashing out... At my client's facility, we had a server with our web apps and other folks' apps that not only was past it's prime (aren't we all), but the lease was up. Let's not ignore the fact that we had another server with our Oracle database on it go down the same path close enough behind that we switched them ...
Last couple of days I made a terrible decision: reinstall my computer. So I reinstalled Windows (XP) three times in the last two days (the dvd with Visual Studio 2008, for some reason, kept killing my CPU) and finally I managed to install VS 2008 and start configuring th ASP.net project I am working on and kept reinstalling whatever I needed, on the flow. To my huge surprise I could no longer open the solution with Services. The exception message was really helpful : System.Runtime.InteropServi... ...
To add to my frustrating time this week with my 1418 error when setting up Database Mirroring under SQL Server 2005. I was dogged by a continuous 'Service Unavailable' message when trying to load a ASP.NET page under IIS running under Windows 2003 R2. Typically 'Service Unavailable' is a nice catch all message that doesn't give anything away, and so it shouldn't as hackers learn about websites by generating exceptions. Diagnosing the real reason for the error is a case of reading the IIS error logs ...
What is Microsoft Windows SharePoint Services? How is it related to Microsoft Office SharePoint Server 2007? 2 What is Microsoft SharePoint Portal Server? 3 What is Microsoft Windows Services? 4 What is the relationship between Microsoft SharePoint Portal Server and Microsoft Windows Services? 5 Who is Office SharePoint Server 2007 designed for? 6 What are the main benefits of Office SharePoint Server 2007? 7 What is the difference between Microsoft Office SharePoint Server 2007 for Internet sites ...
Ok I've visited this one before, but now I'm just a tad scared, because first I had the VS2003 .NET 1.1 bits working on the server, then I went through the whole IIS and VS2005 .NET 2.0 CR bits. Now this morning I got email from a user that one of the reports is pooting... argggg... And it's the infamous "Load Report Failed" error. I tried and of course, it poots on my system as well :( ... I tried the .NET 2.0 "Merge" version and wow... that sucker just flies .. cool! So back to Google and a bunch ...
I just recently started using BareTail (which is a free Tail for Windows) and I have to say it is fantastic at what it does. What is a tail? In Unix it is used to mean the end of the log file. The follow (-f) option translates into staying with the bottom, or tail end, of the file. BareTail is a Log File Monitoring tool that you can leave running all the time and it will refresh file changes without ever locking /BaretailYetAnotherLogTool_... · Real-time file viewing · Follow ...
This is *way* outside what I normally have to deal with. Yeah, I've got some websites, but they're on shared hosting and I don't have admin rights to the servers, and hey, they just work ... and that's a good thing :) As I mentioned in my latest CrystalReports post, I had trouble with a new web app on a brand new state-of-our-art Windows 2003 IIS 6.0 web server. The app runs in (also state-of-our-art) VS2005 no problem, but I thought it would be nice at this point in the cycle to get it on the server, ...
This one isn't a rant... surprise! ... this one is to report how I resolved the latest problem I had and some of the web resources I used for it. I've been working moving some web applications and associated Oracle databases from an old server to a new virtual one. I finally got the production applications running and had asked the IT folks to give me an alias through DNS to my test .NET 2.0 application that I want to run on the same server. First I had problems with getting 404 errors, and that'll ...
Article Source: https://geekswithblogs.net/... If you drive a car that has no dashboard, it will still drive and do its core job. However before long something is going to go wrong and it will just stop working and you will get no warning and not know why. This is what I usually say to anyone who considers implementing BizTalk and who doesnt plan to use MOM or SCOM to manage or monitor it. In most of the projects ive been involved with MOM has been used to great effect. In one project ...
Tonight I traveled for 3 hours (roughly 300 kms) to attend the DevEast meeting in Moncton, NB. And in my mind it was worth it. In the most unusual place I've ever sat and listened to a presentation, I joined 8 others at AJs Pizza Place to listen to Derek Hatchard run through two presentations that's he's planning to give at DevTeach Toronto next week. Leveraging the Amazon Platform Covered the various types of services that Amazon has made available. Derek talked about S3 (Simple Storage Service) ...
Today Microsoft unveils RoboChamps (www.robochamps.com), a simulated robotics league that is open to academics, hobbyists and developers from around the world, that demonstrates the power of the Microsoft platform to enable a broad range of developers to explore new ways to use .NET for robotics programming. RoboChamps is built on top of the Microsoft Robotics Developer Studio(MSRDS) 2008 CTP, and uses that product’s robust, physics enabled simulation environment to remove the barriers of entry that ...
Another issue that may be faced when deploying custom .Net applications in the CRM root directory is the following error: 'Microsoft.Crm.WebServices.... Microsoft.Crm.WebServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad36... doesn't exist. You can resolve this one of two ways... 1. Add the following to your applications web.config (not CRM's web.config!) <assemblies> <clear/> <add assembly="*"/> </assemblies> ...
Working for a client on an upgrade for 3.0 to 4.0 with an application that was in place under the CRM IIS directory as a virtual directory. Struggled trying to get this to work and respond as it did under 3.0. Basically, the site would work if it was it's own web site, but not as a virtual directory. To make matters worse, the only thing returned when you navigated to the site was a blank page. None of my code was executing and I wasn't getting any type of error message. Tried messing with every ...
This is an ASP.Net error I got while converting a .Net Remoting app from 1.1 to 2.0, and it puzzled me for a while. The conversion had gone fine and everything built and deployed without a problem, but the unit tests I'd written were failing to find the remote service. IIS was being used as the host for a handful of wellknown objects, so I tried browsing to the WSDL and this was the error. Check on Google and you'll see there aren't any relevant hits, so obviously something strange in the setup of ...
Performance - Scaling Strategies for ASP.NET Applications: This is a nice article on how you can improve the performance and how to scale your application. There are three strategies available that you can employ in order to improve scaling: specialization, optimization, and distribution. How you apply them will vary, but the actual strategies are straightforward and consistent. Unit Testing: Apply Test-Driven development to your Database projects Google Website Optimizer Opens Up Windows Live 4 ...
It is quite easy to say that the IT world is a diverse world. For instance, it is quite rare that you would find an enterprise that is built upon a single vendor’s technology stack. Instead, you most likely find that a company is made up of a patchwork of systems. Some of the systems are based upon UNIX, some Microsoft, and some others (sometimes items that are considered legacy). A company’s software and data repositories are something that grows quite organically over time. Usually you will find ...
The first thing developers starting to implement Windows Communication Foundation (WCF) should know is the difference between the BasicHttpBinding and the WSHttpBinding. This is very important as the BasicHttpBinding has some major drawbacks compared to the WSHttpBinding. From the functional view it makes no difference, it's just a client invoking an operation on a service, but there is a world of difference concerning the low level exchange of SOAP packets to achieve this. BasicHttpBinding is there ...
Possible Cause:- When you install IIS AFTER .NET 2.0 framework, the rights of the ASPNET user had not been set correctly. Resolution Repair (Uninstall if repair does not work for you) .NET Framework 2.0 Simply run the following from command line to reset the IIS registry settings for aspnet user. Usually framework directory for .Net Framework 2.0 resides under C:\WINDOWS\Microsoft.NET\Fr... ...
So I did not really use multithreading...I went with Ajax instead and I used a button click event. We decided that we wanted to ask the users if they are sure they want to create the site before actually creating the site. It was so much easier in Ajax as you will see in the steps below: First off you want to download and install the ASP .Net 2.0 Ajax Extensions 1.0 from here: http://asp.net/ajax/downloa... Next you are going to need to change the web .config a little bit on your IIS Entry for the ...
The patterns & practices WCF Security Guidance project has released the the WCF 3.5 Security Guidelines. This is useful if you're trying to follow the best practices for securing your services. Here are the categories and topics for the initial release of the guidelines. For more in depth information, go to the site. Categories Auditing and Logging Authentication Authorization Binding Configuration Management Exception Management Hosting Impersonation and Delegation Input/Data Validation Proxy ...
So in this post I will revisit a post I wrote a while back TFS Server Administrators (when you can't be a Windows server administrator). Is it possible to manage a TFS instance without being a windows administrator? Well I'm aware of one thing right now I can't do as a regular application administrator. There are probably others but we are able to be pretty affective by following the steps in this and the previous post. I wrote the first post about a year and half ago and after going through many ...
AKA: "Why am I getting 'ActiveX can't create component' when I try to access my COM DLL's" AKA: "Why am I getting 'Service Unavailable' when I've set IIS to run in 32 bit compatibility mode. AKA "Why do I get 404 errors when I browse to my ASPX pages" Man that's a long title :) So, I recently had to spend some time looking into getting my companies web application working in 64 Bit Windows (2003 R2 to be exact). I eventually got this working, but found the information scattered and incomplete on ...