Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 29-07-2009
Member
 
Join Date: Jul 2009
Posts: 10
Database name not found

Hi all

I am creating a system using CSLA.NET framework and using visual basic language. when I run the form it gives me this error DataPortal.Fetch failed (Database name not found in config file (AccSage)). Can anyone help me with this please.

thanks
Angel
Reply With Quote
  #2  
Old 29-07-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: Database name not found

Database name not foundTry to find the MSDTC service(s) and see if they are marked as disabled. Settings->Control Panel->Administrative Tools->Services. I saw several services on my box that looked like the culprits.
Reply With Quote
  #3  
Old 29-07-2009
Member
 
Join Date: Mar 2008
Posts: 232
Re: Database name not found

How did you setup the databases? PhpMyAdmin or through VMin? Make sure that you are using the correct app.config file. The ConfigurationManager looks at the current running project (i.e. your test project and/or your windows forms/console app). Also, remember, on the shared stuff, the users are named differently, so check that you're inputting the right format for the username.
Reply With Quote
  #4  
Old 29-07-2009
Member
 
Join Date: Jul 2009
Posts: 10
Re: Database name not found

Thanks guys I figured it out. I just had to do this in the app.config file in the main project <add name="AccSage" with the string connection. and then make then make the user instance = "false"
Reply With Quote
  #5  
Old 29-07-2009
Member
 
Join Date: Mar 2008
Posts: 232
Re: Database name not found

What it gives you? Does this solve your problem, I think it should displayed you the Database name, let me know.
Reply With Quote
  #6  
Old 29-07-2009
Member
 
Join Date: Jul 2009
Posts: 10
Re: Database name not found

Quote:
Originally Posted by Shell View Post
What it gives you? Does this solve your problem, I think it should displayed you the Database name, let me know.
I got it to work thanks
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Database name not found"
Thread Thread Starter Forum Replies Last Post
User not found in database while registering dawn of fantasy Virr Video Games 4 12-06-2011 07:20 PM
Creating Database link in database Lachlann Software Development 3 28-01-2010 01:17 PM
Database Normalization in SQL Database Techno Guru Software Development 5 23-01-2010 01:52 PM
convert filemaker pro database to access database Czack MS Office Support 3 15-04-2007 01:06 AM


All times are GMT +5.5. The time now is 01:12 PM.