Register  Login
Forums

 (you must be logged in to post)

Subject: WCF RIA Services
Prev Next
You are not authorized to post a reply.

Author Messages
AshkanUser is Offline

Posts:4

12/16/2009 6:01 AM  
Hi!

I was doing the walkthrough of WCF RIA Services here on Silverlight 3 and i got stucked on the part "Create The Linq To SQL DataContext Class" :O

It says that i should change the ConnectionString in the properties on the RIADAL.dbml to SiteSQLServer (Web.config), my default is DatabaseConnectionString (Web.config):(

and later on i get this error the page RIADomainService.cs, on all the DataContext:ermm:

HELP Please!!!!
Michael Washington (admin)User is Offline

Posts:129


12/16/2009 6:39 AM  
Make sure you performed the step where you "Copy the connection string from the Web.config file in the DotNetNuke website and place it in the Web.config file in the RIAServicesDomain project".

This will allow you to see the SiteSQLServer option when you set the connection string for your LinqToSQL class.
AshkanUser is Offline

Posts:4

12/17/2009 12:50 AM  
Hi Michael! thx for ur respond..

I have already done that all i get in the property connection of the RIADAL.dbml is the DatabaseConnectionString (Web.config)
AshkanUser is Offline

Posts:4

12/17/2009 1:08 AM  
and one more thing i dont have a reference to the using System.Web.Ria.Services; i get error on that part to , and i get error on the LinqToSqlDomainService<RIADALDataContext> :(
AshkanUser is Offline

Posts:4

12/17/2009 4:08 AM  
I have fixed the problem now , i was missing Assembly System.Web.DomainServices.LinqToSq ,therefor i got error on Datacontex

thx again.

Michael Washington (admin)User is Offline

Posts:129


12/17/2009 5:19 AM  
Thank you for following up and posting the answer.
You are not authorized to post a reply.



ActiveForums 3.7
Terms Of Use | Privacy Statement | Copyright 2007-2008 by Adefwebserver.com Dynnamite DotNetNuke Skins & Modules