Unable to connect to database when running from JDeveloper

Hi all,
When I open a report in Reports Builder , and enter the database connection parameters, everything works fine. When I run my web application from JDeveloper (9.0.5.1), and I tried to run a report, I get this error:
Rep-501 : Unable to connect to the specified database.
I have ran tnsping, and it works fine. My tnsnames.ora file looks like this :
GPGWL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
(CONNECT_DATA =
(SERVICE_NAME = GPGWL)
)

Hi,
this question is best answered on the Reports forum
Reports
Frank

Similar Messages

  • Unable to connect to database after migration from oracle 8 to 9i

    Hi,
    Our applications database was migrated from oracle 8 to oracle9i, The oracle_home path was updated to the newer version.
    While accessing the databese using the new setup we are facing SQLLIB mismatch problem
    the description of error is as follows
    =======================================================
    SQL-02107 Program too old for runtime library; please re-precompile it
    Cause: Your program was precompiled by an older version of the Oracle Precompilers, which is incompatible with this release of SQLLIB.
    Action: Precompile the program with a newer version of the Oracle Precompilers
    =========================================================
    Please help in this regard
    ~akhil

    Hi Akhil,
    Looks like some Tuxedo services are using Pro*C code. Therefore, you would need to recompile your Pro*C code using the newer compiler and then rebuild the Tuxedo servers.
    HTH,
    Ravi...
    Hi,
    Our applications database was migrated from oracle 8
    to oracle9i, The oracle_home path was updated to the
    newer version.
    While accessing the databese using the new setup we
    are facing SQLLIB mismatch problem
    the description of error is as follows
    ======================================================
    =
    SQL-02107 Program too old for runtime library; please
    re-precompile it
    Cause: Your program was precompiled by an older
    version of the Oracle Precompilers, which is
    incompatible with this release of SQLLIB.
    Action: Precompile the program with a newer version
    of the Oracle Precompilers
    ======================================================
    ===
    Please help in this regard
    ~akhil

  • Jdbc connection blocks when run from jar

    The following code establishes a connection EXCEPT when run from within a jar file:
    String jdbcDriverName = "oracle.jdbc.driver.OracleDriver";
    String dbConnectionURL = "jdbc:oracle:thin:@192.168.2.7:1521:PRISM";
    String userName = "mdo";
    String password = "mdpass";
    // Load the JDBC driver and create a connection to the database
    Class.forName( jdbcDriverName );
    OracleDataSource dataSource = new OracleDataSource();
    dataSource.setURL( dbConnectionURL );
    dataSource.setUser( userName );
    dataSource.setPassword( password );
    connection = dataSource.getConnection();
    When run from a jar file, the application does not execute beyond the line:
    connection = dataSource.getConnection();
    No exceptions are thrown, it just appears that getConnection never returns.
    Do I need to do anything different to execute this code from within a jar file?
    Thanks in advance,
    Phil
    <><

    When building the JAR file, I inadvertently included files from two Oracle JDBC driver versions (1.2 and 1.4). I was building a single jar file with all files in it.
    I am guessing same named files existed in both driver JARs and caused "confussion" when combined into the single JAR.
    Still, I would have expected an exception to be thrown or a null connection to be returned instead if the thread just blocking.
    Thanks for all replies,
    Phil
    <><

  • Upgrade SBO-COMMOM SQL -  unable to connect to database

    Dear Experts,
    I'm trying to upgarde from SAP 2007 A PL-42  to  PL-49.
    I have currently got SQL2000 (for legend system) running under the instance name SERVER and i have installed SQL2005 (SAP uses this) with the instance name SERVER\SQL2005, both running on the same machine called SERVER.
    When i try to upgrade the SBO-COMMON database, it installs the DI and reaches a point where it asks for:-
    Database Server:-              (I input SERVER\SQL2005)
    Database Name:-              (SBO-COMMON)
    User Name:-                     (sa)
    Password:-                      (password)
    When i click the NEXT button, i get the error "unable to connect to database; verify that database TCP/IP port serice is started."
    I have verified that the TCP/IP ie enabled,and running on port 1433.
    Addidtional Information:
    During installation, it tries to access c:\windows\system32\sqljdbc_auth.dll file, when i click the NEXT button, just before i get the TCP/IP error.
    Would highly appreciate the help.
    Regards,
    Asif

    Dear Asif,
    You may check these threads first:
    Re: Unable to connect after migrating from SQL Server 2000 to SQL Server 2005
    Re: Installing SBO 2007 Error Unable to connect to database
    Thanks,
    Gordon

  • Unable to connect to database as apps user

    ORA-12203: TNS:unable to connect to destination .
    when iam trying to connect to database as apps user iam getting this error..
    as sysdba i could connect...database listener is up and application services are also up....but couldnt connect to database as apps user? how to resolve this issue.

    ORA-12203: TNS:unable to connect to destination .
    when iam trying to connect to database as apps user iam getting this error..What is your EBS release? OS? DB version?
    as sysdba i could connect...database listener is up and application services are also up....but couldnt connect to database as apps user? how to resolve this issue.Are you trying to connect remotely? Can you connect from the application tier node as apps user?
    Please run Autoconfig on both tier nodes, bounce the services and check then.
    Thanks,
    Hussein

  • Unable to connect to database; verify that database TCP/IP port service is

    Hi i have a problem with a few servers when i'm trying to upgrade from SAP 2007 SP00 PL47 to SAP 2007 SP1 PL06, i run the upgrade for SBO-COMMON and gives me the message Unable to connect to database; verify that database TCP/IP port service is  started, and i don't know why, i hope you can help me.
    Julieta

    Hi,
    Ensure that the connection to the database is configured properly.
       1. Check that the TCP/IP port is not being blocked by a Firewall.
       2. Set the Server's Remote Connection to accept TCP/IP connections.
    Microsoft SQL Server 2005 -> Configuration Tools -> SQL Server Surface Area Configuration -> Server Surface Area Configuration for Services and Connections -> MSSQLSERVER -> Database Engine -> Remote Connections
    Restart the 'SQL Server (MSSQLSERVER)', and run the upgrade again.
    Hope this will resolve your issue !

  • Server Error in '/' Application. [COMException (0x81020024): Unable to connect to database]

    Hi,
    My team and I are trying to resolve this issue. some of our users are having trouble uploading data into the database. this is the error that they are getting.
    I would really appreciate it if you could help me get ridd fo this issue.
    Server Error in '/' Application.
    Unable to connect to database. Check database connection information and make sure the database server is running.
    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: Unable to connect to database. Check database connection information and make sure the database server is running.
    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:
    [COMException (0x81020024): Unable to connect to database.  Check database connection information and make sure the database server is running.]
       Microsoft.SharePoint.Library.SPRequestInternalClass.PreInitServer(String bstrAbsoluteRequestUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gApplicationId, Guid gSiteId, Guid gDatabaseId,
    String bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, Boolean fHostHeaderIsSiteName) +0
       Microsoft.SharePoint.Library.SPRequest.PreInitServer(String bstrAbsoluteRequestUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gApplicationId, Guid gSiteId, Guid gDatabaseId, String
    bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, Boolean fHostHeaderIsSiteName) +359
    [SPException: Unable to connect to database.  Check database connection information and make sure the database server is running.]
       Microsoft.SharePoint.Library.SPRequest.PreInitServer(String bstrAbsoluteRequestUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gApplicationId, Guid gSiteId, Guid gDatabaseId, String
    bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, Boolean fHostHeaderIsSiteName) +479
       Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request) +666
       Microsoft.SharePoint.SPWeb.InitializeSPRequest() +548
       Microsoft.SharePoint.SPWeb.EnsureSPRequest() +75
       Microsoft.SharePoint.SPWeb.get_Request() +74
       Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) +613
       Microsoft.SharePoint.WebControls.SPControl.GetContextWeb(HttpContext context) +41
       Microsoft.SharePoint.SPContext.get_Current() +123
       CKS.EBE.BlogContext.get_BlogEnabledSite() +37
       CKS.EBE.BlogHttpModule._app_PostAuthorizeRequest(Object sender, EventArgs e) +113
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
    the description of the error on the server is as follows:
    The description for Event ID ( 27745 ) in Source ( Windows SharePoint Services 3 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use
    the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: #50071: Unable to connect to the database MOSS_Content_RBI on BartDB\Bart.  Check the database connection information
    and make sure that the database server is running..

    are you using the Aliases for the SQL Server, make sure your account having the correct permission.
    If it is your QA farm, you can run the config wizard to fix his problem...
    check this post having the similar issue.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/478d6b3a-a51e-48c5-832b-5afb51c69734/unable-to-connect-to-the-sql-content-database-from-sharepoint-web-front-server?forum=sharepointadminlegacy
    http://hammad1.wordpress.com/2008/06/04/unable-to-connect-to-database-in-event-logs/
    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

  • Unable to Connect to Database (after server has been re-started)

    Hi,<BR><BR>I use Essbase Admin Services 7.1.3 and the server was not responding, therefore our IT guys re-started it. Since then I am unable to connect to one of the applications. I have tried to start/Stop the application but it just says "Application did not start". <BR><BR>There are 6 databases in this application altogether (3 data and 2 Currency). The application has been there for about 3 years (it holds historic sales data) and there has never been any problems with it.<BR><BR>When I tried to Start the application, in the message panel at the bottom it says "Error: 1013015 Unable to Connect to Database (2003)". It's as if there is a problem with this 2003 database but the 2002 and 2004 database are OK.<BR><BR>Has anyone ever had this problem and knows how to rectify it??<BR><BR>Thanks in advance.<BR><BR>Sarah

    It may be that the server restart corrupted the database. Go into database properties and uncheck the box start database with application and then try to restart the application.<BR><BR>You can try database validation, or simply reload the database from backup. But you can get the application up and the rest of the databases up by decoupling the database restart from the application start.<BR><BR>There will be a .xcp log file in your application directory (and possibly your database directory.) These might help Hyperion Support in identifying the cause of the problem. But the quickest solution would be to reload the database from backup. The serer and application logs can also provide help in identifying the problem.<BR><BR>One of the keys is to determine why the server is not responding before restarting the server. It may be that a single application is the source of problem. Typical causes are unscheduled free space restructures, application loads of large databases, and an occasional rogue process. Rather than rebooting the entire box, or even restarting the Essbase server, the safest approach is to only kill the job that is soaking up the cpu cycles, causing the server to be unresponsive. This requires identifying the offending process (esssvr.exe) and killingit. Often that restores the rest of the system to operations, giving you time to focus onthe offending application.<BR><BR>You learn thses things when you are pushing the server to its limits (or beyond). If it happens often, you need to do a serious performance audit of teh server and determine whether you need more power and/or memory. <BR><BR>And in any case, you are less likely to encounter this sort of problem in the future if you try to limit applications to a single database. This will allow a better utilization of system resources. And also, it's a good idea to shut down applications that you are not going to be using for a while. Every loaded app takes system resources whether or not it is doing anything. So review your list of apps that start on startup and consider unloading apps after completing batch processing. <BR><BR>Sorry about the long lecture, but I speak from somewhat painful experience. I hope that this will help you.

  • RC-40201: Unable to connect to Database

    I am trying to run
    perl adclonectx.pl migrate
    on new linux server, I am getting error, I tried with some action metalink notes, but no luck,
    DB is up and runnin and listener is up and running,
    what else i need to check, i am not sure, i have created SR, but i have not got good action plan,
    Initializing the Apps Service Context variable Hash
    DEBUG: Apps Service Status context variable extracted from the given Apps context file
    s_apcstatus
    s_apc_restrict_status
    s_apcstatus_pls
    s_tnsstatus
    s_tcfstatus
    s_concstatus
    s_formsstatus
    s_reptstatus
    s_metcstatus
    s_metsstatus
    s_icsmstatus
    s_jtffsstatus
    s_icxblkstatus
    s_discostatus
    s_mwastatus
    PROMPT :
    Does the target system have more than one application tier server node (y/n) [y] ?
    ANSWER :
    y
    PROMPT :
    Does the target system application tier utilize multiple domain names (y/n) [n] ?
    ANSWER :
    n
    PROMPT :
    Default value found for s_tools_oh : /tmp/
    Default value found for s_weboh_oh : /tmp/
    PROMPT :
    Do you want to preserve the Display set to dbora12:1.0 (y/n) [y] ?
    ANSWER :
    n
    PROMPT :
    Location of the JDK on the target system [opt/java1.5]
    ANSWER :
    /usr/java/jdk1.5.0_21
    StackTrace:
    java.lang.Exception: Cant connect to database using DBUtil
    at oracle.apps.ad.context.CloneContext.checkDatabaseConnection(CloneContext.java:5694)
    at oracle.apps.ad.context.CloneContext.promptForPortPool(CloneContext.java:5376)
    at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:637)
    at oracle.apps.ad.context.CloneContext.main(CloneContext.java:6228)
    RC-40201: Unable to connect to Database OFMSREGT.

    Danny,
    Please mention the application release and the OS.
    Do you have proper entry in the hosts file? Can you connect to the database remotely?
    Do you have the latest AutoConfig (Rapid Clone) patches applied?
    Please see if these docs help.
    Note: 273477.1 - Running Perl Adcfgclone.Pl Appstier Gives Error
    Note: 421148.1 - Jdbc Errors Cloning Apps Tier
    Note: 271250.1 - Adcfgclone.pl tier apps Errors with RC-40201: Unable to connect to Database
    Note: 392989.1 - Oam Cloning Preclone while Failed trying to connect to the target DB
    Regards,
    Hussein

  • Create trigger not audited when run from sql developer Version 3.2.20.09

    Creating or editing a trigger is not being stored in the audit table when run from sql developer.
    Here is a sample script to show the issue:
    Grant Connect,create table,create trigger To testuser Identified By testuser;
    create table testuser.testtab(t1 number);
    Select Count(*) From Dba_Audit_Trail Where Owner='TESTUSER';
    CREATE OR REPLACE TRIGGER testuser.testtab_bi_trg BEFORE
      Insert
          ON testuser.testtab FOR EACH ROW
    begin
      null;
    end;
    Select Count(*) From Dba_Audit_Trail  Where Owner='TESTUSER';
    drop user testuser cascade;
    If I run the script from sql developer the CREATE TRIGGER statement does not get audited.
    If I run the script from sql plus or All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.
    If I edit the trigger from sql developer the CREATE TRIGGER statement does not get audited.
    If I edit the trigger from  All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.

    DoyleFreeman wrote:
    Not sure what you mean by "perform the audit".
    Have you tested my script? Does the "Select Count(*) From Dba_Audit_Trail  Where Owner='TESTUSER';" increment by 1 after each of the ddl statements or only after the Create table statement.
    Your question doesn't have ANYTHING to do with sql developer and should be posted in the Database General forum
    https://forums.oracle.com/community/developer/english/oracle_database/general_questions
    Yes - and it works just fine once you ENABLE AUDITING. Your scripIt  does NOT include the statements or code used to ENABLE auditing and, specifically, enable auditing for triggers.
    Auditing doesn't just 'happen'; you have to enable it and you have to specify any non-default auditing that you want to perform.
    Have you read any of the extensive documentation about auditing to learn how to use it?
    See the Database Security Guide
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm
    Also see 'Auditing Functions, Procedures, Packages, and Triggers
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm#BCGBEAGC
    And see the AUDIT statement in the SQL language doc for how to specify auditing of specific operations.
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm
    Select count(*) From Dba_Audit_Trail  Where (Owner='SCOTT' or username = 'SCOTT')
    and action_name = 'CREATE TRIGGER';
    COUNT(*)
    0
    audit create trigger by scott
    CREATE OR REPLACE TRIGGER emp_copy_bi_trg BEFORE
      Insert
          ON emp_copy FOR EACH ROW
    begin
      null;
    end;
    Select count(*) From Dba_Audit_Trail  Where (Owner='SCOTT' or username = 'SCOTT')
    and action_name = 'CREATE TRIGGER';
    COUNT(*)
    1

  • Unable to connect to database which uses custom NLS charset

    Hello,
    I have custom character set installed on my database. I'm trying to connect to DB using OCI driver. On the client machine (Linux), I have Oracle 10g Release 2 installed. Custom character set is installed on the client side too and SQL*Plus connection works fine. Both NLS_LANG and ORA_NLS10 environment variables are set correctly.
    When I'm trying to connect via JDBC, I'm getting the following error:
    java.sql.SQLException: Character Set Not Supported !!
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
         at oracle.sql.converter.CharacterSetMetaData.isFixedWidth(CharacterSetMetaData.java:924)
         at oracle.jdbc.driver.DBConversion.<init>(DBConversion.java:164)
         at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:878)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
    and so on...
    The same code works fine on my computer (I have 9i client here). As I have read from various sources across the internet, Oracle 10g JDBC driver uses own character set conversation methods, encoded in orai18n.jar, it does not pay attention to NLS_LANG, etc.
    So, my question is: do I need to create own character set for JDBC? And if so, is there a chance to generate it from existing .nlt files or I need to build them from scratch?

    Sorry, I think it will be better if I move this post to "Globalization Support" forum : Unable to connect to database which uses custom NLS charset
    This thread can be closed

  • Installing SBO 2007 Error Unable to connect to database

    Trying to install SBO 2007. 
    First install server tools, then sever. 
    The SBO -Common database exists as per checking the SQl database.
    The install asked for the database server, database name, user name and password in which I enter this correctly.
    A message states:
    WARNING
    'Unable to connect to database;verify database server name and that database is started'.
    I am unable to proceed further.  Can any on assit please.
    Have also tried un installing SBO 2007, deleting databases and rebooting - without success.

    Dear Lisa,
    You will get this issue when you are using named/non-default instance of MS SQL Server during the installation progress
    of SAP Business One Integration Platform.
    The B1iP installation program uses default port (1433) to connect MS SQL
    Server and to create database. The named instance will use the port
    other than 1433.
    1.  Before the installation of B1iP, change the port of the named
        instance to 1433, which will be used to install B1iP.
    2.  If 1433 is being used by another application, and cannot be changed,
        the steps below is one walk-around way:
        a) Stop the instance of MS SQL Server, which is using the port 1433
        b) Change the named instance, which will be used to install B1iP, to
           1433 temporary, and remember the port to recover
        c) Install B1iP (or SAP Business One with B1iP component)
        d) After installation, stop the B1i service. Under B1i folder, in
           the Xcellerator.cfg, change 1433 to the port that B1iP DB
           instance used.
        e) Change back the ports of SQL Server.
        f) Run the service of SQL Server and B1i again.
    Regards,
    Rakesh Pati
    SAP Business One Forum Team

  • RMAN off line backup failed as unable to connect to database while databse

    Hi,
    I am facing below error while running offline rman backup:
    OS: HP-UX, Database : 11.1.7
    Issue:
    1. using simple shell script stopping the database then mounting it for rman backup (script is running from root)
    3. rman unable to connect to database then tried various ways to connect to database as bellow but no success:
    SQL> conn rman/rman@orcl
    ERROR:
    ORA-12537: TNS:connection closed
    while
    SQL> conn rman/rman as sysdba
    Connected.
    SQL>
    SQL> conn rman/rman
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Process ID: 0
    Session ID: 555 Serial number: 29
    Alert log tail:
    Setting recovery target incarnation to 2
    Successful mount of redo thread 1, with mount id 3261837737
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    This all goes fine if I just restart the database manually
    can some help me on this......
    Thanks

    user11993192 wrote:
    Hi,
    I am facing below error while running offline rman backup:
    OS: HP-UX, Database : 11.1.7
    Issue:
    1. using simple shell script stopping the database then mounting it for rman backup (script is running from root)
    3. rman unable to connect to database then tried various ways to connect to database as bellow but no success:
    SQL> conn rman/rman@orcl
    ERROR:
    ORA-12537: TNS:connection closed
    while
    SQL> conn rman/rman as sysdba
    Connected.
    SQL>
    SQL> conn rman/rman
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Process ID: 0
    Session ID: 555 Serial number: 29
    Alert log tail:
    Setting recovery target incarnation to 2
    Successful mount of redo thread 1, with mount id 3261837737
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    This all goes fine if I just restart the database manually
    can some help me on this......
    ThanksIn addition to the other comments (don't shut down the db yourself, just tell rman to do a cold backup and let rman handle the details) let me point out that trying to do any db related stuff as root is asking for all kinds of trouble. In fact, it is a general principle that root should never be used for anything that doesn't absolutely require root access. And orcle backups don't absolutely require root access.
    Bottom line is ... you must want to take this backup in the worst way possible, because that's exactly how you are going about it -- in the worst way possible. You really should spend some more time reading up on rman backups and revamp your entire approach to this problem.
    Edited by: EdStevens on Sep 25, 2011 11:38 AM

  • Opening Excel Workbook Fails when run from Scheduled Task on Windows Server 2008 Rw

    Hi,
    I have a little vbs script that instantiates the Excel.Application object and then opens a work book to perform some tasks on it. The script runs fine when run from the command line. When I attempt to run it as a scheduled task (it is supposed to update
    data that is pulled from a SQL Server at regular intervals), it fails with the following error:
    Microsoft Office Excel cannot access the file 'c:\test\SampleWorkbook.xlsm'. There are several possible reasons: .....
    The file does exist. The path reported in the error is correct. The account under which the task is running is the same account I use to run it from the command line. User Account Control is not enabled, and the task is set up to run with highest privileges.
    When I run the same script through the Task Scheduler from a Windows Server 2003 machine, it works without issue.
    I was just wondering if somebody on this forum has run into a similar issue in connection with Windows Server 2008 R2 and figured out what the magic trick is to make it work. I'm sure it is rights related, but I haven't quite figured out what which rights
    are missing.
    Thanks in advance for any advice you may have.

    This is truly killing me ... trying to get it working on Windows Server 2012 without success.
    I desperately need to automate running Excel macros in a "headless" environment, that is non-interactive, non-GUI, etc.
    I can get it to work using Excel.Application COM, either via VBScript or Powershell, successfully on many other Windows systems  in our environment - Windows Server 2008 R2, Windows 7 (32-bit), etc.,  -BUT-
    The two servers we built out for running our automation process are Windows Server 2012 (SE) - and it just refuses to run on the 2012 servers - it gives the messages below from VBScript and PowerShell, respectively- 
    I have tried uninstalling and re-installing several different versions of Microsoft Excel (2007 Standard, 2010 Standard, 2010 Professional Plus, 32-bit vs. 64-bit, etc.), but it makes no difference.
    Would be extremely grateful if any one out there has had any success in running Excel automation on Server 2012 in a non-interactive environment that they could share.
    ( I have tried adding the "%windir%\syswow64\config\systemprofile\desktop"
    folder, which did fix the issue for me when testing on Windows Server 2008 R2, but sadly did not resolve it on Windows Server 2012 )
    [VBScript error msg]
    Z:\TestExcelMacro.vbs(35, 1) Microsoft Office Excel: Microsoft Office Excel cannot
    access the file 'Z:\TestExcelMacro.xlsm'. There are several possible reasons:
    • The file name or path does not exist.
    • The file is being used by another program.
    • The workbook you are trying to save has the same name as a currently open work
    [Powershell error msg]
    Exception calling "Add" with "0" argument(s): "Microsoft Office Excel cannot open or save any more documents because th
    ere is not enough available memory or disk space.
     To make more memory available, close workbooks or programs you no longer need.
     To free disk space, delete files you no longer need from the disk you are saving to."
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ComMethodTargetInvocation
    You cannot call a method on a null-valued expression.
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull

  • Unable to open 10g Database Control Webpage from another computer

    Unable to open 10g Database Control Webpage from another computer
    Hi Gurus
    I have just installed Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on my PC Windows XP , created database and configured DB control
    I can open Database Control Webpage on the database machine by typing
    http://USI2374993VND0.vlgdw2k.visteon.com:1158/em
    or
    http://136.18.70.189:1158/em
    But can not open it from another PC
    When I do following from another PC
    1. http://USI2374993VND0.vlgdw2k.visteon.com:1158/em
    Get error: [code=DNS_NO_DATA] The IP address was not found during the DNS lookup. Contact your system administrator.
    2. http://136.18.70.189:1158/em
    Get error:Can not display web page
    I can ping 136.18.70.189 but not USI2374993VND0.vlgdw2k.visteon.com
    On the other PC I also tried adding 136.18.70.189 to
    tools - internet options - security - local internet - sites - advanced - add this web
    site to the zone as http://136.18.70.189
    But it did not work
    Please help with any ideas
    Thanks a bunch
    New DBA

    Firewalls?
    DNS translation issues?

Maybe you are looking for

  • How do I add multiple family members to eprint capability on my 8600 pro?

    I dont know how to add my wife and son to the eprint capability on my 8600 pro, i tried adding them as seperate users under hp connected but it wont let you use the claim code more than once.  Anyone have any ideas?  I'm sure someone has done this be

  • Using a single master data infoobject for multiple fields

    Hello experts. Today I ran un with the following problem: I am modelling an Infocube and will be receiving a flat file with several fields, of which 3 of them give information about sales representatives. For each transaction there are 1-3 sales repr

  • My thoughts on Square Trade and asurion

    Great looking deal up front...but in the end ????? I am speaking total loss in theory only..and only if your are thinking about buying ins(if you dont want it then this read isnt for you)..I believe in coverage so. I am also a very active person and

  • Unit test runs perfectly fine with NUnit but fails when run from TestExplorer

    Hello all, I have a TestProject, Harmony.Tests. In there, I have a method AddApplicationEvent() which calls another method Send(InvokeRequestMessage requestMessage) which calls a webservice (OperationHandlerBrokerWebService).  The code snippet looks

  • HT1414 itunes does not recognise ipod

    my ipod screen reads "ipod is disabled connct to itunes when i connect to itunes, itunes doesn't recognise my ipod, it asks me to put in the passcode but the ipod doesn't allow me to put in the password HELP