Oh right, so you're NOT a god after all? ;) Have just down-graded your status to minor deity. On Thu, Aug 28, 2008 at 6:39 AM, Jordan Knight <[EMAIL PROTECTED]>wrote:
> Hi Stephen, > > > > As soon as I saw that link you posted I remembered that I had the same > issue a while back! > > > > Sorry I didn't remember sooner J > > Regards, > > *Jordan Knight* > Readify - Senior Developer > > Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia > M: +61 403 532 404 | E: [EMAIL PROTECTED] | W: www.readify.net > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Stephen Price > *Sent:* Thursday, 28 August 2008 12:30 AM > > *To:* [email protected] > *Subject:* Re: [OzSilverlight] Silverlight WCF web service > > > > Okay.... I finally found the answer to not being able to browse to my WCF > web service. > > > > http://iweb.adefwebserver.com/Project/Blog/tabid/57/EntryID/34/Default.aspx > > > > I had to reinstall (Install?) WCF services. Something I've done in the last > month essentially messed up my WCF services and IIS no longer knew what to > do with it. All my code (unchanged) now works again. > > > > Thanks everyone for the help, it wasn't a wasted exercise (time consuming > maybe) but I learned a fair bit. (Or should I say relearned some stuff I did > two months ago and had forgotten hehe). > > > > cheers, > > Stephen > > On Wed, Aug 27, 2008 at 6:50 PM, Jonathan Parker < > [EMAIL PROTECTED]> wrote: > > Try this: > > > > class CustomHostFactory : ServiceHostFactory > > { > > protected override ServiceHost CreateServiceHost(Type serviceType, > Uri[] baseAddresses) > > { > > CustomHost customServiceHost = > > new CustomHost(serviceType, baseAddresses[1]); > > return customServiceHost; > > } > > } > > > > class CustomHost : ServiceHost > > { > > public CustomHost(Type serviceType, params Uri[] baseAddresses) > > : base(serviceType, baseAddresses) > > { } > > protected override void ApplyConfiguration() > > { > > base.ApplyConfiguration(); > > } > > } > > > > See here for more http://www.devx.com/RIA/Article/38117/0/page/4 > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Stephen Price > *Sent:* Wednesday, 27 August 2008 3:49 PM > *To:* [email protected] > *Subject:* Re: [OzSilverlight] Silverlight WCF web service > > > > It seems more like an issue with how IIS is hosting the WCF service. Yeah, > I've seen the local path thing how it can launch the page you have selected > rather than the website. > > > > My work around is to use the internal VS development web service that > starts up on some random port. My concern was I wouldn't be able to debug > the webservice - I have had an issue where you couldnt debug a non port 80 > web service/website but it seems to be working ok with my Silverlight WCF > service. Just can't run it on IIS for some reason. It's running ok on the > IIS Test server which is IIS 6.0 but I'm hitting that remotely. > > On Wed, Aug 27, 2008 at 1:27 PM, .net noobie <[EMAIL PROTECTED]> > wrote: > > not that this is your issue by the sound of it.... but you also need to > make sure you are setting the web app/website as the default startup > project... > > if you forget and have it set the the Silverlight application to startup > when you run it from VS i noticed that the silverlight app can run using a > file path e.g. (c:\\blah\blah\....) > i did not notice for a few minutes and was wondering why I was getting a > security issue trying to call the WCF service from my app... > > then I notice set the start up app to the web app/site and it was fine... > > > > On 8/27/08, *Stephen Price* <[EMAIL PROTECTED]> wrote: > > Thanks will check that out. > > > > Does it explain why in a web browser > http://localhost/WCFTestWeb/Service1.svc gives me a 404.3? > > Is the end point wrong for the web service as this doesn't seem to have > anything to do with Silverlight so I didn't think it would be a crossdomain > issue. > > > > cheers, > > Stephen > > On Wed, Aug 27, 2008 at 12:17 PM, Jordan Knight <[EMAIL PROTECTED]> > wrote: > > Shameless self promotion J > > > > Try this: > http://jakkaj.wordpress.com/2008/07/03/silverlight-2-call-to-wcf-service-gets-404/ > > > > > > Regards, > > *Jordan Knight* > Readify - Senior Developer > > Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia > M: +61 403 532 404 | E: [EMAIL PROTECTED] | W: www.readify.net > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Stephen Price > *Sent:* Wednesday, 27 August 2008 2:11 PM > *To:* [email protected] > *Subject:* [OzSilverlight] Silverlight WCF web service > > > > Not sure what I'm doing wrong here, this used to work for me. > > > > I have a Silverlight WCF web service running on a local IIS app. If I > browse to it I get the error HTTP Error 404.3 - Not Found. > > > > It used to work... *scratches head*. So I decide to create a new one app > and see if it works. I created a blank Silverlight app, added a Silverlight > enabled WCF service to the web site (Web Application project). I try to add > a Service reference to it while it is running on the inbuilt web service and > it can see it no problems. I change the web site to run on IIS and click the > "Create Virtual Directory" button. Check to see it has done so and IIS > manager shows it. Try to add the Service reference again and bam, Error > 404.3 not found again. > > > > Have I messed up something with IIS? I'm sure it just worked before but I > could be wrong... > > Help! > > > > cheers, > > Stephen > > ------------------------------------------------------------------- > OzSilverlight.com - to unsubscribe from this list, send a message back to > the list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net > > ------------------------------------------------------------------- > OzSilverlight.com - to unsubscribe from this list, send a message back to > the list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net > > > > ------------------------------------------------------------------- > OzSilverlight.com - to unsubscribe from this list, send a message back to > the list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net > > > > > -- > > .net noobieâ„¢ > > This Framework is not Big Enough for the both of us... > ------------------------------------------------------------------- > OzSilverlight.com - to unsubscribe from this list, send a message back to > the list with 'unsubscribe' as the subject. > > > Powered by mailenable.com - List managed by www.readify.net > > > > ------------------------------------------------------------------- > OzSilverlight.com - to unsubscribe from this list, send a message back to > the list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net > > ------------------------------------------------------------------- > OzSilverlight.com - to unsubscribe from this list, send a message back to > the list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net > > > > ------------------------------------------------------------------- > OzSilverlight.com - to unsubscribe from this list, send a message back to > the list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net > ------------------------------------------------------------------- > OzSilverlight.com - to unsubscribe from this list, send a message back to > the list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net > ------------------------------------------------------------------- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
