Cannot see "Custom" web part folder SharePoint 2010 - sharepoint-2010

I am new on SP 2010 and VS 2010.
After installation of SP, I am able to surf to localhost, and see a page called "Home".
I made a test Visual Web Part, and it deployed fine.
I am able to edit the home page, and see and add the web part from the Custom folder.
I then made a new site, called Foo Site. When I edit its home page, I do not see the web part Custom folder, so I may choose my web part and add it.
Why does the Custom folder show up on one page, when adding a web part, and not on another?

Did you activate the feature on your new site? When you deploy from Visual Studio it will automatically do this based on where your project is configured to deploy it to (which is why you see it on your original site).

Related

Blazor WebAssembly - How can I add a new *.razor page that don't need to recompile or rebuild the project

I am developing a survey project which collects data from the client with Blazor WebAssemly for the Client-side. Each survey form will have a different design and edit-checked rule. So I decide when I create a new survey form, the application will generate a new *.razor page automatically, for example, ClientSurvey.razor page. Everything works well until I navigate the web application to the ClientSurvey.razor I just have created. The system shows error:
404 Not found.
I have to rebuild the project again, and it can show the ClientSurvey.razor page on my website.
With ASP.NET MVC before I don't have to rebuild the project when I add a new aspx page. Does it still work with Blazor WebAssembly? If yes, how can I change the razor page, and it can update on my website automatically without rebuild or recompile?
And I also meet a problem that when I deploy the project in IIS, I don't see where the UI (.*razor) pages are stored, I know they are compiled to dll. How can I keep them in raw files in the same way with ASP.NET work? With ASP.NET, when I deploy it in IIS, there is always a folder to store aspx pages.
Updated: please see the figure to more clearly

SharePoint - Content Search WebPart not showing up

I want the Content Search Webpart to display like this below.
But it's showing me this instead.
Any idea why? i have de-activated and re-activated both the features for SharePoint Server Publishing and SharePoint Server Enterprise Site Collection features. Still it does not show up what i wanted.
SOLVED
1.Go to SharePoint Central Admin found in your startup app windows
2.Go to Application Management and click on Manage service applications and click Search Service Application.
3.Go to Crawl rules and click New Crawl Rule and configure it
4.Go to Content Sources and click Start All Crawls

People picker not working in classic mode web application in SharePoint 2013

I have a SharePoint 2010 web application migrated to SharePoint 2013. this is a classic mode web application, we are not using claims, my client doesn't wants it ( Don't ask why?).
I had other web application migrated as same process but i can add users in them.
but in this i am not able to.
I can add users and find users in the web application in central administration. But not in the web application itself.
I am not sure what changes i have to make so that it starts picking or finding users from the people picker. any ideas.
it was because of the asp.netvalidation=2.0 not present in the httprequest line in webconfig. there was no validation for the input provided in any input box.
once we added the asp.net validation it worked fine.
It is a browser compatible issue as well whereas in new browser like IE 10 and other latest browsers it doesn't play well.
we updated the
In short the fix is to edit the pickerdialog.master file in notepad and add a meta data tag, , to the header section.
well keep in mind always save a local copy of your original master page.
it is recommended not to update any original files, we can run the site in compatible mode too.

When export/import a site in sharepoint 2010 (WSS), error occur "A Web Part with this ID has already been added to this page"

I have a webpart, and I insert that webpart into a site of Sharepoint 2010 (WSS).
I save a site as template by that site. After, I create a new site with that site template. I export this site, and after I import it. I see a error in import site:
"A Web Part with this ID has already been added to this page".
Please help me to fix it.
(It work well on MOSS 2010)
Is new site is on the same farm as the originating site?, I would also asume that this is a Team site with Publishing features or a publishing site al togethere right?, if so, basically is having a conflict of GUIDS for a particular web part within a page or layout. If you see most of the site comming up, then is easier, because you could open the page or layout using SPDesigner and change the guids of the added webparts on the page; if not, you might need to crack open the template file and do it there.
Changing the GUIDS might help you to bring the page up, however any change done of the front-end could reverse the changes, so the best option is to edit the page and re-add the web parts, so it takes a new GUID for good.

Missing site templates when creating a publising (template) site in SP2010

All I am having issues trying to add some of the additional site templates when a user selects New Site form the site settings menu. I have a publishing site template as recomended by Microsoft as a default Intranet site. How can I add some of the templates such as a team site, or something else?
I was using a publishing template from the start, so i rebuilt the server anyway, and created a blank site with activitating the publishing features.