Mike Says Meh The blog of Mike Kauspedas | Hosting by www.gearhost.com

14Nov/100

Get rid of 500 errors for WordPress in IIS

Tired of getting these errors in IIS for WordPress? This is the 500 error normally displayed when there is a website problem. But behind it is the real error, that you need to see, without logging into the web server and running it locally.

Here is one of the many wordpress errors that may be behind the infamous IIS 500 error.


How do you get to see the real error? it's actually really simple, just login to IIS and edit the feature settings for error pages. First open IIS and go to your site. Then double click on error pages. 


On the right hand side click on edit feature settings.


Then choose detailed errors and click ok.


Oh, you don't have access to IIS because you're on a shared hosting provider? Just edit your web.config file and add this line near the very bottom, just above /system.webserver.

<httpErrors errorMode="Detailed" />

Filed under: Tech No Comments
5Nov/100

New Theme

Finally updated the theme on my blog. I was getting tired of the black background and text, plus it's hard to read. This theme looks great and best of all, it's free.

http://wordpress.org/extend/themes/lightword

And now there's a big background picture of my dog Moya. I think this is one of those things you should never do on a website.

http://theoatmeal.com/comics/design_hell

29Oct/100

IIS 7 Url Rewrite with WordPress

I just switched my site over to yet another web server. This one is running the latest and greatest, IIS 7.5, Windows 2008 R2 x64. Plus I want to do some more testing and playing around with WebSitePanel (WSP). WSP used to be DotNetPanel, then they went open source and now it's a free control panel for Windows servers. But more on that later.

Since this new server is IIS 7.5 and URL Rewrite 2.0 is installed, I thought I would switch from ISAPI_Rewrite and give it a try. I looked really quick for some guides, and made some rules. The best part is, WordPress after version 2.8 is completely compatible with URL rewrite, AND will even update the web.config for you. How cool is that? Here's the guide on how to do it from iis.net.

http://blogs.iis.net/ruslany/archive/2009/05/16/iis-7-url-rewrite-module-support-in-wordpress-2-8.aspx

It's very simple, just make sure to give write access to your web.config.

I've always had my domain name rewrite to www, so I added that as well. Another simple rule and the code is below.

                <rule name="Add www" patternSyntax="Wildcard" stopProcessing="true">
                    <match url="*" />
                    <conditions>
                        <add input="{HTTP_HOST}" pattern="www.mikesaysmeh.com" negate="true" />
                    </conditions>
                    <action type="Redirect" url="http://www.mikesaysmeh.com/{R:1}" />
                </rule>

Just change www.mikesaysmeh.com to your website address.

Last, I found this guide and used a couple.

http://blogs.iis.net/ruslany/archive/2009/04/08/10-url-rewriting-tips-and-tricks.aspx

I removed the trailing slash from my URL and enforced lower case. There are a myriad of other rules out there as well, and being that all you need to do is add them to your web.config file, it's too easy to pass up.

If you need a host to support this all, look no further than the one I work for, www.gearhost.com.

Filed under: Tech No Comments
21Oct/100

Framerate drop when casting in WoW

I just ran into this problem on my home PC. (Lots of WoW posts, just got around to trying patch 4.0.1). I have a 3 core AMD proc and a Radon 4870. Plenty of power to run WoW at highest settings on my "tiny" 22" LCD. (1680x1050) And so it does, when I'm running around. But the minute I cast something, the FPS goes from 80 to under 20. I could not figure it out for the life of me. I tried turning off and on every setting in WoW for video, and even lowering everything to low. (Of course latest drivers and all that too.) Then I even tried turning off ATI overdrive, then turning it back on but setting the fan high so the GPU was cooler. Still notta. So I turned to the internet. Low and behold, a blue post on exactly what I needed to do.

http://forums.worldofwarcraft.com/thread.html?topicId=27187856635&sid=1

Setting multisampling to 1 fixed my issue. BUT, I had to restart the game, that was the key. I tried that before bu never actually restarted. Now my FPS stays between 70-80 and runs super smooth. Yay!

Filed under: Tech No Comments
21Oct/100

How to keep the Macbook Pro cool while playing WoW

Almost a year ago I bought a Macbook Pro for school, and then I found it can play World of Warcraft, and decently. However, the Macbook Pro is a notebook and it gets hot. Really hot actually. So hot I can't touch parts of it, like above the function keys. This worried me, but Apple said it's normal, and when playing games I should elevate it, yada yada. Common sense stuff I know from working on PC's for the last decade. Elevated it was, but it was still very hot. I decided to start measuring the temperatures so I installed an application called iStat. iStat is a free program that gives you all sorts of valuable information, and temperatures. As I played WoW I would occasionally hold the command key and hit M to switch WoW into window mode. Then I'd pop into dashboard and check out iStat. The CPU would normally be in the 190F range. Way hotter than I had seen before, but according to Apple perfectly normal and fine. After all, the CPU is rated to 220F according to them. I found other people with similar issues and the same concern I had; reading through forums and blogs. But I paid a decent amount of money for this laptop, a lot more than a comparable Windows laptop, and I only had a year warranty. Heat will destroy components, I don't care what they rate as normal. It may be ok now, but it's going to eventually break something.

So I did some more research. I already had a laptop stand/cooling pad and the Macbook sits on that any time I am using it like a desktop. That's one way of keeping it cool, buy a stand for it. With or without fans, both will help but with fans is better (but noisier).

The next solution I found was to use software to control the fan speed. I installed SMCfancontrol. 3000rpm is a good base value while playing WoW, this should keep the temp down significantly. I actually ran mine at max and got temps in the 130F range. Huge improvement! But max is really noisy and will probably cut down on the life of the fan.

Another solution is an in game feature of WoW. In the latest version of WoW with patch 4 you can set the max fps (frame rates per second). I set mine for 35 and the game runs smooth and the temps stay low. Go to your video settings and click on advanced, then move the slider to the about the x in "max" and I got 35. hit control + r to get a display of your current fps in WoW. I just played with the slider until it hit a steady 35. It will help to have your character look at the ground. Your fps go up and down depending on the environment and how much of it you view. Indoors you get much higher fps (good), outdoors it goes down (bad) because the video card has to render so much more. 35 is great middle ground of smooth game play and performance.

Another in game solution is to lower your graphics settings. I have mine set to low and the game looks ok and is playable. I also have a nice gaming PC that I can turn to max when I want things to look pretty. But for normal leveling and instances on my low level character, low graphics settings is fine for me.

I combine all the solutions into one, but it wasn't enough for me, or it was too late. Now when I play WoW I get artifacts, little screw ups in the rendering of WoW. Like instead of the texture of the ground, I get a little color square.

Those little brown dots are artifacts.

See the rectangles above the spells? More artifacts :(

In the end I will have to bring my Macbook into the Apple store and see what they can do. I still have the one year warranty until December, so at least there's that. However, the solutions I put in this article can help prevent your Macbook from receiving the same fate. If you're playing WoW or any games for that matter, take heed! Cool your Macbook, or you'll end up with a Macbrick.

UPDATE!!

I switched some of the graphics in WoW to "fair" and the artifacts went away. So far they haven't returned after about an hour of playing.

Some other helpful links:

http://www.eightbits.org/?p=174

http://discussions.apple.com/message.jspa?messageID=11506936

http://www.dailytechnobabble.com/mac-tips-tricks/how-tos/how-to-keep-your-macbook-pro-running-cool/

Filed under: Tech No Comments
13Oct/104

microsoft.ace.oledb.12.0 provider is not registered on the local machine

Sorry, I really don't post this stuff enough and it's probably helpful to the few people who run into these weird issues. Working for a web host, I run into weird issues all the time. We deal with a plethora of different customers using different technologies, software, applications, configurations, etc. Here's something a customer just ran into, and fortunately resolved themselves.

They are using an Excel ODBC driver on Windows 2008 R2 x64 to import some data into MSSQL 2008 R2. When trying this through their site in IIS 7 they got the following error.

microsoft.ace.oledb.12.0 provider is not registered on the local machine

The fix is simple, just set your application pool to allow 32bit applications. If you don't, only x64 DLL's will run. To do this, open IIS, navigate to application pools, right click on the one for your site in IIS, and then click on advanced settings. Change "Enable 32-bit Applications" to true and click ok. For good measure, stop the application pool and let it sit for 30 seconds, then start it back up.

Filed under: Tech 4 Comments
20Aug/100

Jason’s Deli – Gluten Free Sandwhiches Review

I have had the pleasure of trying 3 different Jason's Deli sandwiches with Udi's gluten free bread. Each sandwich has been fantastic. After hearing the news, thanks to Gluten Freeville, that Jason's was going to be offering gluten free sandwiches, I made plans to eat a Reuben. Some of you may be thinking, who makes plans to eat a Ruben sandwich? Someone who hasn't been able to eat a Rueben in 3 years, that's who. That day I ate one, and it was delicious. It was everything I could have hoped for. Beautiful soft bread, lightly toasted, wrapped around a fist full of corned beef and some brown mustard. There was sauerkraut too, just enough to complete the sandwich. Oh, it was a tasty treat my friends.

While eating my Rueben, one of the servers rushed out because she forgot to warn me about cross contamination. Something I worry little about. It's going to happen, unless a place is entirely gluten free, cross contamination will be present. I thanked her for the warning and told her that didn't matter much to me, the Rueben was well worth the risk of tiny gluten particles. A few minutes after that, the manager came out to chit chat about the sandwich. Turns out his daughter is also cursed with an allergy to gluten.

So, first experience with Jason's, fantastic. Second time around I got it to go, a turkey club sandwich, I can't remember the exact name. It was another shining example of deliciousness, and again I was warned about cross contamination. Never before have I been warned by restaurant staff.

The third visit was today. I had a turkey rueben, good, but not as good as a normal rueben, but how could it be with inferior turkey instead of corned beef. The turkey isn't even corned, it's just normal thanks giving turkey. However, the turkey sits in my stomach far better than corned beef, and I do have to ride up a mountain tonight. Again, I was warned by the manager, who personally brought my sandwich out, about cross contamination. He even found me at the salad bar to let me know. And again, I didn't care.

Jason's Deli is awesome. Staff is great, food is great, and now even those of us cursed with Celiac disease can enjoy tasty sandwiches with our friends.

21Jul/100

Meh

As I clipped my foot into my right pedal at the beginning of my mid week training ride, I had a meh-like epiphany. It's not something as dramatic as learning the meaning of life, more like the meaning of Mike. What I realized was, I'm happy. More than happy actually, I'm content. After saying this to myself I did what any normal man in my position would do, avoided the dog and person walking it, and questioned whether or not I was truly content.

First things first, what is "content"? I think it's different for each person. Some people might be content with all the material possessions they could want, some might be content never working again, some might be content being alone. For me, it's a little of everything. A culmination of all the small things in life that make one big happy Mike pie.

Being a man, or maybe it doesn't matter, the first thing I thought of was my wife Grace. Grace is beautiful, thoughtful, likes many of the same things I like, and we get along. As with any relationship, it isn't perfect. But content isn't perfect. When I became really enthusiastic about cycling, so did she. She watched my favorite sci fi shows and loves them with the same passion I do. Grace even plays video games with me. There are some limits, she doesn't ride with me, nor does she like road bikes in general, except on TV. Hell, she even got into baseball. Basically, Grace enjoys all my passions, which come and go like the weather. I am also very fickle. Point being, it isn't perfect, but it's enough to make satisfied. Content must also be satisfaction. Satisfaction, is as simple as drinking a good glass of scotch or eating a good dinner. It won't be perfect, there will be some small thing left to desire, but you will feel good or full or both.

Knowing I had a great wife was the first small step towards proving my contentment to myself. Cycling was the next thing I thought of, after all, I was doing all my thinking while riding. At first I thought, how does cycling fit into my contentment? Which I quickly answered, it is my passion, and every man should have a passion to fill the moments in life where boredom and doldrums would normally take over. Passion also provides those needed accomplishments, however small and meaningless, to make a man feel truly happy with himself. Men are prideful creatures and we need to do and accomplish things. For me, losing weight, then getting in shape, and now becoming a faster and better cyclist became my accomplishments. There are others in the workplace, or with school, but these are the accomplishments that are meaningful diretly to me.

Wife and passion are all fine and dandy, but what about stuff? Material possessions I mean. Ah, I have those as well. Don't get me wrong, I'm not Mr. Money Bags with everything a man could possibly desire, but I have everything that would make me content. Two good bikes, HDTV, Xbox, PC, Macbook, so tech is taken care of, a comfortable couch, food that I like eating, and cars I enjoy driving. Could I have better and nicer things? Certainly. Like I said, none of this "stuff" is great or the best. Contentment doesn't have to be the best, because contentment has nothing to do with perfection. Content is a little of compromise, or fitting your needs.

I also have no major financial issues. There are definitely some things I am working on, but I make enough money to live comfortably and afford the things I want or need. My job has a good median between stress and more relaxed days. I'm not pushing 80 hours a week every week, nor am I sliding by with just 40. I also happen to really enjoy what I do.

Grace and I can afford to, and do, vacation where we want. We both have jobs that provide us with good PTO, and we make enough money to save and spend it each year on trips. Anyway, I'm starting to ramble on about too many little things.

Oh, and to top it all off I have a great dog.

Content is simply being happy, and being happy consistently. I have no real complaints, only annoyances. There are no major issues with my life, just some outside factors that I can chose how they will effect me. If I died tomorrow, I would enter the after life with few regrets. Perhaps this is simply growing up. Maybe now I'm old enough to realize I have a good a life, and I have nothing to complain about. Everything else is just jealousy. A nicer car passes me or a cyclist drops me. Ultimately those are things I can strive for anyway. But for now, I am content with what I have and who I am.

In ten years, I think I will look back, and claim these as my golden years. Within the next ten years, I'll probably have a kid, have to buy a house, and relinquish some of the stuff I cherish, and cut back on my passions. But for now, as I realize it, I can truly enjoy this time I have, and move onto the next phase of life.

And, love, using, commas.

28May/100

Are you kidding? No one has made a stormtrooper bicycle helmet?

It's true, I can't find one and I spent a whole 30 seconds looking on google. I even clicked to the third page of links!

Meh

I bet I could make one with some careful dremel work to cut out holes for air flow.

10May/100

Cloud Computing Explained

Great graphic giving some basics on cloud computing. Almost any web host now can offer cloud computing simply based on their infrastructure. However, true cloud computing is pay as you go for what you use. Meaning you only pay for the CPU cycles, disk space, and bandwidth used by visitors to your site or that use your SaaS. GearHost, for example, uses cloud computing-like technology but we offer classic hosting plans with limits. In the very near future we may be offering a single ala cart plan that allow customers to purchase only what they need.

What is Cloud Computing?
Via: What is Cloud Computing?