1 Replies - 5118 Views - Last Post: 10 August 2011 - 11:48 PM Rate Topic: -----

#1 tp_sa   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 10-August 11

asp.net mvc with database connection

Posted 10 August 2011 - 09:27 PM


I have download the sample project from the website (Visual studio and MS sql server 2008 with mvc2 framework).I am new to MVC so need help. I have all the source files and sql scripts. I have to deploy in my local enviroment .

Able to open the asp.net mvc project from Visual SVN.For Database Connection i tried to edit the web config file,but amnot able to open the web config file its says it can be moved, renamed,or deleted.
without the web config file , i execute the project & it creates one web config file with two option (release & Dedug mode files).Inside the web config file there is no connection string content to connect the db. please tell me to restore the default web config file.
Please help me.... .

Is This A Good Question/Topic? 0
  • +

Replies To: asp.net mvc with database connection

#2 RudiVisser   User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1010
  • View blog
  • Posts: 3,566
  • Joined: 05-June 09

Re: asp.net mvc with database connection

Posted 10 August 2011 - 11:48 PM

Do you not have an original copy of your web.config file? If so just copy the important bits from that into the Release/Debug ones.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1