473,320 Members | 1,939 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ASP.NET Access denied to resources in other machines

Hi everyone,

I have an ASP.NET application that access resources (files) in an other
servers (machines) rather than the localhost.

I am using Windows Authentication and impersonating the user.

It works fine when I run local but when I am accessing this application from
a third computer the application ask for the user credentials. I tried the
same user I was running local, other users with access rights to the
resource and nothing works. I simple can't access!

If I try to access a file in the Web server. It works fine too.

What's the matter here?

Thanks for your attention,

Fabrício
Nov 18 '05 #1
2 1505
Check to make sure that the account logging in has read/write access to the
folder:

C:\windows\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET Files

That's created problems for me, when I've had my source code on a network
storage array with IIS on a different system (and using impersonation), but
normally I specify the useraccount that I want the application to use when I
set the impersonation flag.

Let me know if that helps.

- Chad

"Fabricio Sperandio" <fa******@masonichomes.com.au.invalid> wrote in message
news:OV**************@TK2MSFTNGP09.phx.gbl...
Hi everyone,

I have an ASP.NET application that access resources (files) in an other
servers (machines) rather than the localhost.

I am using Windows Authentication and impersonating the user.

It works fine when I run local but when I am accessing this application from a third computer the application ask for the user credentials. I tried the
same user I was running local, other users with access rights to the
resource and nothing works. I simple can't access!

If I try to access a file in the Web server. It works fine too.

What's the matter here?

Thanks for your attention,

Fabrício

Nov 18 '05 #2
Hi Chad,

the problem was with delegation. I had to check the box Trust Computer
for delegation. And now it is working fine. I found part of the answer
in there:

http://groups.google.com.au/groups?h...a06%26rnum%3D1

Thanks mate,

Fabrício

"Chad Crowder" <chad@spam_me_not.chad> wrote in message news:<##*************@TK2MSFTNGP12.phx.gbl>...
Check to make sure that the account logging in has read/write access to the
folder:

C:\windows\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET Files

That's created problems for me, when I've had my source code on a network
storage array with IIS on a different system (and using impersonation), but
normally I specify the useraccount that I want the application to use when I
set the impersonation flag.

Let me know if that helps.

- Chad

"Fabricio Sperandio" <fa******@masonichomes.com.au.invalid> wrote in message
news:OV**************@TK2MSFTNGP09.phx.gbl...
Hi everyone,

I have an ASP.NET application that access resources (files) in an other
servers (machines) rather than the localhost.

I am using Windows Authentication and impersonating the user.

It works fine when I run local but when I am accessing this application

from
a third computer the application ask for the user credentials. I tried the
same user I was running local, other users with access rights to the
resource and nothing works. I simple can't access!

If I try to access a file in the Web server. It works fine too.

What's the matter here?

Thanks for your attention,

Fabrício

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Fabian von Romberg | last post by:
Hi, I have installed Sql Reporting Services on 2 machines, one is WIN 2000 PRO and the other one is WIN 2000 ADV. SERVER. When I try to access a report using the webbrowser, I get the following...
9
by: | last post by:
Hi All, I have allready tried to ask a similar question , but got no answer until now. In the meantime, I found, that I cannot understand some thread-settings for the Main() function . If I use...
0
by: George | last post by:
Hello, I'm running an ASPX application "WebApplication1" which consumes a web service (service1.asmx) hosted on a machine with IP (128.1.7.x) . The web service is located in the intranet. The...
5
by: Dave Kolb | last post by:
Is there any other solution for an ASPNET application to access network resources other than running as SYSTEM, using delegation (a nightmare to get to work) or the COM+ solution? I cannot seem to...
0
by: Fabricio Sperandio | last post by:
Hi everyone, I have an ASP.NET application that access resources (files) in an other servers (machines) rather than the localhost. I am using Windows Authentication and impersonating the user....
12
by: D. Shane Fowlkes | last post by:
This most likely belongs in another forum but I thought I'd start here. I have a COM Object written in VB6. The DLL will access MS Excel and use it's Object Library to write a customized report...
1
by: Duffman | last post by:
Hi, I have what seems to be a common problem, but the solutions I've found don't seem to work. I would like to use a web service to create a file at a UNC location in a shared file. Currently...
1
by: fstop89 | last post by:
I have a home network running wired and wireless via a D-Link DSL Modem/Router. For some time, I've been trying to overcome the problem of not being able to get any of the XP Home (SP3) machines to...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.