Web应用程序部署 [英] Web application deployment

查看:110
本文介绍了Web应用程序部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 当我在iis localhost下的浏览器中测试我的aspx文件时遇到错误.我首先通过Visual Studio的website-> copy website菜单创建了网站,然后将该文件夹放在iis localhost的www文件夹中作为规则.我得到的错误是我的aspx文件第一行中的语法错误.但是asp.net网站项目可以通过浏览器从Visual Studio中很好地运行.我创建了一个Web应用程序,并且未在localhost中运行,那么它将如何在托管服务器中运行.请解决.

解决方案

您的服务器目录是否设置正确,您是否已从文件夹中选择文件作为默认页面?


Hi i get errors when i test my aspx file in my browser under iis localhost.i first created website by visual studio''s website->copy website menu and placed the folder in my iis localhost''s www folder as its rule.the error i get is syntax error in my aspx files first line.but the asp.net website project runs well from visual studio via browser.i created a web application and in not running in localhost then how will it run in hosted server.please solve.

解决方案

well is your server directory set up properly and did you select the file from the folder as your default page?


这篇关于Web应用程序部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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