Has anyone had problems on goDaddy with passing data objects between classes in different directories?
Posted on 2011-09-16
I have up loaded my web site application (ASP .NET 3.5 [C#]) to my goDaddy account. I'm starting to notice a pattern of a problem when it comes to passing data objects up through my classes. The problem is, i can't (ha). "It works on my machine" is the unfortunate truth as I have no problem When I load to goDaddy, the data objects that i build never make it back to the page that makes the initial call so I was wondering if any one else had been having this trouble or had,....had this trouble and if they'd solved it in any other way aside from placing all the data object building in the same page as the page that makes the call. as a brief over view, when my page attempts to build an object it first passes an empty object through a couple layers to get to a layer / class that i'll call "BldDtaObj". this class, 1.) builds the connection object (in a separate class) which is returned to BldDtaObj, creates the SQL command string (in a separate class) which is also returned to BldDtaObj, At this point, in BldDtaObj, the query is executed, and the original empty object passed in, is populated and returned back up to the calling page.
on my machine, no problem, on the goDaddy server the object never makes it back any ideas why?