PDA

View Full Version : quick test with a SL Business app and it doesn't work


littlesteps
11-29-2009, 01:25 AM
Hello

I have published on your .NET 4.0 server a simple Silverlight Business Application that was created from the project template of VS2008 SP1.

After having published the web site (by ftp from VS2008 "publish" command), I get a "500 error" when I try to load the "default.aspx" or default test page (html and aspx version).

What am I doing wrong ?
What about web.config? Do we have to setup specific settings or something else?

In addition, I plan to test a WCF Ria Services app with the "PDC 2009" beta release. Should it work on your labs hosting ?

best regards,

Littlesteps.

kowd
11-29-2009, 06:04 AM
Hi,

I want to confirm that it does not work for me either. It seems that we cannot use the

System.Web.Ria

assembly. If I remove this from my web.config file, the 500 error is gone:

<httpModules>
<add name="DomainServiceModule" type="System.Web.Ria.Services.DomainServiceHttpModule, System.Web.Ria, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>

But of course then I cannot get the domain (ria) services to work.

Similarly, my WCF Data Service (the former ADO.NET data services) does not work.

When I remove the ria http module I get the a 404 error for the data service.

I also tried using copy local = true for all external assemblies for the project, but this did not help.

It will be a pity if we cannot get these to work.

kowd

SteveCMS
11-29-2009, 06:04 PM
Hi,

I want to confirm that it does not work for me either. It seems that we cannot use the

System.Web.Ria

assembly. If I remove this from my web.config file, the 500 error is gone:

<httpModules>
<add name="DomainServiceModule" type="System.Web.Ria.Services.DomainServiceHttpModule, System.Web.Ria, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>

But of course then I cannot get the domain (ria) services to work.

Similarly, my WCF Data Service (the former ADO.NET data services) does not work.

When I remove the ria http module I get the a 404 error for the data service.

I also tried using copy local = true for all external assemblies for the project, but this did not help.

It will be a pity if we cannot get these to work.

kowd

Are these services just not implemented yet?

bruce
11-30-2009, 11:03 AM
what error are you guys getting?

speier
12-01-2009, 03:02 PM
what error are you guys getting?

Hi!

I'm also trying to get RIA Services working, but I've got 404 when my silverlight application try to access the service using POST ".../ClientBin/MyApp-Web-Services-AuthenticationService.svc/binary". I have uploaded the RIA Services DLLs to my web application's bin folder, but it doesn't solved the problem.

It looks like the web application doesn't expose the service. I have the following service model section in my web.config:


<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
</system.serviceModel>


Thanx in advance.