Wrox Programmer Forums
|
BOOK: Silverlight 4 Problem - Design - Solution
This is the forum to discuss the Wrox book Silverlight 4 Problem - Design - Solution by Nick Lecrenski; ISBN: 9780470534045
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Silverlight 4 Problem - Design - Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 25th, 2010, 02:09 PM
Registered User
 
Join Date: Sep 2009
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Question DEPLOYMENT ISSUES

Hello,

I recently setup a new Silverlight 4 project which did not require a database. It did however require a Contact page so I followed the examples provided in Chapter 12 and setup a simple page to test / prototype a function using WCF RIA Services.

I was successful on setting up the functions on my dev pc and see that the functions are reaching the web service when I run it, however, when I deploy my app to Discount ASP.Net (DASP) I receive the following error;

Invoke operation 'SendEmail' failed. The remote server returned an error: NotFound.

at System.ServiceModel.DomainServices.Client.Operatio nBase.Complete(Exception error)
at System.ServiceModel.DomainServices.Client.InvokeOp eration.Complete(Exception error)
at System.ServiceModel.DomainServices.Client.DomainCo ntext.CompleteInvoke(IAsyncResult asyncResult)
at System.ServiceModel.DomainServices.Client.DomainCo ntext.<>c__DisplayClass38.<InvokeOperation>b__34(O bject )


Here's a little background on what I've done and how I'm setup: I'm using DASP as a web host and am using 'sub domains' for my testing of multiple web sites. So, this web site is setup in a sub domain and I've setup each sub domain (as needed) as an 'application root'. DASP has said that the sub domains is not the issue but I'm still having problems.

I've added what I believe is all of the necessary .dll's to my bin directory but no joy. The URL to my page is: http://www.officeautomatedsystems.co...ton/#contactUs


My web service is: rykWeston.Web.Services.

My domain service is: UserInformationService and my context is: UserInformationContext.

I'm also using VS 2010 Pro and have installed all SL4 / WCF RIA toolkits.

Does anyone have any suggestions for me to try?

Many thanks in advance,

Dave
 
Old August 26th, 2010, 01:07 AM
Registered User
 
Join Date: Sep 2009
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Cool AN ADDITIONAL TEST

Hello again,

Ok, so the idea of 'unlimited sub domains' had me wondering... would the SL4 app work at the root level or would the web.config be problematic because of inheritance?

Well, a couple of things happened when I posted the SL4 app at the root level.

The root level (http://www.officeautomatedsystems.com/) is an html site with Adobe flash objects. It didn't have a Web.config file... so I added the file from my SL4 app. Once I did that the SL4 app ran but the sub domain site (http://www.officeautomatedsystems.co...web/rykweston/) wouldn't render correctly anymore.

Once I deleted the root level Web.Config the sub domain SL4 app rendered correctly again.

So, inheritance with the Web.Config is to be considered when working with sub domains (as always) but in the case of my application... moving it to the root level didn't fix the problem.

So, back to R&D.

Thanks for reading,

Dave Navarro





Similar Threads
Thread Thread Starter Forum Replies Last Post
deployment Bhavin Crystal Reports 1 February 5th, 2009 08:07 AM
connection string issues, web.config file issues kaliaparijat ASP.NET 2.0 Professional 1 June 12th, 2008 08:07 AM
deployment p2pMember ASP.NET 2.0 Basics 0 June 7th, 2007 01:12 AM
Deployment sen22 .NET Framework 2.0 1 April 17th, 2007 02:38 PM
Deployment regbnvl BOOK: Professional VB 2005 ISBN: 0-7645-7536-8 0 May 7th, 2006 04:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.