如何在GoDaddy托管中托管Asp.net网站 [英] How To Host Asp.net website in GoDaddy Hosting

查看:66
本文介绍了如何在GoDaddy托管中托管Asp.net网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,我已经创建了一个asp.net网站.
现在,我使用文件管理器上传了ASP网站(我上传了整个网站)
但是网站仅显示错误页面.

我也想知道如何与sql建立连接.

我在google中搜索,发现了很多链接,但总是失败

请帮助我.................................

Hello Friends I have created a asp.net website.
Now i used File manager to upload asp website(i uploaded whole website)
But Website is showing error page only.

I also want to know how to make connection with sql.

I Searched in google, found many links but always failed to do

Please Help Me........................

推荐答案

哦,上帝,

我使用的是ASP 3.5,go daddy中的默认设置是asp 4.0:P
Ohhh God,

I was using ASP 3.5 and default set in go daddy was asp 4.0 :P


请确保您已为允许asp.net托管的计划付费. 连接字符串将由godaddy随同提供.我记得当我第一次主持Godaddy时,即使我也遇到了同样的问题.供参考,也许您可​​以尝试以下

make sure you have paid for the plan that allows asp.net hosting
and the connection strings would be provided by godaddy along with that. i remember that even i had the same issues when i first hosted on godaddy. for a reference, maybe you can try the below

<connectionStrings>

<add name="Personal" connectionString=" Server=whsql-v04.prod.mesa1.secureserver.net; Database=DB_675; User ID=user_id; Password=password; Trusted_Connection=False" providerName="System.Data.SqlClient" /> <remove name="LocalSqlServer"/> <add name="LocalSqlServer" connectionString=" Server=whsql-v04.prod.mesa1.secureserver.net; Database=DB_675; User ID=user_id; Password=password; Trusted_Connection=False" providerName="System.Data.SqlClient" />

</connectionStrings>



以上就是您的web.config文件



the above goes into you web.config file



您必须与供应商联系并确保您为良好的服务付费,因为我听说过有关Godaddy的坏消息.

我曾经是客户,但是我改变了,因为在我需要的时候他们没有帮助我!我建议您更改它的主机,使其安全可靠.我的供应商是一家秘鲁公司,它是web-hostingperu.com.

请听取我的建议,并远离Godaddy和其他选择.
Hi,
You have to contact with supplier and make sure that you paid for a good service, because I''ve heard so bad things about Godaddy.

I was godady''s client but I change because they do not help me when I need it! I recommend that you change for a linux host that it''s so good and secure. My supplier is a peruvian company, which is web-hostingperu.com.

Take my advice and stay away from Godaddy ans search other options.


这篇关于如何在GoDaddy托管中托管Asp.net网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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