|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I ran the iislockd.exe several months ago then ran it again to uninstall it because it caused some problems. I'm not sure if this issue stems from that or not. Anyway, I need to restore .asp for an upcoming web ap. I was able to install asp.net and it functions fine. But the developer is using .asp not asp.net. I've tried a few different things so far: I edited urlscan.ini to set UseAllowVerbs=1 and UseAllowExtensions=1 also Home Directory>Configuration>App Mappings has the correct dll's for the .asp extensions, not the 404. Also, I set the folder permissions for read and execute for IUSR_<computer> and IWAM_<computer>. I've restarted IIS several times. But, I get Microsoft VBScript runtime error '800a0046' Permission denied: 'GetObject' /localstart.asp, line 19 for iisstart.asp
tia for any input on this, tryangle |
|
#2
|
||||
|
||||
|
What OS are you using and what version of IIS?
|
|
#3
|
|||
|
|||
|
No frills Windows 2000 Server sp4 with iis5
|
|
#4
|
||||
|
||||
|
|
|
#5
|
|||
|
|||
|
Uh huh... I realize it was my first post on THIS forum and I didn't explicitly say- I did my homework... but I thought it was implied clearly enough by mentioning the things I've tried so far. I did searches on Google for "Microsoft VBScript runtime error '800a0046'", and "Permission denied: 'GetObject'" already... among other things, like "reenable .asp after lockdown". I also searched this forum before I posted.
|
|
#6
|
||||
|
||||
|
make sure that you have setup the correct privilages for the IUSR_COMPUTER (replace computer with the name of your account) account....
1) Open up any folder, eg My Documents 2) Click on Tools>Folder Options>View then uncheck 'Use Simple File Sharing' 3) Go into properties on the root folder, normally WWWROOT and click the Security Tab, and add the user USR_COMPUTER (if it doesnt already exist), then select it, and check the Read option, and the write snd modify if you have scripts that write to files on the server. |
|
#7
|
||||
|
||||
|
So, I can assume by your reply that you still haven't found a solution?
And we can never assume anyone has "done their homework". We see so many of the same questions being posted that we assume this is the first place people go for an answer. can you post the code that is causing the error? |
|
#8
|
|||
|
|||
|
Yes... I'm still hunting it down.
I removed IUSR_<compy> from the Web Anonymous group and IWAM_<compy> from Web Applications. I did that, I understand, to undo the lockdown configuration. Also, I checked the Master Properties of WWW Service and URL Scan is not listed on the ISAPI Filter list. What would be the correct permissions for the IUSR_<compy> and the IWAM_<compy> accounts? They are only a member of Guests right now. I didn't find a checkbox for 'Use Simple File Sharing' in Explorer under Tools>Folder Options>View Both IUSR_<compy> and IWAM_<compy> have Read & Execute permissions on the wwwroot directory... do they really need Modify & Write? This is the script... <% response.write ("Hello, World!") %> |
|
#9
|
|||
|
|||
|
Actually, the error message I was getting that I first mentioned in this thread was from iisstart.asp in wwwroot. I wasn't checking the "Hello, World!" script each time I changed something... so I'm not sure what to attribute it to, but it appears to be progress- The "Hello, World!" script now runs without an error as an .aspx file but still returns a garbled output as a .asp file. And another simple .asp script I've been trying similarly returns a garbled output as a .asp file, but it now returns a "Compilation Error" message as an .aspx file.
|
|
#10
|
|||
|
|||
|
Ok... one last shot at this. I added a new app mapping for .asl (for active server lockout) and I mapped it to the asp.dll then an .asp script runs when I change the filename to the .asl extension. Any other ideas where this is getting barfed?
|
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > ASP.NET but no .asp |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|