Hot answers tagged

45

Just go simple with powershell. Here is how to rename without doing more than that: $a=Get-SPWebApplication | where {$_.Name -match "Old web application name"} $a.Name $a.Name="New web application name" $a.Update() Get-SPWebApplication | where {$_.Name -match "New web application name"} That's all !


14

This should help - "SharePoint Terminology – Farms, Web Front Ends, Web Application and Sites" Specifically - "what is difference between Web and WebApplication?" Generally when you see "Web" mentioned in programming terms (SPWeb) it actually means a means what a user calls a site and a "Site" (SPSite) is a site collection. A Web Application is a unit ...


9

Remember that SharePoint web applications can have multiple URLs since they can be extended onto different IIS websites e.g. http://authoring.site.com and http://www.site.com. If you're looking to get the URL for the default zone (either with a web app which has been extended or not), you can use: webApp.GetResponseUri(SPUrlZone.Default);


8

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


8

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 ...


7

Rather than trying to modify IIS directly, I think it is better to do this in SharePoint Central Administration if you can, particularly if you have more than one web front-end server. To change the URL of your SharePoint try this: Go to Central Administration/Manage Web Applications and select the Web Application. Click on the drop-down on the Delete ...


6

You can use the following stsadm commands to get the information you need: stsadm -o enumzoneurls stsadm -o enumalternatedomains or use the PowerShell cmdlet: Get-SPWebApplication


6

I have ran into a similar situation.. you can try following things 1)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> 2)If you are targeting this event recivier to a specific list , then make sure that you have ...


6

Many points can be taken in consideration while choosing web application or site collection. Some important ones are: 1) Web application provides isolation. If your web application uses a unique application pool in IIS, the isolation is at Process level. If your web application uses a shared application pool in IIS, the isolation is at Application Domain ...


6

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 ...


6

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 ...


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

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

There are so many better ways to improve the performance and scalability of SharePoint than trying to partition site collections across web applications. If you highly optiimize your logical and physical disk IO for SQL Server, partitioning the site collections across multiple content databases on a single web application may provide less contention and ...


5

You could create a new web application named how you want and then attach the content database(s) from your old web application in order to keep your existing sites. Its not really renaming the old web application but you will be able to access your old sites via the new url which I assume is what you want to do. The basic steps are: Check what site ...


5

If you are limited by Memory, you can share the same App Pool between several Web applications. This will allow you to save some memory. Sharing AppPools will allow you to pool that "base" memory per app pool. The total amount of requiered RAM cannot be dertermined by just the number of WebApps, but is also affected by many other factors. A valid reason to ...


5

Application Pools generally consume around 100-200MB minimum depending on various configuration aspects. 10 Application Pools would therefore be around 1-2GB+.


4

I've seen some organizations use a single site collection to hold everything, and create more site collections than they need so they struggle with administration and maintenance. Both of those extremes can be bad. It is really about trying to find the sweet spot for how your sites will be used and maintained. Awhile back I wrote a pretty detailed blog ...


4

The advantage of multiple managed paths is it's a first piece of metadata you can have in your farm. It helps break sites out into logical trees even thought they all reside in the same farm. This becomes very beneficial if you organize your structure very flat (many site collection) Based on the managed paths, you can have different SLAs for things ...


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 ...


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

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 ...


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 ...


4

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"


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

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 ...


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 ...


3

What you describe is actually the recommended way to change a web application's URL. http://technet.microsoft.com/en-us/library/cc262366(v=office.15).aspx Essentially, the process is to go to CA, remove the site from IIS (you can safely leave the IIS site to preserve your web.config changes) then re-extend to the default zone.



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