Web部件页面无法加载 [英] Web Parts Page Cannot Load

查看:76
本文介绍了Web部件页面无法加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的第一个Web部件页面-我无法访问新创建的Web部件页面.我收到此错误:我

My First Web Parts Page -- I cannot access a newly created web parts page. I receive this error: I

Server Error in '/' 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



该网站应用程序使用aspnetdb作为其成员资格提供程序.这样可以正确执行操作,以注册用户并访问网站中所有经过身份验证的页面,但新创建的具有Web部件的页面除外. (我将其复杂性降低到仅包含标签的两个Web部件)

有必须解决的SQL配置设置或ASP.NET conf设置吗?

谢谢
AFM



The website app uses aspnetdb as its membership provider. This performs correctly to register users and access all authenticated pages within the website except the newly created page that has web parts. (which I have reduced its complexity to just two web parts that now only contain labels)

Is there a SQL config setting or ASP.NET conf setting that must be addressed??

Thanks
AFM

推荐答案

AFM,

您收到此错误的原因是您的ASP.NET应用程序无法找到SQL Server.

检查数据库连接字符串,并使用Visual Studio中提供的测试连接"功能对其进行确认.

问候,
Hitesh
Hi AFM,

You are getting this error because your ASP.NET application is not able to find SQL Server.

Check database connection string and cofirm it by using "test connection" feature available in Visual studio.

Regards,
Hitesh


这篇关于Web部件页面无法加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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