Uncategorized

Could not load file or assembly ‘System.Web.Mvc’

So I published my first MVC project today to my production server. I got this error:

Parser Error Message: Could not load file or assembly ‘System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35’ or one of its dependencies. The system cannot find the file specified.

After some quick research the solution was simple and obvious. Upon publishing the assemebly System.Web.Mvc.dll was not placed into the bin folder. We have two options:

1). Find the DLL in your project folder and copy it to the production server
2). Set the “Copy Local” property on the DLL to TRUE. This can be done by browsing to the References folder in the Web project, clicking on System.Web.Mvc and pulling up the properties, select the property “Copy Local” and make sure its set to True. Perform another publish and you should be ready to go!

By |January 4th, 2011|Coding, Uncategorized|0 Comments

HTML Coding Tips

  • Use all lower case for tags and elements.
  • Properly align opening and closing tags using multiple lines and tabs.
  • Use css to control page borders.
  • Use space after commas ( ex: word 1, word 2 ).
  • Always use comments so other developers/designers can understand what you were trying to do.
  • Always use the id element and use the proper naming convention:
    •     image: imgMyPicture
    •     link: lnkMyLink
    •     div layer: dvLayerOne
    •     p: pParagraphOne
  • Tags must have an end tag, or be closed within the singleton tag itself, for example <br />
  • Use double quotes for all attributes.
  • Use seperate files for scripts & css definitions.
  • Always declare your document:
  •     <?xml version=”1.0” encoding=”UTF-8”?>
        <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
        <html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en”>
        </html>

By |December 22nd, 2010|Coding, Uncategorized|0 Comments

World of programming (via Smashing Magazine)

By |December 22nd, 2010|Coding, Uncategorized|0 Comments

World of programming (via Smashing Magazine)

By |December 22nd, 2010|Coding, Uncategorized|0 Comments

Kramer betting at the OTB = Me “investing” in the stock market, same reactions.

By |October 28th, 2010|Uncategorized|0 Comments