由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - Simple deployment question
相关主题
请教:新手学 ASP, 关于安装 IIShow to use window authentication in the ASP.net? Thank you!
difference between VS2005 and VS2003ASP.NET 怎么跟后端main process通信?
VS2005能和VS2003装在一个OS上么?这样是通常的启动asp.net方法吗?
asp.net hosting configuration怎么publish ASP.NET web
asp.net webhostingASP.NET host server
sql server reporting services 的publish问题怎么写多语言的程序?
C# Deploying application 如何加入一个 folder的文件?一下狠心
ASP.NET 如何在 Shared Hosting 上发自动邮件?A Bug about TextBox?
相关话题的讨论汇总
话题: simple话题: host话题: your话题: question
进入DotNet版参与讨论
1 (共1页)
g*******n
发帖数: 6
1
I am a ASP.NET beginner. Sorry if this question is too naive.
After the application like the default.aspx is done in visusal studio, how
do I make it work on web host like godaddy.com.
I tried simply uploading the file default.aspx and default.aspx.cs to my
root directory and type in the website name .../default.aspx, but it does
not work.
I also uploaded the App_Data folder with my two database files.
I have searched for help, but did not find.
Your help or pointer will be greatly appreciated!!
i***c
发帖数: 301
2
database need setup at host company
default.aspx probaly you need delete index.html at root folder
g*******n
发帖数: 6
3
Thanks.
Just tried deleting the index.html.
Still does not work.
Below is the error I got:
Server Error in '/' Application.
s***o
发帖数: 2191
4
You need to tell the web server that this is an ASP.NET application. In IIS, go to the properties of your site and there is a ASP.NET tab.
As for godaddy.com, I am not sure how you could get this done...

【在 g*******n 的大作中提到】
: I am a ASP.NET beginner. Sorry if this question is too naive.
: After the application like the default.aspx is done in visusal studio, how
: do I make it work on web host like godaddy.com.
: I tried simply uploading the file default.aspx and default.aspx.cs to my
: root directory and type in the website name .../default.aspx, but it does
: not work.
: I also uploaded the App_Data folder with my two database files.
: I have searched for help, but did not find.
: Your help or pointer will be greatly appreciated!!

g*******n
发帖数: 6
5
What host do you use?
I am pretty upset with godaddy's help and tutorial.

IIS, go to the properties of your site and there is a ASP.NET tab.

【在 s***o 的大作中提到】
: You need to tell the web server that this is an ASP.NET application. In IIS, go to the properties of your site and there is a ASP.NET tab.
: As for godaddy.com, I am not sure how you could get this done...

s***o
发帖数: 2191
6
Did you find anything about setting up an asp.net site in godaddy's help?
A few more suggestions:
1. did you upload the web.config file when you upload your site?
2. Did you use some local paths in your web.config?
3. for testing purpose, don't hook up with any database. Just create a
simple page such as "hello world", upload this page to see if it works.
l*s
发帖数: 783
7
If it's an website project,right click on the website project and choose
publish(to a local folder),then copy all the output to your destination
server; If it's web application project, just compile it in release mode and
copy the files over.

【在 g*******n 的大作中提到】
: I am a ASP.NET beginner. Sorry if this question is too naive.
: After the application like the default.aspx is done in visusal studio, how
: do I make it work on web host like godaddy.com.
: I tried simply uploading the file default.aspx and default.aspx.cs to my
: root directory and type in the website name .../default.aspx, but it does
: not work.
: I also uploaded the App_Data folder with my two database files.
: I have searched for help, but did not find.
: Your help or pointer will be greatly appreciated!!

c**t
发帖数: 2744
8
1) check if the website is powered by IIS;
2) follow "publish" wizard

【在 g*******n 的大作中提到】
: I am a ASP.NET beginner. Sorry if this question is too naive.
: After the application like the default.aspx is done in visusal studio, how
: do I make it work on web host like godaddy.com.
: I tried simply uploading the file default.aspx and default.aspx.cs to my
: root directory and type in the website name .../default.aspx, but it does
: not work.
: I also uploaded the App_Data folder with my two database files.
: I have searched for help, but did not find.
: Your help or pointer will be greatly appreciated!!

s**p
发帖数: 518
9
Here is the steps to host asp.net web application on commercial host site:
1. Make sure you purchased windows hosting package. Normally, it is a little
more expensive than the basic plan.
2. Make sure the host support the version of .NET framework you used
developing your application. For instance, if you use Visual Studio 2008, it
requires .Net Framework 3.5, VS2005 2.0, and VS2003 1.1.
3. Normally your host company will have file managment control panel type of
interface, you have to create a

【在 g*******n 的大作中提到】
: I am a ASP.NET beginner. Sorry if this question is too naive.
: After the application like the default.aspx is done in visusal studio, how
: do I make it work on web host like godaddy.com.
: I tried simply uploading the file default.aspx and default.aspx.cs to my
: root directory and type in the website name .../default.aspx, but it does
: not work.
: I also uploaded the App_Data folder with my two database files.
: I have searched for help, but did not find.
: Your help or pointer will be greatly appreciated!!

r***o
发帖数: 1526
10
我在godday上设了好几个网站了,在Visual Studio里开发好从Build菜单里publish到
staging folder, 再ftp上去就行了, 数据库可以用Database Publish Wizard生成
script
然后通过web页面upload and execute.
godaddy服务不错就是restriction多了点
D*J
发帖数: 141
11
好像程序有错误。但是错误原因被屏蔽了。需要改一下web.config好显示error
message

【在 g*******n 的大作中提到】
: Thanks.
: Just tried deleting the index.html.
: Still does not work.
: Below is the error I got:
: Server Error in '/' Application.

1 (共1页)
进入DotNet版参与讨论
相关主题
A Bug about TextBox?asp.net webhosting
vs2005 beta downloadsql server reporting services 的publish问题
Free Beta1C# Deploying application 如何加入一个 folder的文件?
哪位大侠指点一下 DOT NET 哪里有下?ASP.NET 如何在 Shared Hosting 上发自动邮件?
请教:新手学 ASP, 关于安装 IIShow to use window authentication in the ASP.net? Thank you!
difference between VS2005 and VS2003ASP.NET 怎么跟后端main process通信?
VS2005能和VS2003装在一个OS上么?这样是通常的启动asp.net方法吗?
asp.net hosting configuration怎么publish ASP.NET web
相关话题的讨论汇总
话题: simple话题: host话题: your话题: question