Cannot run ASPX file

Posted on 2004-10-25
Last Modified: 2012-06-27
Hi ,
I cannot run simple ASPX file on my IIS n in client machine too.On server I get this error mesg:
Server Error in '/MahaTesting' Application.

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30138: Unable to create temp file in path 'C:\WINDOWS\TEMP\': The directory name is invalid.

Source Error:

[No relevant source lines]

Source File: vbc : Line: 0

I did create a folder TEMP on windows dir. I even register the
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i

In client machine I get the following err:
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Please try the following:

Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.

Please help in running ASPX file ?
Do I need to set anything else in server? Pls advice.


Question by:mahalakshmi_s
    LVL 15

    Expert Comment

    Does the computer have any software on it that prevents writing to the C drive? I've seen some products that lock the hard drive break .NET apps.
    LVL 7

    Expert Comment

    check the rights on the directory. Check if it is set to readonly. That has troubled me a lot.
    Check ur ASPX for any other type of errors. If you paste ur code i will take a look at it.



    Expert Comment

    Give aspnet user permissions to the directory
    LVL 1

    Expert Comment

    Check your web.config file is well formed XML.

    Author Comment

    its simple Hello world program I created with .ASP extension. Later changed to .ASPX.
    I have to contact my sys admin n get back to u on Mon guys.
    Still the prob is not fixed :-(
    LVL 7

    Expert Comment

    Can u just paste ur aspx code ?


    Author Comment


    <body bgcolor="yellow">
    <h2>Hello World!</h2>
    LVL 7

    Accepted Solution

    did u try this ... ifound it online

    You will need to give these two accounts, IUSR_MachineName and ASPNET,
    permissions to the directories they are being denied acces to. You can do
    this by right click the folder and going to properties. Then click the
    security tab. Then click the add button. Add the account.
    It is the account that the aspnet_wp.exe and the inetinfo.exe processes run
    under that need to be granted access to the directories that they are being
    denied access to.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: MongoDB Object-Document Mapper for NodeJS

    NodeJS (JavaScript on the server) is awesome, but some developers get confused about NoSQL when it comes to working in Node with MongoDB (NoSQL database). Do you need a better explanation of how to use Node.js with MongoDB? The most popular choice is the Mongoose library.

    What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
    Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    845 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    6 Experts available now in Live!

    Get 1:1 Help Now