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


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

Problem with ASP.Net Configuration tool

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

I'm trying to use the ASP.NET Configuration tool under the Website menu in VS2005.  When I click on the Security tab (or link) I get 'Unable to connect to SQL Server database'

Clearly the application cannot connect to my database, but I'm not familiar enough with the tools to figure out how to fix it.  I searched the ASP.NET forums for a solution and and Googled it loads but am still stuck.

I'm running SQLServer 2000 and SQLServer 2008.  I have run the cmd line tool aspnet_regsql -W and followed the wizard to create/configure the aspnetdb on both instances in turn as I have been troubleshooting.

From one tutorial I was following I had a connection string in my web.config file that was incorrect - I made it point to the SQL Server instance I was targetting (2008) but no joy.  Then I followed another tutorial video and there was no connection string at all but the tool still ran, so I deleted it.

Being that this is such a basic step I'm pretty frustrated to have been stuck here for so long and would really appreciate some help.

Many thanks

Simon





View Complete Post


More Related Resource Links

Configuration Tool

  

I'm fairly new to ASP.NET and I'm trying to think of the best way to implement my first dynamic website. I've noticed the ASP.NET Configuration tool and it seems quite useful but I have a few questions:


1. Can this page be accessed when the website goes live or is it best to make your own?

2. Can this tool handle custom SQL databases or must everything be built into the default one?

3. Can this tool be setup for local use initially and then changed for the hosting server details later on?


The website I'm build will have user account features, with a news and articles section which the user will be able to interact with. So I need to create a database to handle this. However I don't know whether to completely ignore this tool and just make everything custom or try and incorporate that into the ASP.NET Configuration tool. Also, if everything is made custom can you still use the membership tool in visual studio? Thanks for any help :) 


Error with ASP.NET Configuration Tool

  

I'm trying to make an MVC 2 site, and I've run into a bit of a snag.  I want to add user roles to my system via the configuration tool, but every time I click the Security tab I get the following error:

"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: Could not load type 'HandiGamer.MvcApplication'."

When I click on the 'Choose Data Store' button, it tells me I'm already using AspNetSqlProvider.

I have a .mdf file for the rest of the site's db, but didn't make any tables for membership as I thought all of that would be handled by the configuration tool.

Am I missing a step?


Configuration problem?

  
Hi All, I created one config for all of my pcakges.I tested in my system its working fine. In my system sqlserver is windows authentication. I modified the configfile which system has sqlserver authentication its working fine. Same config file I am trying to execute in QA box I got error related to authentication. How to modify current confige file related to sqlserver authentication? Thanks CMK...

A problem about CreateWindow - "balloon (tool) tip text window"

  
I dlike to use balloon tool tip text "TTM_ADDTOOL" in global environment. now..,I am using a code which works fine but in the main form - in my own app only..When i use mainwindowhandle of notepad it doesnt works - tooltip is not displayed. When my mouse cursor is away from my form and my mouse cursor is above notepad = tooltip is not displayed. Does exist any solution which will displaying baloon tipText on concrete coordinate? Any idea, solution, link..? more concrete.. I Tryed to create new tip window on concrete coordinate. Code is compiled., without errors, but new window is not visible. Somebody who can help me?   // Create an instance handle. Asm = Assembly.GetExecutingAssembly(); hInstance = Marshal.GetHINSTANCE(Asm.GetModules()[0]); // Create the ToolTip window. WinHandle = CreateWindowEx( WS_EX_TOPMOST, TOOLTIPS_CLASS, "Balloon Help Message" , WS_POPUP | TTS_NOPREFIX | TTS_BALLOON, 50, 50, 320, 240, IntPtr.Zero, IntPtr.Zero, hInstance, IntPtr.Zero); //display tool tip ShowWindow(WinHandle, 1);  

Problem with Configuration of Message Inspector

  
I'm hoping someone might know what I am doing wrong. I'm trying to setup message interceptors and am trying to apply them to all of my services via the web.config. I've been working on it for hours but keep getting the following error:

Parser Error Message: The type 'AdventureWorksService.
Interceptor.ListenerServiceBehavior, AdventureWorksService.Interceptor, Version=0.0.0.0,
        Culture=neutral, PublicKeyToken=null' registered for extension 'TestInterceptor' could not be loaded.

I have the classes under a the 'AdventureWorksService.Interceptor namespace in my web project.

Here my web config:

<?xml version="1.0"?>
<configuration>
  <system.serviceModel>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true">
      <serviceActivations>
        <add relativeAddress="~/DataService.svc" service="AdventureWorksDataService"/>
      </serviceActivations>
    </serviceHostingEnvironment>
    <!--For REST-->
    <protocolMapping>

Aspnet configuration tool

  

Grrr well I used this to set up all my membership roles etc. Set up all my pages that needed security set annoymous users.. was feeling elated! Until I tried to deploy it to my web host. I have read lots of stuff that this doesnt work remotely etc. So i have taken it all off.

So how do i go about simply having some secure admin pages on my site. Just a tutorial to point me towards would be great I know its a question I can find from google but I just keep reading lots of differnt stuff and  would like the best practise


Thanks in advance


Where can I find NET Framework 3.0/3.5 Configuration Tool

  

Where can I find .NET Framework 3.0/3.5 Configuration Tool and Code Access Security Policy Tool? They simply disappeared after Frameworks 1.1/2.0.

 

 


.Net Framework SDK 2.0 configuration tool

  
New to this and lost.

I download the Microsoft .Net Framework SDK 2.0  as it says in the book (I think). But I cannot find the configuration tool or the Mscorcfg.msc file so I don't know what I have done wrong.
Desperate for the kindness of strangers.
Thanks
Mathew 

Tool Tip Problem in WPF

  

Hi,

    I have Disabled a Grid Row, On Disabling the Row the Mouse Right click was working ,so i Used IsHitTestVisble Property,but because of that IsHitTestVisble Propertymy Tooltip stopped wprking.

 

Can anyone help in this scenario like a disabled row where Mouse Clicks shoud not work and should show toltip

Note:On using isdiabled property o a grid row,it only disabling Mouse Leftclick only 

Thanks in Advance


problem in Email configuration in sharepoint

  

Hello everybody...

 

i have to face problem in sharepoint 2007 for email notifiation.

i have a two virtual machine one is AD+ EXCHANGE2007 and second is for Sharepoint . both have windows 2003 server os.

This is my outgoing email configuration.

I have configured incomming email but in document library continuous message will produced ? how to solve it ?


NET Framework Configuration Tool (Mscorcfg.msc) in .Net 3.5

  

Hello,

         I am using Windows 7 Ultimate OS with .Net 3.5. I am also studying for MCTS Exam - 70-536 which has the NET Framework Configuration Tool (Mscorcfg.msc) in its syllabus. I could not find this tool on searching. How do I use this tool.

Thanks

Anoop


NET Framework Configuration Tool (Mscorcfg.msc) in .Net 3.5

  

Hello,

         I am using Windows 7 Ultimate OS with .Net 3.5. I am also studying for MCTS Exam - 70-536 which has the NET Framework Configuration Tool (Mscorcfg.msc) in its syllabus. I could not find this tool on searching. How do I use this tool.

Thanks

Anoop


Problem in reading WCF configuration settings

  

Hi,

The great thing about WCF is that you can configure you're WCF bindings in a configuration file and not through code.
We are now making connection to WCF's webservices in our SharePoint code, but now the question is where to place the WCF configuration settings. 

 

For deployment reasons we don't want to place the settings in the SharePoint web.config:

-  can't be easily changed by admin users through SharePoint Gui

-  new deployment needed to change configuration settings

-  webservices u

problem setting instance configuration.

  

I'm trying to install SS 2008 Express with Advanced Services and am having a problem with the Instance Configuration.  

The default instance is preset with an InstanceID of SQLExpress.  This gives me an error that says:

"The instance of SQL Server already has an instanceID of '1' that is different than the specified Instance ID 'SQLExpress'.  Specifying more than one instance ID for the same SQL Server instance is not supported."

Then in the area that shows the installed instances it has: Instance="SQLEXPRESS", Version "9.2.3042.00", InstanceID="MSSQL.1".

I think the instance that's already installed is the SS 2005 express that was installed with VS 2008.  It looks like the Version of the SS 2008 I'm trying to install is 10.

I've tried different things but haven't been able to get this to work.  I also tried the Named Instance but got the same error.  

Can someone help me understand what I need to do to get this installed? 


SQL Server Express 2005 Configuration Management tool

  

Hello,

        I have installed both the Client as well as SQL Server Studio Management Express using the following setups SQLServer2005_SSMSEE.msi & SQLEXPR32.EXE.

                                                                                              But SQL Server Express 2005 Configuration Management tool is not installed in the system. What should I do.

Thank you


Visual Studio 2010 & Asp.NET Configuration Tool not working together

  

Hi!

I am running VS2010 and trying to make the asp.net configuration tool to work.

The problem is: when I click on in in the menu, the server goes up but nothing happens.

If I type the url (localhost:port) in the browser, I get the following error:

 

Server Error in '/asp.netwebadminfiles' Application.

HTTP Error 404 - Not Found.

 

and if I copy and paste the /asp.netwebadminfiles to the url (localhost:port/asp.netwebadminfiles), the page loads with the following message:

" An error was encountered. Please return to the previous page and try again. "

 

I've looked in the event log, but no error message.

 

Could anyone help out me with it?

 

Thanks!


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