asp.net webpartzone有一些问题... [英] have some problems with asp.net webpartzone...

查看:52
本文介绍了asp.net webpartzone有一些问题...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.
我在asp.net 2010的应用程序中使用了webpartzone,但遇到了一些问题.当我运行该应用程序时,它在没有连接的情况下从sql连接给出了错误.当我从网站上删除Webpart组件时,一切正常,项目运行无误.错误文本为:

''/WebSite3''应用程序中的服务器错误.

建立与SQL Server的连接时发生与网络相关或特定于实例的错误.服务器未找到或无法访问.验证实例名称正确,并且已将SQL Server配置为允许远程连接. (提供者:SQL网络接口,错误:26-查找指定的服务器/实例时出错)"


我找不到针对此问题的任何解决方案,请帮助我!

谢谢.

Hi.
I''m using webpartzone in my application in asp.net 2010 but i have some problems. when I run the application it gives error from sql connection while i have no connection in it. when i delete webpart components from my website everything is right and project runs with no error. the error text is:

"Server Error in ''/WebSite3'' Application.

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"


i couldn''t found any solutions for this problem, please help me!

thanks.

推荐答案

找到解决方案.

请参阅-

http://stackoverflow.com/questions/8061097/sql-server-error-由网络部分造成 [ ^ ]

希望对您有帮助.
Solution found.

Refer -

http://stackoverflow.com/questions/8061097/sql-server-error-caused-by-web-part[^]

Hope it will help you.


这篇关于asp.net webpartzone有一些问题...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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