If you’re using Web Deployment project and during build getting errror “Object reference not set to an instance of an object” error from ASPNETCOMPILER, check the BIN folder of the project you’re compiling. Chances are, there’re some *.compiled files there. Remove them and your deployment will go thru.
thank you for a great post. I was already wasted so many hours and couldn’t resolve this issue until now. Thank you again…
Thanks allot buddyy…its like a life jacket for me..
again thank . Great solution
tnx dude! Im just wondering! what is the connection *.compiled files to the error..
anyway! Thanks again and Great solution!
this a fantastic solution as i was scrubbing my head for past hours to overcome this issue.
Thank you so much π
Thank you. You rescued me before my deadline π
Thanks for the post. Simple solution for such an abstract error message.
Man you’re a genius. You saved me a lot of time. Good job
Thank you very much, you saved us a lot of time. By the way what is the reason for this fail?
Worked for me. Great post!
I don’t have *.compiled files over there but still i am getting this issue … m stuck
When select publish, in the settings section -> File Publish Options check “Exclude files from the App_Data folder”. Work for me.
well i am using FTP deploy and there are no .complied in my bin folder. any other option ?