Thursday, October 23, 2008

Ron White

Election over no more clutter!

Monday, October 13, 2008

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.

This error popped up for me when I had accidentally added some websites below my main website. This is caused by settings in the web.config's of lower subdirectories having settings that can only be on the main config's file. Settings of this type include authentication, session state.

I have heard rumor that you can leave those there by marking the folder in the following way, but I have not needed it so I cannot be sure:

Right Click on the virtual directory - select properties and then click on
"Create" next to the "Application" Label and the textbox. It will automatically create the "application" using the virtual directory's name. Now the application can be accessed.

Hopefully this is helpful to others who get an extra web.config in their subdirectories though.

Wednesday, October 8, 2008

XSL Whitespace ... Adding a XSL space between elements

I had a problem recently where I could not seperate two elements from my XML with a space. I had an XSL file where I was trying to seperate two elements but you cannot use HTML &signs; in an XSL file (you would think marking them CDATA would work but sadly no.) It was a bugger at first but I finally sorted it out this is how:

<xsl:value-of select="count"></xsl:value-of<>/span<
<xsl:text> </xsl:text>
<span style="max-width: 100px;" ><xsl:value-of select="subjecttrunc"></xsl:value-of>

Yep you see it it is as easy as adding those tags <xsl:text> </xsl:text> with a space between them of course.

Now I just need to solve showing multiple spaces, so far that has eluded me because multiple of these together still results in one space.

No great errors to post

Since I have not had any great errors I would find useful lately I have to blog about other stuff. So I will now ask a question I often ask people.

How many savage (like island cannibals) 50-60 lb. kids could you take out (immobilize permanantly or kill) before you were overrun? Assuming there is a limitless amount, you are surrounded by said limitless amount (fleeing would do no good), and they do not have to wait for a 1 on 1 fight.

I thought about this because a 2 year old 60lb pitbull would take me to town probably, but a 60 lb kid despite weight just isnt the champion a 60lb pitbull is.

Tuesday, October 7, 2008

Brand Advocacy 08

My company made a cool site: Brand Advocacy 08. The graph below which is now the battle of lightsabers was actually brand advocacy of phone brands. This site my company made is the same thing but applied to the presidential election. Totally unsolicited opinions, I believe that makes it better.

Friday, October 3, 2008

I wants...

I want:
  • to learn to play guitar mo'better
  • to learn to throw knives (or so other equally cool projectile)
  • to get Mario Kart for the Wii
  • to get the Jedi game for the Wii (one with swords)
  • to finish my stupid massive website idea and have it come to full fruition so I can be like I did that and its cool.
  • to learn to scuba dive.
That is all for now!

Wednesday, October 1, 2008

To Bail or Not

I think this is an interesting debate. I honestly am not that keen on banks and I understand that credit will tighten, but honestly. I do not think that large banks are the best creditors. Somtimes you should have at least some cash to prove your creditworthiness, and lately things have been too loose. If you jump into the freezing lake after reading the sign, "Do not jump into the freezing lake if you are prone to freezing." I do not think it is my job to jump in and save you. On the other hand, the foreclosures will not stop due to the bailout (which in my evil way {not being able to afford the crapload prices around me} I like) it is all about trying to ensure investors that money can be made in the mortgage area so that people can still buy. Honestly I think until we see the white of the eyes of our enemy we should not shoot. That is all I got for ranting today.