Geeks With Blogs
Tim Huffam Dotting the I and crossing the T of I.T. February 2008 Entries
Application Architecture, Software Development Frameworks, ORM, MVC/P and the Holy Grail - Part 1
Note this article is primarily based on Microsoft/.Net technologies, although the principle apply to any technology. Before development of any reasonable business software project begins the following areas need to be nailed down: Application Architecture (application structure) ORM (Object/Relational Mapping - data source access and translation to/from business objects) Base framework (system framework, helper classes, base classes, etc) UI. There are many tools available that will dictate or guide ......

Posted On Sunday, February 17, 2008 3:25 PM

SQL Server - dropped table that was users default table - causes: Cannot Open User Default Database, Login Failed Microsoft SQL Server, Error 4064
This error (Cannot Open User Default Database, Login Failed Microsoft SQL Server, Error 4064), occurs when you try to connect to a SQL Server 2005 server where the default database for your user has been dropped. Unfortuntely this occurs in Microsoft SQL Server Studio too - which means you cannot use it to resolve the issue (ie change the default database assigned to your login). However you can resolve this using ye-olde command prompt... 1) At the command prompt enter: sqlcmd -E -d master This ......

Posted On Monday, February 11, 2008 1:59 AM

cannot run unit tests in VS2008 - Test Run deployment issue: The location of the file or directory is not trusted.
This is an error message I got when trying to run unit tests within Visual Studio 2008 (developer edition): Failed to queue test run 'tim@MyComputer 2008-02-11 10:33:11': Test Run deployment issue: The location of the file or directory 'c:\nettiers\adventureworks... is not trusted. The application is .NetTiers generated app (pointing .nettiers to the Adventureworks db - Microsoft's SQL Server sample database). I believe the problem ......

Posted On Monday, February 11, 2008 1:58 AM

Add 'Open with ' item to the Explorer right-click menu
1) Open registry editor (Run... "regedit") 2) Open path My Computer\HKEY_CLASSES_ROOT\... 3) Right click "Shell" node and select New - Key. 4) Enter the name you want to see in Explorer's right click menu eg "Open with Notepad" 5) Right click on your new node and select New - Key then enter "Command" as it's name. 6) Double click on the name "(Default)" (in the right hand panel). 7) Enter the command to open the selected file in your favourite editor (in the Value Data field) eg: "notepad.exe" ......

Posted On Monday, February 11, 2008 1:54 AM

ASP.NET error running web app: HTTP Error 403 - You are not authorized to view this page
This error occurs when attempting to view an asp.net application (using the Run button or right clicking on the project and selecting 'View in browser'). This usually occurs because the browser is looking for something that does not exist. For example, when using the project name 'MyProject', VS opens a browser with the following URL: http://localhost/MyProject/ Although this points to a project (virtual directory/application within IIS), it does not point to a specific resource. In my case I just ......

Posted On Thursday, February 7, 2008 2:48 AM

Copyright © Tim Huffam | Powered by: GeeksWithBlogs.net