Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  DLL Location - Silverlight 1.1
Previous Previous
 
Next Next
New Post 1/6/2008 12:46 PM
Unresolved
User is offline John Fenton
28 posts
10th Ranked


DLL Location - Silverlight 1.1  

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


John Fenton
www.wordmasters.com
 
New Post 1/6/2008 3:22 PM
User is offline Mike Horton
3276 posts
dnn.gmss.org
4th Ranked






Re: DLL Location - Silverlight 1.1  

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 5:51 PM
Online now... Michael Washington
2896 posts
ADefWebserver.com
5th Ranked










Re: DLL Location - Silverlight 1.1  

 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
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
New Post 1/6/2008 11:40 PM
User is offline John Fenton
28 posts
10th Ranked


Re: DLL Location - Silverlight 1.1  

 

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


John Fenton
www.wordmasters.com
 
New Post 1/7/2008 12:13 AM
User is offline John Fenton
28 posts
10th Ranked


Re: DLL Location - Silverlight 1.1  

 

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


John Fenton
www.wordmasters.com
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  DLL Location - Silverlight 1.1
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com
SINA101
WANT A SPECial sIte iN TAIWAN?
sina101.com
Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP