Error 1001: Source 'ServiceName' already exists on local computer

by Marvin 19. March 2010 03:59

When trying to install a service I am developing locally on my laptop, I was getting an error "Error 1001: Source 'ServiceName' already exists on local computer" and the install was unsuccessful.  After about an hour of binging and googling, I figured out the solution.  More...

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

There Is No Source Code Available For the Current Location

by Marvin 17. March 2010 07:34

For the most part, I love Visual Studio and programming using .NET, but this error makes me nuts.  I've run into it a couple of times recently when trying to debug.  I've learned a work-around today, so I'm documenting it here for my own future reference. More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Keeping DataSets To Yourself When Returning Data in your Web Service

by Marvin 5. March 2009 14:19

When I first starting developing web services, I just loved to use DataSets to return data from the service.  I mean, they are pretty easy to use, and I am all about the easy road.  Then I stumbled across Scott Hanselman's blog article where I learned that "returning DataSets from web services is the spawn of Satan and represents all that is truly evil in the world."  Oops.  While I found this and other articles which explained the problems with using DataSets as a container for returning data from a web service, I didn't really find that "for Dummies" walkthrough that I was looking for.  At least, not a walkthrough that met my particular needs and that my feeble brain could understand.  This article is intended to be that walkthrough I wish I could have found. More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , ,

Falling in Love With Objects

by Marvin 30. January 2009 17:39

I am about to show just how much of an amateur I am.  The lightbulb has finally come on in my head regarding the value of object-oriented programming.  It has taken awhile for it to sink in, and I most certainly don't have it all figured out yet, but I thought I would share some of the epiphanies I've had about it and how it's making my life as a programmer much easier.  More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

Web Development

Using Kellner's ASP.NET Membership Console with MySql

by Marvin 25. January 2009 08:35

At this point, I've done a few ASP.NET websites, hosted on GoDaddy, that have user accounts using the ASP.NET Membership and Role providers and all the great web controls that ship with ASP.NET.  Each time, I ended up wanting to give the admin users of the site an interface to be able to manage the site membership accounts, grant access privileges, create, edit and remove accounts.  ASP.NET doesn't come with that, but there are some open-source projects out there which can give you this.  I really like Peter Kellner's membership management console which you can download here.  However, when I tried to use it with MySql and the .NET Connector v5.2.3 and deployed to GoDaddy, I ran into some unique challenges that I hadn't encountered when using Sql Server in the past.  This article explains how I worked around the challenges and successfully implemented the tool in a web application using VS Pro 2008, .NET 3.5, MySql 5.0 and the .NET Connector v5.2.3.  More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , ,

Web Development

Trouble with Single Quotes and String.Replace()

by Marvin 1. September 2008 15:05

I've used String.Replace() before and never had a problem.  Tonight, however, I needed to replace a single quote in a string with a backslash followed by a single-quote.  Seemed like a fairly simple task, but for some reason, my string looked exactly the same after applying String.Replace.  It took me an hour of searching the internet to find a solution.  More...

Currently rated 4.7 by 6 people

  • Currently 4.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

Web Development

About the author

I am a junior-level C# .NET developer living in Nashville, TN.  I'm currently working in biomedical informatics, developing a web service, a MySql database, and a web application.  Every week or so, I spend hours trying to figure out how to do something, and after I find the solution, I really want to make sure I don't go through that exercise again.  I love to write.  It helps me to remember things.  So, I use this blog as a way to document those painful lessons as I learn them.  It has already helped me to be able to refer back to them.  I hope some of these will save someone else some time as well.