Server Error in '/' Application.

Cannot create a file when that file already 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: Cannot create a file when that file already exists.


Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[IOException: Cannot create a file when that file already exists.
]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +10577909
   System.IO.File.Move(String sourceFileName, String destFileName) +351
   NewGotumba.TechSheets.RenameThem() in D:\Votumba\Websites 2.25.2017\POSCO\NewGotumba\TechSheets.aspx.cs:40
   NewGotumba.TechSheets.OnInit(EventArgs e) in D:\Votumba\Websites 2.25.2017\POSCO\NewGotumba\TechSheets.aspx.cs:25
   System.Web.UI.Control.InitRecursive(Control namingContainer) +143
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1477


Version Information: Microsoft .NET Framework Version:2.0.50727.9044; ASP.NET Version:2.0.50727.9047