 |
| ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

September 12th, 2003, 02:40 PM
|
|
Registered User
|
|
Join Date: Sep 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
IIS test not working
Working on the Beginning ASP.net 1.0 w/ C# book, and I can't get past the *#&% IIS start-up test! (how depressing - already stuck at p. 30)
localhost/localstart.asp returns this:
Microsoft VBScript runtime error '800a0046'
Permission denied: 'GetObject'
/localstart.asp, line 40
Help?!
|
|

September 12th, 2003, 03:01 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
windows 2000:
go to C:\Inetpub and right click on wwwroot and click on properties. find the 'security' tab. Add yourself to the list along with computer_name\users and make sure you(not users have) have full control. make sure users has read & execute, read, and list folders.
For outside users add the IUSR account but users will usually get the job done for both.
let me know if you have xp for a how to.
|
|

September 15th, 2003, 03:48 PM
|
|
Registered User
|
|
Join Date: Sep 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I have IIS installed on an XP machine. I thought setting directory security was basically the same in XP (?) In any case, I have the correct users listed as stu9820 described. I still have no access to the localstart.asp page, however.
|
|

January 17th, 2004, 12:25 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
|
|
What exactly are you trying to do? I don't have the book so I can't follow along, but the localstart.asp page is just a "Get to know your server" page.
J
|
|

January 20th, 2004, 09:39 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
He is trying to check permissions on folders.
|
|

January 21st, 2004, 12:31 PM
|
|
Registered User
|
|
Join Date: Jan 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hey even i've the same problem. I'm running it on a XP machine.Can anyone help me out...
Beekay
|
|

January 21st, 2004, 02:30 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Did you format your hard drive for NTFS or Fat32?
Here is the article to add the security tab for folders which will then enable you to give users read and write permissions on files and folders:
http://windows.about.com/library/tips/bltip542.htm
|
|

November 17th, 2004, 08:17 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'm having the same problem as this guy.
I am using Windows 2003 Server.
The book talks about using the sample provided localstart.asp page to get a first cut of looking at an ASP, and it's this that seems to fail with the default security settings of W2003 Server (and apparently, from this thread, with XP also).
Using IE in both cases, if I access the localstart.asp page via the file system as c:\inetpub\wwwroot\localstart.asp, it works fine; but if I access it over HTTP as http://<server>/localstart.asp, it fails with exactly the same error as has been mentioned in this thread already.
This is a standard released ASP that comes with the system, so it's a bit disturbing that it fails so soon.
I am a comparative newbie at web programming, so even the most basic advice would be appreciated.
Thanks
Colin
|
|

November 17th, 2004, 10:19 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
|
|
Well, W2K3 is a different animal than W2K and WXP. Classic ASP pages are [u]not</u> enabled to work by default(security feature). I recently had this problem myself trying to get an older ASP application to run and couldn't figure out why until I noticed this. Have you enabled classic ASP in IIS?
-------------------------------------
Open IIS Manager, expand your server name's node, and select the Web service extensions node.
In the right pane of the IIS Manager, click the extension that
you want to enable(Active Server Pages).
Click the Allow button.
-------------------------------------
J
|
|
 |