No of visitors who read this post:
261
Category:
Development Software
Type:
Question
Author:
Dominquedustyy
Hello all,
I have been trying to link the ASP web applications. I successfully changed the web configuration file, but after this, an error was seen on my screen. The screenshot of the error is as follows:
As you all can see that line # 12 has been highlighted. So, I removed this line and again tried to configure this file,
but it ended up in another error which is attached below:

Now this is highlighting another line. What should I do? I suppose, this is an ongoing activity.
What do you all suggest?
Waiting for your helpful suggestions.
Regards.
- Login or Signup Now to post comments

Hello,
The first error occur most of the time when trying to change the .NETFramework version from 3.5 to 4.0.
In order to do that you need to do all necessary changes in your ASP.Net code to be valid for the new version, as a solution you can try the following:
write back the line 12 that you have deleted as this "<compilation debug="true" targetFramework="4.0"/>", then when you try to test your website use "View in browser" not "Run" in order to check you ASP tags are correct of wrong.
as for the second error that appeared, when you've deleted the line 12 the closing tag did not match the starting tag, then the line 14 was not valid in order to be read by the compiler, so it did give you an error that "System.Data.Linq" is missing, which 14 was a declaration for it.
Regards..
Hallo Dominique,
You might be getting that error most probably because you are missing a connection string that must be included in web.config file. For instance, the following is of a web.config file with a connection string for a SQL Server 2008:
You will need to provide the following:
Hope that helps.
Regards,
Carl