RE: CreateObject() in ASP => Access right? Please help!!

From: Kyle Terns [MSFT] (Kylet_at_online.microsoft.com)
Date: 11/22/03


Date: Sat, 22 Nov 2003 00:35:06 GMT

Hi Roland,

The 800a0046 error is basically access denied and the 80070002 is file not
found. Try running FileMon and Regmon from http://www.sysinternals.com
while reproducing the errors. This should point you to which account
doesn't have access to or can't find what.

Hope this helps!

Kyle Terns, MCSD
Microsoft Developer Support
Internet Information Server

***********************
>>Please do not send email directly to this alias. This is an online
account name for newsgroup participation only.<<

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
© 2003 Microsoft Corporation. All rights reserved.
***********************

--------------------
| From: "Roland Johann" <rj0103NOSPAM@gmx.net>
| Subject: CreateObject() in ASP => Access right? Please help!!
| Date: Thu, 20 Nov 2003 20:22:32 +0100
| Lines: 32
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <e0Fgxu5rDHA.4092@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.inetserver.iis.security
| NNTP-Posting-Host: m173p005.adsl.highway.telekom.at 62.47.189.133
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
phx.gbl!tk2msftngp13.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.inetserver.iis.security:7226
| X-Tomcat-NG: microsoft.public.inetserver.iis.security
|
| On my Windows Server 2003 Web Edition I have installed an application
which
| offers some OLE Automation Objects. On my local system (W2k Prof) it works
| fine but on my server 2003 I have a big problem with the access right.
| I configured the IIS so that for this site E:\Websites\myASPSite the ASP
| application (regular old ASP, no ASP.NET code!) should use the default ASP
| users right (I created a myASPUser). Under this user I can start my OLE
| application per hand and use it without problems.
| If the ASP code tries to access to my application or better the OLE
| interface with CreateObject("myASPApp.Object1") I get the error code
| 800a0046.
| Than for testing only I tried to configure the IIS site so that the ASP
code
| is working under Admin rights. But than I got the error code 80070002.
|
| So my questions:
| * How do I have to configure the system rights so that it is possible to
| create my applications objects with CreateObject() in my ASP code?
| Which directory rights? Which file rights? And which rights under IIS
do I
| need?
|
| * Are there other ASP or IIS user right or file rihgt settings necessary
to
| connect to my app via CreateObject()?
|
| * Are there other OLE configurations necessary to use the CreateObject()
in
| ASP for connecting to my non-ASP app?
|
| * What's about the error code 80070002 under Admin rights?
|
| Please help!!!! I tried everything but now I have no idea what could be
| wrong!
|
| Roland
|
|



Relevant Pages

  • Re: asp not working - NT4 / IIS3
    ... You should download the NTOP and use IIS 4.0. ... This posting is provided “AS IS” with no warranties, and confers no rights. ... © 2001 Microsoft Corporation. ... the asp that calls the dll comes up with error ...
    (microsoft.public.inetserver.iis)
  • Re: IIS 6.0 - localstart.asp
    ... Roland, IIS isn't case sensitive ... Basically doesn't have rights to process any asp. ... > If IIS, then you're either misspelling the name or the path is incorrect. ...
    (microsoft.public.inetserver.asp.general)
  • Re: Thnslicer does not work on Windows 2003
    ... Dave Wickert ... This posting is provided "AS IS" with no warranties, and confers no rights. ... >>> ASP.NET applications are enabled by default, ... > Format = lcase) ...
    (microsoft.public.sqlserver.olap)
  • CreateObject() in ASP => Access right? Please help!!
    ... application (regular old ASP, no ASP.NET code!) should use the default ASP ... Under this user I can start my OLE ... Than for testing only I tried to configure the IIS site so that the ASP code ... How do I have to configure the system rights so that it is possible to ...
    (microsoft.public.inetserver.iis.security)
  • Re: WinCE 5.0: HTTPD Server does not accept cookies.response
    ... Windows CE Networking ... This posting is provided "AS IS" with no warranties, and confers no rights. ... using asp with vbscripts. ... The server method I'm using is POST ...
    (microsoft.public.windowsce.platbuilder)

Quantcast