473,398 Members | 2,404 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,398 software developers and data experts.

ASPNET Account Security Problem - Running a Web Application over a network share

CES
All,

If anyone has been following my trials over the last week see(Setting up a
Web Application on IIS 5.1 and ASP.Net Security Problems).

I'm having a problem running a Asp.Net Web Application. I've finally
narrowed the problem down to a security issue: The ASPNET (aspnet_wp)
account cannot connect to a Network resource instead of using a local path
ie: C:\Inetpub\wwwroot my development site resides on a Network Share
(\\{MyServerName}\wwwroot).

Every thing works fine is I connect to the site using a local path but I get
a Parser Error Message: Could not load type 'WebApplication1.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="WebApplication1.Global" %>

If I try to load the page from a shared resource (\\Server\xxx)

I've tried adding this line to the web.config file imeditly under the
<authentication mode="Windows" /> tag - in the applications root directory
but I'm still unable to connect:
<identity impersonate="true" userName="{MyServerName}\{UserName}}"
password="{Password} " />
Policy editor

I have even tried creating a virtual directory to the folder even though the
Web Application is below the wwwroot.

FYI I've tried every possible combination of the
{MyServerName}\{UserName}"ie server\administrator / SERVER\administrator /
Server\Administrator etc.

Everything I've seen posted seams to suggest this should have worked. I'll
be very grateful for any help.

CES
Nov 17 '05 #1
1 1917
Ron
"CES" <NO**@NOEMAIL.com> wrote in message news:<#V*************@TK2MSFTNGP09.phx.gbl>...
All,

If anyone has been following my trials over the last week see(Setting up a
Web Application on IIS 5.1 and ASP.Net Security Problems).

I'm having a problem running a Asp.Net Web Application. I've finally
narrowed the problem down to a security issue: The ASPNET (aspnet_wp)
account cannot connect to a Network resource instead of using a local path
ie: C:\Inetpub\wwwroot my development site resides on a Network Share
(\\{MyServerName}\wwwroot).

Every thing works fine is I connect to the site using a local path but I get
a Parser Error Message: Could not load type 'WebApplication1.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="WebApplication1.Global" %>

If I try to load the page from a shared resource (\\Server\xxx)

I've tried adding this line to the web.config file imeditly under the
<authentication mode="Windows" /> tag - in the applications root directory
but I'm still unable to connect:
<identity impersonate="true" userName="{MyServerName}\{UserName}}"
password="{Password} " />
Policy editor

I have even tried creating a virtual directory to the folder even though the
Web Application is below the wwwroot.

FYI I've tried every possible combination of the
{MyServerName}\{UserName}"ie server\administrator / SERVER\administrator /
Server\Administrator etc.

Everything I've seen posted seams to suggest this should have worked. I'll
be very grateful for any help.

CES


I am not 100% sure of these suggestions, but it may help you. First
log on to your local machine as "Administrator". Even if you have
admin rights as a user I believe it is important to be the actual
administrator of you local machine. Next go to your web folder and
right click for Properties. Now go to the securities tab and add
"Everyone" to the users. Make sure that the "Everyone" user has all
right checked off. Good Luck!
Nov 17 '05 #2

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

Similar topics

0
by: Rod Kestler | last post by:
After applying the KB Automatic Update #833987 (JPEG Security Issue), our development server suddenly will not allow any IIS 6.0 App Pool running with identity set to ASPNET to run. The Event...
22
by: Zeng | last post by:
Hi, I'm running ClrProfiler for the first time to profile my web app, and it keeps getting stuck at this msg box: "Waiting for Asp.net to start common language runtime - this is the time to load...
1
by: CES | last post by:
All, If anyone has been following my trials over the last week see(Setting up a Web Application on IIS 5.1 and ASP.Net Security Problems). I'm having a problem running a Asp.Net Web...
5
by: Brent Burkart | last post by:
What steps must I take to ensure that my application will be able to access network folders. I want to only use the ASPNET account, but I am not sure how this is done. Thanks, Brent
3
by: Doctor Who | last post by:
I am running a Windows 2003 Server w/Framework 1.1 loaded. We have built a ..NET 2003 app and it requires that ASPNET be assigned permissions to several folders and servcies. The ASPNET account...
3
by: jimmyfishbean | last post by:
Hi, My client has the following network structure: 2 Windows 2003 servers : Server 1 - Web server running IIS, ftp import and export folder, ASP.NET SOAP web service and asp code on here....
0
by: CESAR DE LA TORRE [MVP] | last post by:
I am using WSE 3.0 with Visual Studio 2005, specifically I'm using Kerberos authentication and passing Kerberos ticket from Presentation Tier (VSTO.2005 client) to Server Tier through our Web...
3
by: musosdev | last post by:
Hi guys I've just noticed I don't have an ASPNET user account running on either my Workstation or Server (both running .net2.0, workstation has vs2005 pro). Simple question... should it be...
7
by: torus | last post by:
Is the aspnet account called "aspnet" for all non-English versions of Windows and IIS?
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: 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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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,...
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.