473,320 Members | 2,164 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.

"DATA" Directory

Hi. I had previously installed VS2005 beta 1. I carefully followed all the
steps (I thought) to deinstall it and then installed beta 2. According to the
documentation, the "Data" directory which was to be a "special" directory in
the docroot of an ASP.NET app, has been renamed to "app_data". That's a GOOD
thing because you guys were using up too many normal words for reserved
purposes. Anyway, the problem is that I have a "Data" directory in the root
of my ASP.NET app but now I'm still getting a "HTTP 403.2 - Forbidden: Read
Access Forbidden" when I try to get to my Data directory. What's going on
here? I know it's not directory permissions 'cause if I rename the directory
"DataX" or something, then I have no problem.

Is there something left over from the bata 1 version?

Help!

Thanks.

Alex
Nov 19 '05 #1
7 2619
Sorry to be a pest but could someone please answer this question for me???

Alex

"Alex Maghen" wrote:
Hi. I had previously installed VS2005 beta 1. I carefully followed all the
steps (I thought) to deinstall it and then installed beta 2. According to the
documentation, the "Data" directory which was to be a "special" directory in
the docroot of an ASP.NET app, has been renamed to "app_data". That's a GOOD
thing because you guys were using up too many normal words for reserved
purposes. Anyway, the problem is that I have a "Data" directory in the root
of my ASP.NET app but now I'm still getting a "HTTP 403.2 - Forbidden: Read
Access Forbidden" when I try to get to my Data directory. What's going on
here? I know it's not directory permissions 'cause if I rename the directory
"DataX" or something, then I have no problem.

Is there something left over from the bata 1 version?

Help!

Thanks.

Alex

Nov 19 '05 #2
Hi Alex,

Welcome to ASPNET newsgroup.
From your description, you're just removed your ASP.NET WHIDBEY BETA1
environment and installed the beta2 on your machine. After that , when you
accessing pages in the "Data" folder under the app root, you got a

"HTTP 403.2 - Forbidden" access error ,yes?

based on my experience, the 403.2 forbidden error is mostly caused by a
certain IIS's virtual folder or the page in it dosn't grant "Read"
permission to the client visitors. This is not the SYSTEM's NTFS
permission, we should check it in the INETMGR management console, and
select the "Data" folder an right click to show th properties window. Check
in the "Directory" panel to see whether the "read" permission is checked.
Since the "Data" is treated as the well-known folders in beta1, it is
likely that it is still prevent from being read, so please have a look at
this.

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #3
Steven -

YES! You were right about this. But let me ask you one other related
question: I created this new Virtual Site in IIS AFTER I upgraded to BETA 2.
Does this mean that from now on, whenever I create a new Virtual Web Site on
this machine and it has a "DATA" directory, it'll automatically set that with
no READ permissions in IIS? Is there any way to clean that setting out?

Thanks!

Alex

""WenJun Zhang[msft]"" wrote:
Hi Alex,

Welcome to ASPNET newsgroup.
From your description, you're just removed your ASP.NET WHIDBEY BETA1
environment and installed the beta2 on your machine. After that , when you
accessing pages in the "Data" folder under the app root, you got a

"HTTP 403.2 - Forbidden" access error ,yes?

based on my experience, the 403.2 forbidden error is mostly caused by a
certain IIS's virtual folder or the page in it dosn't grant "Read"
permission to the client visitors. This is not the SYSTEM's NTFS
permission, we should check it in the INETMGR management console, and
select the "Data" folder an right click to show th properties window. Check
in the "Directory" panel to see whether the "read" permission is checked.
Since the "Data" is treated as the well-known folders in beta1, it is
likely that it is still prevent from being read, so please have a look at
this.

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Nov 19 '05 #4
Hi Alex,

Thanks for the response.
As for the further question you mentioned, I'm afraid this could be true as
you mentioned. However the problem is still caused by the originally
installed beta1. In fact, on our internal test, we always install the beta
version softwares on VPC image so as not to affact our physical box.
Anyway, if feel it possible, I suggest you build a clear box (without the
former beta1 or any of its left things) and install the beta2, and using
VPC is much more recommended. If you have to keep on working on the current
box, I'm afraid we need to manually check all those well-known folders's
IIS permission setting before we start running beta2 web app.

BTW, have you tried using File System based virtual server, in the new
ASP.NET2.0, it's my favorite choice :-)

Thanks & Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Nov 19 '05 #5
I don't know what a "File System Based Virtual Server" is. Can you point me
to documentation on that?

Thanks for your help.

Alex
"Steven Cheng[MSFT]" wrote:
Hi Alex,

Thanks for the response.
As for the further question you mentioned, I'm afraid this could be true as
you mentioned. However the problem is still caused by the originally
installed beta1. In fact, on our internal test, we always install the beta
version softwares on VPC image so as not to affact our physical box.
Anyway, if feel it possible, I suggest you build a clear box (without the
former beta1 or any of its left things) and install the beta2, and using
VPC is much more recommended. If you have to keep on working on the current
box, I'm afraid we need to manually check all those well-known folders's
IIS permission setting before we start running beta2 web app.

BTW, have you tried using File System based virtual server, in the new
ASP.NET2.0, it's my favorite choice :-)

Thanks & Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #6
It's an internal server-based website.

VS.NET uses a version of Cassini to support it,
using a random port for its implementation.

For more info on Cassini, see :
http://www.asp.net/Projects/Cassini/...ndex=0&tabid=1
and
http://forums.asp.net/67/ShowForum.aspx


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Alex Maghen" <Al********@newsgroup.nospam> wrote in message
news:55**********************************@microsof t.com...
I don't know what a "File System Based Virtual Server" is. Can you point me
to documentation on that?

Thanks for your help.

Alex
"Steven Cheng[MSFT]" wrote:
Hi Alex,

Thanks for the response.
As for the further question you mentioned, I'm afraid this could be true as
you mentioned. However the problem is still caused by the originally
installed beta1. In fact, on our internal test, we always install the beta
version softwares on VPC image so as not to affact our physical box.
Anyway, if feel it possible, I suggest you build a clear box (without the
former beta1 or any of its left things) and install the beta2, and using
VPC is much more recommended. If you have to keep on working on the current
box, I'm afraid we need to manually check all those well-known folders's
IIS permission setting before we start running beta2 web app.

BTW, have you tried using File System based virtual server, in the new
ASP.NET2.0, it's my favorite choice :-)

Thanks & Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #7
Thanks for Juan's informative inputs.

Hi Alex,

File server is just a new feature of VS.NET2005 which has a internal
webserver, so we can no longer reply on IIS when developing ASP.NET web app
in VS.NET 2005. When creating asp.net project, we can choose using File
System rather than HTTP url(mapp the virtual dir in IIS).

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #8

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

Similar topics

7
by: Paul Rubin | last post by:
I'm writing a Windows program that needs to store some user files. The logical place to store them is in "Application Data", right? Is there a good way to find the correct location of that...
5
by: Derek Ross | last post by:
Hello, Say I have a server that's saving the CPU temperature to 'temperature.js' once a second. The contents of the file is one single line: var temperature = "35.5"; And it changes as...
0
by: Yi | last post by:
Hi, I am a scientist and new to .NET programming. On my PC, I am using Windows 2000 professional with IIS, SQL Server 2000 (standard, personal), Visual Basic .net (2003, standard). By following...
3
by: 21novembre | last post by:
Hi all, I made a question several days before to describe my strange trouble of mysqldump. But I still can't figour it out. Well, I just want to ask another question whether I could just backup...
6
by: Jon Davis | last post by:
I recently learned how to do an <OBJECT> alternative to <IFRAME> in current browsers using: <object id="extendedhtml" type="text/html" data="otherpage.html" width="250" height="400"></object> ...
8
by: Jerry | last post by:
I have an off-the-shelf app that uses an Access database as its backend. One of the tables contains a field with an "OLE Object" datatype. I'm writing some reports against this database, and I...
2
by: BobAchgill | last post by:
Is there a way to let the User click on a button on a web site and have that download and install my prepackaged compressed data directory and place it nicely under my existing VB .Net Form...
3
by: Mejmeyster | last post by:
Hi Everyone, I have a table in which one of the text fields has become too small (since it only holds 255 characters). To remedy that, I'm trying to change the data type of that field to "memo"...
3
by: BobRoyAce | last post by:
I am using Visual Studio 2008 w/ VB.NET. For the database, I am using SQL Server 2005, which is running on a dedicated server box. I am creating a WinForms application for a client. It is run...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.