上传后无法访问网站 [英] Not able to se the website after uploading

查看:76
本文介绍了上传后无法访问网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我正在asp.net(C#)上工作,并使用此平台开发了一个静态网站.开发网站后,我将发布网站并将其上传到服务器.完成此操作后,当我在浏览器的地址栏中输入地址而不是网页时,我看到的是我在设计时为页面完成的脚本.请在这种情况下帮助我

问候
Viru

Hi I am working on asp.net(C#) and developed one static website using this platform. After developing the website I am publishing the website and Uploading it to the server. After finishing this when I enter the address in the address bar of the browser, instead of the webpage what i am seeing is the script which I have done for the page while designing. please do help me on this situation

Regrds
Viru

推荐答案

基于您共享/提出的内容,看来您没有正确托管网站.
在这里了解如何部署Web应用程序: MSDN:演练:发布一个网站 [ ^ ]

IIS特定:
1.在IIS7中:在IIS 7.0上部署ASP.NET网站 [在IIS上部署网站 [
Based on what you shared/asked, it seems that you have not hosted your website correctly.
Have a look here on how a web application can be deployed: MSDN: Walkthrough: Publishing a Web Site[^]

IIS Specific:
1. In IIS7: Deploying ASP.NET Websites on IIS 7.0 [^]
2. In IIS6: Deployment of a Website on IIS[^]


这篇关于上传后无法访问网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆