Another typical problem

2012-03-28 Thread Greg Keogh
Well it's happened again.

 

I spent two hours this morning refactoring a demo SL4 project to prepare for
expansion. I split a few classes, tidied things up, etc. I hit F5 to run and
it says I have a cross domain call failure. I spent the next two hours
trying to fix this problem. I removed and added the service ref again about
40 times in different ways, I searched the web and all of the advice is
worse than useless. I even had bizarre errors adding the ref back again like
Custom tool warning: Unable to load one or more of the requested types.
Retrieve the LoaderExceptions property for more information which I've
never had before and advice in this matter is useless. The referenced
service didn't even change, it's not in the solution. I didn't add any new
service types. I have now spent 4 hours trying to get a previously working
demo project going again without hope. I could restore everything and
incrementally reapply my morning's changes, but that would take another 2
hours.

 

I created a fresh SL4 project and web app out of the wizard, added the save
service ref and it works. So something has gone wrong with my demo project
and nothing seems to resurrect it. My only hope therefore is to slowly paste
the contents of the old app into the fresh one and pray that it keeps
working. I estimate that this will take 6 hours.

 

I've been writing software for 35 years and I haven't seen such f***ing
mind-blowing instability and idiocy and insanity before and it just seems to
get worse and worse with every passing year and every new kit and tool and
framework that comes out. Are we going through a historical period in IT
history where everything is actually dis-integrating? Is it an internal
joke by Microsoft to cull the weak and breed a new generation of drone
developers who just accept that everything doesn't work? I spend more time
searching the web for answers to insane problems that and I do actually
coding, and most of the time I get no answers or increasing numbers of
stupid answers cluttering the web.

 

More and more often I get problems where quite simply I have no frigging
idea what to do. There are no meaningful clues and no obvious course of
action. The only thing to do is delete stuff, jiggle options, add stuff
back, restart IIS, reboot, restore backups, compare old and new files, etc.
There is usually no diagnostic path to follow, you just bumble around until
you get a different (less worse) error that might give you a clue.

 

Is this the future of software development?

 

Greg

___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Another typical problem

2012-03-28 Thread Chris Anderson
What's your startup project?  The Web project or the Silverlight one?
 Maybe your Silverlight project is set as the startup project, hence the
issue.

Chris


On 29 March 2012 11:01, Greg Keogh g...@mira.net wrote:

 Well it’s happened again.

 ** **

 I spent two hours this morning refactoring a demo SL4 project to prepare
 for expansion. I split a few classes, tidied things up, etc. I hit F5 to
 run and it says I have a cross domain call failure. I spent the next two
 hours trying to fix this problem. I removed and added the service ref again
 about 40 times in different ways, I searched the web and all of the advice
 is worse than useless. I even had bizarre errors adding the ref back again
 like “*Custom tool warning: Unable to load one or more of the requested
 types. Retrieve the LoaderExceptions property for more information*”
 which I’ve never had before and advice in this matter is useless. The
 referenced service didn’t even change, it’s not in the solution. I didn’t
 add any new service types. I have now spent 4 hours trying to get a
 previously working demo project going again without hope. I could restore
 everything and incrementally reapply my morning’s changes, but that would
 take another 2 hours.

 ** **

 I created a fresh SL4 project and web app out of the wizard, added the
 save service ref and it works. So something “has gone wrong” with my demo
 project and nothing seems to resurrect it. My only hope therefore is to
 slowly paste the contents of the old app into the fresh one and pray that
 it keeps working. I estimate that this will take 6 hours.

 ** **

 I’ve been writing software for 35 years and I haven’t seen such f***ing
 mind-blowing instability and idiocy and insanity before and it just seems
 to get worse and worse with every passing year and every new kit and tool
 and framework that comes out. Are we going through a historical period in
 IT history where everything is actually “dis-integrating”? Is it an
 internal joke by Microsoft to cull the weak and breed a new generation of
 drone developers who just accept that everything doesn’t work? I spend more
 time searching the web for answers to insane problems that and I do
 actually coding, and most of the time I get no answers or increasing
 numbers of stupid answers cluttering the web.

 ** **

 More and more often I get problems where quite simply “I have no frigging
 idea what to do”. There are no meaningful clues and no obvious course of
 action. The only thing to do is delete stuff, jiggle options, add stuff
 back, restart IIS, reboot, restore backups, compare old and new files, etc.
 There is usually no diagnostic path to follow, you just bumble around until
 you get a different (less worse) error that might give you a clue.

 ** **

 Is this the future of software development?

 ** **

 Greg

 ___
 ozsilverlight mailing list
 ozsilverlight@ozsilverlight.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight