xml 文件内容如下:
<?xml version="1.0" encoding="utf-8" ?>
<Menu>
<Group>
<Item Text="系统设置" PostBack="false" Value="System">
</Item>
<Item Text="个人心得" PostBack="false" Value="" NavigateUrl="PersonalExperience.aspx">
</Item>
<Item Text="技术讨论区" PostBack="false">
<Group Flow="Vertical" OffsetX="-30">
</Group>
</Item>
</Group>
</Menu>连接字符串如下:
<connectionStrings>
<!--连接字符串-->
<add name="KingGearConnectionString" connectionString="Data Source=(localIP);Initial Catalog=KingGear;Persist Security Info=True;User ID=sa;password=pwd" providerName="System.Data.SqlClient"/>
</connectionStrings>服务器报错如下:
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)经过测试,把跳转页面改正Login.asx或者http:www.baidu.com都是OK的,正常运行。但修改成站内发布其他页面跳转就报以上的错。
求大神指教!
<?xml version="1.0" encoding="utf-8" ?>
<Menu>
<Group>
<Item Text="系统设置" PostBack="false" Value="System">
</Item>
<Item Text="个人心得" PostBack="false" Value="" NavigateUrl="PersonalExperience.aspx">
</Item>
<Item Text="技术讨论区" PostBack="false">
<Group Flow="Vertical" OffsetX="-30">
</Group>
</Item>
</Group>
</Menu>连接字符串如下:
<connectionStrings>
<!--连接字符串-->
<add name="KingGearConnectionString" connectionString="Data Source=(localIP);Initial Catalog=KingGear;Persist Security Info=True;User ID=sa;password=pwd" providerName="System.Data.SqlClient"/>
</connectionStrings>服务器报错如下:
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)经过测试,把跳转页面改正Login.asx或者http:www.baidu.com都是OK的,正常运行。但修改成站内发布其他页面跳转就报以上的错。
求大神指教!
解决方案 »
- MVC3 打开子窗口后,父窗口会失效问题,求帮助~~~
- 如何使用ilist绑定repeater?
- ASP.NET 2.0 网站发布的问题?
- .NET2005中GridView的用法!高手请指教!
- 存储session状态在SQL 服务器的数据库中Storing Session State in a SQL Server Database) 第一次文章贴出来,请指正,请鼓励
- 菜鸟求:怎么实现这个下载?
- 有异常……
- “/”应用程序中的服务器错误
- 在线求datagrid中嵌套datalist,或datagrid的例子
- 我第一次用asp.net就碰到的问题?
- GridView 编辑获取ID
- 【获取excel图片】怎么做呢?
服务器ip检查下
服务器上的sqlserver看看是不是设置可以远程连接