Need help. Having trouble with security on my web service.

K

Ken Varn

I am getting an access denied 403 error when I try to access my web service.
My IIS setting is set to use only Windows Authentication.

The client is calling the web service from a Windows Forms UserControl that
is embedded into a web page using the <object> tag. When I call up the form
in the browser, it brings up the Windows logon screen as expected. When I
complete the logon, the Windows Forms UserControl displays and everything
works fine. When I try to call my web service, I get an Access Denied
exception 403.

I read up on passing credentials to the web service proxy from the client
and am passing in DefaultCredentials for the Proxy Credentials attribute,
but I am still getting this error.

I also set my web.config file to use:

<authentication mode="Windows" />

and

<identity impersonate="true"/>



If I set my IIS authentication to use anonymous, then the web service call
works fine.

What else am I missing here? Why is the windows authentication mode in IIS
causing the web service to not work?


--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
-----------------------------------
 
K

Ken Varn

Never mind. I found the problem. The web service directory did not have
Application installed in IIS. I accidentally removed it when I changed the
base virtual directory. OOPS!

--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top