VISTA and ASP folder permissions

  • Thread starter Thread starter DaveC426913
  • Start date Start date
AI Thread Summary
Running an ASP script on Windows Vista can lead to a 405 error due to permissions and configuration issues. To resolve this, it's essential to set the folder permissions so that the IUSR account can modify files. This involves adjusting security settings through the folder properties and ensuring that the Modify permission is granted. Additionally, ASP must be explicitly enabled in Vista, as it is locked down by default. Users have expressed frustration with Vista's User Account Control (UAC), which generates frequent permission prompts for actions like copying files. While Vista's security model aims to protect against malware, it complicates user experience. Disabling UAC can alleviate some of these issues, but it compromises security. Overall, Vista's stringent security measures are seen as a double-edged sword, enhancing security at the cost of user convenience.
DaveC426913
Gold Member
Messages
23,844
Reaction score
7,839
I'm new to Vista and am trying to run an ASP script to write to a local text file.

I'm getting error 405: Method Not Allowed - 'an invalid method (HTTP verb is being used)'

On my XP system, I had to set 'Modify' permissions on the folder for the machine user - I'm not sure if that's the problem here or not.
 
Computer science news on Phys.org
How can we possibly know? Try giving the folder full-control permissions for everyone and see if that fixes it. Then dial back the permissions until you know which ones are necessary.

- Warren
 
Found the problem:
1] You need to set the folder so that IUSR can modify it and anything in it.

> Right-click on folder, select Properties.
> Select the Security tab.
> From Group or user names, select Users (myapp\Users)
> Select Edit under scroll panel
> From Group or user names, select Users (myapp\Users)
> In the bottom panel, Permissions for users, check the Modify : Allow box
> Under the bottom panel Select Apply
> Select OK, to close the Permssions for myapp dialogue
> Near the bottom of the Security panel, select Advanced
> In the permission entries box, select (myapp\Users)
> Select Edit.
> In the permission entries box, select (myapp\Users)
> At the bottom of the dialogue, check the Replace all existing inheritable permssions… checkbox.
> Select Apply, then OK.
> OK to all open dialogue boxes.


2] Uh, you need to enable ASP. Unlike earlier versions of Windows, Vista comes with ASP and .NET locked down and it needs to be explicitly enabled before use.

Control Panel > Programs and Features > (left) Turn Windows Featrues on or off > IIS > WWW Services > App Dev Services > ASP : check
 
vista sux anyways
 
You know, I thought Mac's latest commercial poking fun was cattily funny but surely not very faithful to reality.

Having spent two days setting up a half dozen new laptops running Vista I can say with certainty that it is not an exaggeration at all.

To simply copy a file from one location to another, the system stops what it's doing and pops up a dialogue telling me I will need permission to do that.

When I select yes, it then greys out the entire screen (in what appears to be the visual equivalent of speaking slowly to a retard) and pops up another dialogue box asking if I initiated the action that I just inititiated, and I should select yes if so.

It does this with everything.




You are coming to a sad realization. Cancel or allow?
 
DaveC426913 said:
To simply copy a file from one location to another, the system stops what it's doing and pops up a dialogue telling me I will need permission to do that.

When I select yes, it then greys out the entire screen (in what appears to be the visual equivalent of speaking slowly to a retard) and pops up another dialogue box asking if I initiated the action that I just inititiated, and I should select yes if so.

It does this with everything.

You're kidding, right? Is there any kind of override for the dialog boxes, a "do not show this box again" option?
 
Math Is Hard said:
You're kidding, right? Is there any kind of override for the dialog boxes, a "do not show this box again" option?
Nothing I could see. It may be a more globally set option. Which of course, is counter-productive to the whole "easier for the unwashed masses to operate" philospohy that is the thorn in the side of more competent users.
 
You can turn off the account services so you can truly run as "superuser" all the time and get rid of the annoying dialog boxes.

The reason the dialog boxes exist is because MS decided to use a real security model for Vista, where users do not run with administrator privileges all the time. The system has to elevate (move to a higher privilege level) frequently, though. The whole grayed-out screen is actually a technique to make sure no one makes malware that simulates the permission dialog box and tricks the user.

Windows Vista probably is substantially more secure than its predecessors, but it has unfortunately made the user experience much more clumsy in order to achieve that goal. As I've said, though, you can turn the security features off if convenience is more important than security (which is true for most casual users).

They're really just doing everything they can to lock down freshly installed Windows machines so viruses and worms will have a more difficult time spreading. Corporations have -- shall we say -- tired of losing days productivity over some Latvian 14 year old's attempt at hacking in Visual Basic.

- Warren
 
Last edited:
You can disable the UAC prompts by following directions here:

http://technet2.microsoft.com/WindowsVista/en/library/0d75f774-8514-4c9e-ac08-4c21f5c6c2d91033.mspx?mfr=true

There are also some third-party products like Tweak-UAC which can simplify the configuration.

- Warren
 
Last edited by a moderator:
  • #10
are we talking about windows vista here??
if so, vista really sux. it asks for a gpu for even minesweeper. what worse, i couldn't burn any dvd's, it asks for a gpu. what the hell is a gpu supposed to do with dvd burning??
 
Back
Top