Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / August 2004

Tip: Looking for answers? Try searching our database.

Looking for expert help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jake - 25 Aug 2004 14:38 GMT
Hello,

   I apologize for the repost however no one has responded to my last post.
We have some code that has been out in production for a long time. Now all
of the sudden we get an error 401 in the webservice when trying to update
some records. The only thing that has change is the amount of records. We
went from about 100-200 per machine using the web service to about 9000
records. Any idea on how this would return a 401? Thanks in advance.

Jake
Selden McCabe - 26 Aug 2004 17:25 GMT
I didn't see any of your earlier postings, but one possibility is a command
time-out.
If you are using SQL Server, you can set the command timeout before running
the update.

Good luck!
  ---Selden

> Hello,
>
[quoted text clipped - 6 lines]
>
> Jake
Jake - 26 Aug 2004 18:31 GMT
Selden,

   We have the timeouts already increased pretty high. We have had time-out
issues before but the webservice would return a time-out message not a 401.
Any other ideas? Thanks.

Jake

Dim Service As New localhost.Service

Service.Credentials = credentials

Service.Timeout = 3600000

> I didn't see any of your earlier postings, but one possibility is a command
> time-out.
[quoted text clipped - 15 lines]
> >
> > Jake
Selden McCabe - 26 Aug 2004 20:06 GMT
Hi Jake,

Usually the 401 error is something related to permissions, but I wouldn't
rule anything out.

Are your updates all happening at once, or are many programs doing a  few
updates each?

Some of the things I would look at are logging any sort of errors on the
data access.  Maybe one particular update is failing either due to a foreign
key violation, or something else wrong with the input data.

If that's not it, and you have many different users/programs accessing, try
logging any errors there.  Maybe the problem happens with one (or a subset)
of the client machines.

As a last resort, you can run the web service in .Net, and have the clients
point to your development machine.  That way you can trap any errors and
hopefully find what's going on.

Maybe you'll get lucky and it will be one of these or at least one of them
will give you a clue.

---Selden

> Selden,
>
[quoted text clipped - 34 lines]
> > >
> > > Jake
Jake - 27 Aug 2004 01:02 GMT
Selden,

   Please see comments inline.
> Hi Jake,
>
[quoted text clipped - 3 lines]
> Are your updates all happening at once, or are many programs doing a  few
> updates each?

   We have about 60 laptops that run a sync program that takes the info
from an access db on the laptop and passes to the webservice which in turns
passes it to sql.

> Some of the things I would look at are logging any sort of errors on the
> data access.  Maybe one particular update is failing either due to a foreign
> key violation, or something else wrong with the input data.

It's not a primary key or foreign key issue. We simple take any changes from
a specific table in the access db and dump it straight into another
identical table on the sql side.

> If that's not it, and you have many different users/programs accessing, try
> logging any errors there.  Maybe the problem happens with one (or a subset)
> of the client machines.

Could you explain what you mean in more detail in the above comment? Thanks.

> As a last resort, you can run the web service in .Net, and have the clients
> point to your development machine.  That way you can trap any errors and
> hopefully find what's going on.

Can we setup a trace on the webserivce itself? How can we accomplish this?

> Maybe you'll get lucky and it will be one of these or at least one of them
> will give you a clue.
>
> ---Selden

Thanks for all of your suggestions so far.

Jake

> > Selden,
> >
[quoted text clipped - 37 lines]
> > > >
> > > > Jake

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.