Geeks With Blogs

News Comment and opinions are my own and do not reflect on my company in any way. ///<summary>Just a lot of random technical stuff, really.</summary> May 2008 Entries
TFS 2008 - Delete a Team Project and the "You are not authorized to access <machine>." message
After an oops with creating a team project in TFS 2008 with an incorrect name, I wanted to cleanup by removing the team project with the incorrect name. However, someone else created the project and every time I tried to delete the team project using the tfsdeleteproject.exe command line tool, I got the error message: "You are not authorized to access <machine>." Uhhh, what? I'm a domain admin in this domain. How can this be? After fumbling around a bit, I had a hunch and checked permissions ......

Posted On Friday, May 23, 2008 9:15 AM

Enterprise Library 3.1 - Different Configuration Sources Across Blocks
I recently had a co-worker inquire about using different configuration sources across different application blocks within the Enterprise Library. As has already been demonstrated (both in the EntLib documentation and on various websites), it's extremely simple to modify the source of configuration information for the entire Enterprise Library. This is provided both by the EntLib framework and the configuration tool. Simple create a new/alternate Configuration Source, set it as the default configuration ......

Posted On Friday, May 23, 2008 8:52 AM

WCF Client Endpoint Contract Changes Between VS2005 and VS2008
As I noted earlier, I recently converted a Visual Studio 2005 solution with WCF clients to Visual Studio 2008. After making some additional changes and running the application, I started getting errors instantiating the WCF clients. The message -- that the contract for my WCF client couldn't be found in the list of endpoints in my config -- was unexpected since I re-created my WCF clients with the same name (and in the same namespace) as before. After a quick inquiry with my colleague (and brilliant ......

Posted On Friday, May 9, 2008 3:32 PM

WCF and Debug vs. Release Builds
(This post should also be sub-titled: Development Back to Basics) I was working on a WCF project the other day, trying to resolve some minor behavior anomalies. As I often do, I made some code changes, re-compiled, and de-deployed binaries to IIS6, where this particular WCF service was being hosted. Having done this numerous times in the past, I was quite surprised to see a ServiceActivationException: "The Service Type could not be found... yadda yadda." Uhhh, what? It's right there! Scenario: Me, ......

Posted On Thursday, May 8, 2008 3:48 PM

Updating WCF Clients (created in Visual Studio 2005) in Visual Studio 2008
I recently updated a Visual Studio 2005 project with WCF service references to Visual Studio 2008. After some interface updates, I needed to update the service references. After some rummaging around for the 'Update Service Reference' context menu and spending some time googling the scenario, I finally realized that the organization and implementation of WCF client handling via the Visual Studio 2005 extensions is different than that in Visual Studio 2008. The result? You have to re-generate any ......

Posted On Thursday, May 8, 2008 3:22 PM

Copyright © David Barrett | Powered by: | Join free