Click here to Skip to main content
15,889,403 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,

I was able to create Master pages and content pages.

Not sure what happen all of a suddend, now unable to add content pages though I opened Visual Studio 'run as Administrator'


I tried with both Web application and Web site.

Here I dint find an option to attach my error message with screen shot.

Kindly look at the error message and please help me.

Web Application Error message is : The template file used to generate the content page cannot be found.

Web site Error Message is : The content page cannot be created because the language specified for the master
page, 'C#', is not supported.


Regards
Reddy
Posted
Comments
Arkadeep De 15-Mar-15 4:46am    
pls provide the code...
[no name] 16-Mar-15 0:06am    
Try here:
http://www.asp.net/web-forms/overview/older-versions-getting-started/master-pages/specifying-the-master-page-programmatically-cs

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900