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 / March 2005

Tip: Looking for answers? Try searching our database.

CryptographicException WSE502

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tim Mackey - 15 Mar 2005 17:00 GMT
I refer to a post from Sidd [MSFT] on this newsgroup:
http://groups.google.ie/groups?hl=en&lr=&threadm=ep6nhFx%24EHA.1400%40TK2MSFTNGP
11.phx.gbl&rnum=1&prev=/groups%3Fnum%3D100%26hl%3Den%26lr%3D%26q%3DWSE502%26btnG
%3DSearch


i also have the same problem [WSE502] with some messages being
rejected, in an asynchronous environment.  my situation is slightly
different in that i am still using the synchronous version of the web
methods, but on a background thread.  on this thread i am sending high
volumes of short requests to the server.  the errors seem to happen
sporadically when i do something on the main UI thread that uses the
same web service.

Sidd, you were looking into this in january, did anything come of it?
a patch or workaround?  unfortunately i can't send my application
code, althought if i am convinced that it is worthwhile to reproduce a
similar dumbed-down version, i might do it.

thanks
tim mackey.
[MSFT] - 16 Mar 2005 04:20 GMT
Hi Tim,

To trouble shoot such problem, it is better that you can provide a sampel
which can reproduce the problem, or you can tell how to modify a WSE sample
and reproduce the problem. Also, you said you sent high volumes of short
requests to the server when the problem occurred, if you reduce the number
of request, will things get better?

Luke
Tim Mackey - 16 Mar 2005 12:52 GMT
hi Luke,
i'm really just following up john o'neills post in january 2005, see
http://groups.google.ie/groups?hl=en&lr=&threadm=ep6nhFx%24EHA.1400%40TK2MSFTNGP
11.phx.gbl&rnum=1&prev=/groups%3Fnum%3D100%26hl%3Den%26lr%3D%26q%3DWSE502%26btnG
%3DSearch


i have the same symptoms as him, and Sidd said he was going to look
into it.  i would be interested to hear if that was ever followed up.

in my app, the user is importing a file containing a web site
structure, and building pages and folders out of it, sending these to
the server as they are imported.  for large import files, there can be
over 1500 operations, all done in about 30 seconds over a LAN
connection.  the processing really needs to be done on the client (to
give an accurate progress indication), so i don't want to send off the
config file to the server and let the server do it all in one go.

have you any suggestions for how i could work around it, given these
contstraints?
i could lock out the user interface during the import operation (done
on worker thread), but this is a last resort.

thanks
tim
[MSFT] - 17 Mar 2005 07:29 GMT
Hi Tim,

i think Sidd may not recieve the sample to reproduce the problem and didn't
make some progress on this issue. Regarding to the problem on your side, I
think you may first make if the problem can disappear if you reduce the
request to server side, for example, if you just send 100 operation to
server. Also, can you use batch mode for the operations, for example, you
can compile similar and relative operations to one, and reduce the
operation to 100~ 150?

Luke
Sidd - 25 Mar 2005 08:50 GMT
Hi Tim,

    I haven''t looked into this issue as yet. Is it still an issue for you?
You never got back to me on whether this error is only caused when calling
the Async methods.

Thanks,

Sidd [MSFT]

> hi Luke,
> i'm really just following up john o'neills post in january 2005, see

http://groups.google.ie/groups?hl=en&lr=&threadm=ep6nhFx%24EHA.1400%40TK2MSFTNGP
11.phx.gbl&rnum=1&prev=/groups%3Fnum%3D100%26hl%3Den%26lr%3D%26q%3DWSE502%26btnG
%3DSearch


> i have the same symptoms as him, and Sidd said he was going to look
> into it.  i would be interested to hear if that was ever followed up.
[quoted text clipped - 14 lines]
> thanks
> tim
Tim_Mac - 27 Mar 2005 11:24 GMT
hi Sidd,
i wasn't aware you had contacted me?! perhaps you mean the original
poster of this problem, john o'neill?

in his case he was using the async methods.  i'm calling the
synchronous methods on a worker thread. it is possible that the UI
thread can call operations on the same web service object.  could there
be problems with this scenario?
i thought of doing a lock on the web service object during each call,
but this would mean i couldn't multi-task my application, unless i
created a new web service object for each thread.  this would not be
ideal since there is a lot of setting up with the web service object,
and my application architecture is built around sharing a single web
service object.

any thoughts?
thanks
tim
p.s. i was running WSE2 RTM and now 've installed SP3, i'll watch it
over the next week and let you know if these problems continue.

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.