473,513 Members | 2,263 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Connection to DB on web service

Dear developers,

i hav face a big problem on connect my web services to my DB. i m using MS
SQL Server 2000 to build the web services.. but i cannot invoke the input
into the database and "HTTP 500 - Internal server error" on the IE. After i
refresh, a source error occur "An unhandled exception was generated during
the execution of the current web request. Information regarding the origin
and location of the exception can be identified using the exception stack
trace below. " I have stucked at these error for a long time..... sigh~

I hav try the same thing on newly created ASP.NET Web Application, it works
fine... but when come to the ASP.NET Web Service, i face the problem..

can everybody out here pls advice.. anything additional setting should make
on the Web Service..?

Thanks a lot..
cheers,
Wong CS

Nov 16 '05 #1
2 1302
Post a short version of the stack trace.

DalePres

"Wong CS" <ch***********@yahoo.com> wrote in message
news:e5**************@TK2MSFTNGP12.phx.gbl...
Dear developers,

i hav face a big problem on connect my web services to my DB. i m using MS
SQL Server 2000 to build the web services.. but i cannot invoke the input
into the database and "HTTP 500 - Internal server error" on the IE. After
i
refresh, a source error occur "An unhandled exception was generated during
the execution of the current web request. Information regarding the origin
and location of the exception can be identified using the exception stack
trace below. " I have stucked at these error for a long time..... sigh~

I hav try the same thing on newly created ASP.NET Web Application, it
works
fine... but when come to the ASP.NET Web Service, i face the problem..

can everybody out here pls advice.. anything additional setting should
make
on the Web Service..?

Thanks a lot..
cheers,
Wong CS

Nov 16 '05 #2
how to do that ????
"DalePres" <don-t-spa-m-me@lea-ve-me-a-lone--.com> wrote in message
news:un**************@TK2MSFTNGP10.phx.gbl...
Post a short version of the stack trace.

DalePres

"Wong CS" <ch***********@yahoo.com> wrote in message
news:e5**************@TK2MSFTNGP12.phx.gbl...
Dear developers,

i hav face a big problem on connect my web services to my DB. i m using MS SQL Server 2000 to build the web services.. but i cannot invoke the input into the database and "HTTP 500 - Internal server error" on the IE. After i
refresh, a source error occur "An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. " I have stucked at these error for a long time..... sigh~

I hav try the same thing on newly created ASP.NET Web Application, it
works
fine... but when come to the ASP.NET Web Service, i face the problem..

can everybody out here pls advice.. anything additional setting should
make
on the Web Service..?

Thanks a lot..
cheers,
Wong CS


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2127
by: Varun | last post by:
I have a solution which contains windows,web,mobile presentations. Now i want to share the connection string in the web.config file. i want to write a method in a common layer where i can retrieve...
6
2142
by: H | last post by:
This is a question that has haunted me for quite some time. if you build a 4 tier database application where the 4th tier is the database server (MS SQL 2000), where do you build the connection...
26
16456
by: Rajeev Tipnis | last post by:
http://support.microsoft.com/default.aspx?scid=kb;en- us;819450 Questions: 1) Is this patch (fix) applicable to the .NET 1.1 Framework as well? That is, if we have Framework 1.1 (On...
3
3224
by: MattM | last post by:
I am getting the "The underlying connection was closed: Unable to connect to the remote server" message when trying to connect an ASPX page to a simple Hello World web service. I have read a few...
3
4052
by: Rahul Anand | last post by:
As per our requirements we have a web service which internally connects (Simple HTTP Post Request) to a remote server to initiate some work. We are calling the web service method asynchronously...
3
10274
by: Martin B | last post by:
Hallo! I'm working with C# .NET 2.0, implementing Client/Server Applications which are connecting via Network to SQL-Server or Oracle Databases. To stay independent from the underlaying Database...
3
5480
by: tulika dutta | last post by:
after 8 hrs my MySQL connection with JDBC gets time out. It gives the error java.sql.SQLException: No operations allowed after connection closed.Connection was implicitly closed due to underlying...
0
1183
by: =?Utf-8?B?UmljaGFyZCBC?= | last post by:
We have been receiving a connection error at one of our sites, our application works elsewhere. The error occurs when our application written in vb.net 2.0 running as a Windows Service under the...
1
2405
by: Gx3r0 | last post by:
0I have a windows service I created that checks for data to post to an off site webservice over SSL. The service checks every 10 seconds for data to send, if there is data it opens a connection to...
0
7171
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...
0
7388
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7547
jinu1996
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...
0
4751
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3240
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3230
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1607
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
461
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.