Results 1 to 4 of 4

Thread: Do I need to install Excel inDatabase server

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2007
    Posts
    5

    Do I need to install Excel inDatabase server

    Hi , Can anyone help me in this regard...
    My system works on ASP as front end and Sql server2005 as backend. The database server and file servers are on different IPs.I have written a package in which several stored procedures are there and some of them operate microsft excel to generate reports.
    I have used Microsoft.OleDB.Jet 4.0 engine to operate excel from stored procedure.
    The package runs smoothly but the excel sheets are not generated.
    Do I need to install excel.exe in the database server/File server???
    Please help me I am in big trouble...
    Thanks

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Do I need to install Excel inDatabase server

    I believe that if you install any office product on a server you need to also buy office CALs. Client Access licenses are based upon a per user license but if your db server is the only "client" accessing it then you may be able to get away with just once license.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2007
    Posts
    5

    Re: Do I need to install Excel inDatabase server

    Thank u very much for your quick reply.
    I just want to clarify that the DTS package is a scheduled package and it will copy a excel template from file server(which is in different IP ) and fill the template with data and then put it in file server Ip.
    So I need to install MS office in database server not in file server,inspite of using the microsoft.ole jet 4.0, right??

    Thanks Again....

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Do I need to install Excel inDatabase server

    Do you get any error messages? Using the jet 4 shouldnt be a requirement to install Excel but the issue just may be permissions as its executed from an ASP page? The IUSER_ANOMINOUS user account may not have the perms on the other system or something like that. You dont want to be giving it increased perms as its a security risk but without any error messages or logs its hard to say.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width