Share via


Can't create a new web application

Question

Sunday, January 17, 2010 10:50 PM

I installed SharePoint Server 2010 as a single server with a built-in database. I'm trying to create a new web application, but on the Web Application Management page in Central Administration, all of the buttons on the ribbon are disabled. I checked, and I am a member of the farm administrators group. I was able to create a site collection in the SharePoint - 80 web application. Could there be another problem?

Thanks.

All replies (18)

Wednesday, April 25, 2012 12:39 PM ✅Answered | 4 votes

Hi

This thread is getting a bit old, but for those of you that are experiencing an issue with the 'New' Web Application button being greyed out; try opening the SharePoint Admin site by starting your browser as an administrator see http://sensoft2000-sharepoint.blogspot.com.au/2010/06/new-ribbon-icon-disabled-in-central.html for details. This blog solved the problem for me.

Regards

Rick

Rick Rofe


Monday, January 18, 2010 12:52 AM

Have you tried creating New-SPWebApplication in SharePoint 2010 Management Shell to create web application? If you are unable to do that as well then we might get an indication of the error and logged in the event viewer.
Blog: Alpesh Nakar's Blog | Twitter: Follow Alpesh on Twitter |SharePoint Resources: Just SharePoint Resource Center | Follow Just SharePoint updates on Twitter


Monday, January 18, 2010 9:51 PM

A possible cause is that your browser incorrectly blocked the scripts so everything would show as disabled in the ribbon.


Tuesday, January 19, 2010 1:12 AM

In that case try using firefox or try what I have suggested earlier.
Blog: Alpesh Nakar's Blog | Twitter: Follow Alpesh on Twitter |SharePoint Resources: Just SharePoint Resource Center | Follow Just SharePoint updates on Twitter


Friday, January 29, 2010 2:52 AM | 1 vote

Sorry it's been awhile since I got back, but I've been fairly busy with other projects.

I tried creating a web application with Firefox 3.6 as the browser but ran into the identical problem.

When I select either default web app, most of the ribbon becomes active except for New, Extend, Delete, and Authentification Providers. When I don't select an existing web app, the entire ribbon is disabled.

I looked at the page http://technet.microsoft.com/en-us/library/cc261875(office.14).aspx and tried to follow the instructions for creating a web app using PowerShell, but among other things, I got a message stating that 'New-SPWebApplication' is not recognized as the name of a cmdlet, function, script file, or operable program.

I finally remembered that I needed to run PowerShell as an administrator, but I'm still sufficiently unclear about the command syntax to cause other error messages:

PS C:\Users\tripwire45> New-SPWebApplication -Name SharePoint Test -Port 8080 -Host
Header http://lab-sp2010:8080 -URL http://lab-sp2010/sites/test -ApplicationPool
 TestAppPool -ApplicationPoolAccount (Get-SPManagedAccount lab-sp2010\tripwire45)
Get-SPManagedAccount : No matching accounts were found.
At line:1 char:198

  • New-SPWebApplication -Name SharePoint Test -Port 8080 -HostHeader http://lab-
    sp2010:8080 -URL http://lab-sp2010/sites/test -ApplicationPool TestAppPool -App
    licationPoolAccount (Get-SPManagedAccount <<<<  lab-sp2010\tripwire45)
        + CategoryInfo          : InvalidData: (Microsoft.Share...tManagedAccount:
       SPCmdletGetManagedAccount) [Get-SPManagedAccount], InvalidOperationExcepti
      on
        + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletGetManag
       edAccount

New-SPWebApplication : A positional parameter cannot be found that accepts argu
ment 'Test'.
At line:1 char:21

  • New-SPWebApplication <<<<  -Name SharePoint Test -Port 8080 -HostHeader http:
    //lab-sp2010:8080 -URL http://lab-sp2010/sites/test -ApplicationPool TestAppPoo
    l -ApplicationPoolAccount (Get-SPManagedAccount lab-sp2010\tripwire45)
        + CategoryInfo          : InvalidArgument: (:) [New-SPWebApplication], Par
       ameterBindingException
        + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.SharePoint
       .PowerShell.SPCmdletNewSPWebApplication

At this point, I'm not expecting anyone to outright solve this for me, but if you could point me to my error and where I can do the research to find the solution, I'd be grateful.

Thanks.


Friday, January 29, 2010 3:01 AM

I guess I get the OH DUH award. I was logged in as "me" and don't have sufficient permissions to create a new web app. Logged in as Administrator and the ribbon is active.

I still wouldn't mind a hand in figuring out my errors in creating a web app in PowerShell though. Thanks.


Friday, February 26, 2010 8:04 PM

I think you need to register your service account as a managed account on CA's Security page by clicking configure managed accounts.

Then, you site name SharePoint Test needs to be in quotes to support the blank space character.

hth-
JKncjks


Wednesday, April 7, 2010 10:53 PM | 2 votes

It may also be related to how you launch the browser (IE) in W2K8. Run it as Administrator and you should see the Create Web Application option enabled.

 

HTH.

-- With Regards Shailen Sukul Software Architect/Developer/Consultant/Trainer (BSc | Mct | Mcpd | Mcts (Sharepoint, Biztalk, Web, Win, Dist Apps) | Mcsd.NET | Mcsd | Mcad) MSN | Skype | GTalk Id: shailensukul Blog: http://shailen.sukul.org


Tuesday, May 11, 2010 9:29 AM | 2 votes

Hi,

I also faced the same problem...

To solve this issue I changed the UAC setting

Navigate to following path:

Control Panel \System and Security \Change User Account Control settings

and set the Slider bar to "Never Notify "

Regards, Avinash | avinashkt.blogspot.com


Wednesday, June 30, 2010 1:12 PM

Yep this worked for me as well - It looks like this is an issue when you load up SP2010 on windows 7 for a dev environment.

I had several problems and ended up uninstalling and starting again.  The plethora of issue were all security related and I was using this guide:

http://msdn.microsoft.com/en-us/library/ee554869.aspx

Its very good but a couple of tweaks that were essential for me :

Right click the SP2010 setup.exe and run as administrator the installation was text book with one exception I couldn create web applications.

Found and implemented this fix:

·         Hi,

I also faced the same problem...

To solve this issue I changed the UAC setting

Navigate to following path:

Control Panel \System and Security \Change User Account Control settings

and set the Slider bar to "Never Notify "


Regards, Avinash | avinashkt.blogspot.com

And it all works a treat – now have a robust dev machine –on my laptop – life’s good….

 


Wednesday, October 20, 2010 4:02 PM

Avinash

 

I wish I had seem your suggestion re the UAC setting -> Never Notify  earlier, as I have spent a few hours on this checking and setting various options inc WSS_Content db roles... I have just done as you suggested and I have not only got a"New"Button enabled in Web Application Management  but also I am able to login to the team site as a different user.. previously, before the UAC setting I would get an "unknown error".

Cheers

 

Daniel

 


Wednesday, December 8, 2010 7:42 AM

Guys,

Thank you Shailen, but I can't believe that. could somebody please tell me, why should I run IE as Administrator on winserver2008 in order for the "Create New web application" button be Enabled ? Eventhough Sharepoint2010 shows that the same loged in user ???

 

 

 


Tuesday, April 5, 2011 12:56 AM

Strange.  Something must be getting filtered out during pass-through authentication.  I just tried it with Google Chrome and it works the same way.  If I run as Administrator, I can create a new Application.  I guess the UAC functions as a rights firewall of some kind?!?


Thursday, September 22, 2011 6:41 PM

Hi

 

You should be logged in as an Administrator. A farm administrator is not sufficient. I encountered the same problem but then realized i am not logged in an inbuilt administrator account.

 

Once I looged in as "ADMINISTRATOR" its cake walk.

 

Regards

 


Wednesday, April 25, 2012 3:38 PM

Hi 

You log in your system account and create web application.

You capture logs in ULS viwers.


Friday, August 2, 2013 2:09 PM

this worked for me using SharePoint 2013, Server 2012


Thursday, November 21, 2013 2:20 PM

Simple side note - UAC isn't disabled until the machine has been restarted; so reboot after performing this action. This plus running my browser as administrator fixed it for me.


Thursday, August 3, 2017 1:24 PM

I am dealing with SharePoint 2016 on-prem. And had encountered same because my default browser was Microsoft Edge. I have tried with other browsers like Chrome , Firefox but issue was same. But finally when I opened my link in IE 11 then my issue got resolved.

I believe that Edge is also not SharePoint friendly.