Click here to Skip to main content
11,721,385 members (81,861 online)
Click here to Skip to main content

Silverlight - temporary *.XCP files created

, 21 Aug 2010 CPOL 9.2K 1
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?

https://abhinavsblogdotcom.wordpress.com/

You may also be interested in...

Comments and Discussions

 
GeneralThanks Nagy. Pin
Abhinav S21-Aug-10 22:27
mvpAbhinav S21-Aug-10 22:27 
GeneralReason for my vote of 5 Good info Pin
Nagy Vilmos21-Aug-10 9:03
memberNagy Vilmos21-Aug-10 9: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
Web02 | 2.8.150901.1 | Last Updated 22 Aug 2010
Article Copyright 2010 by Abhinav S
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid