Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP 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
  #11 (permalink)  
Old June 23rd, 2004, 03:29 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Does the account that the Web server is using (usually the IUSR_MachineName account) have enough permissions?


Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Nature 1 by Muse (Track 6 from the album: Hullabaloo) What's This?
  #12 (permalink)  
Old June 23rd, 2004, 03:57 AM
Registered User
 
Join Date: Jun 2004
Location: Bangalore, Karnataka, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

IUSR_MachineName is not used.

All websites are setup with their own users.
In this case the user for project is project.com_web (This is standard with
Win2003)

The permissions currently set for project.com_web is Full permissions, (This
is not usually the case but we gave it full permissions in an attempt to get
it going.)
  #13 (permalink)  
Old June 23rd, 2004, 04:00 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Where did you set these permissions? Does the account also have permissions for the things that occur within the DLL? E.g. read/write files, open connections etc??)

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Micro cuts by Muse (Track 12 from the album: Hullabaloo) What's This?
  #14 (permalink)  
Old June 23rd, 2004, 04:14 AM
Registered User
 
Join Date: Jun 2004
Location: Bangalore, Karnataka, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In ADS Users and Computers, They tested with the account everyone with full permissions also (This is not usually the case ). still facing the same problem.
  #15 (permalink)  
Old June 23rd, 2004, 04:19 AM
Registered User
 
Join Date: Jun 2004
Location: Bangalore, Karnataka, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There are no specific roles (Users) created for the DLL in COM+ Application/COM+ Component ("COMPro.COMProImpl")
  #16 (permalink)  
Old June 23rd, 2004, 04:51 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

But did you assign your user to at least one of the default roles under COM+??

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: New born by Muse (Track 1 from the album: Origin of symmetry) What's This?
  #17 (permalink)  
Old June 23rd, 2004, 04:59 AM
Registered User
 
Join Date: Jun 2004
Location: Bangalore, Karnataka, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, I hope it is not necessary. For testing the same thing i performed with the following steps in WINDOWS 2000 Prof / SQL Server 2000

I created a user with name snv (standard user) from Controlpanel/Users in Windows.
I created a user with name snv in SQL Server/Enterprise Manager/Security.
SQL Server Permissions :
   Given only access to my database.
   Given only public in server roles.
   Given only datareading in DataAccess.

Its working.. i didn't assign my user any thing under COM+ Application.. i even didn't created it in the roles section.
  #18 (permalink)  
Old June 23rd, 2004, 05:12 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Access checks are different in Windows 2003 (if that's what you're using). I think you either should add the user(s) to specific roles, or configure the type of access checks on the Properties dialog for the COM+ package....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Citizen erased by Muse (Track 6 from the album: Origin of symmetry) What's This?
  #19 (permalink)  
Old June 23rd, 2004, 11:36 PM
Registered User
 
Join Date: Jun 2004
Location: Bangalore, Karnataka, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yeah! you are right. I created a User with name snv in ADS Users and Computers and he is a member of Domain Users only (I removed the Domain guests and made domain users is a default group). I set the "Allow log on locally" in Domain Controller Security Policy MMC and Domain Controller Policy MMC. In COM+ Application i created a role for this user (by default MACHINENAME/Administrator is there.,.. i removed it and i added this user account), In the Security Tab of this "COMProSample" COM+ Application i unchecked the "Enfore access checks for this application" and Security level "perform access checks at process and component level. In the Identity tab i selected "System Account/Interactive User". After doing all these settings i made shutdown the COM+ Application. I tried through my system, accessing the WINDOWS Server 2003 System on the network through URL "http://192.168.1.250/COMAPP/ComApp.asp" then login dialog of WINDOWS will appear. After entering all the login information it says "The Local Security Authority cannot be contacted ". I am able to login to that WINDOWS Server 2003 with user id "snv". What are the other permissions or settings i have to give and where? Can you guide me please?
  #20 (permalink)  
Old June 24th, 2004, 12:54 AM
Authorized User
 
Join Date: Jun 2004
Location: , , India.
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to silver_cuts Send a message via Yahoo to silver_cuts
Default

hello guys ...

i am facing the earlier ...

i am able to use the functions like move next and stuff
but i am not able to use the GETCOUNT method

plz help .... tell me any other method for getting the number of objects in the recordset ... not the manual for loop counting method ... an inbuilt method if it exits ..

thanks in advance

Sudhan





Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft VBScript runtime (0x800A0005) mail1 Classic ASP Basics 4 March 27th, 2008 03:42 PM
Microsoft VBScript runtime (0x800A0005) Swetz Classic ASP Components 0 May 14th, 2006 03:44 AM
Microsoft VBScript runtime (0x800A000D) stitch Classic ASP Basics 1 April 27th, 2006 02:23 PM
Microsoft VBScript runtime (0x800A0009) ppenn Classic ASP Databases 2 December 15th, 2003 01:15 PM





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