Hi,
I was getting this error when I was trying to call a .NET dll from an ASP page.
The dll was making use of a web service.
And while searching for it I found that if we are making use of a web service from
an asp page, the page tries to create a temporary file in windows\temp directory and because it hasn’t got rights for the same we get the error.
We can resolve it by giving it the appropriate rights for the windows/temp folder
1) Right click the temp folder à Select properties
2) Go to security tab
3) Click on Add and add ASPNET account. ( In locations select your machine )
4) Then add one more account IWAM_D-0824 (i.e. IWAM_YourMachineName)
5) Try running the ASP page again. The page should run without any error.
Bye
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.

thanks
its very helpful
LikeLike
need to install dotnet 2.0 framework
LikeLike
Very very helpful indeed. Thanks.
LikeLike
Muchas gracias…it´s OK 🙂
LikeLike
Somehow i missed the point. Probably lost in translation 🙂 Anyway … nice blog to visit.
cheers, Pinky!
LikeLike
If your the web site is running in some other service account. you have to add that account also in the security tab…
Happy coding…
LikeLike
very helpful ,thanks a lot
LikeLike
kool!! very handy… saved me a lot of time! cheerz for that…
LikeLike
Exactly what i needed, thanks!
LikeLike
You saved me. Thanks much.
LikeLike
Very good
LikeLike
Nice writing
LikeLike
THANKS VERY MUCH !
LikeLike
thanks a lot ….. i saved me a lot of time … thanks have a wonderful day
LikeLike
Pingback http://haditeo.wordpress.com/2009/04/30/unable-to-generate-a-temporary-class-result1-error-cs2001-source-file-%e2%80%98cwindowstempfilenamecs%e2%80%99-could-not-be-found-error-cs2008-no-inputs-specified/
LikeLike
Hi its really very useful. Thanks for the thought of posting this
Lizy
LikeLike
Thanks, it save me times.
LikeLike
Good One….
LikeLike
Thank you.
LikeLike
still if u cant run give right to NETWORK SERVICES
LikeLike
Hey!!! Thank you!! it worked for me…
LikeLike
you might also be able to solve it when you
Run C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
LikeLike
I am not sure how to add the ASPNET and IWAM accounts in the security tab.
Please help.
LikeLike
hi check this
http://www.opcg.com/index.php/2007/06/27/error_in_asp_net_failed_to_execute_the_r_1?blog=2
there you could see a screeen shot .
LikeLike
I have this same problem. I ran the framework 2.0 application, and have accessed the temp file, but i don’t have the ability to add either of these 2 accounts.
I am using windows 7, and just trying to allow dotnetnuke to install!
LikeLike
Awesome, this worked for me. Had Network Service with write permissions, but that wasn’t doing it. But got it working.
The perms on this folder were all screwed up, not sure how it happened in the first place with is scary.
James – DotNetNuke Expert
LikeLike
Does This DLL work inside a MTS environment when I call it form an ASP page ?
LikeLike
you ara a genius!!!! thanks!!!!
LikeLike
thanks, this is very helpful!!!
LikeLike
Thanks a million Dude
LikeLike
Thanks Its very helpful
LikeLike
yeah,pretty good,it confused me a lot .Thank you very much!
LikeLike
Very helpful. It solves my problem. thanks a lot
LikeLike
Cheers !
It worked perfectly.
LikeLike
It’s very helpful.
It solves my problem.
Cheers !
LikeLike
This was awesome!! it solved a problem that took out our production app.
Thanks!!
LikeLike
Thanks man, Saved me from googling around
LikeLike
Thank you so much. Saved so much time. Very grateful.
LikeLike
Thanks a lot …. you saved my time.
LikeLike
Thanks.
LikeLike
Much thanks
LikeLike
very very helpful…. Thanks a ton
LikeLike
Add Network Services user to your Temp directory with write acces.
LikeLike
Thanks this is helpful.
LikeLike
Thanks Guru.
LikeLike
Thanks..!
LikeLike
Thanks it worked!
LikeLike
Gracias. Me sirvió mucho!
LikeLike
Thank you, this helped me solve the problem in my environment!
LikeLike
gracias cara e poio
LikeLike