Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Can't connect to provider in Web admin tools

$
0
0

About an hour ago I stopped being able to connect to my db provider in web admin tools, and I didnt change anything, anywhere. I am trying to connect to a local server so there is no connection string in my Web.Config. Although the are a few lines in Machine.config.

The error I get is:

Provider Management

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.

I have tried aspnet_regsql.exe but that cant connect to my server either. I have tried starting a new project and setting up a new db, but that doesnt work either. Im out of ideas.

I can find anyone with the same problem when it comes to a local db. For extra info here is my web.config(The way it looked when it worked, and the way it looks now is the same):

<configuration><system.web><roleManager enabled="true" /><authentication mode="Forms"><forms name="Lab6Cookie"
      loginUrl="~/Login.aspx"
      protection="All"
      timeout="30" path="/"></forms></authentication><compilation debug="true" targetFramework="4.0" /></system.web></configuration>

 

If you need code from my Machine.config please let me know, I rly do not understand the problem. Everything but the provider works. I can even add users and roles in the db using web admin tool and see the db getting updated. But it just lost connection for some reason


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>