Click here to Skip to main content
15,505,126 members
Articles / IE
Tip/Trick
Posted 12 Jul 2010

Stats

16.4K views
1 bookmarked

Silverlight - temporary *.XCP files created

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
21 Aug 2010CPOL
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)


Written By
Software Developer (Senior)
India India

Comments and Discussions

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

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

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