473,395 Members | 1,941 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,395 software developers and data experts.

Server is displaying "Enter Network Password" logon box when trying to access files

Our company's web server is trying to access graphics files on another
server. When I run the app from Visual Studio (1.0) on my localhost,
the server in question is available (which is accessed a virtual
directory) and I'm able to display the files. However, when we logon
to the intranet through a browser, and click the link which will
display the files, we get the "Enter Network Password" logon box. We
set the proper permissions on the folder in question, yet this still
happens. On my localhost, I was having the same problem until I put
identity impersonate="true"
into my web.config file, and it worked fine. I did the same to our
web server's web.config, yet the problem persisted. I also compared
my machine.config to the web server's web config, and there weren't
any differences as far as username="machine" is concerned. The
permissions to the folder on the file server in question include:
Everyone, aspnet_wp account, and asp.net machine account. In iis on
my localhost, I am set to connect to the file server as administrator,
and the same settings are on the iis on the web server. Also, the
intranet on the web server was built without using Visual Studio. So,
the question remains, why am I able to access the file server through
my localhost, but not through the web server?

Thanks,

EA
Nov 18 '05 #1
1 2942
you are running into the one hop rule. it works on your local box because
the browser is running on the webserver box. try hitting your box from
another and you will see the same behavior.

you can create a vdir on the webserver to share the images (this will
require a domain account), or set a domain account for asp.net to
inpersonate in the web config (fill in the userName and password)

-- bruce (sqlwork.com)

"Ezra" <ez***@edgesolutions.com> wrote in message
news:74**************************@posting.google.c om...
Our company's web server is trying to access graphics files on another
server. When I run the app from Visual Studio (1.0) on my localhost,
the server in question is available (which is accessed a virtual
directory) and I'm able to display the files. However, when we logon
to the intranet through a browser, and click the link which will
display the files, we get the "Enter Network Password" logon box. We
set the proper permissions on the folder in question, yet this still
happens. On my localhost, I was having the same problem until I put
identity impersonate="true"
into my web.config file, and it worked fine. I did the same to our
web server's web.config, yet the problem persisted. I also compared
my machine.config to the web server's web config, and there weren't
any differences as far as username="machine" is concerned. The
permissions to the folder on the file server in question include:
Everyone, aspnet_wp account, and asp.net machine account. In iis on
my localhost, I am set to connect to the file server as administrator,
and the same settings are on the iis on the web server. Also, the
intranet on the web server was built without using Visual Studio. So,
the question remains, why am I able to access the file server through
my localhost, but not through the web server?

Thanks,

EA

Nov 18 '05 #2

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

Similar topics

4
by: Clive.Bradley | last post by:
My newly rented 2003 Standard Edition dedicated server allows me to access HTML or picture files but asks for username and password when I try and open an a asp page. I have set Authenticated User...
12
by: Joseph | last post by:
Hello We have a web application written in ASP.Net that calls an external C# program (.exe). This C# program needs to access data from a different server and is not able to do so. We use impersonate...
2
by: stefanPL | last post by:
Hello, I have SQL Server 2000 Developer Edition. Where is SQL Server Network Utility? In Start menu SQL server group I have only Client Network Utility :| Is it a command line tool or sth? How...
4
by: Simon Wigzell | last post by:
Is there a way to prevent a form submitting when you press enter on a text field? Some people press enter when they finish typing in a text field out of habit I guess unconcsciously thinking it...
0
by: Marco | last post by:
Hello everybody, I have a little Access application that is composed by two MDB files. I have stored the tables in the first MDB file, and the other objects (forms, reports, queries, etc.) in 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...
3
by: mehdi_mousavi | last post by:
Hi folks, Consider a client program that uses .NET Framework 2.0, and the Transaction namespace, to do some update/insert against a given database using the SQL provider: using...
8
by: HDI | last post by:
Hi, We are working with Office 2003 and for our access apps we logon with the classic access security. The username and password is the same as windows logon. Is it possible that access check...
3
by: Simon Verona | last post by:
Sorry for the repost, but this group seems to be more "active" than the group that I posted my question, and it's probably as valid here as there! I have a usercontrol, which contains a textbox...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...

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.