Welcome to the Lounge

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

i mean, yeah that's a beginner error but you figured it out and it didn't mean you had confusion about client and server location so much as you were (temporarily) confused about ASP/ASP.NET context switching and how it worked, it sounds like,

When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

Seems to be quite a common mistake with people who are new to ASP.NET, particularly with WebForms.

Along with using MessageBox.Show / MsgBox to display a prompt to the user; trying to open uploaded files using the file path passed from the client; and trying to send files to the client by saving them in a particular path on the server.

Visual Studio doesn't help much. When you debug the code, it's running as an interactive process on the same machine, with the same file system, so it makes them think they're doing the right thing.

Sometimes I think it needs a "n00b" mode. Every attempt to show UI should fail with an exception explaining the problem. Every Process.Start should run on a separate empty desktop, with huge messages telling them that it's running on the server, not on the client. Every attempt to access files outside of the application (which haven't been explicitly configured) should fail with a "file not found" error.

But then I look at QA, and realise that at least half of developers never read the error messages.

"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

I just kinda woke up one morning thinking "religion is b*ll*cks and I wanna program computers". So I became an atheist* and my future was laid out. Never even seen a computer except on TV up to then, and had no idea whatsoever what it actually involved. If I'd had a dream about Spaghetti Junction maybe I'd have been a road planner instead, who can say?

* I grew out of that when I realised atheism is a form of extremism, (fanaticism, call it what you will), just like being a god botherer is.

I walked under spaghetti junction (many canals, not to mention the railway) several times while it was under construction. Only a 15 minute walk from school. It was strangely beautiful then (especially with arcs of motorway several layer up, just in isolation and not joining up). But didn't dream about it, so stuck with IT DP. (Data Processing)

I really like this idea of taker-aparter. As a kid in the early 60's, we would rummage neighbors trash cans for stuff to disassemble and "rebuild" into some other useless thing, until activated with imagination. I always wanted to know how something worked.

So, I fell in with the wrong crowd in high school (1968) - the science and math department. They had a ASR-33 teletype connected to a timeshare system and had no idea what to do with it. I got some info on Dartmouth Basic, and was writing simple things in a week. By my senior year, I assisted in teaching a class on programming and had created a library of various apps for the department.

I went to college to get a degree in Electical Engineering so I could design computers. Well, that never happened, never finished my degree, but just retired from programming/manager/architect after 45+ years. Seen it all, done it all. Had a great time. Still coding for fun. Might look to do some pro bono work for a local cause/charity.

The cure to boredom is curiosity. There is no cure for curiosity. -- Dorothy Parker

Anything that is unrelated to elephants is irrelephantAnonymous-The problem with quotes on the internet is that you can never tell if they're genuineWinston Churchill, 1944-Never argue with a fool. Onlookers may not be able to tell the difference.Mark Twain