12

Let's imagine there is no web application to create the site collection, and you will create the site collection directly without creating a web application, In this case, Every site collection will require an Application Pool to be created !! So what's the issue, What's this mean? This means You will be restricted to create maximum 10 site ...


11

Can't test it myself but it wouldbe something like this: ######################## Start Variables ######################## $LoginName = "domain\login" $siteURL = "http://SharePointSiteURL" #URL to any site in the web application. ######################## End Variables ######################## Clear-Host $siteCount = 0 [system.reflection.assembly]::...


10

Get-SPWebApplication xxx | Get-SPSite -Limit ALL | % {Enable-SPFeature "xxx" -Url $_.Url}


8

1) Because the Microsoft SharePoint Foundation Web Application service is running on your App Layer. Go to Central Admin -> Manage services on server, select your App server, then stop this service. 2) DNS entries are the way to target a WFE for end user access. End users will only go to the WFE DNS is pointed at (or if DNS is pointed at a VIP, to the ...


8

As far as I know or according to my experience you should be creating Site Collections for departments and let each department have there own content database as a best practice. Web applications should be created on the basis of mode of authentication. I would recommend you to go through these topology diagrams provided by Microsoft to understand the ...


8

Resetting the environment with an iisreset did the job.


7

I ran into a similar situation, you can try following things. Check the element.xml file. If you have changed the name space of the project ..you would have to make the relevant changes in the element.xml file <Class>NameSpace.ProjectName</Class> If you are targeting this event recivier to a specific list, then make sure that you have the url ...


7

The host header is the URL on which the web application will respond. If you specify a host header during the creation of a web application, you'll notice that a binding with the same URL is added in IIS Manager as well. This allows IIS (and thus SharePoint) to respond with the correct content when you request a specific URL. The web application host ...


6

This seems to be an issue with the powersheel_ise.exe and once I close and reopen it, it seems to be fine. Here's a link I found.


6

Please include Microsoft.SharePoint.Client.Runtime.dll in your project.


6

Since you're on the internal network and run your farm inside a firewall protected area, you should use the same port 80 for HTTP traffic and port 443 for HTTPS traffic. When you create a new web app, you need to fill in the field "Host Header" which separates the port 80 applications in ISS from each other. In the path, which updates automatically based ...


5

Can write a PowerShell script and link it with the Task Scheduler (where it is possible for you to schedule the script running time)


5

Even though you can do this by modifying Alternate Access Mappings in the long run you'll be better off by deleting the old web app, but not the databases, add a new web app, activate all needed web app scoped features and attach all the old content databases.


5

While the scope of your question is really too broad and many answers can fit to suit as needed, I would share a starting point specific to determine the need of site collection vs web application. SharePoint Factors : As thanby added , A web application is generally a high level abstraction in the "arrangement of your portal sites". Generally they are ...


5

In case this helps anyone else (or me in the future) you can do this with: $winAp = new-SPAuthenticationProvider -UseWindowsIntegratedAuthentication $stsAp = Get-SPTrustedIdentityTokenIssuer "YourSTS" Set-SPWebApplication -Identity $webApp -AuthenticationProvider $stsAp, $winAp -Zone "Default"


5

The right way to grant access is to use the SPWebApplication.GrantAccessToProcessIdentity method. It sets up the database permissions for you, but remember to run it again if you add content databases. You can do this with the following PowerShell: $webApp = Get-SPWebApplication TEAM_SITE_URL $webApp.GrantAccessToProcessIdentity("domain\username of MY SITE ...


5

Use ServerRelativeUrl, eq. /sites/site/libraryname/folder/filename.ext. Function returned File object.


5

You would need to Create a new Web Application in farm 2 Export solutions* from farm 1 Install solutions in farm 2 Backup content databases belonging to the web application in farm 1 Restore all content databases in farm 2 Enable all features on farm 2 Web App | Site | Web that are enabled in farm 1 web app Test From an abstract level, this works. To make ...


5

I strongly recommend to have only one content Web Application on port 443 and one admin Web Application. Then create your site collections as host-named site collections instead of path-based site collections. It's a far more efficient, scalable and flexible architecture. This is also how Microsoft hosts site collections in Office 365. With Web Applications ...


4

Here's a couple of options for you: In Central Admin, go to your Search Service Application (Content SSA if you use FAST Search for SharePoint) then navigate to Server Name Mappings and create one. Set the "Address in index" field value to your Extended zone url (the one configured to be crawled in the content source) and set the "Address in search results" ...


4

My recommendation would be that you shouldn't. You should start from scratch again and develop your Web-Application to be deployed below the _layouts folder in SharePoint using a WSP package and all of your code should be in code behind which is compiled into a dll deployed to the GAC. You can technically get your solution to work, but it's a hack, that ...


4

If you are going to get the property bags of your web application or farm OFTEN, you could create a custom HttpHandler to create a dynamic javascript file which will load the properties you want. See my blog post about how to create an httphandler. The idea is partly inspired from loading _spPageContextInfo If you think it is the way to go, I can tell more. ...


4

In general it is advisable to keep it as simple as possible. You'll only want to split your content across multiple web apps if security is a huge concern or if you have enough serious traffic that you'll want to load-balance. For performance, the best way to load balance it to start by splitting administrative tasks like timer jobs and search indexing onto ...


4

You have to Create a Site Collection in your Web Application. Go to Central Administration and choose Create Site Collection in the Application Management group. Enter a title in your Site Collection, select template to use and the primary site collection administrator: This can be done using PowerShell as well. Don't forget to Set Execution Policy and ...


4

If your web application is in Claims mode (uses Claims based authentication, CBA), you need to grant permission for username that is in claims format, like i:0#.w|dev\administrator. More info here.


4

You can`t. The Client Object Model (CSOM) does not provide access above the Site Collection level. As far as I know, the only way to do what you want is to create a custom web service that gets the Web Application information using the Server Object Model and have the remote application use it instead of the CSOM.


4

When you create the Web Application you decide what should be the URL of it. And in your setup it should not be the URL of any of your servers, but the URL for the load balancer which distributes the work between wfe01 and wfe02. And normally you'll leave the web application service running on the App server as well and let Search Crawl use that locally by ...


4

The RSViewerPage.aspx is a Out the boxed application page in the _Layouts folder. Application pages, which are also known as "_layouts" pages, are stored in a site's Microsoft Internet Information Services (IIS) virtual directory and support application implementations. Application pages are shared across all sites on the server, whereas a site page ...


4

As the name suggests, Assembly deployment Target; specifies where the assembly i.e. dll of the SharePoint will be deployed to. So, in case of WebApplication deployment target, the assembly will be loaded in the bin folder represented by the IIS site. For example, the deployment is done to port 80 site. Then the path may look like this C:\inetpub\wwwroot\wss\...


4

Yes you can, but be sure to try this in your test environment first. Follow the steps in the article SharePoint with more than one SQL instance: possible or not possible On the SQL server Backup the content database. Restore the database on the second instance Add the same permissions for the content database that you had on the source ...


Only top voted, non community-wiki answers of a minimum length are eligible