Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Awful programming for your entertainment.

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » DU Groups » Computers & Internet » Website, DB, & Software Developers Group Donate to DU
 
mainegreen Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Jul-12-06 03:43 PM
Original message
Awful programming for your entertainment.
We just took over management/design of a web based application for a new customer of ours. This application theoretically is written in .NET, but upon closer examination, it was discovered that it had a rather unusual way of connecting to the database, in this case Microsoft SQL Server.

Are you ready for this? Here goes. In order to connect to the database every ASP page calls a dll that was written using .NET. What does this .NET dll do? Good question. The answer of course is that it provides a wrapper for a VB6 dll. Thats right ASP calls a .NET dll that calls a VB6 dll (honestly I did not know that was even possible!). Feeling queasy yet? It gets better, because it was in the VB6 dll that the true horror awaits. The connection was hard coded! The database server MUST have a specific computer name. You get a new database server? Make sure its named the same otherwise the application wont work! Even better was that the application ALWAYS connects using the sa account. Yup, why bother creating another user when SQL Server comes with the sa account by default! Screw best practices! To top off this piece of crap the sa account password is hard coded in as well. Can you guess the password? That's right! The hard coded password is ...... 'password'!!

Needless to say, I understand why the original developers are getting out of programming (if you can even call them developers).

:puke:
Refresh | 0 Recommendations Printer Friendly | Permalink | Reply | Top
unhappycamper Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Jul-14-06 12:40 PM
Response to Original message
1. Sweeeeet!
I've seen stuff like that in my years of doing computer stuff. The system was probably built using the DAWG (Design As We Go) methodology.
Printer Friendly | Permalink | Reply | Top
 
alfredo Donating Member (1000+ posts) Send PM | Profile | Ignore Mon Jul-31-06 03:58 PM
Response to Original message
2. he's working for diebold now.
Printer Friendly | Permalink | Reply | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Mon Apr 29th 2024, 12:59 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Website, DB, & Software Developers Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC