查看: 1079|回复: 8
|
关于WEB HOSTING!(急)
[复制链接]
|
|
我已经DEVELOPE一个WEB 用VS2005 + MSSQL(2005或2K)
现在需要UPLOAD给PUBLIC,
可是我以前做的都是给Internal User,所以WEB和SQL都可以用自己的server IIS 来host.
如果我要open 给PUBLIC 可是因为怕本身的SDSL line 和 Server负担不来!所以打算用外面的hosting来HOST
问题来了!
我完全没有经验(外面HOST)
我该如何,我公司已经有一个Acc在
HostPro2U.com可是是STANDARD PLAN 只有WEB HOSTING,应该没有MSSQL,如果要加就 50MB RM700pa , 100MB RM1200pa 很贵, 所以不懂要如何!如果要找别的HOSTER 有什么介绍吗?
然后我找到 http://www.internet-webhosting.com/index.php 它的 supreme plan 写到Unlimited MSSQL,
还有一个很头痛的问题
以前有试过用一些FREE的HOSTER 来HOST一些COLLEGE PROJECT,不过都是一些简单的HTML PAGE(没有DATABASE的)
可是现在是。NET 2.0,要如何UPLOAD?是不是把AFTER COMPILE的整个FOLDER 用FTP UPLOAD上去就可以了呢?然后DATABASE 呢?
还有我的CONNECTION STRING 怎么办?
希望各位大大可以帮忙!
[ 本帖最后由 bee002 于 1-12-2006 12:41 AM 编辑 ] |
|
|
|
|
|
|
|
发表于 1-12-2006 12:55 AM
|
显示全部楼层
对!只要把after compile后的upload上去就可以了。
至于Database,你可以直接用SQL Enterprise Manager呀!
你的Connection String是DNS?还是DNS-less?
Hosting的Control panel可以让你Set DNS,
至于DNS less,更不用讲了吧!
唯一的问题MSSQL,我知道都是这样贵的,
如果你不换Database,就没办法了。
试试找找看有没有便宜的吧! |
|
|
|
|
|
|
|

楼主 |
发表于 1-12-2006 12:47 PM
|
显示全部楼层
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="ConnectionString" value="server=bee002;uid=sa;pwd=sa;Database=WEBSYS" />
</appSettings>
</configuration>
我的CONNECTION是STORE在一个XML的,所以所以应该是DNS - LESS
所以我该如何UPLOAD我的DATABASE? |
|
|
|
|
|
|
|
发表于 1-12-2006 02:48 PM
|
显示全部楼层
你可以用Enterprise imports你的database上hosting
就好像你现在如果有LAN,你也可以试import/export你的database来去别的电脑
对!你是用DNS-less |
|
|
|
|
|
|
|

楼主 |
发表于 2-12-2006 09:27 AM
|
显示全部楼层
原帖由 WuSheng 于 1-12-2006 02:48 PM 发表
你可以用Enterprise imports你的database上hosting
就好像你现在如果有LAN,你也可以试import/export你的database来去别的电脑
对!你是用DNS-less
如果这样来说,如果我用import (restore) 来把我local的DB restore 去hoster的MSSQL,其实是把几十MB的DB UPLOAD 上去,如果是BACKUP就是Downloadd 是吗? |
|
|
|
|
|
|
|
发表于 2-12-2006 10:29 AM
|
显示全部楼层
我之前用的是Import/Export,不是Backup/Restore,
因为Backup/Restore的文档是在Server 端 |
|
|
|
|
|
|
|

楼主 |
发表于 2-12-2006 11:01 AM
|
显示全部楼层
我想问,
我刚刚UPLAOD 我的Project 上HOSTER,
可是它却show
Server Error in '/' Application.
--------------------------------------------------------------------------------
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
如果我改了WEB.CONFIG 把
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
改成
<customErrors mode="Off"/>
它还是show回同样的ERROR
改web.config需不需要RE-COMPILE,再UPLOAD整个FOLDER? |
|
|
|
|
|
|
|
发表于 12-12-2006 12:22 AM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 15-12-2006 12:27 AM
|
显示全部楼层
|
|
|
|
|
|
| |
本周最热论坛帖子
|