The web service is called by a program running on pocket pc. When to
call the web service, the first call is still ok, but for the second
or later calls, it will throw "403 Forbidden" WebException. When to
test it using the web interface on pocket IE, everything is fine.
Before there was no such problem, it only happened within a week or
so. I suspect it's caused by the server's firewall settings, but how
come the first call is ok? This is quite wired.
Is there anyone who can help or met this problem before? 6 3273
"alho" <xi**********@gmail.comwrote in message
news:11**********************@i13g2000prf.googlegr oups.com...
The web service is called by a program running on pocket pc. When to
call the web service, the first call is still ok, but for the second
or later calls, it will throw "403 Forbidden" WebException. When to
test it using the web interface on pocket IE, everything is fine.
Before there was no such problem, it only happened within a week or
so. I suspect it's caused by the server's firewall settings, but how
come the first call is ok? This is quite wired.
Is there anyone who can help or met this problem before?
Is the second call exactly like the first call?
--
John Saunders [MVP]
On Aug 13, 10:28 pm, "John Saunders [MVP]" <john.saunders at
trizetto.comwrote:
"alho" <xiaolong....@gmail.comwrote in message
news:11**********************@i13g2000prf.googlegr oups.com...
The web service is called by a program running on pocket pc. When to
call the web service, the first call is still ok, but for the second
or later calls, it will throw "403 Forbidden" WebException. When to
test it using the web interface on pocket IE, everything is fine.
Before there was no such problem, it only happened within a week or
so. I suspect it's caused by the server's firewall settings, but how
come the first call is ok? This is quite wired.
Is there anyone who can help or met this problem before?
Is the second call exactly like the first call?
--
John Saunders [MVP]
Yes, first I got this error at the second call, later when I test it,
I repeated the first call twice in a try catch, and the second line
got this exception too. So the second call always goes wrong no matter
the same or not.
"alho" <xi**********@gmail.comwrote in message
news:11*********************@z24g2000prh.googlegro ups.com...
On Aug 13, 10:28 pm, "John Saunders [MVP]" <john.saunders at
trizetto.comwrote:
>"alho" <xiaolong....@gmail.comwrote in message
news:11**********************@i13g2000prf.googleg roups.com...
The web service is called by a program running on pocket pc. When to
call the web service, the first call is still ok, but for the second
or later calls, it will throw "403 Forbidden" WebException. When to
test it using the web interface on pocket IE, everything is fine.
Before there was no such problem, it only happened within a week or
so. I suspect it's caused by the server's firewall settings, but how
come the first call is ok? This is quite wired.
Is there anyone who can help or met this problem before?
Is the second call exactly like the first call? -- John Saunders [MVP]
Yes, first I got this error at the second call, later when I test it,
I repeated the first call twice in a try catch, and the second line
got this exception too. So the second call always goes wrong no matter
the same or not.
I would try to determine whether the service itself is getting called, both
the first and second times. In particular, I'd try to find out whether an
exception is being thrown by the service.
The only difference I know about between the first and second calls is that
on the second call, the service is already running. This should not increase
the likelihood of a 403 error. So, I have several questions:
* Is this a normal, ASP.NET "ASMX" web service?
* Is there anything unusual about the service itself, or about the client?
* Does the problem happen when you call the service from two separate
clients, one time apiece? This is to distinguish between a single client
having a problem calling twice, and the service having a problem being
called twice.
* Can you reproduce the problem with a simple "Hello, World" service? This
is to determine whether the issue has to do with the "contents" of the
server, or only with the "structure".
* Can you reproduce the problem with a trivial client? This is to determine
whether the issue is with the client or with the service.
Sorry for all the questions, but this problem doesn't make sense based on
the information given, so I'm looking for more information.
--
John Saunders [MVP]
On Aug 14, 7:37 pm, "John Saunders [MVP]" <john.saunders at
trizetto.comwrote:
"alho" <xiaolong....@gmail.comwrote in message
news:11*********************@z24g2000prh.googlegro ups.com...
On Aug 13, 10:28 pm, "John Saunders [MVP]" <john.saunders at
trizetto.comwrote:
"alho" <xiaolong....@gmail.comwrote in message
>news:11**********************@i13g2000prf.googleg roups.com...
The web service is called by a program running on pocket pc. When to
call the web service, the first call is still ok, but for the second
or later calls, it will throw "403 Forbidden" WebException. When to
test it using the web interface on pocket IE, everything is fine.
Before there was no such problem, it only happened within a week or
so. I suspect it's caused by the server's firewall settings, but how
come the first call is ok? This is quite wired.
Is there anyone who can help or met this problem before?
Is the second call exactly like the first call?
--
John Saunders [MVP]
Yes, first I got this error at the second call, later when I test it,
I repeated the first call twice in a try catch, and the second line
got this exception too. So the second call always goes wrong no matter
the same or not.
I would try to determine whether the service itself is getting called, both
the first and second times. In particular, I'd try to find out whether an
exception is being thrown by the service.
The only difference I know about between the first and second calls is that
on the second call, the service is already running. This should not increase
the likelihood of a 403 error. So, I have several questions:
* Is this a normal, ASP.NET "ASMX" web service?
* Is there anything unusual about the service itself, or about the client?
* Does the problem happen when you call the service from two separate
clients, one time apiece? This is to distinguish between a single client
having a problem calling twice, and the service having a problem being
called twice.
* Can you reproduce the problem with a simple "Hello, World" service? This
is to determine whether the issue has to do with the "contents" of the
server, or only with the "structure".
* Can you reproduce the problem with a trivial client? This is to determine
whether the issue is with the client or with the service.
Sorry for all the questions, but this problem doesn't make sense based on
the information given, so I'm looking for more information.
--
John Saunders [MVP]- Hide quoted text -
- Show quoted text -
Thank you for the attention and the questions.
* It's a normal ASP.NET "ASMX" web service.
* The service itself is fine. Actually before everything was ok. The
client is a PocketPC program.
* It happens in a single client, when calling the service twice.
* It has nothing to do with the content I think, I used complex and
simple web methods to test, got the same result.
* I've done testing using a window application on a PC, it works well
without the problem. But when I did the same testing using a PocketPC
application, the error will occur. The test program is just a textbox
to display result and a button to call a web method. On the PocketPC,
when I click on the button for more than one time, it will throw the
(403) Forbidden exception, but on a PC there is no exception.
This happens on both device and emulator.
"alho" <xi**********@gmail.comwrote in message
news:11**********************@j4g2000prf.googlegro ups.com...
>
Thank you for the attention and the questions.
* It's a normal ASP.NET "ASMX" web service.
* The service itself is fine. Actually before everything was ok. The
client is a PocketPC program.
* It happens in a single client, when calling the service twice.
* It has nothing to do with the content I think, I used complex and
simple web methods to test, got the same result.
* I've done testing using a window application on a PC, it works well
without the problem. But when I did the same testing using a PocketPC
application, the error will occur. The test program is just a textbox
to display result and a button to call a web method. On the PocketPC,
when I click on the button for more than one time, it will throw the
(403) Forbidden exception, but on a PC there is no exception.
This happens on both device and emulator.
Sorry, but I still can't make sense out of this. I hope that you've been
able to solve the problem on your own.
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer
This sounds very similar to a problem I was having. In my case, the
service ALWAYS worked fine on the first call, but never worked the
second time. I too was receiving 403 errors the second time I
submitted the request.
I don't know what version of .Net your have on your desktop, but I
found that I never had problems when the app was run against .Net 1.1,
but I always got the errors when running on .Net 2.0.
With the help of MS tech support, we finally got our issue resolved.
Here is a link to the thread: http://groups.google.com/group/micro...80c57d255f71/# This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Peter Frost |
last post by:
Please help
I don't know if this is possible but what I would really like to do is
to use On Error Goto to capture the code that is being executed when
an error occurs.
Any help would be much...
|
by: Nawanat |
last post by:
Dear All,
I’m developing software using Microsoft Visual C++ 6.0 and having a problem
with Remote Procedure Call (RPC). Since RPC is used as a tool to communicate
between applications over...
|
by: Francois Guerin |
last post by:
I have an application calling a web service on a different machine. The
application code runs under a local user account on the application server.
The account (identical username/password) is...
|
by: jf li |
last post by:
I have a Asp.net web application and a Asp.net Web service application. The
Web application is using HtmlInputFile to get a 50M size of file selected by
end user, read the data of this file and...
|
by: Jorgen Haukland, Norway |
last post by:
Hi,
I have created a Java webservice which runs in IBM WebSphere appserver. I
take the WSDL-file and create a VS.NET WinForm application and calls the
service running on my PC and everything...
|
by: Jim Underwood |
last post by:
I am having a problem with my web page timng out while retrieving a long
runnign report (90-120 seconds. I have tried modifying several settings in
various places and cannot get it to run for more...
|
by: Jason Richmeier |
last post by:
I am sure this has been asked at least once before but I could not find
anything when searching.
If I set the value of the ExitCode property to 1066 for a windows service,
the text "A service...
|
by: Lance Wynn |
last post by:
Hello,
I am receiving this error when trying to instantiate a webservice component.
I have 2 development machines, both are XP sp2 with VS 2008 installed. On
one machine, the code works fine. On...
|
by: Rod |
last post by:
This is my first WCF service and it is running on my development machine (XP
Pro SP2) under IIS, I am using wsHttpBinding. (I will eventually put it onto
a Windows 2003 Server running under IIS on...
|
by: erikbower65 |
last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA:
1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
|
by: kcodez |
last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
|
by: Taofi |
last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same
This are my field names
ID, Budgeted, Actual, Status and Differences
...
|
by: DJRhino1175 |
last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this -
If...
|
by: Rina0 |
last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
|
by: DJRhino |
last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer)
If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _
310030356 Or 310030359 Or 310030362 Or...
|
by: lllomh |
last post by:
How does React native implement an English player?
|
by: Mushico |
last post by:
How to calculate date of retirement from date of birth
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
| |