soworl
3/10/2008 9:10:00 PM
No, I ran the exe,
c:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe
"Mythran" wrote:
>
>
> "soworl" <soworl@discussions.microsoft.com> wrote in message
> news:B08FEC9C-E15F-491E-A8A0-2BB7B48A0ADC@microsoft.com...
> > and also,
> > I did " run aspnet_regiis -i"
> > but it did not work.
> >
> >
> > "soworl" wrote:
> >
> >> 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.
> >>
> >> "Jesse Houwing" wrote:
> >>
> >> > Hello soworl,
> >> >
> >> > > 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.
> >> >
> >> > 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
> >> > > 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?
> >> >
> >> > 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
> >> >
> >> >
> >> >
>
> 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
>
>