« Previous Next »

Thread: Getting Started OOP's Error Code 0x80070005

Last post 10-25-2009 7:25 PM by Lotsmore. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 10-18-2009, 8:58 PM

    • Lotsmore
    • Not Ranked
    • Joined on 10-18-2009, 8:46 PM
    • Posts 3

    Getting Started OOP's Error Code 0x80070005

    Hello and thanks for reading this

    Ive installed IIS 7 and 6 on my vista ultimate 64 bit machine and tried to create a helloworld html file in a virtual directory, All appeared to go well until i tried to view it with my browser. This resulted in the error message below. I can view the splash for iis 7 at the localhost and have tried to follow the instructions for this simple (Hello World)task but I think I must have the security settings jacked up all the way or something on my new dell business machine because just about every microsoft free application ie express edition SQL and IIS is giving me static. Im logged in with an administrator account and Ive tried to set all the folders in the path to share but Im not very good at hacking Im ashamed to say Ive relatively little experience with vista and its very elaborate security/permissions settings. Its making it very hard for me too learn some beginners topics but  I suppose will be worth it in the end for added security rather than trying open source stuff.

    any suggestions appreciated

    Pat. 

    Error Summary

    HTTP Error 500.19 - Internal Server Error

    The requested page cannot be accessed because the related configuration data for the page is invalid.

     

    Detailed Error Information
    Module IIS Web Core
    Notification BeginRequest
    Handler Not yet determined
    Error Code 0x80070005
    Config Error Cannot read configuration file due to insufficient permissions
    Config File \\?\C:\Users\Some_User\Documents\Apress\BegWeb\web.config
    Requested URL http://localhost:80/ApressBegWeb/HelloWorld.htm
    Physical Path C:\Users\Some_User\Documents\Apress\BegWeb\HelloWorld.htm
    Logon Method Not yet determined
    Logon User Not yet determined
    Config Source
       -1: 
        0: 
    
    Links and More InformationThis error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

    View more information »

  • 10-18-2009, 11:34 PM In reply to

    • robol
    • Top 100 Contributor
    • Joined on 06-16-2008, 5:11 AM
    • Melbourne
    • Posts 54

    Re: Getting Started OOP's Error Code 0x80070005

     right click on begweb folder then click properties then click on security tab and add a user name everyone there with read and write permission .!!!

     

    should fix it 

  • 10-19-2009, 2:26 AM In reply to

    Re: Getting Started OOP's Error Code 0x80070005

    The problem is that you are setting up a directory under your personal profile (ie My Documents) that by definition can only be read by the user, this prevents IIS from being able to read anything from that directory.

    I would recommend having the Web site stored outside your documents since you will need to grant read permissions for IIS to be able to make it work.

     

  • 10-20-2009, 4:56 PM In reply to

    • Lotsmore
    • Not Ranked
    • Joined on 10-18-2009, 8:46 PM
    • Posts 3

    Re: Getting Started OOP's Error Code 0x80070005 still no Joy after permissions and location change.

    Thanks for the reply to you both,

    HOWEVER

    I created a folder in the public documents folder called Apress2 and a subfolder called BegWeb2 inside it and placed a hello world2.htm file in that folder ie.

    Physical path C:\Users\Public\Documents\Apress2\BegWeb2\HelloWorld2.htm

    I set the Alias to Apress2BegWeb2 in Edit Virtual Directory and use Pass-through authentication (although I installed the basic authentication option in windows set-up of IIS)

    Browsing to it from IIS: Manage Virtual Directory: Drop Down "Browse" : and my browser goes to

    http://localhost/Apress2BegWeb2

    this gives me

    This problem can be caused by a variety of issues, including:

    • Internet connectivity has been lost.
    • The website is temporarily unavailable.
    • The Domain Name Server (DNS) is not reachable.
    • The Domain Name Server (DNS) does not have a listing for the website's domain.
    • There might be a typing error in the address.
    • If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.

     

    For offline users

    You can still view subscribed feeds and some recently viewed webpages.
    To view subscribed feeds

    1. Click the Favorites Center button , click Feeds, and then click the feed you want to view.

     

    To view recently visited webpages (might not work on all pages)

    1. Click Tools , and then click Work Offline.
    2. Click the Favorites Center button , click History, and then click the page you want to view.

    But now I have no specific error message. So the browser isnt able to resolve the virtual directory name.

    setting the browser to this=> http://localhost/Apress2/BegWeb2/HelloWorld2.htm

    gives me another error, see below

    Internet Information Services 7.0

    Error Summary

    HTTP Error 404.0 - Not Found

    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    Detailed Error Information
    Module IIS Web Core
    Notification MapRequestHandler
    Handler StaticFile
    Error Code 0x80070002
    Requested URL http://localhost:80/Apress2/BegWeb2/HelloWorld2.htm
    Physical Path C:\inetpub\wwwroot\Apress2\BegWeb2\HelloWorld2.htm
    Logon Method Anonymous
    Logon User Anonymous
    Most likely causes:
    • The directory or file specified does not exist on the Web server.
    • The URL contains a typographical error.
    • A custom filter or module, such as URLScan, restricts access to the file.
    Things you can try:
    • Create the content on the Web server.
    • Review the browser URL.
    • Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.
    Links and More InformationThis error means that the file or directory does not exist on the server. Create the file or directory and try the request again.

    View more information »

    Now these virtual folders im browsing to are at the same level as the iis splash screen in local host which is visible

    All folders in the path ie the folders ive created and the file have been given full permissions

    I cant seem to change the permissions for the default public or user Document folder but they are set to full permissions already. One thing Im considering is the share status on the share tab of the documents folders I think It has to be set to allow all network users access to share change create.

    Thanks for your suggestions they give me inspiration to hack away some more if not perfect results which I guess is nigh impossible if your not sitting at the machine.

    Cheers

    Pat

  • 10-22-2009, 1:43 AM In reply to

    Re: Getting Started OOP's Error Code 0x80070005 still no Joy after permissions and location change.

    Hi,

    Requested URL http://localhost:80/Apress2/BegWeb2/HelloWorld2.htm
    Physical Path C:\inetpub\wwwroot\Apress2\BegWeb2\HelloWorld2.htm

    Since you create a virtual directory "Apress2BegWeb2" under the default web site , you can request the page with following URL :
    http://localhost/Apress2BegWeb2/HelloWorld2.htm

    The "http://localhost/Apress2BegWeb2" did not work for you should caused by the default document setting. For more information about default document, you can refer to:
    Default Document <defaultDocument>
    http://www.iis.net/ConfigReference/system.webServer/defaultDocument

    Below is a video about IIS7.0, hope helpful for you:
    serving-new-content
    http://learn.iis.net/page.aspx/372/serving-new-content/

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • 10-25-2009, 7:25 PM In reply to

    • Lotsmore
    • Not Ranked
    • Joined on 10-18-2009, 8:46 PM
    • Posts 3

    Re: Getting Started OOP's Error Code 0x80070005 still no Joy after permissions and location change.

    Hi Leo,

    Thanks for the response yes I think Im getting the hang of it now. Nice video link too Im going to try to work through it and others like it, Hopefully I wont make such a newb mistake in the future.

    All the best

     Pat.

Page 1 of 1 (6 items)
Microsoft Communities