Wednesday, 11 March 2009

MasterPage and web.config

After sorting the database connection, there was still some problems with the page loading. As it was showing the same error page given before. This time the page was tested without debugging.



The debugging is not enabled as it creates problem in the web.config file when it is deployed to a web server as it is mentioned in the dialogue box above. So I ran the without the debugging option.


There was also issue using the MasterPage on the webpages, masterpages maintain the consistency and functionality of the site however there were issues concerning the usage. Problem was if the asp.net page is being developed on 3.5 and .Net framework is different such as 2.0 then this problem occured. The master pages was not compiling on the web server. So the use of masterpages was a problem and had to be removed from the project.

It was mentioned that the web.config file should be removed from the website folder to prevent this error, however even after removing the web.config file from the site it still gave th error. The webpages were designed without the use of the Master Page.

No comments:

Post a Comment