Hello,
I hope someone can help me. I have created a windows based application in
C# using WebServices running. The Server is an MS Windows 2003 server. The
services simply retrieves data from a MS Sql data server and passes it back
to the Windows application in the form of a DataSet. My problem is this.
After about 3 calls to the server for different data it seems to just hang.
I have gone through a few different proposed solutions I found on the
internet, but none seem to do the trick. I was wondering if anyone else has
had a similar issue. I have tried increasing the maxconnections settings,
and some other stuff but it just does not seem to work. Am i doning some
thing wrong.
I would really welcome any suggestions,
Thank you. 4 1434
To debug it, try hard coding a dataset in your method taking out the code to
call the db to fill it. so just create a regular dataset and make a few
calls, see if it still hangs. That will help determine where the problem
is.
"Alex" <Al**@discussio ns.microsoft.co m> wrote in message
news:9B******** *************** ***********@mic rosoft.com... Hello, I hope someone can help me. I have created a windows based application in C# using WebServices running. The Server is an MS Windows 2003 server. The services simply retrieves data from a MS Sql data server and passes it back to the Windows application in the form of a DataSet. My problem is this. After about 3 calls to the server for different data it seems to just hang. I have gone through a few different proposed solutions I found on the internet, but none seem to do the trick. I was wondering if anyone else has had a similar issue. I have tried increasing the maxconnections settings, and some other stuff but it just does not seem to work. Am i doning some thing wrong.
I would really welcome any suggestions,
Thank you.
To debug it, try hard coding a dataset in your method taking out the code to
call the db to fill it. so just create a regular dataset and make a few
calls, see if it still hangs. That will help determine where the problem
is.
"Alex" <Al**@discussio ns.microsoft.co m> wrote in message
news:9B******** *************** ***********@mic rosoft.com... Hello, I hope someone can help me. I have created a windows based application in C# using WebServices running. The Server is an MS Windows 2003 server. The services simply retrieves data from a MS Sql data server and passes it back to the Windows application in the form of a DataSet. My problem is this. After about 3 calls to the server for different data it seems to just hang. I have gone through a few different proposed solutions I found on the internet, but none seem to do the trick. I was wondering if anyone else has had a similar issue. I have tried increasing the maxconnections settings, and some other stuff but it just does not seem to work. Am i doning some thing wrong.
I would really welcome any suggestions,
Thank you.
Hi,
Thank you for the response and help. I actually tried that a few days ago
and after a few (3) calls it just hangs again. I found some increas in speed
and less hanging when i started to change the web config file settings. But
my problem is that i really don't understand where the setting like max
connection go and the syntax for entering it in the config file.
Thank you,
Alex
"W.G. Ryan MVP" wrote: To debug it, try hard coding a dataset in your method taking out the code to call the db to fill it. so just create a regular dataset and make a few calls, see if it still hangs. That will help determine where the problem is. "Alex" <Al**@discussio ns.microsoft.co m> wrote in message news:9B******** *************** ***********@mic rosoft.com... Hello, I hope someone can help me. I have created a windows based application in C# using WebServices running. The Server is an MS Windows 2003 server. The services simply retrieves data from a MS Sql data server and passes it back to the Windows application in the form of a DataSet. My problem is this. After about 3 calls to the server for different data it seems to just hang. I have gone through a few different proposed solutions I found on the internet, but none seem to do the trick. I was wondering if anyone else has had a similar issue. I have tried increasing the maxconnections settings, and some other stuff but it just does not seem to work. Am i doning some thing wrong.
I would really welcome any suggestions,
Thank you.
Hi,
Thank you for the response and help. I actually tried that a few days ago
and after a few (3) calls it just hangs again. I found some increas in speed
and less hanging when i started to change the web config file settings. But
my problem is that i really don't understand where the setting like max
connection go and the syntax for entering it in the config file.
Thank you,
Alex
"W.G. Ryan MVP" wrote: To debug it, try hard coding a dataset in your method taking out the code to call the db to fill it. so just create a regular dataset and make a few calls, see if it still hangs. That will help determine where the problem is. "Alex" <Al**@discussio ns.microsoft.co m> wrote in message news:9B******** *************** ***********@mic rosoft.com... Hello, I hope someone can help me. I have created a windows based application in C# using WebServices running. The Server is an MS Windows 2003 server. The services simply retrieves data from a MS Sql data server and passes it back to the Windows application in the form of a DataSet. My problem is this. After about 3 calls to the server for different data it seems to just hang. I have gone through a few different proposed solutions I found on the internet, but none seem to do the trick. I was wondering if anyone else has had a similar issue. I have tried increasing the maxconnections settings, and some other stuff but it just does not seem to work. Am i doning some thing wrong.
I would really welcome any suggestions,
Thank you. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jinashe |
last post by:
what do i need to enable accessing of webservices from a clients PC
i'm hosting some webservices from my server in VB.NET.
i've got some client windows applications done in VB.NET.
what have i got to install on the clients PC to be able to access these
webservices??
Will just the .NET Framework suffice???
Or do i have to install SOAP??
note - the OS of the client can be win98, win2K, win3000, winXP
|
by: Erik P. Vinther |
last post by:
Hi
This might be slightly OT, but I couldn't find a better NG for this question
The question is regarding versioning of webservices. A webservice end point URL basically consists of a base company URL and a webservice name, e.g…
webservices.MyCompany.com/MyService
we want to be able to host several versions of a particular webservice at the same time, so we want the version id to be part of the end point URL. This is consistent...
|
by: Allan Ebdrup |
last post by:
I just had a discussion with one of my fellow programmers.
We have a class for doing some logging and sending an email, it has 5
different scenarioes of loggin that are common enough to share a class and
database tables.
In the future there might be new scenarioes that require their own custom
classes and database tables.
Now we want to expose some of our logging class's methods as webservices
(more a group of function calls called in...
|
by: Stephanie Stowe |
last post by:
Imagine that I had this
<webServices>
<soapExtensionTypes>
<add type="Microsoft.Web.Services.WebServicesExtension,
Microsoft.Web.Services, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" priority="1" group="0" />
</soapExtensionTypes>
</webServices>
|
by: Diffident |
last post by:
Hello Guys,
I have a question with regards to the efficiency and best practices in .NET
framework.
We are currently using Webservices as normal classes. The way we are
invoking methods in these Webservices is by instantiating objects of these
Webservices and not by adding web references to these services...
My question is "Would there be any performance or efficiency overhead, if we
| |
by: cyberstrike |
last post by:
Hi guys, my company was wondering if it's possible to develop
ASP.NET/Webservices easily using a IIS installed on a server instead of
installing IIS locally on the development boxes. Can you develop for
ASP.NET/Webservices without IIS installed on your local box without having to
resort to more difficult debugging or using notepad for development?
Thanks for the help!!
|
by: Antuane |
last post by:
any one have any idea how transactions could be enabled in webservices.
i.e., suppose i've got 2 methods - one to add a contact, & the other to set
some miscellaneous details for the contact, in a webservice.
Now the client uses the above two methods & if the client is happy with the
return values of the above two methdos, ONLY then are the changes made on
the server to be commited. (there'd be three other methods,
begin-transaction,...
|
by: Mike |
last post by:
Hi all,
I have written a webservice which I am using in my smartphone applicaiton.
I have tried the webservice with a WinForms client and it works time and time
again perfectly. When I include it in my smartphone application, it will
work the first time and return ther query set, however when i try it again i
get the following error :
"Server found request content type to be 'text/html; charset=Windows-1252',
but expected 'text/xml'."
|
by: Komandur Kannan |
last post by:
We have a smart device application running on handhelds(Symbol MC9000G). The
backend is Oracle and a middle tier web services development done in Vb.net.
We use pessimistic Locking due to specific business needs
When such a lock is made for a transaction (this code is in the web service)
and the handhelds are terminated abnormally (cold booted or battery low),
the lock still remains. The Web service's connection to oracle is still...
|
by: ChrisM |
last post by:
Hi,
I have written a stand alone WinForms application with an MS Access back-end
for the (small)company I work for. They are now talking about moving a part
of their operations into a second site 50 miles away from the main one.
The second site will simply be a stores. They will need some software in
order to do a few things here, but this will probably come down to half a
dozen or so main functions (booking stock in, issuing stock etc)
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
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 we have to send another system
|
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |