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 / .NET Framework / New Users / March 2008

Tip: Looking for answers? Try searching our database.

is there difference between XP Pro and Server2003?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
soworl - 06 Mar 2008 23:19 GMT
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,
soworl
Jesse Houwing - 06 Mar 2008 23:49 GMT
Hello soworl,

> Hi,
>
[quoted text clipped - 6 lines]
> causes
> error.

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.

> (create virtual directory on IIS and open that website and coding.
> same with
[quoted text clipped - 5 lines]
> Do I have to publish the WCFservice?
> Is there difference between XP Pro and Server2003?

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.

> When I publish this, I have to be very careful since they just clean
> that
> folder automatically.

--
Jesse Houwing
jesse.houwing at sogeti.nl
soworl - 07 Mar 2008 15:05 GMT
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.

> Hello soworl,
>
[quoted text clipped - 41 lines]
> Jesse Houwing
> jesse.houwing at sogeti.nl
soworl - 07 Mar 2008 15:12 GMT
and also,
I did " run aspnet_regiis -i"
but it did not work.

> error msg was
> A name was started with an invalid character. Error processing resource
[quoted text clipped - 51 lines]
> > Jesse Houwing
> > jesse.houwing at sogeti.nl
Mythran - 07 Mar 2008 16:35 GMT
> and also,
> I did " run aspnet_regiis -i"
[quoted text clipped - 63 lines]
>> > Jesse Houwing
>> > jesse.houwing at sogeti.nl

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 - 10 Mar 2008 22:10 GMT
No, I ran the exe,
c:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe

> > and also,
> > I did " run aspnet_regiis -i"
[quoted text clipped - 69 lines]
> Mythran
>  

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.