“Think Positive” – Complaining doesn’t help

After thinking about the last post I made about Sales, I realized that it wasn’t a very positive post. It was more like I was complaining about something and not providing any useful advice or knowledge. I’d like to post more positive entries to my blog and contribute to the world rather than just complain or point out the bad things.

I’ve always grown up around a “Think Positive” attitude as my dad was always reading positive thinking self-help books. When I was in 9th grade, our career exploration class took 6 weeks to study Zig Ziglar’s “See you at the top” book. It was very good for me at the time and contributed to who I am today.

So I’m a bit bummed that I posted that whiny bit about people saving money by shopping at sales. Who cares? What did I contribute to the world? No one and nothing.

While I’m not necessarily saying that I should be as intense as Zig Ziglar, I do think I should brighten up my blog and do more to be positive about the world around me.

So, after taking the post about Sales down, I’ve decided to try a new approach to blogging about non-technical topics…be positive.

I truly believe in the power of positive thinking. If you believe in something and work to make it true, then it will come true. My own personal success is the direct result of the opportunities I’ve been given combined with the hard work I’ve performed to make sure I don’t lose those opportunities. Opportunity isn’t the only factor, you have to recognize opportunity when you see it. You have to learn to take those little steps and work hard for every one until you get to a place where you can look back and feel a sense of accomplishment.

While life isn’t always exactly what you dreamed it would be, it’s always exactly what it should be. Every situation is a learning opportunity, and every opportunity can lead to a better existence.

Lately, I’ve been thinking about why things are the way they are, and I think I’ve learned that I’m just basically the product of my circumstances and decisions. Everything else is just noise. It is what you make it, I guess. I keep looking back at what we had and comparing it with what we have now and I always seem to come to the conclusion that I’ve somehow shorted myself. However, I also feel deep inside me that we’re where we need to be, even if it looks nothing like it “should”.

We don’t live in the same market that we did in my “heyday”, so we’re not living the same lifestyle, but I’m pretty happy about how it turned out. Sure, there are challenges that we face every day, some short term, some long term, but isn’t that the way it is for everyone?

I want to make a contribution, I want to help the situation. I don’t think I want to be a part of the noise.

#IIS HTTP Error 500.19 – Internal Server Error

I just installed a web application on a new server and I received the following error:

HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

The lines it showed on the web.config were -1: and 0: with no config file information like it would normally display for malformed XML within the configuration file.

Well, after searching the web, I was unable to find a solution. Then I remembered that I was using URL rewriting. I installed the URL rewriting module for IIS 7 and restarted the site. It worked like it should.

Edit: I’m not using URL rewriting, but I do have the 404 Error redirection turned on. Maybe it uses URL rewriting behind the scenes.

Http Error 503 – Service Unavailable with .NET 4 – #IIS

When trying to debug my web service today after upgrading the project to .NET 4, I was told by Visual Studio that it could not debug and to try running the project outside the browser. When I did, I received a 503 Error, Service Unavailable.

I check the Event Log and found this:

The worker process for application pool 'PartsWebService' encountered an error 'Cannot read configuration file due to insufficient permissions
' trying to read configuration data from file '\\?\C:\Windows\Microsoft.NET\Framework\v4.0.30319\CONFIG\machine.config', line number '0'. The data field contains the error code.

Simple enough, I just have to give the correct permissions to that file. It seems that my service’s application pool identity doesn’t have rights. So I’ll navigate to the path that contains the machine.config and set permissions there.

You can’t just set permissions on the parent folder, you have to give permissions to the machine.config file itself. Add IIS_IUSRS from your local machine to the read and execute roles.

Also, load IIS Manager and check your application pool as this error usually stops the application pool if it’s running.

This should clear up any issues you were having.

More #Illustrator and #Lightroom Goodness – Image Trace


I really like the image trace functionality in the new Illustrator CC. I took a photo of Laurie and did some alterations in Adobe Lightroom to increase the contrast and make it a better candidate for image trace. I then loaded it in Illustrator and applied the image trace to it. Then I added the fill color to her face. It was so incredibly simple. It’s amazing to me that this illustrator file can now be used to create an image of any size and not lose resolution. It could even be on a billboard! I love Illustrator.

Here is the original image:


IIS Error Message – An attempt was made to load a program with an incorrect format.

If you receive the following error message when running a website (usually after deploying onto a 64-bit machine):

Could not load file or assembly ‘PROJECTNAME’ or one of its dependencies. An attempt was made to load a program with an incorrect format.

It could indicate that your web app (or one of its dependencies) was built for x86 and 32-bit applications are turned off in your application pool.

  1. Open IIS Administration Tool
  2. Click on sites
  3. Click on the site you’re trying to run
  4. On the right side, click on “Advanced Settings”
  5. A dialog box pops up with information about the site in it
  6. Look for the name of the Application Pool
  7. Close this window
  8. Click on “Application Pools” in the tree on the left
  9. Click on the Application Pool from the screen you just looked at
  10. Click on “Advanced Settings” on the right
  11. Look at the value for “Enable 32-Bit Applications”
  12. Make sure this is set to True (it is False by default)

You could also recompile your project for x64, but any dependencies you have might not work.

.NET, C#, and web development topics with a dose of random thoughts thrown in


Get every new post delivered to your Inbox.