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

Top 5 Contributors of the Month
Post New Web Links

Two versions of company_name.master showing up in solution explorer

Posted By:      Posted Date: October 27, 2010    Points: 0   Category :SharePoint
If I look at the solution explorer I have two files named company_name.master. One is is a folder named GLOBAL and the other is in a folder named company_MasterPage. They are not the same file as they are in different locations but I wanted to know if I could exclude one or the other from the solution and why it may have happened that there are two.

View Complete Post

More Related Resource Links

solution explorer not showing solution name - VS 2008

Dear All, I am  stumped by a serious issue in Vs 2008. I created a Blank solution called HelloWorld.Then I added a new Class Library project by the name of HelloWorldService.After creation of the Class Library project the Solution name disappeared from Solution Explorer.  As a result of which I can now only add new items into the Class Library project but cannot add new item to the solution. This appears to be a pretty old problem as I found it in another link on the internet. http://stackoverflow.com/questions/2580046/vs-2008-solution-explorer-not-showing-solution It seems to be a bug.Has MS released a patch or a fix for this. If so pls post the links. Thanks for your efforts

Need to Automate in SSIS Cube Drop and Recreate of Dimensions: Had to do on the Solution Explorer Ma

Hi SSAS Engineers: This question is in the context of a complete refresh of the SSAS cube. I'm OK on the SSIS approach thanks to TMcD and past successes (also thanks to him). The question is why did I have to manually drop/delete the dimensions in BIDS SSAS, then readd them with the cube wizard to pull in the dimensions with the same names, but new surrogate key relationships and more surrogate keys in total? We need to Automate in SSIS Cube Drop and Recreate of Dimensions. I originally had to perform this function on the Solution Explorer Manually in SSAS UDM, since the names are the same, but the structures and the data are changing for the dimensions on the refresh (and the fact table is subsequently increasing). Herein lies the problem. We had a keynotfound error in the cube processing, since the old keys were being kept. I had run Full processing on the dimensions, but since the dimensions have the same name (no drop old names and add new names), the old surrogate keys remained. The fact table had the old row count as well, since the surrogate key pipeline to look up the surrogate keys for the new dimensions only had the old dimensions, even though I truncated the fact table. Yes--I had already rebuilt the dimensions in SQL Server and the row counts were the new refresh row counts. The dimension counts were right according to refresh numbers after

Server Explorer not showing up on Visual Studio

I tried to do the following : select View, Server Explorer from the menu but still it does not show up.  I also reset my settings, still no success.  Please suggest.  

Validation summary not showing in master page

Hi, I am using User controls in my web page. I have validation controls in my user control and the validation summary control is placed in the master page. Problem is I am not getting the errors displayed when I am running my application. Any help is appreciated.   Thanks.

Site template uploaded to Solution Gallery, activated, not showing in Template Selection

I accidentally created a site on a path where I needed to create a site collection. After deleting the site and creating the site collection in its place, I arrived at the Template Selection page. I went to Solution Gallery, uploaded my solution (a package made by the consultants who built our SharePoint site) and activated it. When I activated it I got an error message, but the solution shows in the Gallery as active. I went back to Template Selection to select a template from the solution, but none are showing--just the standard templates. How do I fix this?

Showing Ribbon on master page: The page you selected contains a list that does not exist.


I am performing a content database upgrade of a SharePoint 2007 site collection to SharePoint 2010. I used the mount-SPContentDatabase with the –UpdateUserExperience switch. I set the site to use the v4.master page as the master page. If the ribbon is not displayed on the page, the page renders. However when I show the ribbon I get the following error:


Server Error in '/' Application.


List does not exist.

The page you selected contains a list that does not exist. It may have been deleted by another user.<nativehr>0x81020026</nativehr><nativestack></nativestack>

SQL Server 2008 Express - No Solution Explorer


I installed Sql Server 2008 Express and there is not a Solution Explorer. I go to Microsoft SQL Server Management Studio -> FIle -> New and my only options are (1) Query with Current Connection (2) Database Engine Query (3) SQL Server Compact Query (4) Policy. I have tried CTL-ALT-L. VIEW does not have a Solution Explorer. And when I got to TOOLS -> Customize, there is no Solution Explorer.

What do I have to install to get Solution Explorer? Would I have to uninstall my current SQL Server or will it just overlay or co-exist?


Overall summary:
  Final result:                  Passed
  Exit code (Decimal):           0
  Exit message:                  Passed
  Start time:                    2009-02-28 20:08:46
  End time:                      2009-02-28 20:09:33
  Requested action:      &n

Image background color is showing while i drag in content place holder in master page ???


Hi  ...

I had few icons and images in my old web project which had no issue with the images and icons background color.

Now i have changed the total look and layout of my web site. After doing so , my old images and icons as well as new images and icons backgroud color is also displaying in the image.

The same image is looking good in my old web site layout ...

I tried all the stuff to show only image not image background ... But , it is not happening ....

The main thing is the same images and icons background color is not showing in my old design ...

Look at the image background , it has grey color background. It was not happening in my old web site design

Plz help me to solve this .... 

Dynamically created directories not displaying in solution explorer


I have noticed today that when you create a directory in code in a web application the resulting folder structure is not created in the solution explorer (It is fine on disk and app can still access all the files)

I am not sure if there is a setting that I am missing or is this a bug?

Steps to reproduce

Create a new C# web application in VS 2010.

Create a new web page (Default.aspx) and add a file upload control and a button.

on the click event on the button add the following code

String ImageUrlPath = "/Media/Photo/";
Directory.CreateDirectory(Request.PhysicalApplicationPath + ImageUrlPath);
string FileName = FileUpload1.FileName.ToString().Replace(" ", "");
FileUpload1.SaveAs(Request.PhysicalApplicationPath + ImageUrlPath + FileName);

When the form posts back refresh the solution explorer and the new directory does not appear.

Check your file system and the file will be there.

Not a massive issue but frustrating. Any guidance would be appreciated

Custom master page + on explorer minimizing + page should setup like maximized page + problem after



i am created a custom master page in sharepoint 2010 and applied the custom master page to MySite.


on explorer maximization - team site is appearing properly

on explorer minimizing - team site is not appearing(it should appear as explorer maximized site page) - which is not happening

on refreshing the page (on explorer minimizing team site page) - then only it is appearing setting up properly.

pls help me to fix this issue.

Solution Explorer in SQL Server Management Studio

Am I just out of my mind or does the solution explorer only list files in the order they were created? Is there any way to sort the list?  I'm trying to manage a database as a "solution".  It has over a hundred or so procs. If I can't alphabetize the list it is of no use to me since it's impossible to find a specific proc when they are not sorting in any logical way.  (Please keep in mind there are multiple developers working on this "solution" so the list if effected by all of them.)

I am trying to maintain some version control over the procs using VSS but it looks like I have to use a "solution" and "projects" to do that.

What kind of "solution" is this?

Is there any other way to do this?

"Close Solution" not showing on SSMS File menu

I upgraded to SQL Server 2008 R2 on 4 different PCs.  On only one of them, when I open SSMS and click File on the menu, the option to "Close" is available, but the option to "Close Solution" is not.  Further, if I right click on the menu bar and click Customize, under the Commands tab, I click on File under Categories, and again "Close" is available, but "Close Solution" is not.  "Close Solution" is available on the other 3 PCs that I upgraded to R2 on.  I tried using the installation disk and clicked on Repar, but it did not fix the problem.  How can I get "Close Solution" to appear on the File menu?

Dormant status showing for master db


can any one help ,e few hours onwards i checked activity monitore its showing status column is dormnant for master database



 why its showing likw ?


  if it showing mena nay thing happaning for Server r db

Is there a solution to purge document versions based on date in WSS 3.0?


We use WSS 3.0 document libraries to archive reports. Most reports are run daily and just stack up as new versions to each report document. In each of these libraries, the documents have various required retention periods. We would like a way to purge the versions of the documents based on dates and the document retention period. Everything I see so far can just purge the entire document including all versions, which is undesirable. I understand we can set our version limits to a number like 365, but this is a bad solution because this setting is at the library level and we would have to set at the longest retention period, and if reports start runnning more than once a day then we would not meet the retention requirements. I have sugggested on modifying the structure of our archive, but have been tasked with finding a built-in way to trim the old versions in our current structure or find an existing solution to do this. Any suggestions would be much appreciated.

Solution Explorer Bug!


Hi: I have come accross an interesting bug which cost me alot of time. These are the steps I went through to cause and finaly correct the problem. Basically I was modifing an example so I could  put the filter.xaml  and koala.jpg files into a Resources folder using Solution Explorer and then I modified the xaml as below. The full code is attached also.

1) Create subfolder Resorces
2) Move Filter.xaml to Resources
3) Change this line of xaml to <ResourceDictionary x:Key="myFilter" Source="Resources/Filter.xaml">
4) Move image Koala.jpg to Resources folder.
5) Check Filter.xaml for this line of code <ImageDrawing ImageSource="koala.jpg" Rect="0,0,50,50"/>
6) When we compile we get this error: {"Cannot locate resource 'filter.xaml'."}
7) Now if we retrace the steps and move these files back out of Resources and change the above code back to the original
<ResourceDictionary x:Key="myFilter" Source="Filter.xaml">
<ImageDrawing ImageSource="Koala.jpg" Rect="0,0,50,50"/>
We still get the same error {"Cannot locate resource 'filter.xaml'."}
8) The only way to correct the error is to Rename the file filter.xaml in the solution explorer. Then the error goes away.

This seems like a real

Complete SQL Solution

SQL Server Solutions: SQL Server 2000/2005 Related Free Snippets.

Master-Detail with the GridView, DetailsView and jQuery's ThickBox

One more article about grids from Matt Berseth. This time he shows how to create master-detail with the gridview, detailsview and jQuery's ThickBox. He writes:
So I thought I would check some of this out and along the way rebuild my Master-Detail with the GridView, DetailView and ModalPopup Controls and replace the ModalPopup with jQuery's ThickBox. I found it pretty interesting - read on to see how it went
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