On page 41 of Beginning ASP.NET with
VB.Net it provides instructions to configure directory security. I think this example was created using windows 2000.
The problem is that I am using win XP Proffessional, and when I try and alter my directory security there is no security tab. I've tried selecting the properties while in IIS, from the actual folder, from its shorcut and right clicking and selecting 'sharing and security' but none of these have given me the properties that look similar to the example on page 41.
Can anyone tell me how i can change my security setting?
P.S. i have altered all paths so that they correspond to my directories.
These are the errors i receive when trying to access the page.
Error1:
Server Error in '/BegASPNET' Application.
--------------------------------------------------------------------------------
Operation must use an updateable query.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.OleDb.OleDbException: Operation must use an updateable query.
Source Error:
Line 90: ' ================================================== ===============
Line 91: ' update the data store
Line 92: objAdapter.Update(objDataSet, "Employees")
Line 93:
Line 94:
Source File: C:\Inetpub\BegASPNET\ch13\synchronize.aspx Line: 92
Error2:
Server Error in '/BegASPNET' Application.
--------------------------------------------------------------------------------
Access to the path "C:\Inetpub\BegASPNET\ch13\Employees2.xml" is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessException: Access to the path "C:\Inetpub\BegASPNET\ch13\Employees2.xml" is denied.
The ASP.NET process is not authorized to access the requested resource. For security reasons the default ASP.NET process identity is '{machinename}\ASPNET', which has limited privileges. Consider granting access rights to the resource to the ASP.NET process identity.
To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the "{machinename}\ASPNET" user. Highlight the ASP.NET account, and check the Write box in the Allow column.
Source Error:
Line 31:
Line 32: ' save it to a new file
Line 33: objDataSet.WriteXml(Server.MapPath("Employees2.xml "))
Line 34:
Line 35: ' read in the new file