.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

VWD 2010 not rebuilding pages or is it me? Please Help

Posted By:      Posted Date: October 13, 2010    Points: 0   Category :ASP.Net

I chose the option to create a new ASP.NET Web Application (C#) project using VWD 2010 EXPRESS. Normally I choose the create an empty web site option. Anyways, It seems that everytime I needed to make a change in code behind that I would have to click save, then debug>build for the changes to take effect. This was working fine for three days, now all of a sudden it has stopped working. It doesnt seem to rebuild when I click build...though the output message says it succeeded.

I have even removed entire codeblocks from the codbehind (one that populated a dropdown), yet the drop down is still populated when the page is previewed (I have cleared the browser cache as well!). Also, I have tried to set Label1.text to various values and that does show either, like its not in the code.

Is there a bug in VWD, or is there a setting I could have clicked unknowingly? I am gettingsome  strange errors as well. For example, I am getting object reference not set to an instance of an object errors and the line it points to is a totally empty line or sometimes a comment.


Any ideas?



View Complete Post

More Related Resource Links

Video: SharePoint 2010: Sites as Collections of Pages

Find out how pages in SharePoint 2010 play a key role in the structure of a site. The developer (and the user) now has complete control of the user interface including the placement of Web parts anywhere on the page. (Length: 15:53)

How to develop Common Content or Application pages in Sharepoint 2010, with respect to the customiz

  I have a top level site and subsites (which might be around 10). Where as the top level site represents a common landing page and each sub site represents a client site to which user will be directed upon login. This is a PUBLISHING web site. I need to design to start with common pages across all clients and if there is a need let the client to customize the common page accroding to their need. This is a PUBLISHING site so all these common pages should have Web parts zones with authoring capabilities. What is the best way of achieving this?    

Show wiki page library columns on wiki pages- SharePoint 2010

I created a wiki page library in SharePoint 2010 and added a few columns to the library. However, these columns do not show on the actual wiki pages as they did in SharePoint 2007. I looked through the library settings but didn't find anything to turn on this feature. Does anyone know how to do this or if this feature was even included in SharePoint 2010? Thanks.

How to change the order of Webparts in Sharepoint 2010 wiki pages

In WSS you change the order of webparts just by moving them above or below another webpart. This does not work any longer in SP 2010. I want to move a list webpart above another list webpart. How can I do it [SP2010 Foundation].

Delete Page Layouts and Master Pages in SharePoint 2010

Hi I want to delete unwanted Page layouts and master pages in share point 2010. I tried to delete the steps mentioned below as like MOSS 1.Create a New folder 2.Move the page layouts to that New folder 3.Delete the New folder But this approach also failed.. please suggest me to delete... Thanks in Advance ArunWith Love

Sharepoint 2010: Get error: You do not have permissions to have lists and pages within My Site.

I am using the administrator login for the sharepoint 2010 farm.  I'm able to access My Site.  However, when I click on My content, I'm getting You do not have permissions to have lists and pages within My Site.   Any ideas?   Thanks.

FullTextQuery doesnt find pages -Sharepoitn 2010 BUG?

Hi, I have strange problem, I created some pages with Farm Administrator user and my fullTextQuery finds them Unfortunatelly if a user is not farm admin, publishes the pages, they are not found.. Is there any correlation between this ?

Session State throws error in ASP.NET Site Pages for SharePoint 2010 portal using Visual Studio 2010


I'm developing Visual Studio 2010 solution for site pages. I’ve created Site Pages in SharePoint 2010 and I’m trying to access Session variables in code behind in ASP.NET but it throws the following error.

Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.

I set the page directive as enableSessionState=&quo

VS 2010 Bookmarks for aspx pages


I'm used to working with VS 2008 and toggling bookmarks in aspx pages was very useful, however in VS 2010 I'm unable to toggle bookmarks using the CTRL + K + K or the actual "Toggle bookmark" button from the bookmarks tool. Is there an option to enable this on the ASPX page, it works everywhere else though.

Migrating 2007 Wiki to 2010, many pages are now uneditable. help?

We've recently applied to upgrade to 2010 on our SharePoint site.  We've noticed though, that most of the pages in our wiki library no longer allow web-editing in the browser.  I assume this is because some of the code in these pages was 'custom'.  In SharePoint Designer, the pages that do not allow editing have this message under Customization Status:

This file has custom page markup.

The pages that are editable have this message:

This file is based on a file from the site's definition.

Is there any easy way to convert the old pages into proper site definition, editable pages?  I've tried selecting the message at the top of each problem page that reads: The current page has been customized from its template. Revert to template.

but this only ends up with an error message when trying to revert:


Cannot revert to the site definition version of this file. It is a c




<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
WIDTH="550" HEIGHT="400" id="myMovieName">
<PARAM NAME=movie VALUE="myFlashMovie.swf">
<PARAM NAME=quality VALUE=high>
<EMBED src="/support/flash/ts/documents/myFlashMovie.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400"
NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"


develope a mobile pages for mobile devices in foundation 2010


I need to develop a mobile page for foundation 2010 which contain two search textboxes and retrive fields from a sharepoint list. I never worked on sharepoint mobile pages. I am totally confused with SDK information. Can any one pull me out with some example..  thanks



After Visual Studio 2010 conversion from 2008 pages won't display in browser correctly


I just upgraded to 2010 and converted my VS 2008 ASP.NET web application. There were no conversion errors and everything displays in the Design mode correctly but when I try to View in Browser or debug the site won't display. I just get a blank page untitled page displayed.

Can anyone help me out with this problem?


SharePoint Wiki pages non editable after in place upgrade to SharePoint 2010



We recently upgraded SharePoint 2007 SP2 farm to SharePoint 2010 farm uisng in-place upgrade. The upgrade was successful execept the Wiki pages library pages showing unusal behavior. 

All the content in Wiki pages library under the SP 2007 site were upgraded to Wiki pages library under the same site after upgrade to SP 2010. But the WIKI tool bar is not showing the Edit button on Wiki pages and hence the Wiki content is non editable. 

We did not receive any error or informtaional message in the pre-upgradecheck on prior to upgrade.

I would highly appreciate if some could help get the issue resolved.



Wiki pages uneditable after in-place upgrade to SP 2010



 I have recently upgraded (In-place) SharePoint 2007 farm to SharePoint 2020 farm. Everything went well except the Wikipages libraray.  

The Wiki library page are upgraded & render properly in SP 2010 but they are not editable. The Edit|History|Incomming links tool bar doesnt  appear on upgraded WIKI pages and hence no one can edit them.

 I would highly appreciate if some one can help me resolve this issue.


SharPoint 2010 , Protecting Application Pages



I have developed number of application pages using visual studio 2010, then deployed them on SharePoint 2010.

All the pages have been extended LayoutsPageBase.

all the application pages are accessible by any authonticated users , but I don't want this and want to allow certian groups/permission to be able to access these pages while others can't.

My question:

How can I set permission for application pages to be accessible by certain groups on SharePoint level and on code level?

please advice.




SharePoint 2010 : Publishing Pages by Administrator



We have a requirement where administrator/approver should be able to directly publish the pages of a library where publishing approval workflow is enabled.

But, the Publish button on the ribbon is greyed out even for administrator and approver.

Any ideas on how to get this working?




ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend