Re: Problem while filling the dataset where the data source is a .CSV file
- From: simran2102@xxxxxxxxx
- Date: Sun, 19 Aug 2007 22:25:01 -0700
Thank you so much for your reply.
i went thru the link provided but couldnt find helpk relavant to my
issue.........
also i would like add some more information to the same........
hope i can find some more help........
i would also like to bring to your note dat i m using an impersonated
user (programatically)
there are two cases:
one:
if i include the <identity impersonate="true"> in web config
and use the following string
strConnA = "Provider=MS Remote;"+"Remote Server="+@"\\<comp name>
\<foleder name>;" + " Remote Provider=Microsoft.Jet.OLEDB.4.0;"+"Data
Source="+"try1.csv"+";"+"Extended
Properties='text;HDR=Yes;FMT=Delimited'";
i get the error "MS remote is not registered in the local machine"
and if i use the following string
strConnB ="Provider=Microsoft.Jet.Oledb.4.0;"+"Data Source="+"\\<comp
name>\<foleder name>;"+"Extended
Properties='text;HDR=Yes;FMT=Delimited'";
i get the error " Microsoft.Jet.Oledb.4.0 is not registered in the
local machine"
whereas Microsoft jet with the latesh version is available on my
machine (win XP)
and the second is
if i set <identity impersonate="false"> then with
the strConnA i get the error "specified cast is not valid"
and with strConnB i get "Unspecified error"
i m really not sure which is the right path dat i should go ahead with
there being so many option
it would be really helpful if you could tell me wut would ideally be
the right path(i mean whc string should i use and should i set the
idedntity to true o not)
i really need this.have been racking my head since quite some time now
on this
plz do help
thanx
Cor Ligthert [MVP] wrote:
Hi Simran,
Have a look what Paul has written about your question, this is a selection
on this topic he has in my idea at least given thousand answers.
http://groups.google.nl/group/microsoft.public.dotnet.framework.adonet/search?group=microsoft.public.dotnet.framework.adonet&q=Excel+Clement+hdr&qt_g=Zoeken+in+deze+groep
.
- References:
- Problem while filling the dataset where the data source is a .CSV file
- From: simran2102
- Re: Problem while filling the dataset where the data source is a .CSV file
- From: Cor Ligthert [MVP]
- Problem while filling the dataset where the data source is a .CSV file
- Prev by Date: Re: Expression error
- Next by Date: RE: Is TableAsapter thread safe?
- Previous by thread: Re: Problem while filling the dataset where the data source is a .CSV file
- Next by thread: Problem in oleDB and the double-quote character (")
- Index(es):
Relevant Pages
|