Dbms_scheduler - ORA-27301: system cannot find the file specified

Hi,
I'm having problems running an executable job via dbms_scheduler. The invoking code reads:
begin
   dbms_scheduler.create_job(job_name   => "fred",
                             job_type   => "EXECUTABLE",
                             job_action => 'convert c:\wowtemp\test.jpg -thumbnail 155 c:\wowtemp\test.png',
                             enabled    => TRUE
   dbms_scheduler.run_job(job_name   => "fred");
end;and running this in SQL*plus gives me:
ERROR at line 1:
ORA-27370: job slave failed to launch a job of type EXECUTABLE
ORA-27300: OS system dependent operation:accessing execution agent failed with status: 2
ORA-27301: OS failure message: The system cannot find the file specified.
ORA-27302: failure occurred at: sjsec 6a
ORA-27303: additional information: The system cannot find the file specified.
ORA-06512: at "SYS.DBMS_ISCHED", line 150
ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
ORA-06512: at line 7This happens no matter what I put in the job_action, and despite the fact that if I paste the jpb_action into a command prompt window it executes successfully. The user has CREATE ANY JOB privilege.
Any ideas?
BTW, this is using XE on WinXP. (I'd post in the XP forum but it seems to have disappeared).
Thanks,
john

OK, problem #1 solved:
By default, XE on Windows sets up the scheduler service to disabled. Enable and start it, then we can move on to problem #2:
ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
See http://www.adp-gmbh.ch/blog/2005/may/27.html for a workaround using a .bat file which sadly doesn't help me. How do I pass runtime switches and parameters?
DBMS_SCHEDULER is wonderfully powerful, but NOWHERE in the copious documentation can I find help on how to do something really SIMPLE.
I just want to run an unscheduled, ad hoc executable job which runs an OS command with parameters, as in:
'c:\mydir\convert.exe c:\mydir\test.jpg -thumbnail 155 c:\mydir\test.png'
Can the job_action parameter include command-line switches and parameters or not?
In the documentation for CREATE_JOB, 'For an executable, the action is the name of the external executable, including the full path name and any command-line arguments.', but this doesn't work for me.
Elsewhere (Error running executable job I read:
If the job_type is executable then the scheduler expects only the executable name and path as job_action (no command line arguments) e.g. ("c:\win32\cmd.exe")
For commandline arguments you should be setting number_of_arguments to the required value and then doing set_job_argument_value for each argument. (e.g. 3, "/q", "/c", "script.bat").
What's the real story?
Any and all assistance much appreciated
Thanks

Similar Messages

  • ORA-19505 System cannot find the file specified

    I am trying to DUPLICAE DATABASE to OraDev machine.
    On my production the backup are on F:\Backups folder but there is no F:\Backups on OraDev box so I am getting ORA-19505 error saying file not found.
    Is there any way I can copy the backup to C:\Backups on OraDev and tell RMAN to look in C:\Backups instead of F:\Backups?
    I know this is Cloning where directory structure should be same, I have straighten up all the data file, log files issues only the backup location is giving the problem.
    Any idea?
    Thanks,
    Data Sheet

    Hi
    I think you are doing something wrong in your duplication steps.
    Try to read this post configure auxname and the links in the answer.
    Bye, Aron

  • ORA-27369: The system cannot find the file specified.

    I am trying to run a job in DBMS_Scheduler in 10.2.0.2 and i am getting the following error:
    ORA-27369: job of type EXECUTABLE failed with exit code: The system cannot find the file specified.
    I am trying to have it execute an external .bat file. The .bat file works fine if i execute it manually. (This is MS Server 2003)
    I created the same job in another instance and it runs fine. I took the same files directory copied it to another server (all file permissions are the same on both servers) and took the creation scripts for the job and ran them in the new database and i am getting this error when i try to run the job. There is very little information for this specific error. In the two databases all the permissions are the same for the user and the scripts all executed successfully.
    Any ideas on what is casuing this error.
    I am not sure if its Oracle thats having the problem or if Windows is somehow holding it up.
    (PS. I have permissions in the local security policy to allow 'Log on as Batch job' in both servers)

    Hi,
    A couple things.
    - Is the Job Scheduler service up and running and set to run as the right user ? If everything else is the same than maybe the service is only up on one instance ?
    - You should be calling "cmd.exe /c script.bat " and not the batch file directly. Beware that cmd.exe may be in different places in different versions of windows and you should always fill in the full path for both cmd.exe and script.bat. This could be causing the "file not found" issue.
    - Does a simple external job work ? It can be easier to get a simple external job working first e.g. ipconfig.exe or echo.exe.
    Hope this helps,
    Ravi.

  • ORA-20100 The system cannot find the file specified 0RA-06512

    I can create and deploy a .NET stored procedure but when I run it either from Visual Studio 2005 Oracle Explorer or TOAD or SQLPlus I get the following:
    ORA-20100: The system cannot find the file specified.
    ORA-06512: at "SYS.DBMS_CLR", line 211
    ORA-06512: at "PROD.GETSEGADDRNO", line 7
    ORA-06512: at line 1
    It is basically the same C# code as the OTN sample except for accessing a table in my database.
    I found a forum thread dated 2006 with basically the same error message and it said the problem was fixed in Oracle Database patched to 10.2.0.2 but I can't find such a patch for 10g R2 Enterprise.
    This is my first time setting up Server 2003, Oracle 10g and ODT for .NET
    (I successfully created and deployed an external procedures for Oracle 8.1.7 on Windows 2000 a couple of years ago)
    This is the code:
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Data;
    // use the ODP.NET provider
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    namespace CLRLibrary1
    // Sample .NET stored function returning address number (ADDR_NO) for
    // a given segment number (SEG_NO)
    public class Class1
    public static int GetSegAddrNo(int segno)
    int addrno = 0;
    // Check for context connection
    OracleConnection conn = new OracleConnection();
    if (OracleConnection.IsAvailable == true)
    conn.ConnectionString = "context connection=true";
    else
    throw new InvalidOperationException("context connection" +
    "not available");
    conn.Open();
    // Create and execute a command
    OracleCommand cmd = conn.CreateCommand();
    cmd.CommandText = "SELECT ADDR_NO FROM SEG WHERE SEG_NO = :1";
    cmd.Parameters.Add(":1", OracleDbType.Int32, segno,
    System.Data.ParameterDirection.Input);
    OracleDataReader rdr = cmd.ExecuteReader();
    if (rdr.Read())
    addrno = rdr.GetInt32(0);
    rdr.Close();
    cmd.Dispose();
    conn.Close();
    return addrno;
    } // GetSegAddrNo
    } // Class1
    } // CLRLibrary1
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    was installed from the Oracle downloads site: 10201_database_win32.zip
    On Windows Server 2003 R2 Standard Edition SP2
    Oracle .NET tools was installed using: ODTwithODAC1020221.exe
    The CLR Service is running
    Deployment says that it is successfull.
    The DLL is in the expected Oraclehome\BIN\CLR folder
    The deployment script is:
    CREATE OR REPLACE LIBRARY "SYS"."ORATEST6_DLL" AS '$ORACLE_HOME\bin\clr\OraTest6.dll';
    GRANT EXECUTE ON "SYS"."ORATEST6_DLL" TO PROD;
    GRANT EXECUTE ON "SYS"."DBMS_CLR" TO PROD;
    GRANT EXECUTE ON "SYS"."DBMS_CLRTYPE" TO PROD;
    GRANT EXECUTE ON "SYS"."DBMS_CLRPARAMTABLE" TO PROD;
    CREATE OR REPLACE FUNCTION PROD.GETSEGADDRNO wrapped
    a000000
    1f
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    8
    147 138
    ePHIr6kvu6nZ9gYrxgs40akg18owg1zQf/ZqZ3QC2vjqaIs25soMp1nBmBfBj1ZboVvNkdPT
    8qhpuEVdmv4n2nlF5ynrhLsm3F0h9ZGrTQ4tGYIybWjMFxYNlDDeBOx1i7O0GviP8AxHys23
    kW8aTVA2xV8IuLNlwP7KWFw70tGbg+lUIlRhYo5WmLW6N9wcjOCeLZK6W6s6tvd4zKAQykzc
    sIsaneE0FWyV9Q1BD0yJpLoCfWH+f6fVXsne5Feyxu68k5geCJ8F5FCLm2ycvxIiKNKTIpiD
    q4wshbsYLTTPHX3F6pA=
    The parameter mapping is:
    return value int32 number
    segno int32 number
    Bob Sorrell
    [email protected]
    863-662-5524

    These are the Reference Properties for Oracle.DataAccess in the OraTest6 app:
    Aliases: Global
    Copy Local: False
    Description: Oracle.DataAccess.dll
    File Type: Assembly
    Identity: Oracle.DataAccess
    Path: c:\oracle\ora102\odp.net\bin\2.x\Oracle.DataAcess.dll
    Resolved: True
    Runtime Version: v2.0.50727
    Specific Version: False
    Strong Name: True
    Version: 2.102.2.20
    This is what GacUtil shows:
    The Global Assembly Cache contains the following assemblies:
    Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.DataAccess, Version=1.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342
    Number of items = 2
    The GAC seems to contain both 2.102.2.20 and 1.102.2.20
    Do I need to remove one?

  • 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.

  • Receiving error message 'Could not load file or assembly 'System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'

    I started getting this error message for the first time today. When I look in the event log I see it every time anyone tries to sync to a mobile device to the exchange server. I've also had this problem trying to connect using
    Outlook. I believe it is an IIS issue but I'm not absolutely sure so I'm posting this in the Exchange forum as well.
    The event viewer has the following information...
    3008
    A configuration error has occurred.
    5/1/2014 10:41:08 PM
    5/2/2014 5:41:08 AM
    7539d8a38c8b47869eda3f1749aba08d
    1
    1
    0
    /LM/W3SVC/1/ROOT/Microsoft-Server-ActiveSync-75-130434828686436855
    Full
    /Microsoft-Server-ActiveSync
    C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\sync\
    SERVER
    16284
    w3wp.exe
    NT AUTHORITY\SYSTEM
    ConfigurationErrorsException
    Could not load file or assembly 'System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    https://remote.testserver.com:443/Microsoft-Server-ActiveSync/default.eas?User=user.name&DeviceId=ApplC39GQ5xxxxxx&DeviceType=iPhone&Cmd=Ping
    /Microsoft-Server-ActiveSync/default.eas
    174.224.130.31
    False
    NT AUTHORITY\SYSTEM
    24
    NT AUTHORITY\SYSTEM
    False
    at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
    I have tried most, if not all, of the different post's suggestions to no avail.
    The steps I have taken are as follows...
    1. Repaired .Net 4 (Both the client and extended)
    2. Uninstalled and reinstalled .Net Framework 4.0.
    3. Verified that the dll exists.
    4. Checked the applicationHost.config file. It contains the follow statement...
    <add name="ServiceModel-4.0" type="System.ServiceModel.Activation.ServiceHttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv2.0"
    />
    5. Changed the following line in web.config to include the runtimeVersion...
    <add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv2.0" />
    6. Executed aspnet_regiis.exe -iru from the ...\Framework64\v4.0.30319 directory.
    7. Went to inetpub\history to use an applicationHost.config file from yesterday but it only has history from 9PM tonight. It probably had what I needed before I started changing it tonight.
    I still receive the same error message.
    Like I said everything was working yesterday. In fact I didn't hear or see any issue until after 1PM today.
    Any help would be very appreciated!

    Hi,
    Please confirm whether users can access their mailboxes from Outlook Web Access or not. We can do the following changes to have a try:
    1. In IIS > Application Pools, change the .NET Framework Version to v2.0 and restart IIS service.
    2. If it doesn’t work, explore the Default Web site.
    3. Renamed the web.config file to web.config.old
    4. Reset IIS using iisreset command to have a try.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Office 365 App using NAPA - "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)"

    Hello,
    I am creating an app using NAPA tool in Office 365. I am trying to "Add an attachment" to a custom list item using SPServices. When I am using my code  (jquery code) in content editor web part on a page, its working fine, but when I am adding
    the same code in an app, its giving me error :  "The system cannot find the file specified. (Exception from HRESULT:
    0x80070002)" - 500 Internal Server error.
    (function () {
    // This code runs when the DOM is ready and creates a context object which is
    // needed to use the SharePoint object model
    $(document).ready(function () {
    //alert('In doc ready');
    $('.attachmentButton').change(function(event){
    var listName = 'UploadTest',
    itemId = 2;
    handleFileChange(listName,itemId,event.target.files);
    function handleFileChange(listName,itemId,files){
    alert('In handleFileChange :=' + listName + "" + itemId + "" + files[0]);
    alert('files.length :=' + files.length);
    var filereader = {},
    file = {},
    i=0;
    //loop over each file selected
    for(i = 0; i < files.length; i++) {
    alert('In for loop');
    file = files[i];
    filereader = new FileReader();
    filereader.filename = file.name;
    alert('filereader.filename :=' + filereader.filename);
    filereader.onload = function() {
    var data = this.result;
    var n=data.indexOf(";base64,") + 8;
    //alert('n :=' + n);
    //removing the first part of the dataurl give us the base64 bytes we need to feed to sharepoint
    data= data.substring(n);
    //alert('data :=' + data);
    alert('Above SPServices this.filename :=' + this.filename);
    $().SPServices({
    operation: "AddAttachment",
    listName: listName,
    asynch: false,
    listItemID:itemId,
    fileName: this.filename,
    attachment: data,
    completefunc: function (xData, Status) {
    console.log('attachment upload complete',xData,status);
    alert('Status :=' + Status);
    if (Status.toLowerCase() == "error"){
    alert(xData.responseText);
    alert(xData.status);
    alert(xData.statusText);
    filereader.onabort = function() {
    alert("The upload was aborted.");
    filereader.onerror = function() {
    alert("An error occured while reading the file.");
    //fire the onload function giving it the dataurl
    filereader.readAsDataURL(file);
    alert(xData.responseText); - gives error - " "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)""
    alert(xData.status); - gives error - "500"
    alert(xData.statusText); - gives error - "Internal server error"
    Server Publishing infrastructure and Server publishing features are activated on site collection and site respectively.
    Any suggestions, why I am getting this error in NAPA ?

    Hi,
    According to your post, my understanding is that you have an issue about adding attachments to list items in app.
    To add attachment to list item in the host web, we should first get the list and the list items from the host web, then add the attachments to the list items.
    There are two articles about retrieve the list and list items in the host web, you can refer to them.
    http://www.dotnetcurry.com/showarticle.aspx?ID=1028
    http://www.c-sharpcorner.com/UploadFile/93cb27/retrieve-sharepoint-app-host-web-list-items-in-sharepoint-ho/
    What’s more, we can also use the REST API to achieve the same scenario.
    http://www.c-sharpcorner.com/UploadFile/472cc1/add-attachments-to-list-items-in-sharepoint-2013-using-rest/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • While loading site collection in SharePoint 2010, Error shows "Could not find the file or assembly or one of its dependencies. The system cannot find the file specified."

    I have restored one web application in SharePoint Server 2010 from a different domain and  can complete successfully. Changed each users domain also to old to new one by using Move-SPUser. But While accessing the site collection it is showing an error
    that  "Could not load file or assembly 'A##.SP.Intranet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=03b4f320ebedaffc' or one of its dependencies. The system cannot find the file specified."
    What may be the reason? Please help me to solve this issue since I am stuck up on this .
    Regards 
    Mine1981

    Hi Nico
    Martens,
    Thank you for your reply. But
    how can I find out the custom solutions in the source farm. I didn't got any other details regarding this farm other than WSS_Content, Web application Database, SharePoint_Config database back ups.
    Please help me to solve the
    issue.
    Regards
    Mine

  • Error message when starting: McShield.dll: the system cannot find the file specified - what do I do to solve this?

    When I start Firefox, the following message appears before the home page opens:
    "COMMONSHELL: McShield.dll
    The specified resource language ID cannot be found in the image file.
    McShield.dll: The system cannot find the file specified."
    I click OK, Firefox opens normally and everything seems to operate as expected, no further problems.

    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

  • Outlook 2010 - sending mail with attachment - "The system cannot find the file specified"

    Hi forum Fellows,
    I have the following failure scenario:
    1. A user receives an e-mail with an attachment.
    2. The user opens the attachment --> Forwards the mail and writes something in the body of the e-mail
    3. For whatever reason the user leaves the e-mail and works on something else --> the user comes back to the e-mail an hour or more later.
    4. The user then wants to send the e-mail but gets the following error message: "The system cannot find the file specified"
    5. The effect is that the user cannot send the e-mail.....
    ------------------------------ TROUBLESHOOTING -----------------------
    - I can see that when the user opens an attachment this attachment is saved in the OutlookTemp folder. Actually, there is a difference between opening the attachment before or after clicking forward on the e-mail.
    ---- Before: Two files is written to the OutlookTemp folder. For example if the attachment name is FileX.pdf - there will be a FileX.pdf but also a FileX (2).pdf in the folder (if OutlookTemp is empty/do not contain a file with the name FileX.pdf already)
    ---- After: Only one file is written to OutlookTemp. That is FileX.pdf
    - Running Process Monitor when trying to forward the e-mail I can see that Outlook is calling a file that is not in the OutlookTemp folder anymore.
    **** To me this is the heart of the issue. For some reason, when a user has an e-mail with an attachment open for an extended period of time (not sure on exactly how long is necessary), files in the OutlookTemp folder is deleted - files that Outlook is depending
    on to be there.
    - Going with a totally clean OutlookTemp folder does not help.
    ------------------ NOW WHAT ---------------
    - The question now is: Is this by design? Can it be fixed by some Outlook 2010 patch? Or perhaps a group policy/registry setting as a workaround.
    ------------------------------ TECH. INFO -----------------------
    Outlook 2010 v14.0.7132.5000
    Outlook bit depth: x86
    Running on a 2008R2 SP1 TS environment.
    No antivirus on the TS
    Looking forward to hear from you.
    Regards The Red Baron
    Red Baron

    Hello Red Baron,
    Although not a complete answer, the way to treat attachments in emails require some discipline:
    1. Never open an attachment directly from the email (and NEVER edit it from there). Always save it in a known location as the desktop or (better) in a designated document folder. Then you can proceed as usual, like editing the contents, printing, forwarding
    the new version etc.
    2. Directly forwarding the attachment is ok, along with additional text in the body of the email.
    3. Having any (unsaved) document open for several hours should
    never occur. What if there is a power outage?
    Bottom line is thus Discipline. This is regardless of Operating System (which might handle temporary files differently).
    These are the rules I teach my customers and they never leave any document unsaved for hours ...
    Best regards George

  • RSAT won't install on Windows 8.1 Pro - "The system cannot find the file specified."

    Please help. RSAT won't install on Windows 8.1 Pro. Every time I try, I get the same error - "The system cannot find the file specified.". I really don't want to have to refresh the PC to get it working! I've installed the update successfully on
    a fresh win 8.1 enterprise install on a Hyper-V VM.
    I am in uk, so have installed the en-US language pack first. I did have a windows component store corruption but I've managed to fix that.
    event log says:
    Windows update "Update for Windows (KB2693643)" could not be installed because of error 2147942402 "The system cannot find the file specified." (Command line: ""C:\Windows\system32\wusa.exe"
    "C:\RSAT Windows8.1-KB2693643-x64.msu" ")
    CBS log (C:\Windows\Logs\CBS\CBS.log): http://1drv.ms/19CAv14

    As Roger Lu reported, the log indicates that there is corruption in the update files that you downloaded. The log actually reports “file not found”, so you may also want to check permissions on the extracted files in C:\Windows\SoftwareDistribution\Download\76ecaa86ec6712300c2d71cbcdad378c\.
    You can also re-try downloading the files to see if your original download was just corrupt.
    Bruce Wooding Windows Outreach Team- IT Pro Windows for IT Pros on TechNet
    It was a permissions issue! Thanks so much Bruce!
    I checked the permissions for the folder mentioned above and TrustedInstaller only had List Folder Contents and Special Permissions. So I granted granted Read & Execute to TrustedInstaller and tried installing again...
    1) double clicked the installer.
    2) once it said Initialisation was complete, I checked the permissions again and it had re-set them to as before, so I granted Read & Execute to TrustedInstaller again
    3) Installation was successful.
    Not really sure why this happened as it doesn't make sense but it's working now :-)

  • 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" - error reading properties file

    I have packaged a class file and a .properties file in the same folder as a ejb-jar file and in the class file i try reading the properties file and it throws me the error - "The system cannot find the file specified". But when I put the complete path, it has no problem finding the file.
    I know that this must be the problem with classpath, but can anybody tell me why it is not finding the properties file even if they are in the same folder. How do I make class files find .properties file which are in a folder.
    Any help will be greatly appreciated.

    Hi,
    I am not sure if your question is realted to the Oracle Application Server - anyway, if you are packaging a class file and a properties file in a JAR File, you need to read the contents in a different manner...something like this... :
    URL url = new URL("jar:file:/home/duke/duke.jar!/");
    JarURLConnection jarConnection = (JarURLConnection)url.openConnection();
    You might want to have a look at this link for more information :
    http://java.sun.com/docs/books/tutorial/index.html
    You may also get better responses if you post your question in one of the Java Forums.
    Regards,
    Sandeep

  • The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    I m getting this error on page load of visual webpart added to the sharepoint site.What could be the issue??I m getting this error like in dev and not in test environment..What could be the issue??
    The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    could you please share complete stack trace of the error, there could be differnt reason for this error?
    share the stack trace and also check the ULS logs.
    did you try to redeploy the webpart( completely removing and re adding)?
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

Maybe you are looking for

  • 'Ñ' Problem in Character Mode Report

    i made a report in Character Mode, using PRT. The problem is, when i generate report directly to the Dot Matrix Printer it didn't print the 'Ñ' character in my output, a corresponding ASCII character is printed instead. What could be the problem in m

  • Combining Files - Controlling Bookmark Magnification

    Application:  Adobe Acrobat X Pro When combining groups of files (usually .doc files) into a single .pdf file, bookmarks are automatically created for the first page of each source file – which is a convenient feature. I frequently combine multi-size

  • Pie chart in SAP

    Hi,     How can I display the output of my report in the form of a pie-chart ?    Please let me know if there is a way to do so.

  • Why can't I launch itunes by clicking icon on desktop or toolbar?

    I've downloaded the latest version, but the only way I can get itunes to launch is by plugging in my ipod. Any ideas?

  • SQLJ embedded in JSP

    I want to embed SQLJ in a javaserver page. But JDeveloper doesn't understand that this is a SQLJ file unless I change the extension of the file from .jsp into .sqlj I heard from an extension .sqljsp, but if I use that, Jdeveloper crashes. Does anybod