Author |
Topic |
|
TerryG
Junior Member
United Kingdom
179 Posts |
Posted - 30 July 2001 : 11:30:33
|
My Intranet users just started getting the following error when browsing to the homepage of the forum, (NT Authentication enabled) Microsoft VBScript runtime error '800a0046' Permission denied: 'GetObject' /forum/inc_functions.asp, line 1268
Line 1268 is Set strNTUserInfo = GetObject("WinNT://"+strNTUser)
MS knowledgebase says this error is to do with security certificates and the IT Dept just applied 'Post-Windows NT 4.0 Service Pack 6a Security Rollup Package (SRP)' to the IIS Server (described in KB article Q299444). Anyone have any ideas whats happened ??
Edited by - TerryG on 01 August 2001 05:58:21
Edited by - TerryG on 01 August 2001 05:58:55 |
|
LeslieS
Starting Member
33 Posts |
|
TerryG
Junior Member
United Kingdom
179 Posts |
Posted - 31 July 2001 : 13:23:32
|
Many thanks LeslieS, it looked really likely there for a while but unfortunately the problem still persists after ADSI2.5 and checking permissions on the web sever with UsrMngrForDomains.
Maybe its something to do with this Security Rollup Package, anyone know if there server is running it, I think its only been out for a couple of days.
|
|
|
TerryG
Junior Member
United Kingdom
179 Posts |
Posted - 01 August 2001 : 05:54:23
|
Done some more work and made the following discovery, its definitely the 'Post-Windows NT 4.0 Service Pack 6a Security Rollup Package (SRP)' causing the problem. If I run the following code on the server before the SRP is applied I get results for USER, GROUP, AND COMPUTER object Class's as (I suppose) you would expect. <% Dim testObj Dim Child Set testObj = GetObject("WinNT://DomainName") %> <TABLE><TR><TH>Object Name</TH><TH>Object Class</TH><TH>Object ADsPath</TH> <% For Each Child in testObj Response.Write "<TR> Response.Write "<TD>" & Child.Name & "</TD>" Response.Write "<TD>" & Child.Class & "</TD>" Response.Write "<TD>" & Child.ADsPath & "</TD>" Response.Write "</TR> Next %> </TABLE>
After the SRP is applied when I run the above code I only get results for the COMPUTER object class, no other classes are returned at all! This now explains why when inc_functions.asp tries to execute "Set strNTUserInfo = GetObject("WinNT://"+strNTUser)" I get the VBScript runtime error "Permission Denied:'GetObject'"
Now, given that I am in way over my head, SOMEBODY PLEASE HELP !! what do I do to fix this ?
Edited by - TerryG on 01 August 2001 06:01:15 |
|
|
somm08
Starting Member
1 Posts |
|
TerryG
Junior Member
United Kingdom
179 Posts |
Posted - 15 August 2001 : 12:15:45
|
Many Thanks, that fixed it.
|
|
|
|
Topic |
|