Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2008

Tip: Looking for answers? Try searching our database.

Cannot serialize datatable (sometimes?)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jerry4 - 03 Apr 2008 20:41 GMT
In VB (VS2005), I have developed a web service that represents my business
and data layers. I have a written a windows client that consumes the web
service. I am having trouble, on my customer's network, handling some
properties of a class returned by the web service while debugging.

My development machine is Windows XP, VS2005, SQL Server 2005. Running the
web service as localhost on my machine everything works great.

On my customer's network, the client application is installed on Windows XP
and consumes the web service that sits on a Windows Server 2003 box and,
again, everything works great.

However, when I attempt to step through the code, or even just run the client
application from the VS IDE on the server (terminal server box) this
particular object is returned with some of the properties populated but a
couple of the properties not. I suspect they are not being serialized.

The class in question represents a comprehensive view of a person with
typical properties like last name, first name, effective date, etc but a
couple of the properties are datatables of addresses and phone numbers. These
properties, when running from the VS IDE, are returned as nothing even though
the PCs with the client app actually installed and that point to the same web
service instance are receiving the addresses and phone numbers just fine.
What's the deal. In addition, I am not able to step into the web service when
debugging although I have no difficulty when debugging on my own machine.
This last issue may or not be related to the first. Please help!
jerry4 - 15 Apr 2008 17:31 GMT
Just in case anyone looks back at this, the problem was difficulty with the 2.
0 framework on the terminal server box. As soon as we moved VS2005 off of the
terminal box and to a development box, everything worked.

>In VB (VS2005), I have developed a web service that represents my business
>and data layers. I have a written a windows client that consumes the web
[quoted text clipped - 22 lines]
>debugging although I have no difficulty when debugging on my own machine.
>This last issue may or not be related to the first. Please help!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.