Last post Sep 24, 2012 01:19 PM by firstname.lastname@example.org
Sep 21, 2012 02:13 PM|ay1585|LINK
I am deploying an Asp.Net Web Application in IIS 7.5 and Windows Server 2003.
I am facing some issues.
When I deploy, I am setting a binding to the virtual directory.
This binding contains Host Name, IP address and also port number 80.
I need to deploy in this way only.
When I browse the application through IIS, The default CSS \ Images and some styles etc are not being loaded.
If I remove the IP Address and binding for the same virtual directory,then every thing is working fine.
The Authentication Mode is "Anonymous". I dont see this as any issue.
Application Pool is ASP.NET v4.0. I even tried creating my own Application Pool, but still due to the Advanced Settings(Bindings etc) the CSS is not being called.
Please suggest how to resolve this issue.
Sep 22, 2012 12:21 AM|necro_mancer|LINK
based on the error message, it seems that you did not properly publish your site.
Please do the followings:
1. Please open your project with VS tool
2. On the Solution Explorer window, right click your project and select "Publish"
3. Please publish your project to a local folder, e.g. C:\Project
4. Once you publish your files to this folder, you just need to upload whatever files you see on C:\Project via FTP to the server and I guarantee everything will work
Please mark this response as an "answer" if it helps you. Thanks heaps!
Sep 22, 2012 05:22 AM|ay1585|LINK
Thanks for u r response.
I have followed all the steps suggested by you. But still facing the same issue.
Sep 24, 2012 01:19 PMemail@example.com|LINK
The default CSS \ Images and some styles etc are not being loaded.
Nothing to do with bindings. It's how you're referencing the CSS and image files. Show code for this.