Cannot run ASPX file

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.


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
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.


Give aspnet user permissions to the directory
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Check your web.config file is well formed XML.
mahalakshmi_sAuthor Commented:
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 :-(
Can u just paste ur aspx code ?

mahalakshmi_sAuthor Commented:

<body bgcolor="yellow">
<h2>Hello World!</h2>
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.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.