Only logged in members can reply and interact with the post.
Join SimilarWorlds for FREE »

Has anyone here ever built a windows service? In either vb.net or C

It runs perfectly on my local computer but when I try to install it on the server it wont install.
This page is a permanent link to the reply below and its nested replies. See all post replies »
lizxt · 31-35, F
I have ever had that problem with c#, it could be several things but mostly permissions I think. Is it working with a DB?
lizxt · 31-35, F
oh I was thinking web service - never mind.
SW-User
@lizxt: Window service. And it does work with the DB but that was not the problem. I figured it out. I forget to add the installers. It installed after I added those.
lizxt · 31-35, F
@TearDropsOfLove: Cool!
SW-User
@lizxt: And I seldom have to build a windows service. They are always a bit tricky in my view.
lizxt · 31-35, F
@TearDropsOfLove: I guess it depends on what you are trying to achieve... if it's tricky to build but makes work easier in the long term, then that's good.
SW-User
@lizxt: Yes true. I built a process scheduler for the server. That way users can schedule when they want things ran. Set it up and forget it.
lizxt · 31-35, F
@TearDropsOfLove: That's cool! Set it up and forget, nice!
SW-User
@lizxt: People want reports that they don't use and they want them in their email so this scheduler will be perfect for that. And too I am wanting to convert all these SSIS packages to code that is easier to debug. If there is an error SSIS is difficult to figure out where the error was. The previous programmer left me a big mess to clean up.
@TearDropsOfLove: Shit man, welcome to the world of messy code.
SW-User
@Existentior: That guy I took over from left some nasty code. And I mean nasty code. It half works and when I look at the code he codes in circles. Takes a mile to travel a foot. I am ripping his junk code out of here and creating easy to read and easy to debug code.
@TearDropsOfLove: Oh yeah, that kind. I bet he's Italian too. Hooray and kudos to you, elegant coder!
SW-User
@Existentior: I don't know if he is Italian or not but he sure is not that great at coding.
@TearDropsOfLove: It was an inside joke reference for 'spaghetti code'.
SW-User
You must be a coder too. I never heard of spaghetti code as Italian . But it fits. lol
@TearDropsOfLove: That iiis correct. Of course you know that spaghetti is Italian so that's the joke.. a parody, really. It doesn't really mean that reference exists - I just made it up, haha.

Crappy code time:
if(x){if(y){if(z){switch(x){case smIncmprhnsblIllgclVrbl: "smArbtryVal" default: "shit"}}}}
SW-User
lol that is crappy code for sure. lol.