使用webpart有什么要求?

darkdragon1981 2007-06-18 03:57:04
必须得有sqlserver2005吗?
我使用webpart后报错如下:

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

请哪位老大帮忙看看!谢谢
...全文
155 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
darkdragon1981 2007-06-22
  • 打赏
  • 举报
回复
up
darkdragon1981 2007-06-19
  • 打赏
  • 举报
回复
必须在本机上装sqlserver吗?我运行了aspnet_regsql.exe也没用!
请各位老大帮忙看看呀!另外你们的开发环境是怎样的?
我的是vwd2005,win2000,.net2.0
请问这个问题和开发环境有关系吗?比如说win2000需要打倒第几个补丁?
leng9996 2007-06-18
  • 打赏
  • 举报
回复
运行以下aspnet_regsql.exe 试一下,貌似你的asp.net没有在sql中注册
time_is_life 2007-06-18
  • 打赏
  • 举报
回复
必须得有sql server ,不一定是2000,具体看这里:
http://msdn2.microsoft.com/en-us/library/hhy9ewf1.aspx
darkdragon1981 2007-06-18
  • 打赏
  • 举报
回复
up

62,046

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧