ASP.NET Configuration Problem
-
when i use asp.net configuration from website tab on Visual Studio 2005. i click on Security Tab i saw this message : "There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Unable to connect to SQL Server database. " then i select "Choose Data Store" button and select a single provider , and after that Click on test text on page. again i saw an error : "Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. " AnyOne know? What should i do?
[]D @ []v[] []D @ []v[]
-
when i use asp.net configuration from website tab on Visual Studio 2005. i click on Security Tab i saw this message : "There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Unable to connect to SQL Server database. " then i select "Choose Data Store" button and select a single provider , and after that Click on test text on page. again i saw an error : "Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. " AnyOne know? What should i do?
[]D @ []v[] []D @ []v[]
pampam110 wrote:
then i select "Choose Data Store" button and select a single provider , and after that Click on test text on page. again i saw an error : "Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. "
you have to run
aspnet_regsql
command from command prompt and chose the database from there for web site configuration. From Command Prompt >Goto Framework directory > Runaspnet_regsql
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regsql
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article
-
pampam110 wrote:
then i select "Choose Data Store" button and select a single provider , and after that Click on test text on page. again i saw an error : "Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. "
you have to run
aspnet_regsql
command from command prompt and chose the database from there for web site configuration. From Command Prompt >Goto Framework directory > Runaspnet_regsql
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regsql
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article
Thanks Abhijit Jana. I Run aspnet_regsql . . . and i use -? for help me! but i am confused! I find out something. first of all i havent sql express and I can't setup sql express edition. what should i do? i have Visual Studio 2005 beta version. Any Ideas ?!
[]D @ []v[] []D @ []v[]
-
pampam110 wrote:
then i select "Choose Data Store" button and select a single provider , and after that Click on test text on page. again i saw an error : "Could not establish a connection to the database. If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider. "
you have to run
aspnet_regsql
command from command prompt and chose the database from there for web site configuration. From Command Prompt >Goto Framework directory > Runaspnet_regsql
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regsql
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you. View My Latest Article