“On Sale”

It really irritates me when people only buy things that are on sale. They don’t buy what they actually need because it isn’t on sale. Instead, they spend more money (because the sale may be something like buy two get one free) to get things they don’t necessarily need. Or worse, they wait until what they want is on sale. What about the time between now and the sale date? What do you do until then?

I know that you can “save” a lot of money by buying what’s on sale, but at the same time, I challenge the notion of a sale price altogether. To me, the sale price is the price I should be paying everyday. That’s the lowest price the store is willing to part with the merchandise for, so I think it should be the same price all the time. I know there’s an entire marketing science behind sales and I’m very naive when it comes to the actual facts behind that aspect, but as a consumer, sales piss me off.

I once worked for a big retailer (Service Merchandise for those of you old enough to remember them). As an employee, my employee discount was the item’s sale price. That’s right, as an employee, I had the privilege to buy the merchandise at the lowest price at all times. How nice.

It drives me batty to see people buy up a whole bunch of something just because “it was on sale”. Just get what you need when you need it. In the end, you’re going to come out best by shopping at that nasty monstrosity we call Wal-Mart anyway.

Where they don’t care what the store looks like, nor do they care if their shelves are neat. They only care to have the cheapest price on the cheapest merchandise out there. No customer service, no clean store, and our Wal-Mart has loud beeping alarms going off in various sections that has been happening since we moved to Savannah (that was almost two years ago). They don’t care to fix things that are broken. Sure, you get the best price in town, but at what cost? None I suppose, if you’re willing to be seen there and you don’t mind waiting extra long to check out since they usually only have two of a possible fifteen registers open.

But back to the sales. It also drives me nuts to see people shop at discount membership warehouses. They spend too much money stocking up on stuff they don’t need because it is cheaper in bulk. If you only get what you need when you need it, you come out better I think.

Oh well, I guess non-perishables make sense in bulk.

But, Dollar General will ultimately win because they sell individual items at a cheap price. You don’t have to spend $200 to shop there, just a few dollars a week to get the essentials. Perfect for that limited budget.

I guess I’m just ranting. But I have my reasons.

#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

Laurie

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:

Laurie

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.

random musings

Follow

Get every new post delivered to your Inbox.