简体   繁体   中英

Mvc4 website locally working fine but gives error on IIS Server 8.5 after deployment

hello i developed my website in mvc4 and i am using JQGrid in my application. my website is working fine on my local system but when i deploy website on my local IIS Server 8.5 then it gives error in loading the jq grid controller method am using windows 8.1 Console error image is attached below.

在此处输入图片说明

guide me about this error. is there any changes made in web.config or at IIS Server. thank you

and below screen shot of deployment how i deploy my website into local IIS. 在此处输入图片说明

I think the problem is that your Web Publish configuration isn't uploading/publishing those files. Ensure that those files are included in your .csproj project (Solution Explorer > Show All Files > Include, for each file listed). Also ensure that "All files" rather than "Files needed to run the application" is selected on the Settings page of the Web Publish wizard.

I suppose that you don't included Content/images subdirectory and fonts subdirectory (or some files from there) to your project . So the destination don't contains the required files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM