Anita Srivastav

Anita Srivastav

  • NA
  • 21
  • 15.1k

ASP.net data connection problm

Oct 26 2013 12:08 PM
hello there

i am a new developer i just created a simple website project and host it with a free host provider who provide me
asp.net and asp 4.0 and mssql 2008.
i created my project in visual studio 2010 and for database use sql server 2008. and main language is C#.

here i am defining what i have done in my project

1.> first i created two some pages with login control register control and forget password control and  choose
asp.net web application to manage membership.

2.> my asp.net web application shows that sql connection cant estabilished so i found another way

in run command i write ---  c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regsql.exe

and attach create a aspnetdb n now my asp.net sql server works..

3.> i created my all project and my all project runs very good in localhost


and now my problm is that when i upload this website project in my hosting provider it works good but the

BIG PROBLM IS THAT IT CANT ACCESS THE DATABASE 

PLS guys help me its very urgent..

Answers (3)