RE: Web Service SSL
- From: LisaConsult <lisasconsult@xxxxxxxxxxxxx>
- Date: Thu, 27 Mar 2008 06:30:02 -0700
Steven,
Thanks for your reply. We found the problem to be a permission issue.
Although the login was designated with administrative privleges on the
server, for some reason it did not have permission to access XMLHTTP. Not
sure why or how this occurred, but that resolved the problem When we ran the
job manually, it was based on our login, thus the difference in permissions.
Thank you so much for your assistance.
""Steven Cheng"" wrote:
Thanks for your reply,.
Glad that you've made some progress. For the hang issue, it would be hard
to troubleshoot from external symptoms. Is it possible that you try repro
the same behavior on a development machine? If so, I suggest you attach
debugger to the process to see at what point does the problem happen or
stuck at.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?TGlzYUNvbnN1bHQ=?= <lisasconsult@xxxxxxxxxxxxx>
References: <4F1EB81E-9C44-4F37-9C7F-A0646ECD4C16@xxxxxxxxxxxxx>
<#R7PaoXiIHA.4672@xxxxxxxxxxxxxxxxxxxxxx>
<42921609-ECCD-499F-8392-F08BBCB96121@xxxxxxxxxxxxx>
<lePyctjiIHA.6264@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Web Service SSL
Date: Mon, 24 Mar 2008 07:47:01 -0700
Steven,
Thank you for your reply. I believe we've corrected the SSL Credential
issue, but the job is still not executing properly. It executes fine
manually, but when executing through the task scheduler is still hangs.
Any
other ideas? Thanks.
""Steven Cheng"" wrote:
Thanks for your reply,you've
So based on your further description, the manual test is via IE and
got some prompt SSL credential info(do you mean a popup dialog or somein
warning page occur to let you do some action)?
If this is the case, you're probably running into a common issue.
Generally, many https/ssl site is using a server certificate that is not
installed as trusted one one client computer(or something else that make
the client browser prompt warning), and you can interactively handle it
browser. However, for programmatic code, you do not have interactivehttp://msdn2.microsoft.com/en-us/library/system.net.servicepointmanager.serv
handling means, then such error cause the problem fails.
In .net framework, you can use the certificate validation handler to
provide your own code logic for handling such SSL server certificate
validation process. You can have a look at the following articles:
#ServicePointManager..::.ServerCertificateValidationCallback Property
ercertificatevalidationcallback.aspxPlease
#'CertificatePolicy' Vs 'ServerCertificateValidationCallback'
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=80799&SiteID=1
For simple test, you can implemented a validation handler that always
return "true"(think the server certificate is valid) to see whether it
works.
Hope this helps.
Best regards,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you.
feel free to let my manager know what you think of the level of servicerights.
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
This posting is provided "AS IS" with no warranties, and confers no
vbs
--------------------
From: =?Utf-8?B?TGlzYUNvbnN1bHQ=?= <lisasconsult@xxxxxxxxxxxxx>
References: <4F1EB81E-9C44-4F37-9C7F-A0646ECD4C16@xxxxxxxxxxxxx>
<#R7PaoXiIHA.4672@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Web Service SSL
Date: Wed, 19 Mar 2008 11:18:01 -0700
Steven,
Thank you for your message. Regarding your questions: I executed it
manually simply by using the https:// URL in an IE window. (the vbs file
from the job scheduler calls an asmx file. I typed in the value of the
URL in an IE window). We are unable to attach via VS IDE but we write toa
log file in multiple locations to indicate that it has started, runs,etc.
It appears that it never execute. Regarding your comment: Is itpossible
that it's waiting for a permission or something? When I ran it manuallyI
was prompted for SSL Credentials. Do you have an example of how I wouldhave
enter those in the case of a scheduled job. In the scheduled job I do
it running as the same person that I used for the SSL Credentials.the
Thanks.
""Steven Cheng"" wrote:
Hi,files
From your description, you have a webservice at server-side which ove
into a sharepoint folder(from normal file folder). You found that youthat
failed to call th e webservice(hang) through windows scheduled task at
client ,correct?
Generally, for webservice and https condition, a common problem is the
client-side's validation against the SSL certificate. As you mentioned
you can successfully call the service manually, how did you call itruns
manually? Is there any different between it and what you did when using
scheduled task?
Also, you can try using VS IDE to attach the program process when it
to see whether there is any internal error or unexpected behavior in
andcode.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notifsuggestions about how we can improve the support we provide to you.Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
==================================================
Get notification to my posts through email? Please refer to
theications.issues
Note: The MSDN Managed Newsgroup support offering is for non-urgent
where an initial response from the community or a Microsoft Supportfollow
Engineer within 1 business day is acceptable. Please note that each
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach
situationsmost efficient resolution. The offering is not appropriate for
bestthat require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are
contactinghandled working with a dedicated Microsoft Support Engineer by
rightsMicrosoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
SSL
--------------------1
From: =?Utf-8?B?TGlzYUNvbnN1bHQ=?= <lisasconsult@xxxxxxxxxxxxx>
Subject: Web Service SSL
Date: Tue, 18 Mar 2008 05:23:01 -0700
I have a web service which basically moves files from a folder to a
sharepoint document folder. The service is scheduled to run as a
scheduled
task. It works fine in our test environment. On production we have
Iinstalled. When I execute it manually, it runs properly, however when
andexecute it as a scheduled tasks, it seems to hang. According to the
schedule
log it starts, but it doesn't complete. Is there a problem with SSL
webscheduled taks? I believe that I must place it under the sharepoint
sitethe
on the server in order to use sharepoint's credentials when writing to
folder. Any assistance is appreciated
- Follow-Ups:
- RE: Web Service SSL
- From: Steven Cheng [MSFT]
- RE: Web Service SSL
- References:
- RE: Web Service SSL
- From: "Steven Cheng"
- RE: Web Service SSL
- From: LisaConsult
- RE: Web Service SSL
- From: "Steven Cheng"
- RE: Web Service SSL
- From: LisaConsult
- RE: Web Service SSL
- From: "Steven Cheng"
- RE: Web Service SSL
- Prev by Date: RE: opening docs is crashing IE
- Next by Date: Get Folders with Web Services
- Previous by thread: RE: Web Service SSL
- Next by thread: RE: Web Service SSL
- Index(es):
Relevant Pages
|