Question : Web.config app error problem

I tried to enter information into my web.config file for the connection string and after I did that, I get this error that shows up on my web application that says, "Warning      1      C:\inetpub\wwwroot\Tracker2\Default.aspx: ASP.NET runtime error: Only one element allowed per config file and if present must be the first child of the root element. (C:\inetpub\wwwroot\Tracker2\web.config line 16)      C:\inetpub\wwwroot\Tracker2\Default.aspx      1      1      Tracker2"

What do I do to get rid of this problem?

Answer : Web.config app error problem

Let's try this one more time...

From your ORIGINAL post of your web.config go to line 37. It reads ""

Delete that line and ONLY that line from that version of your web.config. You cannot have TWO connection string blocks in your web.config file.

Does that make sense?
Random Solutions  
 
programming4us programming4us