Expression Host Files being created

Posted on 2007-07-24
Last Modified: 2012-08-14
VB2005, using Report Viewer in local mode.
My program worked on all the PCs in the office. However, a new PC arrived last week, and reports won't generate on that pc.
 I get a message about
'C:\Documents and Settings\theusername\Local Settings\Temp\expression_host_abc12324334435435435 in use by another process'

In the temp folder, an expression host file seems to be generated just before the report is supposed to open. On all the other PCs, there are no expression_host files. Why are these files there?
I've tried other programs that use report viewer, and none will work on this pc.
Any ideas on how to fix it?

Question by:jdhackett
    LVL 24

    Accepted Solution

    There was some discussion on this at microsoft forums, see

    Anyway, someone had success by changing



    LVL 1

    Author Comment

    I saw that actually, but I have nothing like that in my code. I just used the standard
    Out of curiosity, I did try adding
    before the RefreshReport, but it made no difference.
    LVL 1

    Author Comment

    I still haven't this figured out. Any other suggestions?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Article by: Kraeven
    Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
    1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now