Problem with connection

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

Hi, I have a instance webservice that a class to
businesslayer, however to businesslayer instance a class
to datalayer, where effectively it creates the connection
with the bank and returns one dataset to businesslayer
that it returns for the initial project. I have 4 projects
in the same solution: DataLayer, BusinessLayer, Webservice
and initial project. When I am debug, the webservice makes
the call when businesslayer that it makes called when
datalayer, datalayer if it puts in charge to read string
of connection in web.config, however no value is not
found, therefore it is reading web.config of the project
of the webservice, the correct one would be to read
web.config of the initial project, therefore it is there
that string is configured connection. He is correct to
read web.config of another project? OR for each project I
have that to configure string connection?

Thanks.
 
Hi Bill,

Maybe it is clever to do it step by step.
First test your connection with a very simple program.

Just a thought,

Cor
 
Been thankful Cor, but my connection functions perfectly
with another application without being WebService.
 
Bill,

So why not make a simple Hello World webservice, when that works it is a
matter of ask for the right things and deliver the right things, but I would
try that first.

It is an application from not more than 10 lines I think and in a
webservice you only have to delete the ' characters.

Cor
 
Bill,
With the greatest respect, maybe its just me, but I really cant make
out what the hell you are trying to put accross here. I think the problem
may be to do with English not being your first language.

Try and re-write this in modular easy to read and undestand type format so
we have a better chance of giving advice, alternatively, try and ask the
'specific' question you need an answer to because I felt my brain turning
into glue when trying to read this.

Regards - OHM
#####################
Hi, I have a instance webservice that a class to
businesslayer, however to businesslayer instance a class
to datalayer, where effectively it creates the connection
with the bank and returns one dataset to businesslayer
that it returns for the initial project. I have 4 projects
in the same solution: DataLayer, BusinessLayer, Webservice
and initial project. When I am debug, the webservice makes
the call when businesslayer that it makes called when
datalayer, datalayer if it puts in charge to read string
of connection in web.config, however no value is not
found, therefore it is reading web.config of the project
of the webservice, the correct one would be to read
web.config of the initial project, therefore it is there
that string is configured connection. He is correct to
read web.config of another project? OR for each project I
have that to configure string connection?

Thanks.

Best Regards - OHMBest Regards - OHM (e-mail address removed)
 
Back
Top