Windows Authentication Problem Between localhost-server

G

Guest

Hi. I have an ASP.NET app using <authentication mode="Windows" /> and
<identity impersonate="true" />. The program creates files in a network
share using the Create method of System.IO.FileStream.

I run the program locally and it works. But when ran on the server, I get
an access is denied error message when the program attempts to create the
files. What is going on? I have anonymous access turned OFF in IIS locally
and on the web server.

Can anyone please help me? What should I do to troubleshoot and/or resolve
the "access is denied" message?

Thanks
 
B

bruce barker

windows authentication does not allow credentials forwarding. you need
to switch to basic or kerberos and enable credentials forwarding on the
involved servers.

-- bruce (sqlwork.com)
 
G

Guest

That being the case, could anyone recommend how I facilitate creating files
using the Create method of System.IO.FileStream? What account needs access
to do what in order for this to happen?
 

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,780
Messages
2,569,611
Members
45,280
Latest member
BGBBrock56

Latest Threads

Top