简体   繁体   English

将WSP部署到SP2013:即使正确部署了WSP,我也无法连接到sql数据

[英]Deploying WSPs to SP2013: I was not able to connect to the sql data even after deploying the WSPs properly

I developed a webapplication Example1:7575 which uses FBA. 我开发了一个使用FBA的Web应用程序Example1:7575 Now, I deployed these WSP's to a new server Production:2525 to get the same functionality of my previous server's webapplication. 现在,我将这些WSP部署到新服务器Production:2525以获取与先前服务器的Web应用程序相同的功能。 However, I was not able to fetch the data from sql server and I'm getting the following error: A Membership Provider has not been configured correctly. 但是,我无法从sql server中获取数据,并且出现以下错误:成员资格提供程序未正确配置。 Check the web.config setttings for this web application. 检查此Web应用程序的web.config设置。

Actually, I have manually entered the same membership and role providers of my previous server's central admin, security service token & web application's web.config entries to this new web.configs and matched them. 实际上,我已经将以前服务器的中央管理员,安全服务令牌和Web应用程序的web.config条目的相同成员资格和角色提供程序手动输入到此新的web.configs中,并将它们匹配。

Can someone help me with where I might be doing wrong. 有人可以帮我解决我可能做错的地方。 Any help would be greatly appreciated. 任何帮助将不胜感激。

If you can't fetch data from SQL Server there's probably an issue with permissions to the database. 如果您无法从SQL Server提取数据,则可能是数据库的权限存在问题。 Check the database connection string that FBA is using. 检查FBA正在使用的数据库连接字符串。 It likely uses Windows authentication to connect - in which case it will be connecting as the user assigned to the app pool for the web application and the secure token service. 它可能使用Windows身份验证进行连接-在这种情况下,它将以为Web应用程序和安全令牌服务分配给应用程序池的用户身份进行连接。 Check that the configured app pool identities have permissions to access the sql server databases. 检查已配置的应用程序池标识是否具有访问sql服务器数据库的权限。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM