Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 642
  • Last Modified:

asp.net web.config error

I was working with a .net project and had not updated the web.config myself.  I never really concerend myself with it at all.  I am only using this for development purposes.  I had to rebuild my machine, got a fresh copy of the project then started getting errors trying to run my project.  I am not sure how to remake my web.config from scratch and what is needed in it.  I have no connection strings.

Error      1      Copying file Web.config to obj\Debug\TransformWebConfig\original\Web.config failed. Could not find file 'Web.config'.            0      0      Proj.Web
0
jackjohnson44
Asked:
jackjohnson44
2 Solutions
 
Kalpesh ChhatralaSoftware ConsultantCommented:
0
 
ambienceCommented:
>> I was working with a .net project and had not updated the web.config myself

If you didnt change it then you can create a dummy project, grab the freshly generated web.config and add to your existing project. Just make sure the version of ASP.NET etc match and that should give you a good start.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now