Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6039311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:20:59+00:00 2026-05-23T06:20:59+00:00

We run a commercial silverlight application. When we upgrade our site in IIS some

  • 0

We run a commercial silverlight application. When we upgrade our site in IIS some of our users need to clear out their browser history to get the latest updates.

This is silly as you can imagine.

If they don’t clear out their browser history some of the users get this,

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C; .NET4.0E; BRI/2)

Timestamp: Thu, 16 Jun 2011 02:41:49 UTC

Message: Unhandled Error in Silverlight Application Unable to retrieve the module type Car.CarList.InitModule, Car.CarList, Version=1.0.123.17153 from the loaded assemblies.  You may need to specify a more fully-qualified type name.   at Microsoft.Practices.Composite.Modularity.ModuleInitializer.HandleModuleInitializationError(ModuleInfo moduleInfo, String assemblyName, Exception exception)

UPDATE: I am starting to understand the issue. Look at the fiddler output,

/ClientBin/Main.xap?ignore-20/06/2011%209:30:19%20a.m.
/ClientBin/CarList.xap

The last-write filedate of the Silverlight Application XAP file has been added to the Main.xap file like explained here,

http://codeblog.larsholm.net/2010/02/avoid-incorrect-caching-of-silverlight-xap-file/

BUT the error above relates to the Car.CarList module which is in a different XAP file.

The problem is that PRISM causes the second ‘module’ to be loaded CarList.xap, so I am not sure how to add the required query string.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T06:20:59+00:00Added an answer on May 23, 2026 at 6:20 am

    OK, this definitely solved it.

    My module catalog loading looked like this,

    protected override IModuleCatalog GetModuleCatalog()
    {
        var CarListModule = new ModuleInfo()
        {
            ModuleName = "CarList",
            ModuleType = "Car.CarList.InitModule, Car.CarList, Version=1.0.0.0",
            Ref = "CarList.xap",
            InitializationMode = InitializationMode.OnDemand,
        };
        // blah
    }
    

    I changed it to this,

    protected override IModuleCatalog GetModuleCatalog()
    {
        var CarListModule = new ModuleInfo()
        {
            ModuleName = "CarList",
            ModuleType = "Car.CarList.InitModule, Car.CarList, Version=1.0.0.0",
            Ref = "CarList.xap?Version=1.0.0.0",
            InitializationMode = InitializationMode.OnDemand,
        };
        // blah
    }
    

    The query string will be different for each release thus forcing it to load the XAP file and not use the cached version.

    Our build server finds the text Version=1.0.0.0 above and substitutes the real versions numbers. This includes the version number in the ModuleType text. To correspond the build server also sets the version number in the actual modules to match.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.