Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
QuestionRpc Server Unavailable in Excel Com Object Pin
sakthi dasan8-Aug-07 3:49
sakthi dasan8-Aug-07 3:49 
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
Big Grin | :-D

Sak
AnswerRe: Rpc Server Unavailable in Excel Com Object Pin
- Pascal -8-Aug-07 18:27
- Pascal -8-Aug-07 18:27 
GeneralRe: Rpc Server Unavailable in Excel Com Object Pin
sakthi dasan8-Aug-07 23:15
sakthi dasan8-Aug-07 23:15 
Questionqueue of string arrays syntax Pin
Lord_Veralix8-Aug-07 3:43
Lord_Veralix8-Aug-07 3:43 
AnswerRe: queue of string arrays syntax Pin
Hessam Jalali8-Aug-07 4:02
Hessam Jalali8-Aug-07 4:02 
GeneralRe: queue of string arrays syntax Pin
Lord_Veralix8-Aug-07 4:07
Lord_Veralix8-Aug-07 4:07 
QuestionDataGridView multi-column sort on bound data Pin
Dana Tov8-Aug-07 3:38
Dana Tov8-Aug-07 3:38 
QuestionForm.Show() and TabControl tab page changed Pin
C-Scharbe8-Aug-07 3:25
C-Scharbe8-Aug-07 3:25 
AnswerRe: Form.Show() and TabControl tab page changed Pin
snorkie8-Aug-07 3:34
professionalsnorkie8-Aug-07 3:34 
GeneralRe: Form.Show() and TabControl tab page changed Pin
C-Scharbe8-Aug-07 3:39
C-Scharbe8-Aug-07 3:39 
GeneralRe: Form.Show() and TabControl tab page changed Pin
C-Scharbe9-Aug-07 2:49
C-Scharbe9-Aug-07 2:49 
QuestionHow to generate Random dates in C#.net Pin
Haj8-Aug-07 3:04
Haj8-Aug-07 3:04 
AnswerRe: How to generate Random dates in C#.net Pin
originSH8-Aug-07 3:20
originSH8-Aug-07 3:20 
AnswerRe: How to generate Random dates in C#.net Pin
Hessam Jalali8-Aug-07 3:25
Hessam Jalali8-Aug-07 3:25 
AnswerRe: How to generate Random dates in C#.net Pin
Michael Potter8-Aug-07 4:44
Michael Potter8-Aug-07 4:44 
QuestionHow can I load a chm file in a form? Pin
Zahrashahla8-Aug-07 2:51
Zahrashahla8-Aug-07 2:51 
AnswerRe: How can I load a chm file in a form? Pin
sakthi dasan8-Aug-07 3:52
sakthi dasan8-Aug-07 3:52 
GeneralRe: How can I load a chm file in a form? Pin
Zahrashahla8-Aug-07 4:05
Zahrashahla8-Aug-07 4:05 
AnswerRe: How can I load a chm file in a form? Pin
PIEBALDconsult8-Aug-07 5:40
mvePIEBALDconsult8-Aug-07 5:40 
QuestionSmart Part and User controls Pin
umashankergr88-Aug-07 2:40
umashankergr88-Aug-07 2:40 
QuestionListview ploblem? Pin
abcomp018-Aug-07 2:35
abcomp018-Aug-07 2:35 
AnswerRe: Listview ploblem? Pin
Hessam Jalali8-Aug-07 3:14
Hessam Jalali8-Aug-07 3:14 
GeneralRe: Listview ploblem? Pin
abcomp018-Aug-07 3:41
abcomp018-Aug-07 3:41 
GeneralRe: Listview ploblem? Pin
Hessam Jalali8-Aug-07 4:00
Hessam Jalali8-Aug-07 4:00 
Questionmouse posistion on a control when drag and dropped onto Pin
racing578-Aug-07 2:34
racing578-Aug-07 2:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.