部署Web应用程序 [英] deploying web application

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

问题描述

您好,有人可以告诉我如何将用vb.net或c#编写的基于Web的应用程序部署到实时Web服务器中吗?我在将应用程序部署到Web服务器上时遇到了很多问题.




hi can any one tell me how to deploy web based application written in vb.net or c# into live web server i am facing much problem in deploying application onto my web server




erver Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'testq._Default'.

Source Error:


Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="testq._Default" %>
Line 2:
Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Source File: /test1234/default.aspx    Line: 1

how to solve this error

推荐答案

您需要获得IIS6/7的帮助,这是Abhijit Jana写给在IIS上部署网站 [
You need to take help of IIS6/7 here is nice article written by Abhijit Jana to Deploying ASP.NET Websites on IIS 7.0 [^]

and Deploy using IIS 6
Deployment of a Website on IIS[^]


检查这些链接....

如何在服务器上部署ASP.NET Web应用程序 [在IIS 7.0上部署ASP.NET网站 [ http://www.beansoftware.com/ASP.NET-Tutorials/Deploy-ASP. NET.aspx [ ^ ]
Check these links....

How to deploy ASP.NET Web Application on server[^]
Deploying ASP.NET Websites on IIS 7.0 [^]
http://www.beansoftware.com/ASP.NET-Tutorials/Deploy-ASP.NET.aspx[^]


构建应用程序后,将其发布(构建->发布网站)到指定文件夹.转到该文件夹​​,在Web.config中更改连接字符串根据网络服务器的文件.复制所有文件,转到托管服务提供商的wwwroot目录并粘贴.现在检查您的域..
After the application Build,Publish it (Build -> Publish Web site) to a specified folder..Go to that folder,Change Connection string in Web.config file as per the web server..Copy all files,Go to wwwroot directory of your hosting provider and paste..Now check your domain..


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

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