Groups | Blog | Home
all groups > dotnet framework > march 2008 >

dotnet framework : is there difference between XP Pro and Server2003?


soworl
3/6/2008 3:19:00 PM
Hi,

my local machine is XP Pro.
when I built the WCF hosted in IIS, it works fine.
(create virtual directory on IIS and open that website and coding.. that's
it.)

but When I try to built the WCF hosted in IIS in server machine, it causes
error.
(create virtual directory on IIS and open that website and coding. same with
xp pro)
my server machine is Server2003.

After I publish this on the different location in server2003 IIS, it works
fine.
Do I have to publish the WCFservice?
Is there difference between XP Pro and Server2003?
When I publish this, I have to be very careful since they just clean that
folder automatically.

Thanks,
Jesse Houwing
3/6/2008 11:49:53 PM
Hello soworl,

[quoted text, click to view]

What error are you seeing. The frist thing that comes to mind is that the
virtual directory in question isn't configured with the correct .NET framework.

Another option is that there is a web.config in the websites root directory
with conflicting settings. But it's hard to make the correct guess without
an actual error message

And the final thing that leaps to mind is that ASP.NET might not be configured
for the website at all... run aspnet_regiis -i to make sure the bindings
are there.

[quoted text, click to view]

yes there are differences. Windows Server 2003 comes with a newer version
of IIS than the one that comes with XP. Windows 2003 also has stricter security
settings and default settings.

[quoted text, click to view]

--
Jesse Houwing
jesse.houwing at sogeti.nl

soworl
3/7/2008 7:05:02 AM
error msg was
A name was started with an invalid character. Error processing resource
'http://localhost/WCFService/Service.svc'. Line 1,...

<% @ServiceHost Language=VB Debug="true" Service="MyService"
CodeBehind="~/App_Code/Service.vb" %>
-^

..net 3.5 was installed.

[quoted text, click to view]
soworl
3/7/2008 7:12:06 AM
and also,
I did " run aspnet_regiis -i"
but it did not work.


[quoted text, click to view]
Mythran
3/7/2008 8:35:22 AM


[quoted text, click to view]

How did you run aspnet_regiis? By the looks of your comment, you did not
execute the exe, you just typed in "run aspnet_regiis -".

Mythran

soworl
3/10/2008 2:10:01 PM
No, I ran the exe,
c:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe


[quoted text, click to view]
AddThis Social Bookmark Button