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

Similar Messages

  • Things to consider when removing from AD domain a SQL Server 2008 which includes Reporting Services

    Do any one have a link to a list of things to consider when removing from AD domain a SQL Server 2008 which includes Reporting Services, Analysis Services and Integration Services?
    I am taking from an Active Directory domain several servers with SQL 2008 and Reporting Services, Analysis Services and Integration Services. The server will stay on its own without association to any domain, the server will keep its IP address and
    the server will not change names.
    I have done some research and I got the basic steps including, removing the user accounts from the domain, changing the services accounts, changing jobs and databases from being owned by users from the domain. But...
    Are there other things in Reporting Services, Analysis Services and Integration Services internal databases that have an association with the domain AND that will fail after no longer being in the domain?
    I've heard of Reporting Services subscriptions failing when the domain user account is no longer there...Are there any other got ya's that any one has encountered?
    Please advice.
    Note: I am posting in this forum basically because of what I heard on Reporting Services, but it may be a better idea to post into a more broad forum such as SQL Server Migration section.
    Thanks beforehand
    Paulino

    Do any one have a link to a list of things to consider when removing from AD domain a SQL Server 2008 which includes Reporting Services, Analysis Services and Integration Services?
    I am taking from an Active Directory domain several servers with SQL 2008 and Reporting Services, Analysis Services and Integration Services. The server will stay on its own without association to any domain, the server will keep its IP address and
    the server will not change names.
    I have done some research and I got the basic steps including, removing the user accounts from the domain, changing the services accounts, changing jobs and databases from being owned by users from the domain. But...
    Are there other things in Reporting Services, Analysis Services and Integration Services internal databases that have an association with the domain AND that will fail after no longer being in the domain?
    I've heard of Reporting Services subscriptions failing when the domain user account is no longer there...Are there any other got ya's that any one has encountered?
    Please advice.
    Note: I am posting in this forum basically because of what I heard on Reporting Services, but it may be a better idea to post into a more broad forum such as SQL Server Migration section.
    Thanks beforehand
    Paulino

  • How can I install and run lookout 6.1 on windows server 2008 64-bit without errors?

    How can I install and run lookout 6.1 on windows server 2008 64-bit without any errors?
    I was unable to start the lookout applcation after I install the lookout 6.1 on windows server 2008 64-bit.
    (error code: 0xC0000142). Please help!
    Thanks

    This will pobably do http://joule.ni.com/nidu/cds/view/p/id/1051/lang/en but the major issue is that you should concentrate and read the instructions carefully. My two cents.
    Dieet
    Afvallen

  • When will Oracle 10g/11g support Windows Server 2008 and AIX6.1

    Hi all
    I'm sorry if I post it in a wrong place... But I really want to know when will Oracle 10g/11g support Windows Server 2008 and AIX 6.1?
    I've searched in metalink but found nothing useful. Is there anybody can give me a link of Oracle's roadmap for platform support?
    Thanks!

    Oracle does not announce release dates and neither
    does any other software company.But Oracle does have a very good track record of supporting their products on new windows releases extremely close to the windows release date. Clearly they can't support on an unreleased platform though. Given that the launch of Server 2008 isn't even complete worldwide yet (19th March in the UK for example) it would seem that this enquiry is a little premature.
    Niall Litchfield
    http://www.orawin.info/

  • Problems with RDP/RDC from Mac OSX to Windows Server 2008 on External IP

    We have a customer that is using Mac and Microsoft's RDC for Mac to their servers.
    They've just upgraded from Windows Server 2003 to 2008 and can't connect through RDP to their TS server on external IP.
    Their servers is not in any domain and it work for them to connect to another Windows Server 2008 that is located in their office when they use internal IP.
    The problem is that when using RDC to the external IP they get bellow:
    "Remote Desktop cannot verify the identity of the computer you want to connect to. This problem can occur if:
    The remote computer is running a version of Windows that is earlier than Windows Vista.
    The remote computer is configured to support only the RDP security layer.
    Contact your network administrator or the owner of the remote computer for assistance."
    From here they can choose "Connect" as they did on the Server 2003 but now they get: "Remote Desktop Connection cannot verify the identity of the computer that you want to connect to.Try reconnecting to the Windows-based computer, or contact our administrator."
    and is only able to choose "Ok".
    I've changed the settings on the "configuration for host server for remote desktop sessions" under General from "RDP-Security Layer" to "Negotiate" and in this case I get a logon windows where i type in all my information click logon. Here I get another
    error message which says something like: (We get it in Swedish). "Connection to the windows-based computer broke since there was a problem associated with the licensificationprotocol... Try to connect again" Where I can choose "Cansel" or "reconect"
    but it just keeps poping up if i chose reconnect.
    I've tried all settings in the TS server and there is not much to change on the RDP client. We have installed the server certificate on the Mac client but it didn't help.
    We've also tried with CoRD and it works fine as RDP from a normal Windows based computer.
    The only solution I've found on google is to use CoRD instead but we got problems with that connection since it keep crasching on our computer.
    In my eyes the problem is on the security requirements that the RDC for Mac needs but I can't find any inforamtion on MS sites about it.
    Greatfull for all tips and trix!

    I too was having the problem same as everyone else. However, for me the problem all started when I replaced my SSL certificate that was used/selected in the Remote Desktop Session Host Configuration utility, connections, RDP-TCP Properties.  The security
    layer is negotiate and the certificate is the one selected on that screen.  It was not licensing related.
    The certificate had expired and I didn't believe I needed it.  But turns out I did, so I had to generate and validate a new one using GoDaddy (though they specifically were not part of the problem).  As my Terminal Servers (Remote desktop servers)
    do not have IIS installed, I was a bit stumped on how to create a new certificate request.   I finally found some instructions on how to create a certificate request using the MMC snap-in, advanced operations, create custom request. The template
    chosen was "legacy key", and without boring the rest of the details that part was the root cause of my problem.  The legacy key was not able to be processed correctly by the Mac RDC client. Neither the official 2.1.1 client or the 2.1.2 download.
    The Terminal Server system event log was showing the following two errors, 36874 and 36888.  The first one contained the best details and said: "An TLS 1.0 connection request was received from a remote client application, but none of the cipher suites
    supported by the client application are supported by the server. The SSL connection request has failed."  Upon searching the internet for that, I found this page which described the legacy key problem:
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/3a2d2eec-000d-432a-abd7-6b965268c671
    So, my solution most familiar to me was to use IIS and create the SSL certificate request, process that with my 3rd party CA, export the certificate with private key and then import that certificate into all of my terminal servers.  Then using the session
    host configuration tool, pick the new certificate and the problem was now solved.

  • OS Migration from Solaris 10 to Windows Server 2008 R2 or higher

    Hi experts,
    We'd like to migrate the OS of our SAP systems to windows from Solaris 10. We're still wondering which version of Windows we'll use. (matter of money)
    Could you give me some docs, tips or advice to do that ? (requirements, how to do it, packages to install)
    I have checked berforehand that all the SAP solutions we're using are compatible with Windows Server 2008 R2 or higher.
    I heard I'd need an OS Migration Expert to do it, but still, before that I need to check if it's possible and a roadmap could also be nice.
    Thank you in advance,
    Best Regards.
    Alexiel.

    Hi Alex,
    From license perspective you need to procure license for Windows 2012 but for installation you can downgrade it to windows 2008 R2 as required.
    From suggestion perspective, it is always good to go with Windows 2012 to gain benefits from mainstream support and new features as compared to windows 2008 r2.
    As per SAP recommendation, it is good to have OS/DB certified consultant to perform the migration.
    Some useful documents available on SCN
    System Copy Guide: System Copy for SAP Systems Based on SAP NetWeaver 7.1 Java - SAP NetWeaver Composition Environment 7…
    Heterogeneous ABAP System Copy - Technical Overview
    FAQ - System Copy and Migration
    Regards,
    Deepak Kori

  • How do I run a vb script in Windows Server 2008 R2

    Hello,
    How do I run a vb script
    to generate an OID to create a new element
    of a schema in an active directory
     in Windows Server 2008 R2?
    Thank you for your feedback.
    Juan Carlos
    Juan Carlos

    Hello,
    How do I run a vb script
    to generate an OID to create a new element
    of a schema in an active directory
     in Windows Server 2008 R2?
    Thank you for your feedback.
    Do you have the script yourself? Assuming yes, it is the command:
    cscript YourScript.vbs
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • 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 like this. This is not the complete code but a part where we are calling the web service. It fails on the underlined Italic line of code.
    OperationHandlerBrokerWebService brokerService = new OperationHandlerBrokerWebService();
    brokerService.UseDefaultCredentials = true;
    brokerService.Url = address;
    brokerService.Timeout = timeoutInMilliseconds;
    byte[] serializedResponseMessage = brokerService.InvokeOperationHandler(serializedRequestMessage);
    The same test works and passed fine when I ran it with NUnit, but failed with following exception when I tried to run it from TestExplorer. 
    Test Name: AddApplicationEvent
    Test FullName: N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.AddApplicationEvent
    Test Source: d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs : line 665
    Test Outcome: Failed
    Test Duration: 0:00:00.296
    Result Message:
    SetUp : Message returned System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Invalid token for impersonation - it cannot be duplicated.
    at System.Security.Principal.WindowsIdentity.CreateFromToken(IntPtr userToken)
    at System.Security.Principal.WindowsIdentity..ctor(SerializationInfo info)
    at System.Security.Principal.WindowsIdentity..ctor(SerializationInfo info, StreamingContext context)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context)
    at System.Reflection.RuntimeConstructorInfo.SerializationInvoke(Object target, SerializationInfo info, StreamingContext context)
    at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
    at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
    at System.Runtime.Serialization.ObjectManager.DoFixups()
    at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream)
    at N4S.Forms.OperationHandlerBroker.AMessage.DeserializeMessage(Byte[] serializedMessage)
    at N4S.Forms.OperationHandlerBroker.WebServiceServer.BrokerService.InvokeOperationHandler(Byte[] serializedInvokeRequestMessage)
    --- End of inner exception stack trace ---
    expected: <0>
    but was: <1>
    Result StackTrace:
    at N4S.Harmony.Tests.TestHelper.InvokeOperation(OperationHandler handler, OperationHandlerInput input, Boolean expectedToWork) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 136
    at N4S.Harmony.Tests.TestHelper.LoginAsUser(String username, String password) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 394
    at N4S.Harmony.Tests.TestHelper.Login(TestUserName requestedUser) in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 377
    at N4S.Harmony.Tests.TestHelper.LoginAsAdvisor() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\TestHelper.cs:line 230
    at N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.Login() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs:line 76
    at N4S.Harmony.Tests.CaseManagement.HarmonyFacadeTests.SetupTest() in d:\TFS\TMW\Dev\TMWOnline\Harmony\N4S.Harmony.Tests\CaseManagement\HarmonyFacadeTests.cs:line 67
    I am not sure what causing the issue. I checked the Credentials, Windows Identity during both the test run and there is no difference. Please advise !!
    Thanks,
    Deepak

    Hi Tina,
    Thanks for your reply. 
    I do have NUnit adapter installed. I even noticed that the test runs fine with NUnit GUI and also if I run it through Resharper Test Explorer window. 
    As you can see in the image above the same test is passed when I ran it from Resharper Unit Test Explorer window but fails when I ran it from Test Explorer window. I also captured the information on fiddler. 
    There was a significant difference in the Header Content length. Also under the User-Agent property the protocol versions are different. 
    Not sure why VSTest ExecutionEngine is picking a different version.
    The UnitTest in question is calling a webservice method which in turn calls a method from another referenced project. 
    Web Service class
    using System;
    using System.Web.Services;
    using N4S.Forms.OperationHandlerBroker.Server;
    using NLog;
    namespace N4S.Forms.OperationHandlerBroker.WebServiceServer
    /// <summary>
    /// The operaton-handler broker service.
    /// </summary>
    [WebService(Description = "The N4S Forms Operation-Handler Broker Web-Service.", Name = "OperationHandlerBrokerWebService",
    Namespace = "N4S.Forms.OperationHandlerBroker.WebServiceServer")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class BrokerService : WebService
    { /// <summary>
    /// Calls <see cref="HandleRequest"/>. Updates performance-counters.
    /// </summary>
    /// <param name="serializedInvokeRequestMessage">the binary-serialized <see cref="InvokeRequestMessage"/></param>
    /// <returns>the binary-serialized response message</returns>
    [WebMethod(BufferResponse = true, CacheDuration = 0, Description = "Invokes the requested operation-handler and returns a binary-serialized response-message.", EnableSession = false)]
    public byte[] InvokeOperationHandler(byte[] serializedInvokeRequestMessage)
    logger.Trace(Strings.TraceMethodEntered);
    PerformanceMonitor.RecordRequestStarted();
    InvokeRequestMessage requestMessage = (InvokeRequestMessage) AMessage.DeserializeMessage(serializedInvokeRequestMessage);
    InvokeResponseMessage responseMessage;
    try
    responseMessage = HandleRequest(requestMessage);
    PerformanceMonitor.RecordSuccessfulRequest();
    catch (Exception)
    PerformanceMonitor.RecordFailedRequest();
    throw;
    finally
    PerformanceMonitor.RecordRequestEnded();
    logger.Trace(Strings.TraceMethodExiting);
    return AMessage.SerializeMessage(responseMessage);
    UnitTest snippet
    OperationHandlerBrokerWebService brokerService = new OperationHandlerBrokerWebService();
    brokerService.UseDefaultCredentials = true;
    byte[] serializedResponseMessage = brokerService.InvokeOperationHandler(serializedRequestMessage);
    Please advise.
    Thanks,
    Deepak

  • OLE Program works in debug mode fails when run from F8

    Hello,
    I have implemented a code from this forum for sending documents to printer, as below, but although it works well in debug mode, it fails when I execute directly from SE38? Any idea?
    Best Regards,
    Didem GUNDOGDU
      CREATE OBJECT gs_word 'WORD.APPLICATION'.
      SET PROPERTY OF gs_word 'Visible' = '0'.
      CALL METHOD OF gs_word 'Documents' = gs_documents .
      CALL METHOD OF gs_documents 'Open' = gs_newdoc
        EXPORTING
          #1 = p_filep .
      CALL METHOD OF gs_word 'ActiveDocument' = gs_actdoc.
      CALL METHOD OF gs_actdoc 'PrintOut'  .
      CALL METHOD OF gs_word 'Quit' .

    Hi Didem,
    Just a suggestion: could you print syst-subrc after each method call? Perhaps that can give you a clue.
    Regards,
    John.

  • Error when running a report in Crystal Reports Server 2008

    Received the following error message:
    Error in File Relatorio4: Failed to load database information.
    Or
    Error
    Failed to open the connection. Relatorio4 Details: [Database Vendor Code:
    12154 ]
    I'm trying to run a report Crystal Reports 2008 in Crystal Reports Server 2008.
    I use the native driver for Oracle (Oracle Server).
    Any help would be appreciated!

    Hi Vilari,
    Do a small test to test your connection.
    -Right Click on desktop ->
    Create new text document->
    Save as test.UDL->
    double click and test connection by selecting driver name,datasource name,user id and password.
    Click on Test Connection.
    It should be succeed.
    Database Vendor Code is the error returned by the database client/server.Its not a Crystal Report Error.Check Microsoft's web site for more info on what that error means.
    Likely the client has not been in stalled or configured or both.
    Also check that proper DSN is configured or not.
    As you are using Oracle make sure that a TNSNAMES.ORA file exists and is in the proper place and accessible. See the operating system specific manual for details on the required name and location.
    Check to see that the service name exists in one of the TNSNAMES.ORA files and add it if necessary.
    Make sure there are no syntax errors anywhere in the file. Particularly look for unmatched parentheses or stray characters. Any error in a TNSNAMES.ORA file makes it unusable.
    Hope this helps
    Regards,
    Shweta

  • Moving from Novell Zenworks to Windows Server 2008 domain

    I am trying to find ways to automate the process of moving between a Novell Zenworks environment to a server 2008 domain. The first problem to my understanding is changing the names of the machines to legal values in our Windows XP Pro Clients. They are currently mostly named, cata_rm#_computer# (where # is a defined value set manually). To my understanding underscore _ is an invalid character for joining a domain so we want to have an automated script that can easily be deployed over the network to basically replace all "_"with "-". Is this necessary or can this issue be handled easier ****her down the road on moving to a windows domain?
    We would then like to be able to deliver a payload via zenworks that will cause all of Novell and Zenworks to be removed from the computer and once that is complete add the computer to the new windows domain. Ideally the payload could be easily run from a network share or flash drive as well. Unattended installers may be available for this software suite but we would want to combine the uninstall process with adding the domain so we can move from our poor zenworks domain to a windows domain without ever touching most of our machines.
    This is not my project but I am interested in learning how this process could be completed as painlessly as possible hopefully learning something along the way. Anything from links to guides on where to get started looking to more developed solutions would be greatly appreciated. Thank you for any assistance you can provide.

    None the less the beginning of my problem, removing Novell is a Novell issue. Thankfully I have figured out most of the removal of novell and zenworks already, now just working on fixing the client names and joining the windows AD domain.
    Originally Posted by mdallair
    Hi firemandan9,
    As you probably know this is a Novell support forums and you are asking how to get rid of Novell. May be a better place is the Microsoft Forums.
    Martin Dallaire

  • Stored procedure fails when run from SSIS DataFlow task

    I'hv a stored procedure (with dynamis SQL), taking colums names as parameters to run and returns dynamic columns in output. E.g. if I pass @ipselect = '*' it will returns all columns in output, when I pass @ipselect =  'column1, column2, column3'  
    ,it will returns 3 columns in output.
    Now I have SSIS package. I've Data Flow task in foreach loop container and it is taking parameter from client table. e.g
    clientid       column name
    1                        *
    2                columns1,columns2,column3
    3               columns1,columns2,column3,columns4,columns5,column6
    4                       *
    Foreach container loop through each client id and set ipselect parameter with
    column name  and that value is being passed to @ipselect stored procedure in Dataflow task. When there is @ipselect = '*' it runs fine ,returns all columns and write to destination. But when there is ipselect = 'columns1,columns2,column3',
    it fails with below error:
    [OLE DB Source [1]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E55.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E55  Description: "Column does not exist.".
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "OLE DB Source" (1) returned error code 0xC0202009.  The component returned a failure code when the pipeline engine called PrimeOutput().
    The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    Any suggestion or solution would be really helpful.
    Thanks!!

    Hi Kevin,
    Just an addition. To create SSIS package programmatically, please refer to the document:
    http://msdn.microsoft.com/en-us/library/ms345167.aspx 
    To implement dynamic column mapping through SSIS Script Component, please refer to:
    http://wikiprogrammer.wordpress.com/2011/04/08/dynamic-column-mapping-in-ssis-part-1/ 
    http://blog.quasarinc.com/ssis/best-solution-to-load-dynamically-change-csv-file-in-ssis-etl-package/ 
    Regards,
    Mike Yin
    TechNet Community Support

  • System Center 2012 R2 DPM Support Files installation has failed when running Remote SQL Prep on SQL server

    I am trying to install DPM 2012 R2 and one of the pre-reqs is to run 'DPM Remote SQL Prep' before kicking off the DPM installation. My SQL server is 2012 SP1 and when I select this option, I get an error straight away telling me 'System Center 2012
    R2 DPM Support Files installation has failed'.
    Not sure how to troubleshoot this as doing a search did not bring up anything.

    I am trying to install DPM 2012 R2 and one of the pre-reqs is to run 'DPM Remote SQL Prep' before kicking off the DPM installation. My SQL server is 2012 SP1 and when I select this option, I get an error straight away telling me 'System Center 2012
    R2 DPM Support Files installation has failed'.
    Not sure how to troubleshoot this as doing a search did not bring up anything.
    Ignore this.
    I launched the setup as Administrator and it worked!

  • Excel 2013 hangs when previewing xls file made by Reporting Server 2008

    Hi all.
    I have a unusual error in excel 2013. We have a homepage that delivers statics to our users and there you can choose to export the webpage to a xls file via SQL ReportingServer 2008. The thing is when I open this exported file in Excel and hit the print
    button, excel crashes. It seems to crash during the preview of the document. If I make a document by hand that has exactly the same format as the exported document, excel will preview and print it. 
    I have tried to change default printer and printer drivers but no success. Office 2013 is also up to date.
    If I save the document from SRSS and try to print it from another computer with Excel 2013 installed, it crashes Excel.
    Any suggestions? 

    Hi,
    Did you use another Excel file to preview or print? Did the Excel crash again?
    I recommend we export a different webpage to a XLSX, then we test it again.
    I notice that you try to print the document from another compute and also crashed Excel.
    Following this, I suppose that there were some underidentified characters in the file.
    After that, I suggest we save as the file to PDF to test.
    Regards,
    George Zhao
    TechNet Community Support
    I have tried printing another excelfile without problems. Infact I can make a replica manually of the report and print it without problem. I can't narrow it down to either a RS fault or Excel fault cause the logfiles don't say much. If I export the report
    to a PDF it prints fine, but my users will complain about lack of editing :-)
    If I save the xls file to xlsx and tries to print it also hangs in print preview.
    An interesting thing is when i export the file to PDF/XPS (PDF in this case) it also hangs Excel... 
    How do I look for underidentified
    characters in the file? I don't see anything in the spreadsheet.  
     

  • Encounter the 0ra-01921 error when run catlog.sql on 11g windows server

    I am using sys account to run catlog.sql there is an error : ERROR at line 1:
    ORA-01921: role name 'IMP_FULL_DATABASE' conflicts with another user or role name
    when I try to run it with my dba account it cause more error????
    Thank You

    I am using sys account to run catlog.sql there is an
    error : ERROR at line 1:
    ORA-01921: role name 'IMP_FULL_DATABASE' conflicts
    with another user or role name
    when I try to run it with my dba account it cause
    more error????
    Thank Youyou mean catalog.sql ?
    What's the reason you want to regenerate database dictionary?
    when you run catalog.sql and catproc.sql on live database you will get these errors because the objects already exists. You can ignore them. You will get other errors when create public synonym etc..

Maybe you are looking for

  • Need to display "Calendar Month/Year" at report level from Calendar Day

    Hello Experts, I have a scenario in which I have 0CALDAY (e.g. 01.01.2009) along with other fields available in my report. My requirement is to display "Calendar Month/Year" (01.2009) in my report. Is it possible to have "Calendar Month/Year" in my r

  • Performance Vows , Requests get lost ..

    I am performance tuning my JSP/Struts web-application deployed over jboss.. I have not got success yet. During performance/load testing of my web application with apache jmeter. It is OK up to 1400 request per minute.. But if i increase the load , i

  • PDF-Import in Corel oder Indesign

    Hallo, habe Acrobat 9.2 installiert und erstelle PDF-Files aus Word und Exel, die auch im Reader lesbar sind. Ein Import in Corel oder Indiesign scheitert jedoch. Meldung bei Corel: Die Datei ist beschädigt Meldung bei Indesign: Das Format wird nicht

  • Just a little help needed please!

    Hello all - My name is John, new poster here on the forums. I'm taking a Java class and I'm really really stuck - I took this 'TestScanner.java' right outta my text and it gives me an error when I compile it at cmd prompt; I checked and rechecked my

  • What is best to do with I-tunes????

    I think I am going to get the New 30GB I pod with color display, but I wont get it for a few months...i have been getting ready to get it by down loading and labeling all my songs onto a play list in windows media player because I want to have it all