Home       Archives        About Me       Gallery       Contact       RSS
other places to go      thincSoft      revoluxions      my family blog

Running Silverlight in IIS6 (XP)

We've been working on our Silverlight code, and it's getting to a point where I can show potential customers -- I tried to load the code on my Demo machine (XP SP2), and got the following error.

image

 

Silverlight error message    
ErrorCode: 2252
ErrorType: ParserError      
Message: AG_E_RUNTIME_MANAGED_ASSEMBLY_DOWNLOAD    
XamlFile: TimeLine1KPoints.xaml    
Line: 7    
Position: 9    

When I setup the virtual directory, I had set the permissions to "Scripts and Executables."  I needed to set the directory permissions to "Scripts only", and my Silverlight application worked perfectly!

image

 

 

 

Technorati tags: , ,




Posted on September 20, 2007 10:14

E-mail | Permalink | Comments (0) | Trackback

I'm a Microsoft MVP!

Thanks to Dax for nominating me for the Microsoft MVP program!

 

Technorati tags:




Posted on July 31, 2007 04:10

E-mail | Permalink | Comments (0) | Trackback

Automatically start multiple web projects in VS2005

This was a bit harder than I thought it should be!  Our latest project is to integrate our SVG (and Silverlight) /AJAX client with a REST interface into our backend ESRI system.  The other team is still working on the ESRI connection, so our  development server is up and down (as any good development server is wont to do!)  I thought I'd make a quick shim project, that would mirror the REST API calls and simply serve XML files from the file system rather than going back to the original serve.

 

I quickly generated the project and REST pages (just dumb ASPX pages that read back an XML file) and added it to the solution.  I then wanted VisualStudio to automatically start a cassini webserver for new project whenever I was in "debug" mode.  I would have thought this was a common problem (what if I was connecting my app to a webservice, and wanted to start both my asp.net app, and the server?)

 

So, the base problem was, I had 2 projects in my solution, an ASP.Net client, and an ASP.Net REST proxy, and when I hit "F5-debug", only one client would start up, and I wanted to start both clients up.

 

After a few hours of fiddling, I found the "solutions / properties" button.  This let me specify which projects to automatically start

 

 

After you set these both to "start" then both servers start automatically.

 

ps, on my REST proxy, I had to 'hard code' the default port id (I gave the URL of the proxy to my real AsP.Net app)  To hard code the port number of the cassini web, go to "project | properties | web", and set the default port.

 





Posted on June 11, 2007 21:12

E-mail | Permalink | Comments (1) | Trackback

Error running .NET app on Vista

If you are trying to run a .NET app (aspx page) under Vista IIS 7 and you encounter the following error,

HTTP Error 404.3 - Not Found

here's what you do to circumvent

Go to:        Control Panel >> Programs and Features
Click on:      Turn Windows features on or off (LHS)
Check the boxes shown below

clip_image0014

 

Thanks to:

http://www.netomatix.com/Development/IIS7_404Error.aspx

 

Technorati tags: ,




Posted on June 6, 2007 13:21

E-mail | Permalink | Comments (0) | Trackback

Banner Images and Master Pages

I was working on our web site this weekend with Dax.  The requirement  to swap the ‘banner image’ depending on which of our three products was selected.  Didn’t sound to rough, but you always end up down a rat hole!.  Actually, I’m still not sure I understood Dax’s suggestion, but knowing him it’s a clever HTML/CSS hack that I can’t begin to understand. 

Being a programmer, I ended up making a property on the master page class named BannerImageUrl.  This property set the ImageUrl of the <asp:Image /> of my banner image in the master page.  Then, in the content page’s Page_Load function, I cast the Page.Master property to my custom class, and then call the BannerImageUrl function…easy as cake….Now, I just have to get multiple banner images….

Tags:




Posted on March 12, 2007 18:27

E-mail | Permalink | Comments (0) | Trackback

under construction

OK, I think the whole world knows this, or at least has already blogged about it, but I’m going to add it here so that future-me can look it up next time I need it.

When doing maintenance on your asp.net 2.0 web site, if you put a file named “app_offline.htm” in the root of the site, the ASP.Net runtime will serve that file rather than processing the site.  In this way you can update and maintain the rest of the site, and your visitors will see the app_offline.htm file until it is deleted.

(Future-me, did past-me get an app_offline.htm updated with our company name, product name, and contact info?  Even though the site is off-line, I still want visitors to know about our products!)

Tags:




Posted on March 10, 2007 14:54

E-mail | Permalink | Comments (0) | Trackback







Categories

Blogroll






Copyright © 2005-2008 M. Andrew Eick.
Powered by BlogEngine.NET 1.3.0.0

Designed by Nukeation
Sign in