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

#1 tp_sa  Icon 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

hi

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  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1003
  • View blog
  • Posts: 3,562
  • 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