Register  Login
Forums

 (you must be logged in to post)

Subject: DLL Location - Silverlight 1.1
Prev Next
You are not authorized to post a reply.

Author Messages
John FentonUser is Offline

Posts:2

01/05/2008 2:09 PM  
Bit of an ASP.NET noob so hopefully the answer to this is not too obvious...

I wrote a control in 1.1 alpha and followed the beginners tutorial 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.

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"
>

But I'm still getting a 2252 Error AG_E_Runtime_Managed_Assembly_Download when I try and run the control.

Any ideas?
Michael Washington (admin)User is Offline

Posts:67


01/05/2008 2:15 PM  
I have not done any Silverlight 1.1/2.0 development with DotNetNuke. I'm sure it is possible. Please let us know how you work this out.
John FentonUser is Offline

Posts:2

01/06/2008 1:00 PM  
I should have thought to look in the IIS logs, it's looking for it here:

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

Not sure how to handle that other than to put it in that directory, which does work. But that is not a good solution for the long run.

John Fenton
www.wordmasters.com
You are not authorized to post a reply.
Forums > DNN Silverlight Forum > Silverlight and DotNetNuke > DLL Location - Silverlight 1.1



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