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. 4 1027
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 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?
Been thankful Cor, but my connection functions perfectly
with another application without being WebService. -----Original Message----- 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
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?
.
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 Been thankful Cor, but my connection functions perfectly with another application without being WebService.
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
#####################
Bill wrote: 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 On**********@BTInternet.Com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Refky Wahib |
last post by:
Hi
I need Technical Support
I finished a Great project using .Net and SQL Server and .Net Mobile
Control
My Business case is to implement this Program to accept about 1
Million concurrent...
|
by: Refky Wahib |
last post by:
Hi
Actually I need Technical Support
I finished a Great project using .Net and SQL Server and .Net Mobile
Control
My Business case is to implement this Program to accept about 1
Million...
|
by: Rahul Anand |
last post by:
Getting SQL Exception when trying to implement Connection
based Trasaction using SQL Helper class.
I am using the follwing function to execute my stored
procs:
-=-=-=-
ExecuteScalar(ByVal...
|
by: BBC1009 |
last post by:
I have an application connected to an overseas sql-server using port 1433.
But recently it always timeout the connection. Any solution to avoid
this??? I am using the VB.net Windowed Form with...
|
by: mortenol |
last post by:
Hi, I am trying to connect a MS SSIS package to an AS400/DB2 database,
and I experience problem when I hit the "Create Package" button in
the "Data Link properties window".
I have understood that...
|
by: Suresh |
last post by:
Hi Guys
I have Db2 server installed on remote server. i am connecting to that
remote server by using VPN.
I want to connect that remote DB2 server instance using my local
machine DB2...
|
by: b_r |
last post by:
Hi,
I'm trying to make a simple operation (insert into DB) in VB 2005 and
SQL Server.
The code is as follows:
Dim sConnectionString As String = _
"Data...
|
by: Usman Jamil |
last post by:
Hi
I've a class that creates a connection to a database, gets and loop on a
dataset given a query and then close the connection. When I use netstat
viewer to see if there is any connection open...
|
by: sherifbk |
last post by:
Problem description
==============
- I have 4 clients and 1 server (SQL server)
- 3 clients are Monitoring console 1 client is operation console
- Monitoring console collects some data from...
|
by: Ryan Liu |
last post by:
Hi,
I have a 100 clients/ one server application, use ugly one thread pre client
approach. And both side user sync I/O.
I frequently see the error on server side(client side code is same, but...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |