Known Issue: MIDL fails to compile IDL files in UAP projects. Gives following error: midlrt : error MIDL4034: Failed to load a dependency file. Windows.winmd (HRESULT:0x80070002 - The system cannot find the file specified. )

Visual Studio gives the following error:
midlrt : error MIDL4034: Failed to load a dependency file. Windows.winmd (HRESULT:0x80070002 - The system cannot find the file specified. )
This is because Visual Studio is looking for a WinMD file that contains the base types.  Unfortunately the metadata path passed by default to MIDL through Visual Studio does not resolve to the correct file.

Work around:
Update the "Additional Metadata Directories" for MIDL to include the Windows.Foundation.FoundationContract.WinMD
To update the “Additional Metadata Directories” in Visual Studio, do the following:
1)  Right click on your C++ Project file.
2)  Choose properties.
3)  Under Configuration Properties, click MIDL
4)  Under MIDL choose “Command Line”
5)  In the Additional Options text box enter:
/Metadata_dir "C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.FoundationContract\1.0.0.0”
or on X86 machines
/Metadata_dir "C:\Program Files\Windows Kits\10\References\Windows.Foundation.FoundationContract\1.0.0.0”

Similar Messages

  • Error in Java compilation: \s7u.log (The system cannot find the file specified)

    Hi there,
    I got an error when I tried to compile a group of sqlj and java files. The error below:
    ----------------------------------------------sqlj -status -passes -compile=true -ser2class -d=. -classpath=.;%CLASSPATH% E:\work\src\java\com\interadnet\persistence\*.sqlj E:\work\src\java\com\interadnet\persistence\*.java
    out [Translating 53 files]
    out [Reading file AdServerInformationType]
    out [Reading file AdsType]
    out [Reading file AgencyType]
    out [Reading file CampaigntocompletionType]
    out [Reading file CampaignType]
    out [Reading file ChannelType]
    out [Reading file ClientType]
    out [Reading file CompletionType]
    out [Reading file ContactType]
    out [Reading file CreativeType]
    out [Reading file FtpServerType]
    out [Reading file InsertioninstructionType]
    out [Reading file MediaServerType]
    out [Reading file SystemPropertyType]
    out [Reading file VendorType]
    out [Reading file AdServerInformationTypeRef]
    out [Reading file AdServerInformationView]
    out [Reading file AdsTypeRef]
    out [Reading file AdsView]
    out [Reading file AgencyTypeRef]
    out [Reading file AgencyView]
    out [Reading file CampaigntocompletionTypeRef]
    out [Reading file CampaignToCompletionView]
    out [Reading file CampaignTypeRef]
    out [Reading file CampaignTypeRefs]
    out [Reading file CampaignView]
    out [Reading file ChannelTypeRef]
    out [Reading file ChannelTypeRefs]
    out [Reading file ChannelView]
    out [Reading file ClientTypeRef]
    out [Reading file ClientTypeRefs]
    out [Reading file ClientView]
    out [Reading file CompletionTypeRef]
    out [Reading file CompletionTypeRefs]
    out [Reading file CompletionView]
    out [Reading file ContactTypeRef]
    out [Reading file ContactView]
    out [Reading file CreativeTypeRef]
    out [Reading file CreativeTypeRefs]
    out [Reading file CreativeView]
    out [Reading file FtpServerTypeRef]
    out [Reading file FtpServerView]
    out [Reading file InsertioninstructionTypeRef]
    out [Reading file InsertioninstructionTypeRefs]
    out [Reading file InsertionInstructionView]
    out [Reading file MediaServerTypeRef]
    out [Reading file MediaServerView]
    out [Reading file SystemPropertyTypeRef]
    out [Reading file SystemPropertyTypeRefs]
    out [Reading file SystemPropertyView]
    out [Reading file VendorTypeRef]
    out [Reading file VendorTypeRefs]
    out [Reading file VendorView]
    out [Translating file AdServerInformationType]
    out [Translating file AdsType]
    out [Translating file AgencyType]
    out [Translating file CampaigntocompletionType]
    out [Translating file CampaignType]
    out [Translating file ChannelType]
    out [Translating file ClientType]
    out [Translating file CompletionType]
    out [Translating file ContactType]
    out [Translating file CreativeType]
    out [Translating file FtpServerType]
    out [Translating file InsertioninstructionType]
    out [Translating file MediaServerType]
    out [Translating file SystemPropertyType]
    out [Translating file VendorType]
    out [Translating file AdServerInformationTypeRef]
    out [Translating file AdServerInformationView]
    out [Translating file AdsTypeRef]
    out [Translating file AdsView]
    out [Translating file AgencyTypeRef]
    out [Translating file AgencyView]
    out [Translating file CampaigntocompletionTypeRef]
    out [Translating file CampaignToCompletionView]
    out [Translating file CampaignTypeRef]
    out [Translating file CampaignTypeRefs]
    out [Translating file CampaignView]
    out [Translating file ChannelTypeRef]
    out [Translating file ChannelTypeRefs]
    out [Translating file ChannelView]
    out [Translating file ClientTypeRef]
    out [Translating file ClientTypeRefs]
    out [Translating file ClientView]
    out [Translating file CompletionTypeRef]
    out [Translating file CompletionTypeRefs]
    out [Translating file CompletionView]
    out [Translating file ContactTypeRef]
    out [Translating file ContactView]
    out [Translating file CreativeTypeRef]
    out [Translating file CreativeTypeRefs]
    out [Translating file CreativeView]
    out [Translating file FtpServerTypeRef]
    out [Translating file FtpServerView]
    out [Translating file InsertioninstructionTypeRef]
    out [Translating file InsertioninstructionTypeRefs]
    out [Translating file InsertionInstructionView]
    out [Translating file MediaServerTypeRef]
    out [Translating file MediaServerView]
    out [Translating file SystemPropertyTypeRef]
    out [Translating file SystemPropertyTypeRefs]
    out [Translating file SystemPropertyView]
    out [Translating file VendorTypeRef]
    out [Translating file VendorTypeRefs]
    out [Translating file VendorView]
    out [Compiling 53 Java files]
    err*** The following character string is too long:
    err***
    out Error in Java compilation: \s7u.log (The system cannot find the file specified)
    Any suggestion appreciated.
    Daniel Huang

    Having not seen this before, I assume that the issue is that the command line string is too long when Javac is invoked.
    Here are a few things to reduce the size of the command line:
    - do not use the CLASSPATH option, but set the CLASSPATH environment variable (you can to that in a .bat file)
    - do not provide the .java files but rely on the implicit make capability in both, the SQLJ translator and the Java compiler. (Note: you must mention all of the .sqlj files that your program requires, do not rely on implicit make to find all of those.)
    - you can perform the -ser2class conversion as a separate step (see the SQLJ FAQ), as well as the Java compilation
    - there may or may not be a facility in your operating system to increase the size of the environment (and this may or may not have an effect on the maximum command line length)
    - you could try to omit the -passes option and see if that helps (that may actually be where your invocation if failing in the first place, in that it cannot write to some temporary file).
    Let us know how it goes. Thanks!

  • System call failed. Error 2 (The system cannot find the file specified. ) in execution of system call 'CreateProcessAsUser' with parameter ( , NULL,  Program Files/sapinst_instdir/BS2011/ERP606/AS-ABAP/SYB/HA/DB, &StartupInfo, &ProcessInfo),

    Dear All,
    I am getting a below error while doing ehp6 installation on sybase (high availbility )
    can any one help me on this..?
    An error occurred while processing option SAP Business Suite 7i 2011 > Enhancement Package 6 for SAP ERP 6.0 > SAP Application Server ABAP > SAP ASE > High-Availability System > Database Instance( Last error reported by the step: System call failed. Error 2 (The system cannot find the file specified. ) in execution of system call 'CreateProcessAsUser' with parameter ( , NULL,  Program Files/sapinst_instdir/BS2011/ERP606/AS-ABAP/SYB/HA/DB, &StartupInfo, &ProcessInfo), line (646) in file (d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp), stack trace: d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\ejscontroller.cpp: 181: EJSControllerImpl::executeScript() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\jsextension.hpp: 1059: CallFunctionBase::call() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\osmod\iaxxbprocess.cpp: 423: CIaOsProcess::start_impl() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 238: CSyChildApplicationImpl::start(false) d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 262: CSyChildApplicationImpl::doStart() .). You can no
    Regards,
    Letz..

    Hello Mauricio.
    Thanks
    Two Thinks:
    1.- This error appears precisely in the process of creating SAP users including you mention sidadm:
          A.- Execute sapinst
          B.- Installation option is chosen
                SAP NetWeaver CE Production Edition
                        Installation Options
                            High-Availability System
                                  Central Service  Instance (SCS)
           c.- System ID, Next and appear message error
    2.- However, the user manually create sidadm, I gave the permissions you indicate, and the error message is the same
    Thanks

  • The NLS operation failed because the registry key Control Panel\International\User Profile cannot be opened. Error code is 2. Error message: The system cannot find the file specified.

    H,
    Since upgrading Windows server 2008 R2 to Server 2012 Standard edition, we get this repetitious critical error in the event log:
    Event 1001
    Op Code NLS initialization
    The NLS operation failed because the registry key Control Panel\International\User Profile cannot be opened. Error code is 2. Error message: The system cannot find the file specified.
    We originally found that the regional date settings after changing them in regional settings (DD/MM/YYYY) and they did not inherit properly from the upgrade but they are ok now. 
    I've looked at HKCU\.Default\Control Panel\International and nothing looks obviously wrong. Country codes, time & date formats are correct.
    How do we ascertain the  cause of this error and the specific registry key that might be problematic?

    Hi,
    This could be caused by firewall rules or security softwares.
    http://www.tomshardware.com/forum/242579-44-hkcu-control-panel-international-opened
    And in addition, the fix is worth a try.
    Nothing happens when you double-click "Region" in Control Panel 
    http://support.microsoft.com/kb/2958845
    Please Note: Since the first web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

  • MDT2012 - Deployment failed, the system cannot find the file specified

    Hi everybody. 
    First, excuse me for my english, i think it's not the best thing I'm able to do, but now, I REALLY need help. 
    I encounter issues with my MDT 2012 Update 1 platform. 
    I have 5 systems to capture. All systems have 3 partitions (System, softwares, data). Capture is working fine for all parts. 
    In my Task Sequence, to deploy these images (C, D and E parts), I use a script after the "Install Operating System" which runs imagex to deploy the WIM images for D: and E:. 
    The script is the following : 
    "%DeployRoot%\Tools\x64\imagex" /apply "%DeployRoot%\Operating Systems\D_Drive\D_Drive.wim" 1 %DDrive%"
    But, for some images, the task fails on the "D" drive deployement. The wizard shows the following error : 
    Litetouch deployment dailed, return code = -214767259 0x80004005
    Failed to run the action: InstallD (ie : the script above)
    The system cannot find the file specified. (Error: 00000002; Source: Windows)
    The error is on my task which uses imagex to deploy my D and E WIM.
    So I looked to see if the file's path was the good one. 
    And it is !!!
    Wizard says that the file couldn't be find, but the file is existing, and in the good path. 
    For your information, there is no problem when I don't use multicast. Everything is working fine on unicast, not on multicast. 
    I even encounter this issue if I use my MDT server and my computers on the same switch. 
    Any help would be gratefull, my client gives me the week to resolve the issue. 
    Thanks 

    BDD.LOG
    <![LOG[Microsoft Deployment Toolkit version: 6.1.2373.0]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[The task sequencer log is located at X:\WINDOWS\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Write all logging text to \\192.168.36.208\Logs$]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Validating connection to \\192.168.36.208\Logs$]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Already connected to server 192.168.36.208 as that is where this script is running from.]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Will boot into Windows PE architecture x64 to match OS being deployed.]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[OSDTargetDriveCache was determined earlier : V:]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Property OSDTargetDriveCache is now = V:]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Property OSDisk is now = V:]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ Open Control File: OperatingSystems]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[------  Applying Windows image using ImageX.exe ------]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[LTI applying image \\192.168.36.208\MDT$\Operating Systems\Master 3 avec Sysprep\CAPT.wim using ImageX]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Event 41023 sent: LTI applying image \\192.168.36.208\MDT$\Operating Systems\Master 3 avec Sysprep\CAPT.wim using ImageX]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Property SourcePath is now = \\192.168.36.208\MDT$\Operating Systems\Master 3 avec Sysprep]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Multicast transfer to directory: C:\MININT\Operating Systems\Master 3 avec Sysprep]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[<Message containing password has been suppressed>]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Command has been started (process ID 1348)]LOG]!><time="16:53:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ZTI Heartbeat: command has been running for 0 minutes (process ID 1348)]LOG]!><time="16:53:57.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Event 41003 sent: ZTI Heartbeat: command has been running for 0 minutes (process ID 1348)]LOG]!><time="16:53:57.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > 
    ]LOG]!><time="16:53:57.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Transfer Started.
    ]LOG]!><time="16:53:57.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ZTI Heartbeat: command has been running for 5 minutes (process ID 1348)]LOG]!><time="16:58:01.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Event 41003 sent: ZTI Heartbeat: command has been running for 5 minutes (process ID 1348)]LOG]!><time="16:58:01.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > 
    ]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Transfer Complete [0x0].]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Return code from command = 0]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Multicast transfer of "\\192.168.36.208\MDT$\Operating Systems\Master 3 avec Sysprep\CAPT.wim" to "C:\MININT\Operating Systems\Master 3 avec Sysprep\CAPT.wim" completed successfully.]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply"
    context="" type="1" thread="" file="LTIApply">
    <![LOG[Cleaning off old operating system]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Skipping V:\Drivers]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[New ZTIDiskPartition : \\MININT-1H9O4H6\root\cimv2:Win32_LogicalDisk.DeviceID="V:"    \\MININT-1H9O4H6\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #0"]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply"
    context="" type="1" thread="" file="LTIApply">
    <![LOG[Enabling 8dot3 name support on volume V:]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[About to run command: "\\192.168.36.208\MDT$\Tools\X64\imagex.exe"  /apply "C:\MININT\Operating Systems\Master 3 avec Sysprep\CAPT.wim" 1 V:]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread=""
    file="LTIApply">
    <![LOG[Command has been started (process ID 536)]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > ImageX Tool for Windows]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Copyright (C) Microsoft Corp. All rights reserved.]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Version: 6.1.7600.16385]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > [   0% ] Applying progress ]LOG]!><time="17:00:43.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > [   0% ] Applying progress ]LOG]!><time="17:00:49.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > [   1% ] Applying progress ]LOG]!><time="17:00:49.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > [   2% ] Applying progress ]LOG]!><time="17:00:55.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > [   3% ] Applying progress ]LOG]!><time="17:00:58.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > [   4% ] Applying progress: 5:28 mins remaining ]LOG]!><time="17:01:03.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > [   5% ] Applying progress: 5:33 mins remaining ]LOG]!><time="17:01:07.000+000"
    <![LOG[  Console > [  99% ] Applying progress: 3 secs remaining ]LOG]!><time="17:06:43.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > [ 100% ] Applying progress ]LOG]!><time="17:06:50.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Successfully applied image.]LOG]!><time="17:06:51.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Total elapsed time: 6 min 7 sec]LOG]!><time="17:06:51.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Return code from command = 0]LOG]!><time="17:06:51.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Property LTIDirtyOS is now = TRUE]LOG]!><time="17:06:51.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[The image C:\MININT\Operating Systems\Master 3 avec Sysprep\CAPT.wim was applied successfully.]LOG]!><time="17:06:51.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Event 5625 sent: The image C:\MININT\Operating Systems\Master 3 avec Sysprep\CAPT.wim was applied successfully.]LOG]!><time="17:06:51.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[About to run command: "\\192.168.36.208\MDT$\Tools\X64\bootsect.exe"  /nt60 V:]LOG]!><time="17:06:52.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Command has been started (process ID 1252)]LOG]!><time="17:06:52.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Target volumes will be updated with BOOTMGR compatible bootcode.
    ]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > 
    ]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > V: (\\?\Volume{2ab15dec-99c9-19e3-baf6-94de80bab573})
    ]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > 
    ]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console >     Successfully updated NTFS filesystem bootcode.
    ]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > 
    ]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Bootcode was successfully updated on all targeted volumes.
    ]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Return code from command = 0]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Find the boot drive (if any) [True] [6.1.7601.18229] [False]]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[New ZTIDiskPartition : \\MININT-1H9O4H6\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #0"    \\MININT-1H9O4H6\root\cimv2:Win32_LogicalDisk.DeviceID="V:"]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply"
    context="" type="1" thread="" file="LTIApply">
    <![LOG[New ZTIDisk : \\MININT-1H9O4H6\root\cimv2:Win32_DiskDrive.DeviceID="\\\\.\\PHYSICALDRIVE0"]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Found bootable drive (No Boot File Test) [ V: ]: \\MININT-1H9O4H6\root\cimv2:Win32_LogicalDisk.DeviceID="V:"]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Ready to Prepare boot partition: V:]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[About to run command: cscript.exe //nologo "\\192.168.36.208\MDT$\Scripts\ztiRunCommandHidden.wsf" ""\\192.168.36.208\MDT$\Tools\X64\BCDBoot.exe" V:\windows /l fr-fr  /s V:"]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="LTIApply"
    context="" type="1" thread="" file="LTIApply">
    <![LOG[Microsoft Deployment Toolkit version: 6.1.2373.0]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="ztiRunCommandHidden" context="" type="1" thread="" file="ztiRunCommandHidden">
    <![LOG[The task sequencer log is located at X:\WINDOWS\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="ztiRunCommandHidden" context="" type="1" thread=""
    file="ztiRunCommandHidden">
    <![LOG[Write all logging text to \\192.168.36.208\Logs$]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="ztiRunCommandHidden" context="" type="1" thread="" file="ztiRunCommandHidden">
    <![LOG[Validating connection to \\192.168.36.208\Logs$]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="ztiRunCommandHidden" context="" type="1" thread="" file="ztiRunCommandHidden">
    <![LOG[Already connected to server 192.168.36.208 as that is where this script is running from.]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="ztiRunCommandHidden" context="" type="1" thread="" file="ztiRunCommandHidden">
    <![LOG[About to run command: \\192.168.36.208\MDT$\Tools\X64\BCDBoot.exe V:\windows /l fr-fr  /s V:]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="ztiRunCommandHidden" context="" type="1" thread="" file="ztiRunCommandHidden">
    <![LOG[Command has been started (process ID 1984)]LOG]!><time="17:06:54.000+000" date="02-19-2014" component="ztiRunCommandHidden" context="" type="1" thread="" file="ztiRunCommandHidden">
    <![LOG[  Console > Boot files successfully created.]LOG]!><time="17:06:55.000+000" date="02-19-2014" component="ztiRunCommandHidden" context="" type="1" thread="" file="ztiRunCommandHidden">
    <![LOG[Return code from command = 0]LOG]!><time="17:06:55.000+000" date="02-19-2014" component="ztiRunCommandHidden" context="" type="1" thread="" file="ztiRunCommandHidden">
    <![LOG[Command has returned: 0]LOG]!><time="17:06:55.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Run Command: X:\WINDOWS\SYSTEM32\bcdedit.exe /Store "V:\boot\bcd" /timeout 0]LOG]!><time="17:06:55.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[BCD> The operation completed successfully.]LOG]!><time="17:06:55.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[BCDEdit returned ErrorLevel = 0]LOG]!><time="17:06:55.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Created scratch folder.]LOG]!><time="17:06:55.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Copy File: C:\MININT\unattend.xml to V:\Windows\Panther\Unattend.xml]LOG]!><time="17:06:55.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Copied unattend.xml to V:\Windows\Panther for image apply.]LOG]!><time="17:06:55.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[About to run command: dism.exe /Image:V:\ /Apply-Unattend:V:\Windows\Panther\Unattend.xml /ScratchDir:C:\MININT\Scratch]LOG]!><time="17:06:55.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Command has been started (process ID 1516)]LOG]!><time="17:06:55.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Deployment Image Servicing and Management tool]LOG]!><time="17:06:55.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Version: 6.1.7600.16385]LOG]!><time="17:06:55.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Image Version: 6.1.7600.16385]LOG]!><time="17:06:56.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > The operation completed successfully.]LOG]!><time="17:06:57.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Return code from command = 0]LOG]!><time="17:06:57.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[LTIApply processing completed successfully.]LOG]!><time="17:06:57.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Event 41001 sent: LTIApply processing completed successfully.]LOG]!><time="17:06:57.000+000" date="02-19-2014" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Command completed, return code = -2147467259]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Litetouch deployment failed, Return Code = -2147467259  0x80004005]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="3" thread="" file="LiteTouch">
    <![LOG[Event 41014 sent: Litetouch deployment failed, Return Code = -2147467259  0x80004005]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[For more information, consult the task sequencer log ...\SMSTS.LOG.]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Property RetVal is now = -2147467259]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Validating connection to \\192.168.36.208\Logs$]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Already connected to server 192.168.36.208]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[OSDTargetDriveCache was determined earlier : V:]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Property OSDTargetDriveCache is now = V:]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Property OSDisk is now = V:]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\LiteTouch.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\LiteTouch.log]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\LTIApply.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\LTIApply.log]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\LTICopyScripts.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\LTICopyScripts.log]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\PnpEnum.xml to \\192.168.36.208\Logs$\MININT-1H9O4H6\PnpEnum.xml]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\Wizard.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\Wizard.log]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\ZTIBDE.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\ZTIBDE.log]LOG]!><time="17:10:54.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\ZTIConfigure.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\ZTIConfigure.log]LOG]!><time="17:10:55.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\ZTIDiskpart.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\ZTIDiskpart.log]LOG]!><time="17:10:55.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\ZTIDrivers.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\ZTIDrivers.log]LOG]!><time="17:10:55.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\ZTIGather.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\ZTIGather.log]LOG]!><time="17:10:55.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\ZTINextPhase.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\ZTINextPhase.log]LOG]!><time="17:10:55.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\ZTIPatches.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\ZTIPatches.log]LOG]!><time="17:10:55.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\ztiRunCommandHidden.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\ztiRunCommandHidden.log]LOG]!><time="17:10:55.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying C:\MININT\SMSOSD\OSDLOGS\ZTIValidate.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\ZTIValidate.log]LOG]!><time="17:10:55.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying X:\WINDOWS\TEMP\SMSTSLog\SMSTS.LOG to \\192.168.36.208\Logs$\MININT-1H9O4H6\SMSTS.LOG]LOG]!><time="17:10:55.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying X:\WINDOWS\Debug\Netsetup.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\]LOG]!><time="17:10:55.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying X:\WINDOWS\System32\wpeinit.log to \\192.168.36.208\Logs$\MININT-1H9O4H6\]LOG]!><time="17:10:55.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Copying log C:\MININT\SMSOSD\OSDLOGS\BDD.log contents to \\192.168.36.208\Logs$\MININT-1H9O4H6\BDD.LOG]LOG]!><time="17:10:55.000+000" date="02-19-2014" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">

  • Invoke-IpamGpoProvisioning : Failed to import GPO. The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    Hello Im trying to configure IPAM but im getting this error.
    PS C:\Users\Administrator.IPADE.MX> Invoke-IpamGpoProvisioning –Domain actdir.ipade.mx –GpoPrefixName IPAM –IpamServerFq
    dn minte.actdir.ipade.mx –DelegatedGpoUser Administrator -DomainController discovery.actdir.ipade.mx
    Invoke-IpamGpoProvisioning : Failed to import GPO. The system cannot find the file specified. (Exception from HRESULT:
    0x80070002)
    At line:1 char:1
    + Invoke-IpamGpoProvisioning –Domain actdir.ipade.mx –GpoPrefixName IPAM –IpamServ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [Invoke-IpamGpoProvisioning], Exception
        + FullyQualifiedErrorId : InvalidOperation,Invoke-IpamGpoProvisioning
    In the event viewer  I founf this but I don't know what to do.
    Import of backup failed. Error [The system cannot find the file specified.
    Details -
         Backup
             Directory: The system cannot find the file specified.
             Instance : C:\Users\Administrator.IPADE.MX\AppData\Local\Temp\1\ipamprov
             Comment  : {09673450-4573-42E8-85D0-104144DF0BA3}
             Source GPO:
                 DisplayName: IPAMGPO_DNS
                 ID: IPAMGPO_DNS
                 Domain: {7F345996-1D92-4194-85BF-72BFB5298EDA}
         Destination GPO:
                 DisplayName: ipamtestsetup.com
                 ID: IPAM_DNS
                 Domain: {447E8380-91AF-4C2D-8DAA-2C090A6400E8}

    Hi,
    Before going further, what was name specified in the IPAM provisioning wizard while selecting Group Policy based provisioning method? The GPO prefix name specified in the
    PowerShell command must be same as the one specified in the IPAM provisioning wizard while selecting Group Policy based provisioning method.
    Regarding Invoke-IpamGpoProvisioning, the following article can be referred to as reference.
    Invoke-IpamGpoProvisioning
    http://technet.microsoft.com/en-us/library/jj553805.aspx
    Best regards,
    Frank Shen

  • Flash CS6 AIR error: CreateWinProcess failed with error 2. The system cannot find the file specified

    I created an AIR application in Adobe Flash CS6, but when I test, debug or publish it, an error always occured.
    CreateWinProcess failed with error 2. The system cannot find the file specified.
    When I clicked OK, Flash suddenly stops responding, so I need to end the process using Task Manager.
    I created a blank FLA document and tested and published it, everything's fine there. It was exported properly. But when I do it with the AIR app, Flash can't even start exporting the SWF of the AIP app, and instead gave me the error.
    I speculate that there is something wrong with the Java command line stuff Flash is doing behind the curtain. I tried using ADL myself and get the AIR app working fine.
    I also found out that Flash has its own JRE installed, so I don't have to bother the JRE used by my computer.
    Is there any way to fix this? Thanks in advance. Have a nice day!

    I installed  the update, but I'm sorry to say that it did not solve the problem
    The error is still there as described by Master §ix and Daniel777
    CreateWinProcess failed with error 2. The system cannot find the file specified.
    It happens when trying to test, debug, or publish air applications (AIR 2.5 – AIR 3.4 , desktop, android, iOS)
    In this case, I can't use the simulator to test the applications,
    thanks

  • Flash CS 6 error: CreateWinProcess failed with error 2 - The system cannot find the file specified

    Hi,
    I'm getting the error "CreateWinProcess failed with error 2 - The system cannot find the file specified" whenever I try to test an Air app within the Flash IDE.
    This error even comes up with a new and empty project .fla file. I already updated the Air runtime and Flash to the latest version.
    How to fix this problem? Any ideas welcome!
    Thank you.

    I installed  the update, but I'm sorry to say that it did not solve the problem
    The error is still there as described by Master §ix and Daniel777
    CreateWinProcess failed with error 2. The system cannot find the file specified.
    It happens when trying to test, debug, or publish air applications (AIR 2.5 – AIR 3.4 , desktop, android, iOS)
    In this case, I can't use the simulator to test the applications,
    thanks

  • Installation of Firefox failing with a 7-Zip Error Box stating "The System Cannot find the File Specified"

    When I upgraded to the latest Firefox on my Windows 7 PC , I get a 7-Zip Error Box stating " The System cannot find the file specified". This happens approximately two thirds into the installation. I have tried turning the Virus checker off and re-installing, but to no avail.

    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test.
    *http://www.bleepingcomputer.com/tutorials/how-to-start-windows-in-safe-mode/
    Try this:
    *Download the full Firefox installer and save the file to the desktop<br>https://www.mozilla.org/en-US/firefox/all/
    *Start the installation with a double-click on the desktop icon
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • KB2785094 fails on Windows 8 Pro N with 0x80070002 "The system cannot find the file specified."

    Hi,
    I'm getting 0x80070002 "The system cannot find the file specified." with KB2785094.  I'm using Windows 8 Pro N.  I've seen a few people with problems with this patch when I search online about it.
    I've tried deleting everything in C:\Windows\SoftwareDistribution\DataStore and C:\Windows\SoftwareDistribution\Downloads.  I've run DISM /scanhealth and /restorehealth.
    I also tried running WUSA with the /log option to try to find which file exactly is not found, but when I opened the log file in Event Viewer, it was empty.
    How can I found out which file is causing the error?

    I found the answer here:
    http://www.eightforums.com/windows-updates-activation/17523-kb2785094-failure.html
    And also by checking the files updated on the KB page: I had deleted the Accessibility and System Tools folders under C:\ProgramData\Microsoft\Windows\Start Menu\Programs.  Once I recreated both those folders, it installed without error.  Probably
    it was Remote Desktop.lnk.  I was getting the problem on 2 different computers.
    Way to go Microsoft!  Now I can't even move around my shortcuts without breaking stuff :)

  • Error message on my development workstation: The system cannot find the file specified.

    Post Author: cseverin
    CA Forum: Crystal Reports
    Hi,
    I am currently developing an ASP.NET website using Visual Studio.NET 2005. I am using the .NET 2.0 framework, VB.NET as my programming language and I connect successfully to a SQL Server 2005 database.  I can select, insert, update and delete data from the database elsewhere in my project, so I know basic connectivity isn't an issue.  The problem seems to be with Crystal Reports. 
    I created a folder called 'Reports' in my project and added a Crystal Report file (OpenFiles.rpt) to it.  I designed the report and initally used a hard-coded SQL query as its datasource so I could quickly get the database fields onto the report and preview them.  All worked fine. 
    To make the report accessible to the rest of the website, I created an .xsd dataset file containing the three tables (and their corresponding tableadapters) that the report requires and then redeveloped the report using the dataset as the datasource for the report.  After doing this, the preview no longer worked.
    Next, I added a page to the website and dragged a Crystal Report Viewer Control onto it.  In the code behind the page I wrote:
    Option Strict On
    Imports System.Data
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Partial Class Reports
         Inherits System.Web.UI.Page
         Private objOpenFilesreport As OpenFilesReport
         Private rptOpenFiles As ReportDocument
         Private strLastErrorMessage As String = Nothing
         Private errLastException As Exception = Nothing
         Dim strFileKey As String
         Dim strJurisdictionCode As String
         Dim strStaffId As String
         Dim strReportId As String
         Private Sub ConfigureCrystalReports()
              Dim reportPath As String = Server.MapPath("OpenFiles.rpt")
              Dim rptopenfiles As New ReportDocument
              rptOpenFiles.Load(reportPath)  <== I checked this during execution and the value correctly points to the OpenFiles.rpt file in the Reports     folder of my project
              Dim ConnectionInfo As ConnectionInfo = New ConnectionInfo()
              ConnectionInfo.DatabaseName = my database
              ConnectionInfo.UserID = login id of user
              ConnectionInfo.Password = user's password
              SetDBLogonForReport(ConnectionInfo, rptopenfiles)
              CrystalReportViewer1.ReportSource = rptopenfiles
         End Sub
         Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
             ConfigureCrystalReports()
         End Sub
         Private Sub SetDBLogonForReport(ByVal ConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
              Dim myTables As Tables = myReportDocument.Database.Tables
              For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
                   Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                   myTableLogonInfo.ConnectionInfo = ConnectionInfo
                   myTable.ApplyLogOnInfo(myTableLogonInfo)
              Next
         End Sub
    End Class
    I added a hyperlink to one of the existing pages on the website to navigate to this page with the report viewer on it.  When I run the website in Visual Studio and click on the hyperlink I get the following:
    Server Error in '/MyTest' Application.
    The system cannot find the file specified.
    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.Runtime.InteropServices.COMException: The system cannot find the file specified.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:
    &#91;COMException (0x80004005): The system cannot find the file specified.
    &#93;
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +442
    &#91;Exception: Load report failed.&#93;
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +513
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1378
       CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +149
       CrystalDecisions.CrystalReports.Engine.ReportDocument.get_DataDefinition() +85
       CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ParameterFields() +158
       CrystalDecisions.Web.CrystalReportSource.BindControlParameter(Parameter parameter) +130
       CrystalDecisions.Web.CrystalReportSource.DataBindParameters() +191
       CrystalDecisions.Web.CrystalReportSource.EnsureParameters(Boolean forceDataBind) +90
       CrystalDecisions.Web.CrystalReportSource.LoadCompleteEventHandler(Object sender, EventArgs e) +47
       System.Web.UI.Page.OnLoadComplete(EventArgs e) +96
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4086
    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832 
    Any ideas, anyone?
    Also, assuming I can get past this error, I will need to figure out how to fill the tables in the .xsd dataset file.  I have written a class for the dataset that includes functions that populate the tables in the dataset from the database by executing SQL queries.  But how do I call these functions at the time the report is run?
    This is my first Crystal report written in .NET and I've been struggling with it for days now.  Any help would be most appreciated!
    Thanks very much!
    Chris Severin

    hello, the error message is obviously coming from one of the installed mcafee extensions. please directly contact mcafee technical support - they can likely give you more detailed guidance and are the only ones who can fix bugs or make necessary adjustments in the addon.

  • Upgrading to MBAM 2.5: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0.....the system cannot find the file specified.

    Upgrading from MBAM 1.0 to 2.5 on the Administration and Monitoring server (database server already upgraded). To upgrade the administration server, I uninstalled MBAM 1.0 -> Deleted the MBAM website from IIS manually -> Reboot -> Installed MBAM
    2.5. After upgrade if I go to selfservice portal via
    https://myserver.mycompany.com/selfservice, I get this error:
    Server Error in '/SelfService' Application.
    Could not load file or assembly 'System.Web.WebPages.Razor,
    Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
    dependencies. The system cannot find the file specified.
    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.FileNotFoundException: Could not load file or assembly
    'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral,
    PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot
    find the file specified.
    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:
    [FileNotFoundException: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
    System.Web.Mvc.PreApplicationStartCode.Start() +0
    [InvalidOperationException: The pre-application start initialization method Start on type System.Web.Mvc.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
    System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +12980619
    System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +12980328
    System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +280
    System.Web.Compilation.BuildManager.ExecutePreAppStart() +172
    System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1151
    [HttpException (0x80004005): The pre-application start initialization method Start on type System.Web.Mvc.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12979668
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12819261
    Anyone know how to solve this? Thanks in advance

    Sorry for late response. I fixed the issue by installing the correct version of ASP .NET 4 from
    here.
    If .NET Framework 4.5 is already installed, also run aspnet_regiis -i from C:\windows\microsoft.net\Framework\v4.0.30319

  • Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\abc.mdf". Operating system error 2: "2(The system cannot find the file specified.)".

    hi,
    am running the below command for moving sql serevr mdf and ldf files  from one  drive to another : c  drive to d drive:
    but am getting the below error
    SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\abc.mdf". Operating system error 2: "2(The system cannot find the file specified.)".
    use master
    DECLARE @DBName nvarchar(50)
    SET @DBName = 'CMP_143'
    DECLARE @RC int
    EXEC @RC = sp_detach_db @DBName
    DECLARE @NewPath nvarchar(1000)
    --SET @NewPath = 'E:\Data\Microsoft SQL Server\Data\';
    SET @NewPath = 'D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\';
    DECLARE @OldPath nvarchar(1000)
    SET @OldPath = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\';
    DECLARE @DBFileName nvarchar(100)
    SET @DBFileName = @DBName + '.mdf';
    DECLARE @LogFileName nvarchar(100)
    SET @LogFileName = @DBName + '_log.ldf';
    DECLARE @SRCData nvarchar(1000)
    SET @SRCData = @OldPath + @DBFileName;
    DECLARE @SRCLog nvarchar(1000)
    SET @SRCLog = @OldPath + @LogFileName;
    DECLARE @DESTData nvarchar(1000)
    SET @DESTData = @NewPath + @DBFileName;
    DECLARE @DESTLog nvarchar(1000)
    SET @DESTLog = @NewPath + @LogFileName;
    DECLARE @FILEPATH nvarchar(1000);
    DECLARE @LOGPATH nvarchar(1000);
    SET @FILEPATH = N'xcopy /Y "' + @SRCData + N'" "' + @NewPath + '"';
    SET @LOGPATH = N'xcopy /Y "' + @SRCLog + N'" "' + @NewPath + '"';
    exec xp_cmdshell @FILEPATH;
    exec xp_cmdshell @LOGPATH;
    EXEC @RC = sp_attach_db @DBName, @DESTData, @DESTLog
    go
    can anyone pls help how to set the db offline. currently  i  stopped the sql server services from services.msc and started the  sql server agent.
    should i stop both services for moving from one drive to another?
    note: I tried teh below solution but this didint work:
    ALTER DATABASE <DBName> SET OFFLINE WITH ROLLBACK IMMEDIATE
    Update:
    now am getting the message :
    Msg 15010, Level 16, State 1, Procedure sp_detach_db, Line 40
    The database 'CMP_143' does not exist. Supply a valid database name. To see available databases, use sys.databases.
    (3 row(s) affected)
    (3 row(s) affected)
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\CMP_143.mdf". Operating system error 2: "2(The system cannot find the file specified.)".

    First you should have checked the database mdf/ldf name and location by using the command
    Use CMP_143
    Go
    Sp_helpfile
    Looks like your database CMP_143 was successfully detached but mdf/ldf location or name was different that is why it did not get copied to target location.
    Database is already detached that’s why db offline failed
    Msg 15010, Level 16, State 1, Procedure sp_detach_db, Line 40
    The database 'CMP_143' does not exist. Supply a valid database name. To see available databases, use sys.databases.
    EXEC @RC = sp_attach_db @DBName, @DESTData, @DESTLog
    Attached step is failing as there is no mdf file
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\CMP_143.mdf". Operating system error 2: "2(The system cannot find the file specified.)"
    Solution:
    Search for the physical files(mdf/ldf) in the OS and copy to target location and the re-run sp_attach_db with right location and name of mdf/ldf.

  • "The system cannot find the file specified." on BackgroundDownloader.getCurrentDownloadsAsync

    The method 
    Windows.Networking.BackgroundTransfer.BackgroundDownloader.getCurrentDownloadsAsync()
    will consistently error out for me. 
    To repro this: 
    Start a bunch of (preferably large) download operations using the BackgroundDownloader. 
    Wait for a couple to start. 
    Kill the app with Alt+F4.
    Try to load the previously added downloads using the above method. 
    For me the method consistently fails and calls the error callback on the promise with the message "The system cannot find the file specified."
    Seeing this happen in prod too and it is causing all kinds of havoc. The BackgroundDownloader does not continue to function at all, until the /AC/BackgroundTransferApi folder is removed from the app directory or the app is reinstalled.
    Can anyone confirm this? Is there a solution? 
    Cheers, 
    Felix

    Hi CensoredUser,
    Thank you reporting this issue, I can reproduce it as you provided, but I think this is not the common status in
    app life cycle. Can you tell me why you need do ALT+F4 action?
    For a quick work around, reinstall app is an option to ignore this issue.
    Regards,
    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 load file or assembly 'Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified

    Server Error in '/' Application.
    Configuration Error 
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 
    Parser Error Message: Could not load file or assembly 'Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.
    Source Error: 
    Line 31: <compilation debug="true">
    Line 32: <assemblies>
    Line 33: <add assembly="Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89B483F429C47342" />
    Line 34: <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    Line 35: <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    Source File: D:\AverySignatureBinders\httpsdocs\ASBNet\web.config    Line: 33 
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342' could not be loaded.
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

    For Adapter Pack 2013 the following Oracle Client(s) are needed:
    Supported client versions: Oracle Data Access Components for Oracle Client 12.1, Oracle Data Access Components for Oracle Client 11.2.0.1
    And please bear in mind that both the 32- and 64 bit versions are needed.
    Morten la Cour

Maybe you are looking for