To avoid having to have the file there you probably need to change the IIS
extension mapping for .svc. From memory there's a checkbox to indicate that
IIS shouldn't verify that the file exists.

On Thu, Jun 24, 2010 at 3:06 PM, Vinay Tripathi
<[email protected]>wrote:

>  Thanks for the input, I just managed to solve it, in the end I had to do
> few things
>
> 1-      Make sure that the Authentication mode in Web.config matched to
> the one in IIS (in my case Windows + Integrated Windows Mode + Anonymous
> off)
>
> 2-      Make sure all the ria related dlls are copied local so that they
> exist in bin directory if RIA is not installed on the server
>
> 1- System.ComponentModel.DataAnnotations
> 2- System.ServiceModel.DomainServices.EntityFramework
> 3- System.ServiceModel.DomainServices.Hosting
> 4- System.ServiceModel.DomainServices.Server
>
> 3-      Make sure that you have a physical file exist in the client bin
> (the name of the file should be in this format –
> [Namespace]-[ServiceName].svc
>
> 4-      Make sure you have following entry in this svc file
>
> <%@ ServiceHost
>
>  Service="Namespcse.ClassName"
>
>
>  Factory="System.ServiceModel.DomainServices.Hosting.DomainServiceHostFactory"
>
> %>
>
>
>
>
>
> Once that’s done,  all working fine for me JJJ * am a happy man again
> !!!!!*
>
>
>
>
>
> *Regards,*
>
> *_____________________________________________________________________*
>
> *Vinay Tripathi | Senior Analyst Programmer | Specialised Finance |
> Wholesale Banking | National Australia Bank**
> *Level 31, 500 Bourke St Melbourne | Tel: +61 3 8641 4225 | Mobile: 0422
> 287 628
>
> Email: [email protected]
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Stephen Price
> *Sent:* Thursday, 24 June 2010 2:33 PM
>
> *To:* ozSilverlight
> *Subject:* Re: Deploying RIA service for Silverlight 4
>
>
>
> If you put a file on the server and its still not serving it out, sounds
> like a misconfig on IIS but can't help you what that might be. you've
> probably figured that much out already.
>
> On Thu, Jun 24, 2010 at 12:13 PM, Vinay Tripathi <
> [email protected]> wrote:
>
> Sorry, I should have been much clearer, when I say dynamically created, it
> means the svc file doesn’t physically exist on the file system.  When my xap
> request some data from this svc, it creates a url in the format for
> http://mysite/page.html/ClientBin/Namspace-ServiceName.svc/binary/query
>
>
>
> Now I can browse to this svc url on my local machine which is using IIS5
> but I can’t browse to this svc on IIS 6.
>
>
>
> I also tried to drop a file with the same name which following text
>
> <%@ ServiceHost
>  Service="MyNamspace.AppDataService"
>
>  Factory="System.ServiceModel.DomainServices.Hosting.DomainServiceHostFactory"
> %>
>
>
>
>
>
> But no luck LL
>
>
>
>
>
> *Regards,*
>
> *_____________________________________________________________________*
>
> *Vinay Tripathi | Senior Analyst Programmer | Specialised Finance |
> Wholesale Banking | National Australia Bank**
> *Level 31, 500 Bourke St Melbourne | Tel: +61 3 8641 4225 | Mobile: 0422
> 287 628
>
> Email: [email protected]
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Stephen Price
> *Sent:* Thursday, 24 June 2010 1:59 PM
> *To:* ozSilverlight
> *Subject:* Re: Deploying RIA service for Silverlight 4
>
>
>
> Can you browse to that service url in a browser? I'm pretty sure you should
> be able to but I'm not sure what you mean when you say dynamically created
> svc file. Do you mean its generated or something else?
>
> On Thu, Jun 24, 2010 at 10:18 AM, Vinay Tripathi <
> [email protected]> wrote:
>
> Hi Guys,
>
> I have just ran into some issues when I am deploying my ria service to our
> test server which is Windows 2003 and IIS6. My Silverlight app runs fine
> locally on IIS 5 and Windows xp but as soon as I deploy it to our test box,
> I am getting 404 error on dynamically created svc file.
>
> Some information about setup:
> 1- I have set the ria dlls to be copied locally as ria in not installed on
> Win 2003
> 2- I am using Windows Authentication and IIS is set to Integrated Windows
> with Anonymous off
>
> Error message from fiddler:
>
> [EndpointNotFoundException]: The service
> &#39;/ClientBin/National-eALOC-DataServices-Services-AppDataService.svc&#39;
> does not exist.
>   at
> System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String
> normalizedVirtualPath)
>   at
> System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String
> relativeVirtualPath)
>   at
> System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()
>   at
> System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
> [HttpException]: The service
> &#39;/ClientBin/National-eALOC-DataServices-Services-AppDataService.svc&#39;
> does not exist.
>   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
>   at
> System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult
> result)
>   at
> System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication
> context, String routeServiceVirtualPath, Boolean flowContext, Boolean
> ensureWFService)
>   at System.ServiceModel.Activation.HttpHandler.ProcessRequest(HttpContext
> context)
>   at
> System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
>   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
> completedSynchronously)
>
>
>
> Any help !!!!!!!!!!!!!
>
>
> Regards,
> _____________________________________________________________________
> Vinay Tripathi | Senior Analyst Programmer | Specialised Finance |
> Wholesale Banking | National Australia Bank
> Level 31, 500 Bourke St Melbourne | Tel: +61 3 8641 4225 | Mobile: 0422 287
> 628
> Email: [email protected]
>
> National Australia Bank Ltd - ABN 12 004 044 937
> This email may contain confidential information. If you are not the
> intended recipient, please immediately notify us at [email protected] 
> by replying to the sender, and then destroy all copies of this email.
> Except where this email indicates otherwise, views expressed in this email
> are those of the sender and not of National Australia Bank Ltd. Advice in
> this email does not take account of your objectives, financial situation, or
> needs. It is important for you to consider these matters and, if the e-mail
> refers to a product(s), you should read the relevant Product Disclosure
> Statement(s)/other disclosure document(s) before making any decisions. If
> you do not want email marketing from us in future, forward this email with
> "unsubscribe" in the subject line to [email protected] in order
> to stop marketing emails from this sender. National Australia Bank Ltd does
> not represent that this email is free of errors, viruses or interference.
>
> _______________________________________________
> ozsilverlight mailing list
> [email protected]
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
>
>
>  ------------------------------
>
> National Australia Bank Ltd - ABN 12 004 044 937
> This email may contain confidential information. If you are not the
> intended recipient, please immediately notify us at [email protected] 
> by replying to the sender, and then destroy all copies of this email.
> Except where this email indicates otherwise, views expressed in this email
> are those of the sender and not of National Australia Bank Ltd. Advice in
> this email does not take account of your objectives, financial situation, or
> needs. It is important for you to consider these matters and, if the e-mail
> refers to a product(s), you should read the relevant Product Disclosure
> Statement(s)/other disclosure document(s) before making any decisions. If
> you do not want email marketing from us in future, forward this email with
> "unsubscribe" in the subject line to [email protected] in order
> to stop marketing emails from this sender. National Australia Bank Ltd does
> not represent that this email is free of errors, viruses or interference.
>
>
> _______________________________________________
> ozsilverlight mailing list
> [email protected]
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>
>
> ------------------------------
> National Australia Bank Ltd - ABN 12 004 044 937
> This email may contain confidential information. If you are not the
> intended recipient, please immediately notify us at [email protected] 
> by replying to the sender, and then destroy all copies of this email.
> Except where this email indicates otherwise, views expressed in this email
> are those of the sender and not of National Australia Bank Ltd. Advice in
> this email does not take account of your objectives, financial situation, or
> needs. It is important for you to consider these matters and, if the e-mail
> refers to a product(s), you should read the relevant Product Disclosure
> Statement(s)/other disclosure document(s) before making any decisions. If
> you do not want email marketing from us in future, forward this email with
> "unsubscribe" in the subject line to [email protected] in order
> to stop marketing emails from this sender. National Australia Bank Ltd does
> not represent that this email is free of errors, viruses or interference.
>
> _______________________________________________
> ozsilverlight mailing list
> [email protected]
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>


-- 
Miguel A. Madero Reyes
www.miguelmadero.com (blog)
[email protected]
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to