Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DLL Location - Silverlight 1.1  DLL Location - Silverlight 1.1
Previous
 
Next
New Post
1/6/2008 3:46 PM
 

I'm a bit of an ASP.NET noob so hopefully the answer to this is not too obvious...

I wrote a control in Silverlight 1.1 alpha and followed the beginners tutorial at http://dnnsilverlight.adefwebserver.com/Samples/StartHere/tabid/61/Default.aspx for adding it to my DNN test site, making adjustments for version 1.1

I can't figure out how to get VS2008 to compile the DLL in the DNN project. But I can get it to compile in it's original project, so no big deal.

The problem is I'm getting a 2252 Error AG_E_Runtime_Managed_Assembly_Download when I try and run the control. 

I put the dll in:

DesktopModules/SilverLightTest/ClientBin/Silverlighttest.dll

and

ClientBin/Silverlighttest.dll

I get the download dialog if I try and access the file in either location. So it looks like it is not attempting to execute the file on server.

This is the header:

<Canvas
xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="640" Height="460"
Background="White"
xmlns:SilverlightTest="clr-namespace:SilverlightTest;assembly=ClientBin/SilverlightTest.dll"
x:Class="SilverlightTest.Page;assembly=ClientBin/SilverlightTest.dll"
x:Name="Page"
>

Where is it looking for the DLL at? 

(If I run it using the original project HTML file from this location it runs fine, server is my dev site on my WinXP machine.)

John Fenton
www.wordmasters.com

 
New Post
1/6/2008 6:22 PM
 

I've peeked at Michael's tutorial but I haven't gone all the way through it you're .dll should be in the bin directory of your DNN site.

 
New Post
1/6/2008 8:51 PM
 

Mike Horton wrote

I've peeked at Michael's tutorial but I haven't gone all the way through it you're .dll should be in the bin directory of your DNN site.

Right now I have no Silverlight 1.1/2.0 stuff (only Silverlight 1.0). I'm waiting for the next Silverlight 2.0 release because I expect major changes.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
1/7/2008 2:40 AM
 

 

>>you're .dll should be in the bin directory of your DNN site.

That would make sense.  However the silverlight .dll is unusual, it executes on the client so the client has to download it and execute it rather than have it executed on the host.

After I posted I realized all I need to do was check the IIS logs, it was expecting it here:

/dotnetnuke_2/test/tabid/72/ClientBin/SilverlightTest.dll

When I put the DLL at that location my control executes fine.  However, that is a rather crude solution to the problem.  Is there any standard/easy way to get DNN to redirect that request to a more appropriate location? 

John Fenton
www.wordmasters.com

 
New Post
1/7/2008 3:13 AM
 

 

>>Right now I have no Silverlight 1.1/2.0 stuff (only Silverlight 1.0). I'm waiting for the next Silverlight 2.0 release because I expect major changes.

Ya I'm just goofing off, trying to learn a bit of ASP.Net & DNN.  My control turned out pretty good, but I have to wait for 2.0 to come out before I can realistically use it.  2.0 should also have some features that I really want to add to it.

The DLL issue I ran into will probably still exist in 2.0 since that appears to be the direction they are headed with it. 

Your tutorials were very well written so it was pretty easy to translate for 1.1 mostly just had to substitute some c# code for some of the jscript and make a few other minor adjustments. 

John Fenton
www.wordmasters.com

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DLL Location - Silverlight 1.1  DLL Location - Silverlight 1.1


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out