.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

Web Site Admin Tool - cannot establish connection

Posted By:      Posted Date: August 25, 2010    Points: 0   Category :ASP.Net
 

Hello,

I have a question with this tool.  I have a database listed in the App_folder, and the database has a connection in Server explorer.  The connection string is listed in the web.config file, and I am able to add users and roles with the Web Admin Tool.  However, when in the Web Admin Tool, under Configuration tab, I receive an error when I click on the "test" button.  The error reads

 " 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."

How can this be, and how do I correct this?

thanks

 




View Complete Post


More Related Resource Links

How to Establish a Remote Web Site Connection in SharePoint Designer 2007

  

I am modifying a SharePoint site and so far so good.  Some of the objects were created using Visual Studio 2008 (C#).  I was able to modify these objects and implement them on the targete machine without issue.  The final step is to implement the ASPX pages that were modified using SharePoint Designer 2007.  These are aspx pages that are used to modify items in lists.  All the pages involved in this upgrade are customized.  I need to upgrade the target site with the modified version of these pages.  My intent is to copy the code from the page in the source site and past it into the same page on the target site.  I tried using the Remote Web Site connection tool in SharePoint Designer 2007 but received the following error message:

"Unable to open 'https://(site address)'.  Server Error:  Could not find a Web server at 'website'.  Please check to make sure that the Web server name is valid and your proxy settings are set correctly.  If you are sure that everything is correct, the Web server may be temporarily out of service."

I am not sure how to first check to see if the Web Server is temporarily out of service.  I would appreciate your input on how to verify this.

Background information of target machine:  WinServer 2008, IIS 7, Sharepoint (MOSS2007), site on port 80

Cannot establish connection to sql2008 aspnetdb - WebSite Administration tool

  

Good Afternoon all.

Noobie to asp.net and Admin Tool Site

Getting 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.
"  

I am not usign SQL Express

1. Installed VS2008 + sp1 after that Installed SQL 2008 Standard x86 + sp1

2. Used aspnet_regsql to add aspnetdb to the sql (I can see that db in MSSMS)

3. From my WebProject I can access WSAT but when I click on the Provider and try to test I am getting above error.

Tried diffetent settings in the web.config and also check machine.config

Check different solutions form different forums but nothing seams to work.

I strongly believe there is something wrong with my <connectionString/> as by default WSAT points to .\SQLEXPRESS but I do not know which file should I update (web.config or machine.config or Web.config) 

Do I need to add <connectionStrig> tag to web.config ?

All suggestions highly appreciated and appologise if this topic should no

Web Site Admin Tool problem in VS2005

  
All,

When I create a new project and try to use the WSAT security tab, I get the following :

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.

I am using VS2005 beta2 with a local copy of SQL Server Express.

I am new to all of this so a little help would be great

Thx
jonpfl

localhost is not set up to establish a connection on port 51624 with this computer

  

I'm trying to run asp.net locally, but getting the error

localhost is not set up to establish a connection on port 51624 with this computer

How can I fix it?


A Simple XML-driven Tool: Monitor Your Web Site's Activity with COM and Active Scripting

  

This article describes a simple Web site monitoring tool built with XML, JScript, Windows Script Host, and COM objects. Although it is not intended to replace complete Web site monitoring software products, it has many useful features that help to keep Web servers up and running. An XML configuration file specifies which Web sites to monitor and the actions to be taken if the site isn't functioning properly. In addition, the tool can be scheduled to run at any specified interval using the Windows Task Scheduler. Functions that probe the sites, log events, and send e-mail notifications are written in JScript.

Panos Kougiouris

MSDN Magazine July 2000


ASP.net Web Site Administration tool unable to connect ro my SQL DB

  
Hi, I am new to VWD and i am trying to use the Provider Configuration in the ASP.net Web Site Administration tool to configure my Web site management data. When ever i select the "Select a single provider for all site management data" there is only one provider "AspNetSqlProvider". When i select "test" it give me the following error message: "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 the aspnet_regsql to create a DB, my IIS is already installed and enable but the VWD ASP.net Web Site Administration tool refuse to connect to my SQL DB.What may be the problem and how can i rectify it.Thanks

how to add custom site collection template in central admin site in SharePoint2010?

  
hi all, how can we add custom template in cendtral admin in sharepoint 2010? In 2007, we can add by using the stsadm tool addtemplate operation....but 2010 tremplate is saved as a solution file not a .stp file...so how we can add this template in central admin site in SharePoint 2010? Please give me some suggestions...... thanks in advance.....

Any Tool to provide site search

  
Hi, Is there is any tool available using which i can implement site search in my .net application. My requirement is the search should work on some specific columns of some specific tables and result could include different data from different categories. Just like if we search any key word on Orkut it disdplays data from User, Community, Updates etc. Thanks in advance for your help. Vikas Chandgothia.  

Central Admin Site got replaced with another site

  
Hi, My Central admin site got replaced by some other site. I guess someone had restored their site on the central admin site. Is there anyway I can bring back my Central Admin Site? If I run the Sharepoint Configuration Wizard, will it fix it? Thanks,

ASP.net Web Site Administration Tool. An error was encountered. Please return to the previous page a

  
I have just installed Visual Studio 2010 trial. Previously I have been using Visual Studio Web Developer 2010 Express. Now every time I try to invoke the ASP.net Cofiguration tool either via the icon or through the Project File Menu item, I get the error message "An error was encountered. Please return to the previous page and try again." I am trying to develop a bog standard Silverlight Business Application. There are no other diagnostics. Is there anywhere I can look for more clues or anything else to do to alleviate the problem? or is this something peculiar to the trial version I am using?   I also think it might have something to do with the fact that I have created this Silverlight Business App on a directory on my D: drive and not the normal, default c: drive path and maybe the web sit admin tool is looking somewhere else. Could this have something to do with it? If so what is my remedy?   Help please.....

Establish GPRS Connection in C#

  
Hi all, I am developing windows application, which has one serial port attached with modem. Now when my application starts GPRS connection should be established once. Can any one give me some code reference or provide me with some links. Any help is appreciated.   Regards Asif

Establish GPRS Connection in C#

  
Hi all, I am developing windows application, which has one serial port attached with modem. Now when my application starts GPRS connection should be established once. Can any one give me some code reference or provide me with some links. Any help is appreciated.   Regards Asif

Branding SharePoint 2010 - Ribbon tool bar twice on search site

  
Hello everyone! I'm branding a SharePoint 2010 site and I'm stuck in a problem. The ribbon tool bar is appearing twice on the top of my search sub-site. Everywhere else is good (appearing just once). I did review all my code on the master page and everything seems to be good. Also compared the custom master page with a "v4.master" and all the sharepoint controls and placeholders are just exactly the same. Any ideas of what's going on? Here's the image: From

how the access the Web Site Administration Tool

  
Hello

how can i access the Web Site Administration Tool from my website. in VS2005 i can go to the menu website and then to ASP.NET configuration.

but how can i access this, when my site is published on a webserver????

greetz

Torkel

SSP problem: This page is accessible only from an SSP admin site

  

Hi,

I am facing some problem in SharePoint 2007 SSP. Actually I have restored the SSP databases (SSP db and SSP search DB) on the development environment using SQL database restore option. After the restore, I have used Restore SSP option to create a new SSP and mapped the restored SSP DB and search DB. The SSP restore operation was succeessful but when I try to navigate to Search setting in the newly created SSP it is giving me the error that "This page is accessible only from an SSP admin site. " The same error messages is coming for some other links as well in same SSP.

Can somebody guide me how to solve this problem?

Thanks,


Senthilrajan Kaliyaperumal

Customized sharepoint portal is not accessible to normal users unless a site admin access the site o

  

Hello there

I have created a sharepoint portal and customized it. I have created my own master page and there are many webparts implemented. This has been hosted in a MOSS server. When a normal user is trying to access the portal first thing in the morning, he is getting a "You are not authorized to view this page" error. But when a site admin access the site, there is no issue and he is able to access the site. The site admin does nothing in the site and once he has logged in to the site,  the user is able to access the site without any trouble.

I have tried to look into the master page gallery and has given full access to the users for "Style Resource Readers" user group. Even now the user is facing the same issue.

Kindly help in this regards,

Thanks

Laks


Lost My MOSS admin site.While i am still the site administrator

  

Hi All,

I was working on a site at production server.and there was some connectivity loss and when i signed again to the site i was not having the admin rights to the Site collection even the primary MOSS admin dont have the rights to the Site collection now.

in the site action menu only the view reports,view all site content and content structure coming up and m not able to edit ny page as well

Please help with your inputs

Sahil


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend