| | |
asp.net membership link to database not working
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2009
Posts: 1
Reputation:
Solved Threads: 0
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
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
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.
Try using sql user/pass with a user created specifcally for access in that database.
![]() |
Similar Threads
- got the asp.net membership/login blues. (ASP.NET)
- ASP.NET - session objects Problem (ASP.NET)
- ASP.NET/SQL Developer/Programmer (Web Development Job Offers)
- ASP.Net perm full time programmer wanted (Web Development Job Offers)
- Front-End Developer with ASP.net needed!!! (Web Development Job Offers)
- ASP.Net / C# Web Developer (Web Development Job Offers)
- Disable ASP.NET Button from Listbox (ASP.NET)
- ASP.Net Directory Problems (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: Urgent please
- Next Thread: Displaying Images in table
| Thread Tools | Search this Thread |
.net 2.0 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 bottomasp.net browser button c# c#gridviewcolumn checkbox child click commonfunctions compatible confirmationcodegeneration content contenttype courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist dropdownmenu edit expose feedback flash flv form formatdecimal forms formview gridview homeedition hosting iframe iis javascript jquery listbox login menu microsoft mono mouse mssql multistepregistration news numerical objects order panelmasterpagebuttoncontrols parent radio ratings reportemail rotatepage save schoolproject search security serializesmo.table silverlight smartcard software sql-server sqlserver2005 suse textbox tracking typeof unauthorized validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webprogramming webservice xml youareanotmemberofthedebuggerusers






