问题描述
你好,
昨天我发现了MSDN设计模板[1],并且已经看了它们。
看着它们。
我的个人模板有问题。我没有SQL Server
Express已加载,因为我已经有SQL Server 2000,而是使用它。
所有其他样本在此时工作正常您更改了
连接字符串,但Personal示例无法启动。错误
是......
"建立与服务器的连接时发生错误。
连接时到SQL Server 2005,这个失败可能是由于在默认设置下SQL Server不允许远程
连接的事实造成的。 (提供者:SQL网络接口,错误:26 - 错误
查找指定的服务器/实例)"
并且上线...
返回HttpContext.Current.Profile [" StylesheetTheme"]。ToString();
这听起来像问题与个性化有关。我想
它正试图连接到SQL Server Express以获得个性化的数据,但由于没有安装SSE而失败了。
任何人都知道如何解决这个问题并使模板正常工作。
用Access数据库做不了人吗?如果是这样的话,是否有一个简单的方法来修改这个模板呢?
感谢您的帮助。如果你还没有看到这些模板,我推荐
吧。
[1]
-
Alan Silver
(此行下面添加的任何内容都无关和我一起)
Hello,
I discovered the MSDN design templates[1] yesterday and have been
looking at them.
I have a problem with the Personal template. I don''t have SQL Server
Express loaded, as I already have SQL Server 2000, and use that instead.
All of the other samples work fine with this when you change the
connection string, but the Personal sample fails to start. The error
is...
"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: SQL Network Interfaces, error: 26 - Error
Locating Server/Instance Specified)"
and comes on the line...
return HttpContext.Current.Profile["StylesheetTheme"].ToString();
This sounds like the problem is to do with personalisation. I guess that
it is trying to connect to SQL Server Express to get the personalisation
data, but failing because there isn''t an SSE installation.
Anyone any idea how to get around this and get the template working.
Can''t personlisation be done with an Access database? If so, is there a
simple way to modify this template to do that instead?
Thanks for any help. If you haven''t seen these template, I recommend
them.
[1]
http://msdn.microsoft.com/asp.net/re...s/default.aspx
--
Alan Silver
(anything added below this line is nothing to do with me)
推荐答案
是的,其他模板都运行正常。我所做的就是更改
连接字符串。这个在它到达那么远之前就会失败
;-(
感谢您的回复,任何进一步的帮助将不胜感激。
-
Alan Silver
(此行下面添加的任何内容都与我无关)
Yup, the other templates all work fine. All I did was change the
connection string. This one falls over before it gets that far though
;-(
Thanks for the reply, any further help would be gratefully appreciated.
--
Alan Silver
(anything added below this line is nothing to do with me)
这篇关于有人试过MSDN的设计模板吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!