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 / September 2004

Tip: Looking for answers? Try searching our database.

cannot view indexed property

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ramani Kurella - 20 Sep 2004 20:49 GMT
Hello,

Iam trying to send x.509 certificate of the client to sign a soap message request and encrypt it with the server's x.509 certificate in a secure conversation policy based. I somehow encounter this problem when retrieving the client's certificate. It is located in the current user personla store and the web.config file points to current user store. I tried using the code to find the problem. While debugging it showed me that the cert variable to collect the x.509 certificate, does not have any certificates. cert.count = 0 and
also the System.Collections.IList.Item value is <cannot view the indexed property>

What does this mean? Is there any thing else I have to do for the client ot retrieve the certificate?

Please help me..

Thanks,
Hervey Wilson [MSFT] - 26 Sep 2004 07:00 GMT
I'm going to assume that your client is actually a service running under
ASP.NET since you say that you are using web.config. Under Win2k and WinXP,
the ASP.NET process runs in the ASPNET user account - this account does not
allow interactive logon, it doesn't have a profile and therefore it doesn't
have a personal certificate store. Under Win2003, the ASP.NET processing
runs as Network Service, which also doesn't have a personal certificate
store. Thus, if your client is actually a service, you should place it's
certificates in the LocalMachine store and leave web.config pointing at the
local machine store.

Now, if your client is not an ASP.NET application, the certificate should be
in the personal (My) store for the currently logged on user and your
applications config file should point at the personal store.

I hope this helps.

Signature

This posting is provided "AS IS", with no warranties, and confers no rights.

Hello,

Iam trying to send x.509 certificate of the client to sign a soap message
request and encrypt it with the server's x.509 certificate in a secure
conversation policy based. I somehow encounter this problem when retrieving
the client's certificate. It is located in the current user personla store
and the web.config file points to current user store. I tried using the code
to find the problem. While debugging it showed me that the cert variable to
collect the x.509 certificate, does not have any certificates. cert.count =
0 and
also the System.Collections.IList.Item value is <cannot view the indexed
property>

What does this mean? Is there any thing else I have to do for the client ot
retrieve the certificate?

Please help me..

Thanks,

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.