Wrox Programmer Forums
|
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
 
Old September 12th, 2003, 02:40 PM
Registered User
 
Join Date: Sep 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?!
 
Old September 12th, 2003, 03:01 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

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.
 
Old September 15th, 2003, 03:48 PM
Registered User
 
Join Date: Sep 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
 
Old January 16th, 2004, 04:38 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

http://windows.about.com/library/tips/bltip542.htm

Here is how to enable the 'security' tab in windows xp with NTFS.

 
Old January 17th, 2004, 12:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

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
 
Old January 20th, 2004, 09:39 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

He is trying to check permissions on folders.

 
Old January 21st, 2004, 12:31 PM
Registered User
 
Join Date: Jan 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey even i've the same problem. I'm running it on a XP machine.Can anyone help me out...

Beekay
 
Old January 21st, 2004, 02:30 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

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

 
Old November 17th, 2004, 08:17 AM
Registered User
 
Join Date: Nov 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to zippo
Default

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
 
Old November 17th, 2004, 10:19 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
WroxUnited not working with IIS Solved TieDyeGeek BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 October 13th, 2007 04:28 PM
C# If test not working RichardOrmiston C# 7 December 20th, 2005 08:18 AM
C# If test not working RichardOrmiston ASP.NET 1.0 and 1.1 Professional 0 December 18th, 2005 02:23 PM
why GetObject with IIS is not working alyeng2000 ASP.NET 1.x and 2.0 Application Design 0 September 15th, 2004 09:00 AM
Can't get IIS server test when setting up DWMX2004 richardv2 Dreamweaver (all versions) 6 June 11th, 2004 06:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.