Wednesday, February 08, 2006

coding $hit

Next week im going to transfer to my 5th company, webworks os. But this almost didnt happen because of shit that happened when i was trying to be my usual creative self and almost destroyed the same program i created!

It all started with me wanting to create a setup program for the C# class i created. I wanted deployment to be a breeze. I wanted the program to initialize the IISRESET command, copy the files into the designated directory, then run the IISRESET command again. After testing, I decided to launch it and was able to succesfully install it. Confident of my accomplishment, I uninstalled the program again and proceeded testing the application. The initial files were already on the directory so uninstalling didnt really make a difference. When I checked the folder, the files were missing! Good thing I had a backup folder and just restored them. But when I tested, something far worse happened! The code didnt work anymore. It failed on a line of code that worked the first time I tried it before! WAAAAAH! Wha the fuck just happened was my initial reaction. Keeping it to myself to not alert my project manager (who assumed that everything was hunky-dory). I tried fixing it to no avail. I attributed it to some server error and hoped that restarting or shutting down the machine and booting again would fix it. But it didnt! Sweet mother of GOD was my next reaction. I was so fucking scared! What the fuck have I done??? After several hours of grueling testing and investigation, I saw that my uninstall also unregistered the COM object which I was using. FUCKING SHIT! So i registered it and then tested on my make-shift web app. It worked again. Now the next problem was that on the actual scenario where it was supposed to run, the application that would call my DLL and run the appropriate scripts. Well guess fucking what? It didnt! It didnt run SHIT! It didnt even run the simple write to file method i had created. Viewing the event viewer (hey, that rhymes!), I saw that there was a read access error on the config xml file on the main directory. What really fucking bugged me was that there was no problem before! Son-of-a-cocksucking-dickbrain! So i just added the appropriate permissions on the file and everything went back to normal. Well, almost. Now I think my project manager doesnt trust me as much cause I had to let him know what was going on because some bitch wanted me to demo my code. Ill show her my code, hoar cocksucker! He saw the program didnt work, and the bitch was all high and might and shit!

Thankfully, everything is ok now. Hopefully, ill deploy tomorrow to production and use the rest of the day to test the DLL.

Whats the moral of the story? If you think you're need program needs something extra or additional stuff, pull an ass hair and wake up! Its fine just the way it is.

THE END

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home