如何上传我的asp网站与域名数据库 [英] How to upload my asp website with database on domain name

查看:65
本文介绍了如何上传我的asp网站与域名数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在asp.net创建了我的网页
我有一个注册的域名和空间

请告诉我怎么样上传我的网站

i我的网站数据库没有附上所以告诉我如何首先准备我的网站

上传即如何上传我的数据库whch是在sql server与我的网站

我如何将我的数据库链接到远程服务器上的我的网站上我必须上传我的网站。

可以帮助我任何帮助我


与我联系:< snipped>

Hi
I have created my web pages in asp.net
I have a registered domain name and space
please tell me how to upload my website
i my website database is not attached so tell me how first ready my website to
upload ie how do i upload my database whch is in sql server with my website
and how do i my link my database with my website on remote server on which i have to upload my website.
can anyboby can help me please

contact me:<snipped>

推荐答案

您正在询问如何部署Web应用程序。


首先,您需要确保您的Web服务器可以支持ASP.NET应用程序,并且它配置为使用您为应用程序开发的.NET Framework。


一旦确定服务器可以支持ASP.NET,就需要确保您的Web服务器上安装了SQL Server。


在确定服务器可以支持您的应用程序之后,您需要生成一个设置数据库的脚本...您将在Web服务器上运行此脚本并创建您的Web应用程序使用的数据库。


完成此操作(并测试数据库)后,您需要确保将Web应用程序配置为访问Web上的数据库服务器....


然后你需要将网站上传到网络服务器并进行测试。


-Frinny
You''re asking how to deploy a web application.

First of all you need to make sure that your web server can support ASP.NET applications and that it is configured to use the .NET Framework that you developed your application for.

Once you''re sure that the server can support ASP.NET, you need to make sure that your web server has SQL Server installed on it.

After you''re sure that the server can support your application, you need to generate a script that sets up your database...you''ll run this script on the web server and create the database that your web application uses.

After you''ve done this (and tested the database) you need to make sure that your web application is configured to access the database on the web server....

Then you need to upload the website to the web server and test it.

-Frinny


hi

感谢您的回复

我是asp.net的新手我在asp.net创建了一个网站,我的数据库是在sql server中2005年存储在我的电脑上。现在请告诉我如何在服务器上上传我的网站和数据库。

在我的页面上我使用了按钮。在这些按钮的单击事件上,我已将文本框的值插入数据库。我使用的连接字符串将数据存储在我的系统数据库中。该网站正在我的本地计算机上正常执行。在网络服务器上上传这个网站我得到以下错误:


运行时错误

描述:服务器上发生了一个应用程序错误。此应用程序的当前自定义错误设置可防止远程查看应用程序错误的详细信息(出于安全原因)。但是,它可以由运行在本地服务器计算机上的浏览器查看。


详细信息:要在远程计算机上查看此特定错误消息的详细信息,请创建< customErrors>标记在web.config中配置文件位于当前Web应用程序的根目录中。这个< customErrors>然后,标签应该具有其模式。属性设置为关闭。


<! - Web.Config配置文件 - >


< configuration>

< system.web>

< customErrors mode =" Off" />

< /system.web> <
< / configuration>


注意:您看到的当前错误页面可以通过修改defaultRedirect替换为自定义错误页面。应用程序的属性< customErrors>配置标记指向自定义错误页面URL。


<! - Web.Config配置文件 - >


< ;配置>

< system.web>

< customErrors mode =" RemoteOnly" defaultRedirect =" mycustompage.htm" />

< /system.web>

< / configuration>


请帮帮我

如果你想要的话请给我一些来源,通过它我可以把我的网站文件发给你,这样你就可以检查它

如果你想要我的话电子邮件ID

请联系我个人

请回复我
hi
Thanks for reply
I am new to asp.net i have created a website in asp.net and my database is in sql server 2005 which is stored on my computer. Now please tell me how i upload my website and database on server.
On my pages i have used buttons. On click event of those buttons i have inserted values of text box into database. The connection string i used stores the data on my system database. This website is properlly executing on my local computer. on uploading this website on webserver i got following error:

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>

Please help me
if you want please sent me some source through which i can send my website file to you so that you can check it
if you want you have my email id
please contact me personnally
please reply me


现在,更改您的Web.Config文件,以便显示自定义错误是关闭的,以便您可以看到错误消息是什么,并进行适当的更改以修复应用程序。
For now, change your Web.Config file so that Display Custom Errors is Off so that you can see what the error message is and make the appropriate changes to fix the application.


这篇关于如何上传我的asp网站与域名数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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