NetDataContract doesn't work on Windows XP Pro machine?!

S

Steve Barker

Hi guys,

I’m using the NetDataContract implementation from this website:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1354591&SiteID=1

…and am having a few problems. I’ve written a test service that returns a
type I have marked with the NetDataContract attribute. It works fine on a
Windows Server 2003 box, but not on a Windows XP Pro box.

Does anyone have any suggestions as to why this could be? Do I need to
install something extra on XP, or does the NetDataContract need to be edited
for XP compliance?

Thanks in advance,

Steve.
 
J

JDeats

Hi guys,

I’m using the NetDataContract implementation from this website:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1354591&SiteID=1

…and am having a few problems. I’ve written a test service that returns a
type I have marked with the NetDataContract attribute. It works fine on a
Windows Server 2003 box, but not on a Windows XP Pro box.

Does anyone have any suggestions as to why this could be? Do I need to
install something extra on XP, or does the NetDataContract need to be edited
for XP compliance?

Thanks in advance,

Steve.

NetDataContract is part of WCF, you just need to make sure the Windows
XP machine has .NET Framework 3.0 (or later) installed.
 
S

Steve Barker

I can confirm that I have both version 3.0 and 3.5 on both my XP machine and
my Server 2003 machine. I'm having the same problem on another XP machine as
well, so I'm sure this is to do with something else missing in the OS. Any
other ideas? Could it be something to do with IIS on XP?

I'm going to try installing VS 2008 SP1 today to see if that solves the
problem.

Thanks,

Steve.
 
S

Steve Barker

Installing VSTS 2008 SP1 and running this tool:

devenv.exe /resetskippkgs

Has solved the problem. Very strange! (I can only guess that my .NET
Framework 3.0/3.5 was broken somehow?)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top