Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
this below error coming from server not local machine

Server Error in '/xy2' 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: CS0006: Metadata file 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\rp2\004dfffc\898d04cb\App_Web_i52zxoxh.dll' could not be found

Source Error:


[No relevant source lines]

Source File: Line: 0

Show Detailed Compiler Output:

________________________________________
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36415

What I have tried:

The above error is solved when i deploy the solution again to the server.but after 1 week or 2 week this error is coming again.i have faced this error two times within 2 weeks.
Posted
Comments
________________ 21-Dec-17 5:02am    
I suggest to change the location of published dll from "Temporary ASP.NET Files" to constant location.
I think, it is possible that something-somebody cleans the Temp folders of your Web site....
Merajuddin Ansari 21-Dec-17 5:11am    
i think so..if i will change the location it will work..?
________________ 21-Dec-17 5:14am    
Sure. Web site loads the dills on run time. Error says, it cannot find needed dll.
If it will have it - what happens? :-)
I think you should check the references in you project, all what you use - should be in known place.
Merajuddin Ansari 21-Dec-17 5:34am    
i will try this..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900