473,605 Members | 2,098 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"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 2642
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********@new sgroup.nospam> wrote in message
news:55******** *************** ***********@mic rosoft.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
11803
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 directory, preferably without any C extensions? It's ok if the directory is found at installation time rather than runtime, and bdist_wininst does have a way to find it from a post-installation script. The trouble is that the post-installation...
5
7821
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 the temperature changes.
0
1643
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 the demo code, I can generate the web form to access the Northwind data in SQL server. When I tried to use Server Explorer to add new Data Connection to Northwind, the “test connection” always work, but click OK always give an error message:...
3
4688
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 my databases by copying the data folder to some place? Then if I meet some disaster, could I just copy the backup folder back to recover my databases? Thank you. Zh.y
6
5237
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> My question is how do I access the document DOM of this object in Javascript? For example, "alert(extendedhtml.innerHTML);" doesn't work and produces an unknown error. I'd like to both read and write to the document's body element's innerHTML...
8
25365
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 believe this field contains data I need. When I view the table in datasheet view, all I can see in this field is the string "Long binary data". So, I've got the problem of needing to extract data from this field, but I don't know what format...
2
2368
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 application on the User's computer? Maybe another way of asking the question is. Can I build a smart .msi "data" installer that will when clicked on as "Run" on the web page will load into the desktop's memory ... find the location of my VB .Net Form...
3
3274
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" in design mode. However, when I go to save the new settings of my table, the error message "Record is too large" pops up and won't allow me to save the table. What am I doing wrong? I work with Access 97 in Windows XP. Thanks for your help!
3
4105
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 on any of several employees' desktop PCs. Now, they want to be able to "push" some of the data from the SQL Server database up to a database on a website (also SQL Server 2005).
0
8009
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8430
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8427
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8078
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8298
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5892
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5452
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3962
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1548
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.