asp.net membership link to database not working

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2009
Posts: 1
Reputation: ibrahim_sh_87 is an unknown quantity at this point 
Solved Threads: 0
ibrahim_sh_87 ibrahim_sh_87 is offline Offline
Newbie Poster

asp.net membership link to database not working

 
0
  #1
May 11th, 2009
hello all....
i created a asp.net application with the aspnet database on my pc...now that it is time to publish my application i copied my database with all the stored procedures and tables to a sql server 2000 server that is supposed to hold the database....then i changed the membership provider and the role provider in the web.config of my project changing the connection string in order to link it with the new database

..but right now whenever i try to login i always get wrong credentials though i am sure they are right
please help
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,247
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 578
Sponsor
sknake's Avatar
sknake sknake is online now Online
.NET Enthusiast

Re: asp.net membership link to database not working

 
0
  #2
May 11th, 2009
Just a guess but i'll bet you are using windows authentication in your connection string? When running an ASP.NET site on a production webserver the user is that of the ASP.NET service, IIUSER_ASP_NET or something like that.. but it typically has no rights.

Try using sql user/pass with a user created specifcally for access in that database.
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC