help required in ATM Simulation.

Re: help required in ATM Simulation.

Postby izzatz13 » Tue May 17, 2011 9:54 pm

try this, open your visual studio

Tools → Options → Database Tools → Data Connections and change the SQL Server Instance Name from whatever it was. By default it was "SQLEXPRESS"

and change it to "SQL2008" (without the quotes)
CheapDomain.my - Cheap Domain Name Registration & Web Hosting
User avatar
izzatz13
Site Admin
 
Posts: 64
Joined: Sun Dec 07, 2008 9:48 am
Location: Butterworth <> Skudai

Re: help required in ATM Simulation.

Postby imagine » Tue May 17, 2011 10:04 pm

i did it..
but now the Error is "Connection to SQL Server files(.mdf) require SQL Server Express2005 to function properly. please verify the installation of component." :(
imagine
 
Posts: 6
Joined: Tue May 17, 2011 8:33 pm

Re: help required in ATM Simulation.

Postby izzatz13 » Tue May 17, 2011 11:24 pm

if you check on your task manager. which sql server is running? sqlexpress.exe??
CheapDomain.my - Cheap Domain Name Registration & Web Hosting
User avatar
izzatz13
Site Admin
 
Posts: 64
Joined: Sun Dec 07, 2008 9:48 am
Location: Butterworth <> Skudai

Re: help required in ATM Simulation.

Postby junaid.kiyani » Wed May 18, 2011 8:07 pm

Location of DB


go to MDECBankATM where all cs files are present
create folder ATM_DATA
then paste the MDECBank.mdf there.

and change the path in the file

C:\\Users\\Izzatz\\Desktop\\MDECBank.mdf
with
|DataDirectory|\ATM_DATA\MDECBank.mdf



i used this path in another program and works properly. but in it database version problem. i have installed 2008 new version of VS and SQL too.
junaid.kiyani
 
Posts: 1
Joined: Wed May 18, 2011 7:57 pm

Re: help required in ATM Simulation.

Postby izzatz13 » Thu May 19, 2011 1:57 pm

allrite thanks junaid.kiyani. i dunno what cause the problem. i've been using it fine. maybe i didn't started with vs2005. i straight away use vs 2008. now im using vs 2010, and it still working fine
CheapDomain.my - Cheap Domain Name Registration & Web Hosting
User avatar
izzatz13
Site Admin
 
Posts: 64
Joined: Sun Dec 07, 2008 9:48 am
Location: Butterworth <> Skudai

Previous

Return to Programming Support

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

cron