Could not find file in Temp directory

Hey all!
I received the follwoing error when exporting a report into a pdf file using the ExportToStream method:
Could not find file "C:\DOCUME1\CHL0337\ASPNET\LOCALS1\Temp\export_e269c3d0-e775-4351-b2ea-09507859a79a.tmp".
I am using VS 2003 and CR 9.1.5, and I didn't have any problems with this report until I enlarged the header field for a column. After this error occurred, I reverted back to the original report, but it still threw the error. I then restarted IIS, rebuilt the application, and then ran the report again. Still no luck.
Any ideas on what is causing this problem? Is this a version issue?
(I have four other reports that are still working fine, it just seems to be this one report)

Here is the full dump of the error message:
Exception=System.IO.FileNotFoundException
Message=Could not find file "C:\DOCUME1\CHL0337\ASPNET\LOCALS1\Temp\export_d03e5522-a635-47c0-b649-a238063b0223.tmp".
FileName=C:\DOCUME1\CHL0337\ASPNET\LOCALS1\Temp\export_d03e5522-a635-47c0-b649-a238063b0223.tmp
TargetSite=Void WinIOError(Int32, System.String)
StackTrace= at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)
at FixedAssets.FAPageBase.InvokeCrystalReport(String ReportName) in c:\dev\source\comptrollers\fixedassets\dev\web\fapagebase.aspx.cs:line 588
at FixedAssets.Reports.CreateAssetDisposalsReport.btnRunReport_Click(Object sender, EventArgs e) in C:\dev\source\comptrollers\FixedAssets\Dev\web\Reports\AssetDisposalsReport.aspx.cs:line 70
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain()
Source=mscorlib

Similar Messages

  • Error when opening a new file: "Could not find the user documents directory"

    Why can't I create a new file and I get this error everytime: "Could not find the user documents directory"?

    Hi Team,
    Please check this forum thread with similar issue.
    Create New gives an error "Could not find the user document directory"
    Regards,
    Devendra

  • Logon failed. Details: mscorlib : Could not find file.... XSD

    I have been searching the forums and the web for hours and have not found a solution to a problem we are having.  We upgraded our reports from VS.NET 2003 to VS.NET 2008 and started getting the below error upon our Report.Export code.
    Logon failed. Details: mscorlib : Could not find file 'C:\Inetpub\wwwroot\xxx\ConsolidatedReports\Designers\xxxFringe\xxxFringeFunderDetail.xsd'. Failed to export the report. Error in File C:\WINDOWS\TEMP\temp_90ed8e07-481c-4bdb-8c50-885854a143d0 {B8EC61FE-7931-4979-AD92-432C21013D77}.rpt: Unable to connect: incorrect log on parameters.
    So when I verify the XSD and set the data source location (XML File Path: C:\Inetpub\wwwroot\xxx\ConsolidatedReports\Designers\xxxFringe\xxxFringe.xsd)  the report works fine.  The problem is that when another developer trys to run the report on their machine and their machine has a different path for the code, the report fails.  The odd thing is that some of our reports are working fine, it is only a few that basically are looking for the hard coded XSD path.
    So, as far as I can tell the XSD are not needed (Re: ADO.Net (XML) Data Source File Path).  I have applied SP1 for Crystal Reports.  I am totally confused why this started and why the report is looking for a "hard coded" path to the XSD.

    The RunReport is called by a button click on a form.  This method calls ExportFile which works until the line "Report.Export()" is hit. 
        Public Overrides Function RunReport(ByVal ReportID As Short) As String
            Dim Utility As New Utility(Session("CNReportPath"))
            Dim Report As New rptIndividualSalaryFringe
            Dim db As New BudgetDB(Session("CNReportPath"))
            Dim pDB As New ProgramDB(Session("CNReportPath"))
            Dim dsRep, dsSub As DataSet
            Dim AgencyID As Integer = Program1.AgencyID
            Dim ProgramID As Integer = Program1.ProgramID
            Dim FyID As Integer = FiscalYear1.SelectedValue
            Dim ShowOnlyCSCFunded As Integer = IIf(chkShowCSCFunded.Checked = True, 1, 0)
            Dim ContractNumber, AgencyName As String
            Dim ReportEnv As String = Environment
            Dim ReportDB As String = DBName
            dsRep = db.GetIndividualSalaryFringe(AgencyID, ProgramID, FyID, ShowOnlyCSCFunded)
            'dsRep.WriteXmlSchema(Server.MapPath("~/ConsolidatedReports/Designers/IndividualSalaryFringe/IndividualSalaryFringe.xsd"))
            AgencyName = pDB.GetAgencyName(AgencyID)
            With Report.Section1
                CType(.ReportObjects("txtAgency"), TextObject).Text = AgencyName
                CType(.ReportObjects("txtProgram"), TextObject).Text = pDB.GetProgramName(ProgramID)
                CType(.ReportObjects("txtFiscalYear"), TextObject).Text = "Fiscal Year " & FiscalYear1.SelectedText
            End With
            ContractNumber = pDB.GetContractNumber(ProgramID)
            If Not IsNothing(ContractNumber) Then
                If Not ContractNumber = "" Then
                    With Report.Section6
                        .SectionFormat.EnableSuppress = False
                        CType(.ReportObjects("txtContractNumber"), TextObject).Text = "Contract #:" & ContractNumber
                    End With
                End If
            End If
            With Report.Section5
                CType(.ReportObjects("txtAgencyName"), TextObject).Text = AgencyName
            End With
            If dsRep.Tables(0).Rows.Count <= 0 Then
                Report.secNoData.SectionFormat.EnableSuppress = False
                Report.Section2.SectionFormat.EnableSuppress = True
                Report.Section4.SectionFormat.EnableSuppress = True
                Report.Section7.SectionFormat.EnableSuppress = True
                Report.Section9.SectionFormat.EnableSuppress = True
                Report.Section10.SectionFormat.EnableSuppress = True
                Report.secFunderDetail.SectionFormat.EnableSuppress = True
            Else
                dsSub = db.GetIndividualSalaryFringeFunderDetail(ProgramID, FyID)
                'dsSub.WriteXmlSchema(Server.MapPath("~/ConsolidatedReports/Designers/IndividualSalaryFringe/IndividualSalaryFringeFunderDetail.xsd"))
                Report.OpenSubreport("subFunderDetail").SetDataSource(dsSub)
            End If
            'Ehn 41 add environment and db name
            CType(Report.Section5.ReportObjects("DBName"), TextObject).Text = "DB: " + ReportDB
            CType(Report.Section5.ReportObjects("Environment"), TextObject).Text = IIf(ReportEnv = "", ReportEnv, "Env: " + ReportEnv)
            Report.SetDataSource(dsRep)
            'You must set the ReportGroup equal to Crystal to make it work correctly
            ReportGroup = ReportGroup.Crystal
            'Leave this line of code
            ReportFile = Utility.ExportFile(Report, ExportFilter1.ExportType, Server.MapPath("~/ReportFiles/"))
            Return String.Empty
        End Function
        Public Function ExportFile(ByVal Report As ReportDocument, ByVal ExportType As ExportType, ByVal OutputPath As String, Optional ByVal ds As DataSet = Nothing) As String
            Dim crDiskFileOpts As New DiskFileDestinationOptions
            'Dim strFilePath As String
            'Dim strLinkPath As String
            Dim crExportOptions As New ExportOptions
            Dim crExcelOptions As New ExcelFormatOptions
            Dim crPDFOptions As New PdfRtfWordFormatOptions
            Dim crWordOptions As New PdfRtfWordFormatOptions
            Dim ReportName As String = String.Empty
            Try
                crExportOptions = Report.ExportOptions
                Select Case ExportType
                    Case ExportType.Excel
                        ReportName = Left(Guid.NewGuid.ToString, 15) & ".xls"
                        With crExcelOptions
                            .ExcelTabHasColumnHeadings = True
                            .ExcelUseConstantColumnWidth = True
                        End With
                        crExportOptions.ExportFormatType = ExportFormatType.Excel
                        crExportOptions.FormatOptions = crExcelOptions
                    Case ExportType.PDF
                        ReportName = Left(Guid.NewGuid.ToString, 15) & ".pdf"
                        crExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
                        crExportOptions.FormatOptions = crPDFOptions
                    Case ExportType.Word
                        ReportName = Left(Guid.NewGuid.ToString, 15) & ".doc"
                        crExportOptions.ExportFormatType = ExportFormatType.WordForWindows
                        crExportOptions.FormatOptions = crWordOptions
                    Case SamisConstants.ExportType.ExcelRaw
                        ReportName = Left(Guid.NewGuid.ToString, 15) & ".xls"
                        ''If Not IsNothing(ds) Then
                        ''    Dim oExcel As New ExcelExport.ExcelExport
                        ''    oExcel.CreateWorkbook(OutputPath & ReportName, ds)
                        ''End If
                End Select
                Select Case ExportType
                    Case ExportType.Excel, ExportType.PDF, ExportType.Word
                        crDiskFileOpts.DiskFileName = OutputPath & ReportName
                        With crExportOptions
                            .DestinationOptions = crDiskFileOpts
                            .ExportDestinationType = ExportDestinationType.DiskFile
                        End With
                        Report.Export() ' ERROR HAPPENS HERE!!!!!!
                End Select
                Return "ReportFiles/" & ReportName
            Catch ex As Exception
                Throw ex
            End Try
        End Function

  • Create New gives an error "Could not find the user document directory"

    Fresh installed Adobe Edge Animate CC (2014). When I try to Create New, I get an Error popup "Could not find the user document directory"

    I think this worked!
    I just downloaded an example file and tried opening from outside of the program. At first it gave me some errors but then loaded it up.
    After that I've re-saved it and now I can create new files and open files.
    Before that I also uninstalled old CC programs that were not showing in the Adobe Creative Cloud apps.

  • Helpd could not find access page in directory

    I'm getting the error "helpd could not find access page in directory" in the Console log when loging in. How do I stop these messages?
    Here's a snipped from the Log.
    4/22/12 8:26:14.873 PM helpd: Failed reading an alias at file://localhost/Library/Documentation/Help/.DS_Store: Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened." UserInfo=0x10076dc60 {}
    4/22/12 8:26:15.107 PM helpd: Could not find access page in directory /Library/Documentation/Help/TurboTax Books
    4/22/12 8:26:15.108 PM helpd: Could not find access page in directory /Library/Documentation/Help/TurboTax Books
    4/22/12 8:26:15.208 PM helpd: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    4/22/12 8:26:15.208 PM helpd: CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary.
    4/22/12 8:26:22.249 PM helpd: Could not find access page in directory /Applications/MoRU.app/Contents/Resources/MoRU Help
    4/22/12 8:26:22.254 PM helpd: Could not find access page in directory /Applications/MoRU.app/Contents/Resources/MoRU Help
    4/22/12 8:26:26.460 PM helpd: Failed reading an alias at file://localhost/Library/Documentation/Help/.DS_Store: Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened." UserInfo=0x10076dc60 {}
    4/22/12 8:26:26.470 PM helpd: Could not find access page in directory /Library/Documentation/Help/TurboTax Books
    4/22/12 8:26:26.470 PM helpd: Could not find access page in directory /Library/Documentation/Help/TurboTax Books
    4/22/12 8:28:38.990 PM com.apple.helpd: 2012-04-22 20:28:38.988 hiutil[84932:2007] nameLen <= 0!
    4/22/12 8:31:26.680 PM com.apple.helpd: 2012-04-22 20:31:26.678 hiutil[85589:2903] nameLen <= 0!
    4/22/12 8:31:26.681 PM com.apple.helpd: 2012-04-22 20:31:26.680 hiutil[85589:2903] nameLen <= 0!
    4/22/12 8:31:26.682 PM com.apple.helpd: 2012-04-22 20:31:26.681 hiutil[85589:2903] nameLen <= 0!
    4/22/12 8:31:26.682 PM com.apple.helpd: 2012-04-22 20:31:26.681 hiutil[85589:2903] nameLen <= 0!
    4/22/12 8:31:36.418 PM com.apple.helpd: 2012-04-22 20:31:36.416 hiutil[85629:2103] nameLen <= 0!

    Go to /Library/Documentation/Help and the corresponding folder in your user account (~/Library/Documentation/Help) and delete the items you no longer want. Relaunch Help Viewer and check.
    If the items are still there, close Help Viewer and trash these two cache folders in ~/Library/Caches:
    com.apple.helpui
    com.apple.helpviewer

  • Could not find file ERROR while connecting to access (mdb) file

    I am getting the following error while connecting to the database:
    javax.servlet.ServletException: [Microsoft][ODBC Microsoft Access Driver] Could not find file 'C:\WINNT\system32\Database1.mdb'.
    Following is my code:
    <%
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         String database="jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
         String filename="D://BeaTemp//Database1";
         database+= filename.trim() + ";DriverID=22;READONLY=true}";
         Connection con=DriverManager.getConnection(database, "", "");
         Statement st=con.createStatement();
         ResultSet rs=st.executeQuery("select * from Database1.Employee");
         ResultSetMetaData rsmd=rs.getMetaData();
         while(rs.next()){
              for(int i=1;i<=rsmd.getColumnCount();i++) {
                   out.println(rs.getString(i));
    %>
    What could be the problem..??
    Thankx in advance..
    Satish.

    Got the solution.
    The statement:
    ResultSet rs=st.executeQuery("select * from Database1.Employee");
    should be changed as:
    ResultSet rs=st.executeQuery("select * from Employee");
    Now, it is working fine.
    Regards,
    Satish.

  • Error could not find file/pathurl for id file::QTMRead

    Hi,
    I'm very puzzled as to this error I have gotten on multiple projects when trying to check back out.
    Error could not find file/pathurl for id file::QTMRead
    I'm halfway through a project with a deadline of next week, and have been using edit proxies, so am just worried about being able to export the final project if the Server cannot find the file.
    It seems to get this error after a glitchy upload where the server locks up and I have to force quit. Has anyone had this message before/have any ideas how to solve it?
    Some speedy help would be very much appreciated.
    Thanks,
    Dania

    You need to make sure that you imported the Reports.xml file into the FDM application. Also, you will want to login to the application using the workbench client and click on the Reports tab and expand the English > Check Reports and right-click on the check report and choose "Set as Validation Report".

  • Error: Could not find file for old Adobe Reader Bundle

    We are running Zenworks 11.2.3a (just upgraded to this version last week) on a linux server. Today, I received calls from a number of users, their computers were displaying the following error message:
    Could not find the file "/var/opt/novell/zenworks/content-repo/tmp/zpm/plp//windows/x86/en/E8833D51-5176-4B73-B6D2-A47603C3270D.plp" to install.
    They are getting this pop-up message 2 times every time Zenworks refreshes.
    I tried to find this file on the Zenworks server but the directory does not exist on the server. In fact, I can only navigate as far as /var/opt/novell/zenworks/content-repo/tmp/zpm - there is only one folder in this directory named dauzip.
    Here is the error message from the zmd-messages.log on one of the workstations:
    [GenericActions.FileCouldNotBeFound] [Could not find the file "/var/opt/novell/zenworks/content-repo/tmp/zpm/plp//windows/x86/en/E8833D51-5176-4B73-B6D2-A47603C3270D.plp" to install.] [] [fd868047b8dda3fab8f372c803a2a4f3]
    Any idea what's causing this error or how to fix it?

    No idea what is causing this.
    To fix, maybe just delete the bundle and create a new one ?

  • After using reset, i can't go to internet. box comes up "unhandled exception could not find file - c:\docum.....\mozi...\fire..prof\..3bn5nbjy. def.. It's in ol

    there was 2 options at the bottom of the box. one was to "continue" without fixing the exception,
    which I took. I don't remember option 2. I think I found the missing file under Desk Top icon "Old
    Firefox Data". The name of the file is - c:\documents and settings\bob\application data\mozilla\
    firefox\profiles\3bn5nbjy.default\prefs.js
    When I log on the Firefox home page comes up, I go to browser and click on AOL and the little
    grey rotating circle (counter clockwise) keeps going forever. never turns green.
    Hope this helps,
    Bob J

    Sounds that Firefox has been reset and a new profile got created and something went wrong with finishing the process.
    *https://support.mozilla.org/kb/reset-firefox-easily-fix-most-problems
    When Firefox is reset then a new profile is created and some personal data (bookmarks, history, cookies, passwords, form data) is automatically imported and the current profile folder will be moved to the desktop to an "Old Firefox Data" folder.
    Installed extensions and other customizations (toolbars, prefs) that you have made are lost and need to be redone.
    It is possible to recover more data from the old profile, but be cautious not to copy corrupted files to avoid carrying over the problem
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile

  • Could not find file while installing Flash Player

    I downloaded [Adobe Flash Player version 9.0.124.0 for Intel-based Macs|http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=shockwaveFlash] and when I began installing it, right before it was almost done, this window came up:
    and when I clicked OK, this window came up:
    What do I need to do to be able to install Flash Player on my computer?
    Thanks in advance,
    -thealexness

    Thanks for the help didi_vinyl, the uninstallation/installation went very smoothly. Yet I still have a when I go to this one website.
    The specific website I am trying to access is at PrincetonReview.com>Student Tools>Your Test Scores/Reports>Your New SAT Online Student Center Score Report>A Diagnostic Test. When you click on the link to the test, it gives you a whole 8 pages of analyzation (for any of you who have taken a Princeton Review Diagnostic Test you know what I'm talking about, and when I click the +Printer Friendly Version+ it gives me two pages with the .
    Now according to [this website|http://forums.macosxhints.com/showthread.php?t=83434] that discusses the appearance of :
    The "lego" means that you either are missing the Quicktime plugin for that image or have an outdated/wrong plugin installed. Check the folder /Library/Quicktime and re-install any plugins you have there to be sure you're using the Intel version.
    So I checked Macintosh HD>Library>Quicktime and I have the following components
    1. AppleIntermediateCodec.component
    2. CanonMJPEGAVI.component
    3. DivX Decoder.component
    4. DivX Encoder.component
    5. Flip4Mac WMV Advanced.component
    6. Flip4Mac WMV Export.component
    7. Flip4Mac WMV Import.component
    Apart from components 2-7, which I believe are third-party plug-ins, does it look like I am missing any key Quicktime components? Or is this even a Quicktime plug-in issue?
    Thanks for all of the help!
    -thealexness

  • CRM 2015 Installing fails: Action MicrosoftCrm.Setup.Server.BackupUpgradeDataAction Failed Could not find the file 'C:\intpub\wwwroot\web.config'.

    I don't have many issues... but when I do it is usually a bad one.   
    I took my CRM 2013 install running on Server 2008 and did an upgrade to server 2012 R2.  No issues.   All updates applied.  From there I run the CRM 2015 installer to run the upgrade..... Yes, running as admin, and after the "Pre Flight
    Check"  everything is good.   From there the install starts to copy files.....  I get this error. 
    00:16:43|   Info| CrmAction execution time; BackupUpgradeDataAction; 00:00:03.0020974
    00:16:43|  Error| System.Exception: Action Microsoft.Crm.Setup.Server.BackupUpgradeDataAction failed. ---> System.IO.FileNotFoundException: Could not find file 'C:\inetpub\wwwroot\web.config'.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
       at Microsoft.Crm.Setup.Server.BackupUpgradeDataAction.Do(IDictionary parameters)
       at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
    I am finding no references to this issue any where.   Looking for suggestions.   It appears that this file does not actually exist.   Somewhere during the upgrade maybe it got deleted.     I have put an old web.config file in this
    path, rebooted everything and still get the same error.
    Looking for some suggestions.
    Pierre Hulsebus

    Sounds like a problem with the information about where the Crm website is installed. Crm uses 2 registry values 'website' and 'websitepath' under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM. Do these look correct, and is the Crm website under c:\inetpub\wwwroot,
    or elsewhere ?
    The last part of the 'website' value is the website id, which you can see in IIS Manager
    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

  • Fix MSBuild error = Could not find .datasource file

    Hi,
    I have a VS2010 solution that I opened in VS2013 and followed the automatic conversion process.  After that I edited the TFS build process template to remove the extraneous references to Version=10.0.0.0 which were duplicated due to a VS2010 bug (I
    found a blog by an MS employee that pointed to this issue).  The solution builds fine from my VS2013 but when I submit it to TFS build server using the modified build process template, I get an error (please see attached) referring to missing .datasource
    file for one of the WCF projects.
    What could I do in terms of possible adding build parameters to the MSBuild or changes to the WCF project to remove this error?
    Thanks
    $/E2E/Root Controller/Main Branch/OATI.E2E.WebService.sln - 1 error(s), 218 warning(s)
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets (178): Unable to copy file "Service References\GridPortInfoService\WcfServiceE2E.GridPortInfoService.HardwareInfoResponse.datasource" to
    "D:\Builds\8\132\Binaries\WcfServiceE2E\_PublishedWebsites\WcfServiceE2E\Service References\GridPortInfoService\WcfServiceE2E.GridPortInfoService.HardwareInfoResponse.datasource". Could not find file 'Service References\GridPortInfoService\WcfServiceE2E.GridPortInfoService.HardwareInfoResponse.datasource'.

    Hi LongD, 
    Thanks for your post.
    What’s the version of your TFS, TFS 2010 or TFS 2013?
    You want convert your VS 2010 solution to VS 2013 version, and built it using TFS 2013 Build?
    On your current build agent machine, try to manually build your converted solution using VS 2013 and MSBuild command separately, ensure you can manually build your solution on build agent machine successfully. If cannot manually build on build agent machine,
    please resolve this manually build issue first.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Could not find config tool in my installation

    Hi,
    I wanted to use configtool. but when i check the installation, i could not find it in install directory
    Drive:\usr\sap\EPP\J01\j2ee\configtool
    There is only one file in this dir.
    config.properties
    In one other installation I have configtool and its working. Can I copy configtool files from there except config.properties and use it for the instance which does not have it?
    This is urgent!
    Regards,

    Hi,
    Use configtool installed on a central J2EE instance, looks like you are trying to run it from dialog J2EE instance
    Regards,
    Mike

  • Moving files to another directory got an error message [File System Task] Error: An error occurred with the following error message: "Could not find a part of the path.".

    Hi all,
    I am having a list of files in a folder named datafiles and I am processing them one by one when I finish each one I want to move the file into a folder archive.
    I am having a variable named filename and archivefilename and two fileconnections  one is originalfiles and archivefiles
    archivefilename=replace( @[User::filename],"datafiles","archive")
    orginalfiles connection is an expression =@user:filename
    archivefies connection is an expression=@user:archivefilename
    the filename comes from reading the folder that contains those files
    public void Main()
                string[] filenames;
                filenames = Directory.GetFiles(@"C:\luminis\datafiles\");
                Array.Sort(filenames);
                Dts.Variables["filelist"].Value = filenames;
                Dts.TaskResult = (int)ScriptResults.Success;
    The folder c:\luminis\archive\ exists
    why I am getting this error
    My filesystem task : destinationpathvariable =false
    destinationconnection:archivefile
    overwrite=true
    operation=movefile
    issourcepathvariable=false
    sourceconnection=original file
    why am i getting this error[File System Task] Error: An error occurred with the following error message: "Could not find a part of the path.".
    sohairzaki

    there may be 2 problem...
    1> specify a target directory only, not with the file name. 
    OR
    2> Try using the unc,path format \\computername\sharename\
    let us know your observation...
    Let us TRY this | Mail me
    My Blog :: http://quest4gen.blogspot.com/

  • Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site

    Have an existing ex2010 sp3 organization.
    Could not run ex2013cu1 setup from my newly built 2012 server, getting the error in the subject line.  I used the command line to run the AD preparation steps successfully from my 2012 DC/GC, then tried to run setup again from the new 2012 server and
    still get the same error.  The error itself in the log is pretty useless:
    [05/07/2013 01:19:13.0137] [0] **********************************************
    [05/07/2013 01:19:13.0137] [0] Starting Microsoft Exchange Server 2013 Cumulative Update 1 Setup
    [05/07/2013 01:19:13.0137] [0] **********************************************
    [05/07/2013 01:19:13.0152] [0] Local time zone: (UTC-08:00) Pacific Time (US & Canada).
    [05/07/2013 01:19:13.0152] [0] Operating system version: Microsoft Windows NT 6.2.9200.0.
    [05/07/2013 01:19:13.0152] [0] Setup version: 15.0.620.29.
    [05/07/2013 01:19:13.0152] [0] Logged on user: DOMAIN\ADMINISTRATOR.
    [05/07/2013 01:19:13.0168] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [05/07/2013 01:19:13.0168] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [05/07/2013 01:19:13.0215] [0] Command Line Parameter Name='sourcedir', Value='\\h1\f$\junk\installers\server\Exchange\2013cu1'.
    [05/07/2013 01:19:13.0215] [0] Command Line Parameter Name='mode', Value='Install'.
    [05/07/2013 01:19:13.0215] [0] RuntimeAssembly was started with the following command: '/sourcedir:\\SERVER\f$\junk\installers\server\Exchange\2013cu1 /mode:Install'.
    [05/07/2013 01:19:13.0215] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [05/07/2013 01:19:13.0793] [0] Finished loading screen CheckForUpdatesPage.
    [05/07/2013 01:19:38.0762] [0] Finished loading screen UpdatesDownloadsPage.
    [05/07/2013 01:19:40.0496] [0] Starting file's copying...
    [05/07/2013 01:19:40.0496] [0] Setup copy files from '\\SERVER\f$\junk\installers\server\Exchange\2013cu1\Setup\ServerRoles\Common' to 'C:\Windows\Temp\ExchangeSetup'
    [05/07/2013 01:19:40.0700] [0] Finished loading screen CopyFilesPage.
    [05/07/2013 01:19:40.0840] [0] Disk space required: 1292445007 bytes.
    [05/07/2013 01:19:40.0840] [0] Disk space available: 23767240704 bytes.
    [05/07/2013 01:19:59.0762] [0] File's copying finished.
    [05/07/2013 01:19:59.0965] [0] Finished loading screen InitializingSetupPage.
    [05/07/2013 01:20:02.0934] [0] Setup is choosing the domain controller to use
    [05/07/2013 01:20:09.0325] [0] Setup is choosing a local domain controller...
    [05/07/2013 01:20:11.0794] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency. 
    See the Exchange setup log for more information on this error.
    [05/07/2013 01:20:11.0794] [0] [ERROR] Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.
    [05/07/2013 01:20:11.0809] [0] Setup will use the domain controller ''.
    [05/07/2013 01:20:11.0809] [0] Setup will use the global catalog ''.
    [05/07/2013 01:20:11.0825] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'.
    [05/07/2013 01:20:11.0919] [0] Exchange organization container for the organization is 'CN=DOMAIN,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=local'.
    [05/07/2013 01:20:11.0966] [0] Setup will search for an Exchange Server object for the local machine with name 'WEX1'.
    [05/07/2013 01:20:12.0028] [0] No Exchange Server with identity 'WEX1' was found.
    [05/07/2013 01:20:12.0044] [0] The following roles have been unpacked:
    [05/07/2013 01:20:12.0044] [0] The following datacenter roles are unpacked:
    [05/07/2013 01:20:12.0044] [0] The following roles are installed:
    [05/07/2013 01:20:12.0059] [0] The local server does not have any Exchange files installed.
    [05/07/2013 01:20:12.0075] [0] Server Name=WEX1
    [05/07/2013 01:20:12.0137] [0] Setup will use the path '\\SERVER\f$\junk\installers\server\Exchange\2013cu1' for installing Exchange.
    [05/07/2013 01:20:12.0137] [0] The installation mode is set to: 'Install'.
    [05/07/2013 01:20:27.0591] [0] An Exchange organization with name 'DOMAIN' was found in this forest.
    [05/07/2013 01:20:27.0591] [0] Active Directory Initialization status : 'False'.
    [05/07/2013 01:20:27.0591] [0] Schema Update Required Status : 'False'.
    [05/07/2013 01:20:27.0591] [0] Organization Configuration Update Required Status : 'False'.
    [05/07/2013 01:20:27.0591] [0] Domain Configuration Update Required Status : 'False'.
    [05/07/2013 01:20:27.0841] [0] Applying default role selection state
    [05/07/2013 01:20:27.0872] [0] Setup is determining what organization-level operations to perform.
    [05/07/2013 01:20:27.0872] [0] Because the value was specified, setup is setting the argument OrganizationName to the value DOMAIN.
    [05/07/2013 01:20:27.0872] [0] Setup will run from path 'C:\Windows\Temp\ExchangeSetup'.
    [05/07/2013 01:20:27.0888] [0] InstallModeDataHandler has 0 DataHandlers
    [05/07/2013 01:20:27.0888] [0] RootDataHandler has 1 DataHandlers
    [05/07/2013 01:20:27.0903] [0] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.  See
    the Exchange setup log for more information on this error.
    [05/07/2013 01:20:27.0935] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency. 
    See the Exchange setup log for more information on this error.
    [05/07/2013 01:21:04.0154] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [05/07/2013 01:21:04.0154] [0] End of Setup
    [05/07/2013 01:21:04.0154] [0] **********************************************

    Hi,
    The cause is clearly described in the log:
    [05/07/2013 01:20:11.0794] [0] [ERROR] Setup encountered a problem while validating the state of Active Directory: Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency. 
    See the Exchange setup log for more information on this error.
    [05/07/2013 01:20:11.0794] [0] [ERROR] Could not find information about the local site. This can be caused by incorrect configuration of subnets or sites or by replication latency.
    I'd suggest you check NIC settings and AD configuration.
    Hope it is helpful.
    Fiona Liao
    TechNet Community Support

Maybe you are looking for

  • System Image Utility

    Hi All, When I try and open system image utility I get an error that just reads that I have no sources when in fact I do. I have a 15GB DMG Image that I would like to install over the network for our computer labs that I have placed in the NetBootSP0

  • Error in F-53. Tax code A0 Does not appear in any G/L account item

    Hi All, I am executing Tx FB60(Enter Vendor Invoice). I have not selected any Tax code, but it's appearing automatically. And when I try to save the invoice I get the above mentioned error. How to have this error removed and create a vendor invoice s

  • Adobe PDF/Acroforms & Digital signatures/Integrity/Authentication/Non repudiation

    Hi folks, I have been investigation the feasibility of using PDF as a customer-facing data collection mechanism, starting with Acroforms for a pilot, initially at least (we may consider XFA/Livecycle in a later phase). I've got a demo application up

  • Temporal compression conforming HDV  1080i60 to 23.98fps

    Footage was shot on Sony EX1. Then Sony's transfer tool was used to bring it into FCP. Before import, the file says it is 59.94i (23.98p). In final cut it says 29.97 (basically the same). The footage needs to be changed in 23.98 fps. In cinema tools,

  • How to supress tab key stopping at lables

    Hi everyone, after upgrading to 5.0 from 4.02 and changing the theme to 26 (productivity), there is now a problem with the tab key. Before, the tab key moved the entry scope simply to the next dialog field or list value; now the tab stops also at the