Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Rpc Server Unavailable in Excel Com Object

Rpc Server Unavailable in Excel Com Object

Scheduled Pinned Locked Moved C#
helpdatabasecsharpcomsysadmin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sakthi dasan
    wrote on last edited by
    #1

    Hello All I m facing one problem in C# Windows Application That one is RPC Server Unavailable while open excel sheet I m using excel object com object i just want to import data into SQL Database first i open the excel sheet and then read the excel finally store data into sql but Excel object throw one error RPC Server unavailable The error occur in the following code WorkBook = ExpApp.Workbooks.Open(System.Windows.Forms.Application.StartupPath + "\\Clone.xls", 0, false, 5, "", "", false, Excel.XlPlatform.xlWindows, "\t", true, false, 0, true); anybody plz help me it s very urgent Thanks in Advance :-D Sak

    P 1 Reply Last reply
    0
    • S sakthi dasan

      Hello All I m facing one problem in C# Windows Application That one is RPC Server Unavailable while open excel sheet I m using excel object com object i just want to import data into SQL Database first i open the excel sheet and then read the excel finally store data into sql but Excel object throw one error RPC Server unavailable The error occur in the following code WorkBook = ExpApp.Workbooks.Open(System.Windows.Forms.Application.StartupPath + "\\Clone.xls", 0, false, 5, "", "", false, Excel.XlPlatform.xlWindows, "\t", true, false, 0, true); anybody plz help me it s very urgent Thanks in Advance :-D Sak

      P Offline
      P Offline
      Pascal 0
      wrote on last edited by
      #2

      Take a look at this http://www.codeproject.com/office/excel_using_oledb.asp[^]

      S 1 Reply Last reply
      0
      • P Pascal 0

        Take a look at this http://www.codeproject.com/office/excel_using_oledb.asp[^]

        S Offline
        S Offline
        sakthi dasan
        wrote on last edited by
        #3

        Thanks for ur command but i m using Excel COM Object for reading excel data so i need solution for rpc server unavailable using Excel dll Thanks Sak

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups