Skip to content

Infragistics Community Forum / Web / Ultimate UI for ASP.NET Web Forms / System.IO.IOException: The file exists Exception while opening charts

System.IO.IOException: The file exists Exception while opening charts

New Discussion
LingaReddy
LingaReddy asked on Sep 21, 2009 3:42 PM

Hi,

  I am using Infragistics with ASP.Net 1.1 .  I am receiving the following error in production

while opening the screens contains charts. It is working fine when i tried in my local PC.

Could any one please help me quickly to solve this issue.

 

The file exists.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.IOException: The file exists.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[IOException: The file exists.
]
   System.IO.__Error.WinIOError(Int32 errorCode, String str) +723
   System.IO.Path.GetTempFileName() +90
   Infragistics.WebUI.UltraWebChart.UltraChart..ctor() +504
   _ASP.StaffPerformanceGraph_aspx.__BuildControlfrmStaffPerformance() +188
   _ASP.StaffPerformanceGraph_aspx.__BuildControlTree(Control __ctrl) +14
   _ASP.StaffPerformanceGraph_aspx.FrameworkInitialize() +30
   System.Web.UI.Page.ProcessRequest() +85
   System.Web.UI.Page.ProcessRequest(HttpContext context) +18
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87

 

 

 

Regards,

LingaReddy

Sign In to post a reply

Replies

  • 0
    Pablo Orlando M. Huezo
    Pablo Orlando M. Huezo answered on Sep 21, 2009 2:53 PM

    HI klreddy1981,

    I WAS HAVING THE SAME PROBLEM THAT YOU HAVE, LET ME EXPLAIN YOU A LITTLE OF THE RESULTING SCREEN.

    FIRST, I SUPPOSE THAT THIS PROBLEM IS WHEN YOU TRY TO VIEW THE WEB PAGE, RIGHT? AND SECOND, THAT THE WEB PAGE IS RUNNING IN A SERVER THAT IS NOT YOU PC, RIGHT?

    WELL, IF THAT IS THE CASE, THE PROBLEM IS BECAUSE YOU NEED TO INSTALL INFRAGISTIC CONTROL IN THE SERVER.


    IF IS NOT THE CASE, THAT EXCEPTION OCCURS WHEN THE OS FINDS A FILE, MAYBE YOU ARE TRYING TO MODIFY IT THOUGHT CODE, TRY TO USE TRY – CATCH BLOCKS TO DELIMIT THE ERROR, IT COULD HELP IF YOU PUT THE PART OF THE CODE WHERE YOU ARE USING SOME KIND OF FILE TO GET A BETTER IDEA OF WHAT ARE WE DEALING HERE…    

  • 0
    David Negley
    David Negley answered on Sep 21, 2009 3:42 PM

    LingaReddy,

    I think this is an issue with the temp folder on your server.  see this article: http://blog.jtbworld.com/2008/12/systemioioexception-file-exists-and.html

    or

    http://www.google.com/search?q=gettempfilename+The+file+exists

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
LingaReddy
Favorites
0
Replies
2
Created On
Sep 21, 2009
Last Post
17 years ago

Suggested Discussions

Created by

Created on

Sep 21, 2009 3:42 PM

Last activity on

Feb 16, 2026 9:47 PM