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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Cant access Web Application Administration Tools

Posted By:      Posted Date: October 19, 2010    Points: 0   Category :ASP.Net

I am using Visual Studio 2008 Pro SP1. Every time I try to access the security tab in Web Application Administration Tools I get 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.

How can I fix this?

Thank You

View Complete Post

More Related Resource Links

MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

Microsoft Application Block for Data Access in .NET


Hi all,

I was rummaging the internet learning aspx and came across the concept of: Microsoft Application Block for Data Access in .NET

It seems great of course. The articles are all early 2003-5 such as


So the question is - is this tech still relevant and should I be using it?



Data Access: Building a Desktop To-Do Application with NHibernate


Building an NHibernate-based desktop application isn't any harder than building a web application, and in many cases NHibernate simplifies elements of session handling and concurrency.

Oren Eini

MSDN Magazine December 2009

Data Points: The Enterprise Library Data Access Application Block, Part 3


E nterprise applications can have a wide variety of data update requirements. Sometimes you need to save multiple rows of changes at once within a single transaction. Other times, the user must be allowed to enter multiple rows of data, send them to the database in a batch; and if a row or two fails, only the rows that succeeded should be committed and remain committed.

John Papa

MSDN Magazine October 2005

Data Points: The Enterprise Library Data Access Application Block, Part 2


Last month I explored the foundation of the Enterprise Library Data Access Application Block (DAAB) including how it all fits into an architecture (see Data Points: The Enterprise Library Data Access Application Block, Part 1).

John Papa

MSDN Magazine August 2005

Data Points: The Enterprise Library Data Access Application Block, Part 1


A solid data access later (DAL) can benefit an application by hiding redundant tasks, helping handle exceptions more gracefully, helping clean up resources more efficiently, and providing a layer of abstraction from the database.

John Papa

MSDN Magazine July 2005

Extreme ASP.NET: Tools of the Trade: Application Center Test


When you sit down to write an ASP. NET application, how much time do you spend thinking about performance? It's unfortunate, but for most developers performance is an afterthought. Performance planning and design really need to be front and center.

Rob Howard

MSDN Magazine June 2005

Upsize Your Database: Convert Your Microsoft Access Application to Take Advantage of SQL Server 7.0


What if you need to convert an existing Microsoft Access 97 database application into a true client-server application that is based on a SQL Server back end? If you know a little about Visual Basic and SQL Server, it's easy to make your app take advantage of the power and scalability provided by SQL Server 7.0. Using some concrete code examples, this article takes you step by step through converting the native Jet queries in your Access application into stored procedures and pass-through queries that SQL Server can use. You'll also learn how to pass on parameters when your client-server app calls these SQL Server stored procedures and queries.

Michael McManus

MSDN Magazine June 2000

Remotely access winform application through admin panel

I am going to develop following application but not sure how to do this   Application will run different instances for various clients on different servers.     Each instance will run on different criteria stored in database managed by an admin.     Would like to be able to run this from the admin section.     Maybe using a server command line component and pipin the output into a web based admin? -- Whatever you think is best.     This application will run basically 24-7   Any best solution, idea etc

Access denied to Search Service Application

I just "upgraded" my installation of SharePoint 2010 Foundation with Search Server Express 2010.  During the installation, I was able to access and configure the Search Service Application. However, a day later, I cannot access the application management page: I get an access denied error.  I am the farm administrator, so supposedly I am supposed to have access to the management page.  I've also tried adding my login to the "Full Control" group of the Search Application; it gives me the same error.  It appears that the only account that can access the administration page is the service/system account.  Obviously this would not be ideal. I've tried looking around for logs to see if anything is amiss, but there appears to be nothing logged. What gives?  How do I fix it?

Search Server Express 2010 - Access Denied when attempting to manage Search Service Application or P

I first noticed this error with the Search Service Application when I was no longer able to use the search portal, but have since noticed the issue with the PowerPoint Service Application.  When I navigate in Central Administration to either the "Farm Search Administration" or the "Manage service applications" pages and attempt to manage the "Search Service Application", I get this error: Error: Access Denied  Current User You are currently signed in as:  WHEELERS\MyUserName   Sign in as a different user    I have tried removing the service application and re-adding it, changing the application pool to running under an existing application pool as the farm administrator, as another application pool with the same identity as the primary web application, and as another application pool running under the SP-SearchService identity. The big recent change with SharePoint, aside from fixing the previous issue where I was incorrectly using CNAMEs with Kerberos, was to switch the main web application to claims authentication. That site correctly works with claims based authentication and Kerberos.

Sharepoint 2010 Multi-Tenancy Access Denied on Tenant Administration Site

Hi, I am currently implementing a Sharepoint 2010 Multi-Tenancy solution. Multi-tenancy is the partitioning of service applications in 2010 to allow data to be separated between web applications or site collections. I am using multi-tenancy to separate data and user profiles between site collections hosted on a single web application. I have partitioned the User Profile Service Application and Proxy using Windows Powershell. The paritioned Proxy Application is then associated with the single web application. I am also using the Sharepoint Foundation Subscription Service Application to subscribe to different site collections within the web application. In this way data and user profiles can be separated. However, the tenant administration site, used to manage each collection, does not allow administrator access to manage the User Profile Service. I receive a standard Sharepoint 'Access Denied' error message. No other errors or details are provided. I have tried assigning different accounts to the tenant administration site but the error still appears. The issue arises when I issue the following SPSite Powershell cmdlet: NEW-SPSite -Owneralias DOMAIN\Username -Secondaryowneralias DOMAIN\Username. The attributes provided in the Cmdlet above are used to assign tenant site administrators however, the accounts cannot access the User Profile Service. Any ideas or recommendati

Cannot Show Visual Studio Tools For Application Editor

Hi All,I was wondering if someone would be kind enough to assist me with the following issue?Using Visual Studio 2008 and editing an SSIS project. Using a data flow task, create a script component, when I attempt to edit the script I get the following errorCannot show Visual Studio Tools for Applications EditorAdditional Information:The System Cannot Find The File Specified (Exception from HRESULT: 0x80070002) (EnvDTE80)I've gone through the following articlehttp://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=367845with no success and I also reinstalled SQL Server 2008 and VS 2008 still with no successRunning on Windows XP SP 2SQL Server 2008 SP 1VS 2008 SP 1Any ideas would be greatly appreciatedRegardsJohn

VBA application can no longer access SQL Server

For a not-for-profit organization (www.ace-event.org ), I developed a simple MS Word application. Basically, upon opening the app, it accesses data on a remote SQL Server to populate a form, which is then used to generate a document. I used www.ConnectionStrings.com to help configure the DSN-less connection. The application, which was developed in April 2009 under XP Pro and Office 2003 ran perfectly through Jan 2010. The reason for my posting should be obvious – the application no longer runs. I have tried running it on three different computer with XP Pro/Office 2003, XP Pro/Office 2007, and Win7/Office 2010 respectively. In all cases, I get the error: Run-time error ‘-2147467259 (80004005)’: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified I cannot be 100% certain that the error code returned was the same in each case. I am, however, 100% certain that the code is completely identical to that which ran previously and that the error occurs before any network access occurs. Here is the connection string code:     Set cn = New ADODB.Connection     cn.ConnectionString = "Driver={SQL Native Client};Server=<ip_address>\sqlexpress,1433;Database=<db_name>;Uid=<UID>;Pwd=<PWD>"     cn.CursorLocation = adUseClient     cn.Open I have

Access denied when application writing to eventlog

Hi all. (Hope this is the right forum) A web application should write to eventlog, but get this error: Access is denied Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ComponentModel.Win32Exception: Access is denied Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  Stack Trace: [Win32Exception (0x80004005): Access is denied] [InvalidOperationException: Cannot open log for source 'WebAppName'. You may not have write access.]    System.Diagnostics.EventLog.OpenForWrite(String currentMachineName) +1830063... Windows 2008 R2 server. Have been searching for answers all day, and have been trying out different things. Adding the CustomSD key: HKEY_LOCAL_MACHINE/System/CurrentControlSet/Application with the value (A;;0x0002;;;AU) Give everyone access to the keys: - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\System - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security Set the application pool to run with an adm

Lost access to Central Administration Page

After trying to troubleshoot why all the e-mail alerts stopped working, I ran the best practices analayzer and ran the commands it suggested the paragraph below. "The same account that you use to run SharePoint 3.0 Central Administration must be configured as the SharePoint Timer Service. If they are not the same, the system may not be able to send Alert Notifications and you will not be able to add a content database to a web application using the Manage Content Databases page. Although there are built in mechanisms to keep these accounts synchronized, it is possible to manually change the SharePoint Timer Service account. If the account that you are using to run SharePoint 3.0 Central Administration is the correct account, you can log on to the Web server where the SharePoint Timer Service running as the wrong account. From a command prompt change to the directory where the SharePoint Timer Service is running, this is typically C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN, and run the command: stsadm -o updatefarmcredentials -identitytype configurableid -userlogin domain\account -password password. Although you could directly update the SharePoint Time Server account by opening Administrative Tools, Component Services, you should use this approach only as a last resort. To avoid inconsistencies between the

Create a new target application - Secure Store Service administration issues

Hi,I am trying to create new target application, when I go to Secure Store Service in Centra admin I have:Cannot complete this action as the Secure Store Shared Service is not responding. Please contact your administrator.I have used this few days ago and avarything else is working fine on the server, and I have applications created with it running fine.Any help is appreciated.cheersValko
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