473,406 Members | 2,377 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,406 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 1509
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.