Register
Login
Home
Silverlight 1.0
Start Here
Silverlight Video
Silverlight XAML
Silverlight Album
Silverlight Custom Control
Silverlight ToolBar
Silverlight 2.0
Silverlight Webservice
Silverlight Dashboard
Silverlight FileUploader
Silverlight Dashboard 2
Silverlight Chat
Personal File Upload
Silverlight 3.0
Silverlight 3 Hello World
SketchFlow Viewer
Silverlight File Manager
WCF RIA Services
Silverlight Module Instance File Uploader
Silverlight Traffic
Forums
FAQ
Installing Silverlight
About
Forums
(you must be logged in to post)
Unanswered
Active Topics
Forums
Search
Forums
>
DNN Silverlight Forum
>
Silverlight and DotNetNuke
Subject: Web service and DNN
Prev
Next
You are not authorized to post a reply.
Author
Messages
Oldest First
Newest First
rishi23
Posts:4
10/15/2009 1:28 PM
Hi
I have a small silverlight application say Game123 in a dotnet nuke website.
I was able to run the Game123 by having a Game123.html page point to the point to the Game123.xap file, whose source code is on my local box and have just the .xap in the server.
This worked fine until I had to include a web service for the application,..
Now I have added the required web service in my local application then after building the Game123.xap I copied it to the server.. so when I launched my Game123.html page that points to the silverlight application I expected it to work the same way as it does in my local box but I am running into a number of issues that I am quite not able to resolve.
I suppose I can't just copy the .xap file and have it to run because the corresponding webservice doesn't exist in the website so how should I add the already created service from my local box to the dot net nuke website?
Michael Washington (admin)
Posts:129
10/15/2009 3:17 PM
You can use the SketchFlowViewer module (available on this site) to load your .xap. You can then look at the source code viewer to see how to properly load the .xap.
rishi23
Posts:4
10/16/2009 6:38 AM
Yes that is fine but how can I add a Silverlight enabled WCF service to a DNN 4.02 website
Michael Washington (admin)
Posts:129
10/16/2009 7:18 AM
This site is filled with examples of DotNetNuke Silverlight modules that use web services.
You can also find help here: http://iwebcf.codeplex.com/
rishi23
Posts:4
10/19/2009 9:38 AM
Hi
I have been following your blog to add a web service to the DNN website, I added a asmx service to the DestopModules ->Module-> service1.asmx, and even have the service1.asmx.cs file in the same level.
When I tried to view the file in browser I am hit with the following error:
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Error on line 63:
Line 63: <add name="Compression" type="DotNetNuke.HttpModules.Compression.HttpModule, DotNetNuke.HttpModules.Compression"/>
I am quite not sure why would that happen, can you please let me know the possible reason.
Thanks
Michael Washington (admin)
Posts:129
10/19/2009 10:27 AM
Darn it appears you need to run your DotNetNuke site under "Full Trust" to use the code. It appears you are running your site under "Partial Trust".
You are not authorized to post a reply.
DNN Silverlight Forum
--Silverlight and DotNetNuke
Forums
>
DNN Silverlight Forum
>
Silverlight and DotNetNuke
> Web service and DNN
ActiveForums 3.7
Terms Of Use
|
Privacy Statement
|
Copyright 2007-2008 by Adefwebserver.com
Dynnamite DotNetNuke Skins & Modules