Click here to Skip to main content
Click here to Skip to main content

Silverlight - temporary *.XCP files created

, 21 Aug 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
Temporary XCP files are created on the local drive and are not cleared up until the user manually deletes them.
Very recently, I had run across a problem with Silverlight where temporary files (*.XCP) were being created in the temp folder when a user was using IE7 (or IE6). These continued to be created without getting cleared up. They were not cleared up even when the browser was closed. Only a manual delete removed these files.
 
Some explanations and solutions are given here[^].
 
Unfortunately for me, even adding GC.Collect() to the code did not fix this problem.
 
After further analysis, I was able to trace the problem down to this KB[^].
 
Installing IE Security update 969897[^], however, finally fixed this issue for me.
A link to this hotfix is also provided within the KB.
 
I thought I'd collate this information and post it in a tip to help anyone else who might encounter a similar problem.
 
Cheers

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Abhinav S
Software Developer (Senior)
India India
I don't know who I am.
Do you know who I am?

Comments and Discussions

 
GeneralThanks Nagy. PinmvpAbhinav S21-Aug-10 23:27 
GeneralReason for my vote of 5 Good info PinmemberNagy Vilmos21-Aug-10 10:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141220.1 | Last Updated 22 Aug 2010
Article Copyright 2010 by Abhinav S
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid