p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   Membership and Roles doesnt work (http://p2p.wrox.com/showthread.php?t=69720)

Baby_programmer July 29th, 2008 09:35 AM

Membership and Roles doesnt work
Dear All,

After using the ASP.NET utility and making new members and roles I get a small ASP.Net Database in AppCode Folder. It works perfectly on the local Machine but when I deploy the application over the web server I get the following error;

"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) "

I will be thankful for your help.

Best Regards,

Baby Prgrammer

gbianchi July 29th, 2008 09:38 AM

First question on my mind: Is SQL server installed on the deploy machine??

also, did you change the connections strings after you deployed?



================================================== =========
Read this if you want to know how to get a correct reply for your question:
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
================================================== =========
I know that CVS was evil, and now i got the proof:
================================================== =========

alliancejhall July 29th, 2008 09:41 AM

show the code you have that sets the datasource location.... it also could be a permissions issue. Your aspnet service account must have read/write permissions to that file and/or folder.

Jason Hall

All times are GMT -4. The time now is 02:51 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.