Error in creating web application through power shell

hi,
 i have taken the  ps script from the  below url :
credits to Roger  :
http://blogs.msdn.com/b/rcormier/archive/2012/09/01/how-to-create-sharepoint-web-applications-with-powershell.aspx
http://gallery.technet.microsoft.com/Create-SharePoint-Web-742a8fb9
But when i am running the script, i am getting many errors:
Note: i am not using appln pool account password [as i dont know the password]
want to know whether  this paramter is necessary.
$ver = $host | select version
if($Ver.version.major -gt 1) {$Host.Runspace.ThreadOptions = "ReuseThread"}
if(!(Get-PSSnapin Microsoft.SharePoint.PowerShell -ea 0))
Write-Progress -Activity "Loading Modules" -Status "Loading Microsoft.SharePoint.PowerShell"
Add-PSSnapin Microsoft.SharePoint.PowerShell
Write-Progress -Activity "Creating Web Application" -Status "Setting Variables"
#Set Individual Web App Variables
#This is the Web Application URL
$WebApplicationURL = "http://mysrvr:2020/"
#This is the Display Name for the SharePoint Web Application
$WebApplicationName = "myweb1"
#This is the Content Database for the Web Application
$ContentDatabase = "myContentDB"
#Set Common Variables
#This is the Display Name for the Application Pool
$ApplicationPoolDisplayName = "mapppool2020"
#This is identity of the Application Pool which will be used (Domain\User)
$ApplicationPoolIdentity = "mydomain\myidd"
#This is the password of the Appliation Pool account which will be used
#$ApplicationPoolPassword = "Pass@word1"
#This is the Account which will be used for the Portal Super Reader Account
$PortalSuperReader = "i:0#.w|in\hariharan.venugopalk"
#This is the Account which will be used for the Portal Super User Account
$PortalSuperUser = "i:0#.w|in\spinstall.dev"
Write-Progress -Activity "Creating Web Application" -Status "Loading Functions"
#Create Functions
Function CreateClaimsWebApp($WebApplicationName, $WebApplicationURL, $ContentDatabase, $HTTPPort)
    #AppPoolUsed is set when calling the ValidateAppPool function. This will be true if the application pool is already running SharePoint web appplications
    #If the application pool is already being used in web applications, the syntax for New-SPWebApplication changes
    if($AppPoolUsed -eq $True)
        #Create the web application, assign it to the WebApp variable.  The WebApp variable will be used to set object cache user accounts
        Write-Progress -Activity "Creating Web Application" -Status "Using Application Pool With Existing Web Applications"
        Set-Variable -Name WebApp -Value (New-SPWebApplication -ApplicationPool $ApplicationPoolDisplayName -Name $WebApplicationName -url $WebApplicationURL -port $HTTPPort -DatabaseName $ContentDatabase -HostHeader $hostHeader
-AuthenticationProvider (New-SPAuthenticationProvider)) -Scope Script
        #Call the SetObjectCache function, which sets the object cache.
        Write-Progress -Activity "Creating Web Application" -Status "Configuring Object Cache Accounts"
        SetObjectCache
    else
        #Create the web application, assign it to the WebApp variable.  The WebApp variable will be used to set object cache user accounts
        Write-Progress -Activity "Creating Web Application" -Status "Using Application Pool With No Existing Web Applications"
        Set-Variable -Name WebApp -Value (New-SPWebApplication -ApplicationPool $ApplicationPoolDisplayName -ApplicationPoolAccount $AppPoolManagedAccount.Username -Name $WebApplicationName -url $WebApplicationURL -port $HTTPPort
-DatabaseName $ContentDatabase -HostHeader $hostHeader -AuthenticationProvider (New-SPAuthenticationProvider)) -Scope Script
        #Call the SetObjectCache function, which sets the object cache.
        Write-Progress -Activity "Creating Web Application" -Status "Configuring Object Cache Accounts"
        SetObjectCache
Function ValidateURL($WebApplicationURL)
    #Find out if a web application with the target URL exists
    if(get-spwebapplication $WebApplicationURL -ErrorAction SilentlyContinue)
        #If a web application with the specifid URL already exists, wait 5 seconds and exit
        Write-Progress -Activity "Creating Web Application" -Status "Aborting Process Due To URL Conflict"
        Write-Host "Aborting: Web Application $WebApplicationURL Already Exists" -ForegroundColor Red
        sleep 5
        #Setting the CriticalError value to $True results in the script to not create anything
        Set-Variable -Name CriticalError -Value $True
    #If the WebApplicationURL passed is not already a SharePoint web application, find out if it starts with HTTP or HTTPS
    elseif($WebApplicationURL.StartsWith("http://"))
            #If the string starts with http://, and not https://, trim the protocol from the URL.  Set the host as the host header
            Set-Variable HostHeader -Value ($WebApplicationURL.Substring(7)) -Scope Script
            #If we're using HTTP, use port 80
            Set-Variable -Name HTTPPort -Value "80" -Scope Script
        elseif($WebApplicationURL.StartsWith("https://"))
            #If the string starts with https://, and not http://, trim the protocol from the URL.  Set the host as the host header
            Set-Variable HostHeader -Value ($WebApplicationURL.Substring(8)) -Scope Script
            #If we're using HTTPS, use port 443
            Set-Variable -Name HTTPPort -Value "443" -Scope Script
Function ValidateAppPool($AppPoolName, $WebApplicationURL)
    #Change the ErrorActionPreference to SilentlyContinue while preserving the original value in a temporary variable
    #Failing to do this will result in error messages being displayed if Get-WebAppPoolState does not return an object.  The script would still continue
    $CurrentErrorActionPreference = $ErrorActionPreference
    $ErrorActionPreference = "SilentlyContinue"
    #Check to see if an application pool with the name passed by the AppPoolName variable already exists, assign this to a variable.
    #This variable will be used in order to determine if the application pool exists, but is not part of SharePoint
    $TestAppPool = Get-WebAppPoolState $AppPoolName
    #If we have a SharePoint application pool with the value passed by the AppPoolName variable, find out if there are any sites using that app pool
    #This changes the syntax used with New-SPWebApplication
    if(Get-SPServiceApplicationPool $AppPoolName)
        #Return all application pools used by all web applications
        $AppPools = Get-SPWebApplication | select ApplicationPool
        #Providing there is more than one application pool, find out what their names are
        if($AppPools)
            foreach($Pool in $AppPools)
                #Get The application pool display name for each application pool returned
                [Array]$Poolchild = $Poolchild += ($Pool.ApplicationPool.DisplayName)
                #If any application pool matches the value passed by ApplicationPoolDisplayName, set AppPoolUsed to True
                #This is referenced in the CreateClaimsWebApp function
                if($Poolchild.Contains($ApplicationPoolDisplayName))
                    Set-Variable -Name AppPoolUsed -Value $True -Scope Script
                #If the application pool display name does not match the value passed by ApplicationPoolDisplayName, set AppPoolUsed to False
                #This is referenced in the CreateClaimsWebApp function
                else
                    Set-Variable -Name AppPoolUsed -Value $False -Scope Script
        #Since this is a SharePoint Application Pool, set the AppPool value to the the SPServiceApplicationPool object returned
        Set-Variable -Name AppPool -Value (Get-SPServiceApplicationPool $AppPoolName) -scope Script
        #Set the AppPoolManagedAccount variable to the name of the managed acount used by the application pool returned
        #AppPoolManagedAccount is used in the CreateClaimsWebApp function if the application pool does not have existing web applications that are using it
        Set-Variable -Name AppPoolManagedAccount -Value (Get-SPManagedAccount | ? {$_.username -eq ($AppPool.ProcessAccountName)}) -scope Script
    #Check to see if the application pool is in IIS, but is not a SharePoint app pool
    elseif($TestAppPool)
        #If the application pool exists in IIS and is not a SharePoint application pool, abort the script by setting CriticalError to True
        Write-Host "Aborting: Application Pool $AppPoolName already exists on the server and is not a SharePoint Application Pool `n`rWeb Application `"$WebApplicationURL`" will not be created" -ForegroundColor
Red
        Set-Variable -Name CriticalError -Value $True
    #If it's not a SharePoint app pool, and it doesn't exist in IIS, we have to create one
    elseif(!($TestAppPool))
        #Find out if a managed account exists by calling the ValidateManagedAccount function
        validateManagedAccount $ApplicationPoolIdentity
        #If the managed account exists, create an application pool using the existing managed account
        if($ManagedAccountExists -eq $True)
            #Set the AppPoolManagedAccount to the identity of the managed acocunt referenced by the ApplicationPoolIdentity variable
            Write-Host "Creating New App Pool using Existing Managed Account"
            Set-Variable -Name AppPoolManagedAccount -Value (Get-SPManagedAccount $ApplicationPoolIdentity | select username) -scope "Script"
            #Create a new SPServiceApplicationPool, assign that to the AppPool variable
            Set-Variable -Name AppPool -Value (New-SPServiceApplicationPool -Name $ApplicationPoolDisplayName -Account $ApplicationPoolIdentity) -scope "Script"
        #If there is no managed account matching the account referenced by the ApplicationPoolIdentity, create it
        else
            #Use the ApplicationPoolIdentity and ApplicationPoolPassword to create a credential object
            #This is necessary when creating a new managed account
            Write-Host "Creating New Managed Account And App Pool"
            $AppPoolCredentials = New-Object System.Management.Automation.PSCredential $ApplicationPoolIdentity, (ConvertTo-SecureString $ApplicationPoolPassword -AsPlainText -Force)
            #Create a new managed account, assign that to the AppPoolManagedAccount variable
            Set-Variable -Name AppPoolManagedAccount -Value (New-SPManagedAccount -Credential $AppPoolCredentials) -scope "Script"
            #Create a new application pool using the new managed account, assign this to the AppPool variable
            Set-Variable -Name AppPool -Value (New-SPServiceApplicationPool -Name $ApplicationPoolDisplayName -Account (get-spmanagedaccount $ApplicationPoolIdentity)) -scope "Script"
    #Return the ErrorActionPreference to the default value
    $ErrorActionPreference = $CurrentErrorActionPreference
Function ValidateManagedAccount($ApplicationPoolIdentity)
    #Find out if the manage account referenced by the AppPoolIdentity already exists
    #If it does, set ManagedAccountExists to True
    if(Get-SPManagedAccount $ApplicationPoolIdentity -ErrorAction SilentlyContinue)
        Set-Variable -Name ManagedAccountExists -Value $True -Scope Script
    #If it does not, set ManagedAccountExists to False
    else
        Set-Variable -Name ManagedAccountExists -Value $False -Scope Script
Function ClearScriptVariables
    #Set the ErrorActionPreference to SilentlyContinue
    #If this is not set, and the script variables referenced have not been set, an error message will be returned.  The script would still continue
    $CurrentErrorActionPreference = $ErrorActionPreference
    $ErrorActionPreference = "SilentlyContinue"
    #Remove the CriticalError variable
    Remove-Variable $CriticalError -ErrorAction SilentlyContinue
    $ErrorActionPreference = $CurrentErrorActionPreference
Function SetObjectCache
    #Set object cache user account properties based on the value of the parameters supplied
    $WebApp.Properties["portalsuperuseraccount"] = $PortalSuperUser
    $WebApp.Properties["portalsuperreaderaccount"] = $PortalSuperReader
    #Create a New Policy for the Super User
    $SuperUserPolicy = $WebApp.Policies.Add($PortalSuperUser, "Portal Super User Account")
    #Assign Full Control To the Super User
    $SuperUserPolicy.PolicyRoleBindings.Add($WebApp.PolicyRoles.GetSpecialRole([Microsoft.SharePoint.Administration.SPPolicyRoleType]::FullControl))
    #Create a New Policy for the Super Reader
    $SuperReaderPolicy = $WebApp.Policies.Add($PortalSuperReader, "Portal Super Reader Account")
    #Assign Full Read to the Super Reader
    $SuperReaderPolicy.PolicyRoleBindings.Add($WebApp.PolicyRoles.GetSpecialRole([Microsoft.SharePoint.Administration.SPPolicyRoleType]::FullRead))
    #Commit these changes to the web application
    $WebApp.Update()
#Script
#Call the ClearScriptVariables function to empty out varialbes that should be blank when the script executes.
ClearScriptVariables
#Validate the URL passed by calling the ValidateURL function
Write-Progress -Activity "Creating Web Application" -Status "Validating Web Application URL Variables"
ValidateURL $WebApplicationURL
#Validate the application pool variables by calling the ValidateAppPool function
Write-Progress -Activity "Creating Web Application" -Status "Validating Application Pool Variables"
ValidateAppPool $ApplicationPoolDisplayName $WebApplicationURL
#As long as CriticalError has not been set, create the web application using the variables passed.
if(!($CriticalError))
Write-Progress -Activity "Creating Web Application" -Status "Creating Claims-Based Web Application"
CreateClaimsWebApp $WebApplicationName $WebApplicationURL $ContentDatabase $HTTPPort
error  is thrown below:
deployment
S D:\myworkspace\bif> iisreset
ttempting stop...
nternet services successfully stopped
ttempting start...
nternet services successfully restarted
S D:\myworkspace\bif> .\CreateSP2013ClaimsWebApplication.ps1
reating New Managed Account And App Pool
ew-SPWebApplication : "mysrvr:2020/" contains invalid character ':'.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:68 char:43
         Set-Variable -Name WebApp -Value (New-SPWebApplication
ApplicationPool  ...
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
   + CategoryInfo         
: InvalidData: (Microsoft.Share...PWebApplication:
  SPCmdletNewSPWebApplication) [New-SPWebApplication], ArgumentException
   + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPWeb
  Application
annot index into a null array.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:235 char:5
     $WebApp.Properties["portalsuperuseraccount"] = $PortalSuperUser
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   + CategoryInfo         
: InvalidOperation: (:) [], RuntimeException
   + FullyQualifiedErrorId : NullArray
cannot index into a null array.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:236 char:5
     $WebApp.Properties["portalsuperreaderaccount"] = $PortalSuperReader
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   + CategoryInfo         
: InvalidOperation: (:) [], RuntimeException
   + FullyQualifiedErrorId : NullArray
ou cannot call a method on a null-valued expression.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:239 char:5
     $SuperUserPolicy = $WebApp.Policies.Add($PortalSuperUser, "Portal Super
ser ...
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
   + CategoryInfo         
: InvalidOperation: (:) [], RuntimeException
   + FullyQualifiedErrorId : InvokeMethodOnNull
ou cannot call a method on a null-valued expression.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:242 char:5
SuperUserPolicy.PolicyRoleBindings.Add($WebApp.PolicyRoles.GetSpecialRole([
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
   + CategoryInfo         
: InvalidOperation: (:) [], RuntimeException
   + FullyQualifiedErrorId : InvokeMethodOnNull
ou cannot call a method on a null-valued expression.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:245 char:5
     $SuperReaderPolicy = $WebApp.Policies.Add($PortalSuperReader, "Portal
uper  ...
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
   + CategoryInfo         
: InvalidOperation: (:) [], RuntimeException
   + FullyQualifiedErrorId : InvokeMethodOnNull
ou cannot call a method on a null-valued expression.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:248 char:5
SuperReaderPolicy.PolicyRoleBindings.Add($WebApp.PolicyRoles.GetSpecialRole
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~
   + CategoryInfo         
: InvalidOperation: (:) [], RuntimeException
   + FullyQualifiedErrorId : InvokeMethodOnNull
ou cannot call a method on a null-valued expression.
t D:\myworkspace\bif\CreateSP2013ClaimsWebApplication.ps1:251 char:5
     $WebApp.Update()
     ~~~~~~~~~~~~~~~~
   + CategoryInfo         
: InvalidOperation: (:) [], RuntimeException
   + FullyQualifiedErrorId : InvokeMethodOnNull

Hi Benjamin,
If you're getting a Null Value error anywhere, that means a variable you're referencing isn't set to anything. If you're getting that try echoing out each variable after it's assigned to see if it's set to anything.
The link you are referring is for SharePoint 2010 and verified on Windows Server 2008 R2 and 2008, but not Windows Server 2012.
The approach in this case includes the following per the blog:
Check to see if a web application with the current specified URL is already in use – exit if it is
Check to see if an application pool with the name already exists. If so use it, otherwise create one
Create a web application based on the parameters specified
Assign the object cache properties to the new web application
Create policies for the object cache users to the web application
To simplified the code, we could use powershell below to check if web application and application pool have been already in use ahead. And skip the last two steps in the first time.
Get-SPWebApplication | fl displayname, applicationpool
Please refer to New-SPWebApplication
which is used to create a new web application within the local farm:
http://technet.microsoft.com/en-us/library/ff607931(v=office.15).aspx. Only two parameters i.e. ApplicationPool and Name are required, we could try a simple command at first:
Please run Get-SPManagedAccount to check the managed account, then execute the command below:
$ap = New-SPAuthenticationProvider
New-SPWebApplication -Name "Contoso Internet Site" -Port 2014 -ApplicationPool "ContosoAppPool" -ApplicationPoolAccount (Get-SPManagedAccount "Domain\Administrator")
 -AuthenticationProvider $ap -SecureSocketsLayer
Regards,
Rebecca Tu
TechNet Community Support

Similar Messages

  • Error while running web application through JDEV (10.1.3.0.3) in OC4J

    Error while running web application through JDEV (10.1.3.0.3) in OC4J.
    Here is the error message.
    07/10/02 14:45:28 Exception in thread "OC4J Launcher" oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: javax.xml.bind.JAXBContext
         Dependent class: com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl
         Loader: oc4j:10.1.3
         Code-Source: /C:/jdev/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar
    The missing class is not available from any code-source or loader in the server.
    07/10/02 14:45:28      at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2073) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1681) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
         at com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl.init (InternalSettingsORBConfigImpl.java:46) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.corba.ee.impl.orb.config.SunRIORBConfigImpl.init (SunRIORBConfigImpl.java:97) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.iiop.server.IIOPServerExtensionProvider.configureOrb (IIOPServerExtensionProvider.java:26) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.corba.ee.impl.orb.ORBServerExtensionProviderImpl.preInitApplicationServer (ORBServerExtensionProviderImpl.java:45) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.serverExtensionPreInit (ApplicationServer.java:1031) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:861) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]

    Hi,
    The guide you were refering was pointing to 10.1.2 wizards.
    For the latest 10.1.3 tutorial, please follow the below tutorial link :
    http://www.oracle.com/technology/products/jdev/101/tutorials/WS/WSandAScontrol.htm
    Hope this helps,
    Sunil..

  • Error While create web application

    When I try to create new web application on my server it return error as the Virtual directory already in use. For example if I create the web application in 9090 port means it shown the error the virtual directory 9090 was already used by other application
    . but I am sure there are no site in the directory. I am try with 3 or 4 different port same problem. I have try to create web application with host header and without host header also same problem was occur.
    Any Suggestion? Thanks in advance
    Ravin Singh D

    Hi Ravin,
    According to your description, my understanding is that you got an error when you create a new web application.
    Please log on the server with administrator account.
    And please check the followings:
    Ensure you have a proper dns name / entry in the hosts file of your server for the new url you are wanting to create.
    Ensure you have typed in the ‘host header’ typed in when creating the new web application.
    If this doesnt work, open IIS Manager – Start>run> inetmgr> and verify the home directory – it could be located on a different drive.
    More information:
    http://www.jeremytaylor.net/2010/01/13/the-directory-cinetpubwwwrootwssvirtualdirectories80-is-already-being-used-by-another-iis-web-site-choose-a-different-root-directory-for-your-new-web-application/
    If this issue still exists, please check the log file to find more information about this issue. The path of the file is: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Error while creating planning application through workspace

    Hi,
    I am getting the following error when i am trying to create the classic planning application through workspace.
    Invalid or could not find module configuration.
    Required application module HyperionPlanning.AppWizard is not configured. Please contact your administrator.
    Communication Error.
    http://localhost:45000/HyperionPlanning/conf/HspJSConfig.xml?LOCALE_LANGUAGE=en
    Please suggest me how to resolve this error. Also please share the order in which services to start.
    Thanks in Advance,
    Naveen Suram

    Hi John,
    I am facing the same issue. Reconfiguring Web server did not help. It is still not coming up and the link to planning that you have shared here is also not working. I am doing it on RHEL and facing issue with the same. Any help will be greatly appreciated. I checked the mod_jk log which has the following:
    *[Tue Jan 31 20:17:01 2012] [info] ajp_send_request::jk_ajp_common.c (1186): Error connecting to the Tomcat process.*
    *[Tue Jan 31 20:17:01 2012] [info] ajp_service::jk_ajp_common.c (1665): Sending request to tomcat failed, recoverable operation attempt=2*
    *[Tue Jan 31 20:17:01 2012] [error] ajp_service::jk_ajp_common.c (1673): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=Workspace failed errno = 111*
    *[Tue Jan 31 20:17:01 2012] [info] jk_handler::mod_jk.c (1875): Service error=0 for worker=Workspace*
    I don't know what to do now.
    Thanks in advance.
    Saurabh

  • Error when creating Web Application

    We have a 2 server farm connecting to a SQL cluster.  Servers 1 and 2 are web Front Ends.  When I want create in central admin a new web app  I get the following error.  It actually creates the content DB and I can see new web app in
    central admin but in IIS folder of this web site is empty - no files, no any folders inside.  
    I'll be grateful
    for the help.
    02/03/2014 10:27:37.38     w3wp.exe (0x0CFC)                           0x1E18    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Request
    (GET:http://tstwfe1:8000/systemsettings.aspx))    
    02/03/2014 10:27:37.38     w3wp.exe (0x0CFC)                           0x1E18    SharePoint Foundation       
         Logging Correlation Data          xmnv    Medium      Name=Request (GET:http://tstwfe1:8000/systemsettings.aspx)    12fc5e18-5b16-43a9-8863-e508d74e7b04
    02/03/2014 10:27:37.38     w3wp.exe (0x0CFC)                           0x1E18    SharePoint Foundation       
         Logging Correlation Data          xmnv    Medium      Site=/    12fc5e18-5b16-43a9-8863-e508d74e7b04
    02/03/2014 10:27:37.38     w3wp.exe (0x0CFC)                           0x1E18    SharePoint Foundation       
         Monitoring                        b4ly    High        Leaving Monitored Scope
    (PostResolveRequestCacheHandler). Execution Time=8.4318    12fc5e18-5b16-43a9-8863-e508d74e7b04
    02/03/2014 10:27:37.42     w3wp.exe (0x0CFC)                           0x1E18    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Request
    (GET:http://tstwfe1:8000/systemsettings.aspx)). Execution Time=28.2169    12fc5e18-5b16-43a9-8863-e508d74e7b04
    02/03/2014 10:27:38.17     OWSTIMER.EXE (0x05F8)                       0x245C    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Timer
    Job SchedulingApproval)    55797bac-6375-4f51-8dca-a20ff1374183
    02/03/2014 10:27:38.17     OWSTIMER.EXE (0x05F8)                       0x245C    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Timer Job
    SchedulingApproval). Execution Time=4.3691    55797bac-6375-4f51-8dca-a20ff1374183
    02/03/2014 10:27:40.16     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Timer
    Job UpdateHiddenListJobDefinition)    90c4a860-31eb-4c79-8074-f1b5dfcc9434
    02/03/2014 10:27:40.16     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Foundation       
         Database                          4ohp    High        Enumerating
    all sites in SPWebApplication Name=SP - xxxT - Edit.    90c4a860-31eb-4c79-8074-f1b5dfcc9434
    02/03/2014 10:27:40.16     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Foundation       
         Database                          4ohq    Medium      Site Enumeration Stack:   
    at Microsoft.SharePoint.Administration.SPSiteCollection.get_Item(Int32 index)     at Microsoft.SharePoint.Taxonomy.UpdateHiddenListJobDefinition.Execute(Guid targetInstanceId)     at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition
    jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)     at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result)      90c4a860-31eb-4c79-8074-f1b5dfcc9434
    02/03/2014 10:27:40.16     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Server           
         Taxonomy                          hy93    Medium      Skipping check for the
    metadata hub timer job because no metadata proxies are active    90c4a860-31eb-4c79-8074-f1b5dfcc9434
    02/03/2014 10:27:40.16     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Server           
         Taxonomy                          fuc1    Medium      Hidden list full sync
    timer job is being created and associated with the web application SP - xxxT - Edit.    90c4a860-31eb-4c79-8074-f1b5dfcc9434
    02/03/2014 10:27:40.16     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Server           
         Taxonomy                          fuc3    Medium      Hidden list full sync
    timer job was not created and associated with the web application SP - xxxT - Edit.  jobDefinition was already set.    90c4a860-31eb-4c79-8074-f1b5dfcc9434
    02/03/2014 10:27:40.16     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Foundation       
         Database                          4ohp    High        Enumerating
    all sites in SPWebApplication Name=SP - xxxT - Edit.    90c4a860-31eb-4c79-8074-f1b5dfcc9434
    02/03/2014 10:27:40.16     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Foundation       
         Database                          4ohq    Medium      Site Enumeration Stack:   
    at Microsoft.SharePoint.Administration.SPSiteCollection.get_Count()     at Microsoft.SharePoint.Taxonomy.UpdateHiddenListJobDefinition.Execute(Guid targetInstanceId)     at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition
    jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)     at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result)      90c4a860-31eb-4c79-8074-f1b5dfcc9434
    02/03/2014 10:27:40.16     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Foundation       
         Database                          4ohp    High        Enumerating
    all sites in SPWebApplication Name=SP - xxxT - Edit.    90c4a860-31eb-4c79-8074-f1b5dfcc9434
    02/03/2014 10:27:40.16     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Foundation       
         Database                          4ohq    Medium      Site Enumeration Stack:   
    at Microsoft.SharePoint.Administration.SPSiteCollection.get_Item(Int32 index)     at Microsoft.SharePoint.Taxonomy.UpdateHiddenListJobDefinition.Execute(Guid targetInstanceId)     at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition
    jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)     at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result)      90c4a860-31eb-4c79-8074-f1b5dfcc9434
    02/03/2014 10:27:40.16     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Timer Job
    UpdateHiddenListJobDefinition). Execution Time=8.8473    90c4a860-31eb-4c79-8074-f1b5dfcc9434
    02/03/2014 10:27:41.16     OWSTIMER.EXE (0x05F8)                       0x198C    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Timer
    Job Health Statistics Updating)    ce9fe0e0-860a-4405-bffa-91bfcac0028f
    02/03/2014 10:27:41.16     OWSTIMER.EXE (0x05F8)                       0x198C    SharePoint Foundation       
         Topology                          8xqz    Medium      Updating SPPersistedObject
    SearchServiceApplicationMonitoring Name=Monitoring_7F19A5D194F942e6A9856FCFD6EE6F63. Version: 3978663 Ensure: False, HashCode: 60815176, Id: 1a82c0b8-4208-4199-9689-7f82fd256b00, Stack:    at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()    
    at Microsoft.Office.Server.Search.Monitoring.TraceDiagnosticsProvider.UpdateServiceApplicationHealthStats()     at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService,
    Int32& result)     at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result)      ce9fe0e0-860a-4405-bffa-91bfcac0028f
    02/03/2014 10:27:41.20     OWSTIMER.EXE (0x05F8)                       0x198C    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Timer Job
    Health Statistics Updating). Execution Time=25.0976    ce9fe0e0-860a-4405-bffa-91bfcac0028f
    02/03/2014 10:27:43.46     w3wp.exe (0x0CFC)                           0x168C    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Request
    (GET:http://tstwfe1:8000/_admin/SelectCrossFirewallAccessZone.aspx))    
    02/03/2014 10:27:43.46     w3wp.exe (0x0CFC)                           0x168C    SharePoint Foundation       
         Logging Correlation Data          xmnv    Medium      Name=Request (GET:http://tstwfe1:8000/_admin/SelectCrossFirewallAccessZone.aspx)    746d4c9b-761b-431e-90cc-0557bc3826d4
    02/03/2014 10:27:48.16     OWSTIMER.EXE (0x05F8)                       0x18EC    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Timer
    Job SchedulingApproval)    9855194f-cb44-486f-b282-a578f72a938f
    02/03/2014 10:27:48.16     OWSTIMER.EXE (0x05F8)                       0x18EC    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Timer Job
    SchedulingApproval). Execution Time=3.6232    9855194f-cb44-486f-b282-a578f72a938f
    02/03/2014 10:27:50.16     OWSTIMER.EXE (0x05F8)                       0x0928    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Timer
    Job Search Health Monitoring - Trace Events)    6755d54d-03bd-42ed-8bd6-d0fa097e7daf
    02/03/2014 10:27:50.16     OWSTIMER.EXE (0x05F8)                       0x0928    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Timer Job
    Search Health Monitoring - Trace Events). Execution Time=6.6128    6755d54d-03bd-42ed-8bd6-d0fa097e7daf
    02/03/2014 10:27:53.94     SPUCHostService.exe (0x09EC)                0x0ACC    SharePoint Foundation           
     Sandboxed Code Service            fe8b    Medium       -  - Unable to activate worker process proxy object within the worker process: ipc://29ffade5-9a06-4ec5-b96b-f3b69c7a6952:7000  
    02/03/2014 10:27:53.94     SPUCHostService.exe (0x09EC)                0x0ACC    SharePoint Foundation           
     Sandboxed Code Service            fe8c    Medium       -  - Error activating the worker process manager instance within the worker process. - Inner Exception: System.InvalidOperationException:
    Unable to activate worker process proxy object within the worker process: ipc://29ffade5-9a06-4ec5-b96b-f3b69c7a6952:7000     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.CreateWorkerProcessProxies()    
    02/03/2014 10:27:53.94     SPUCHostService.exe (0x09EC)                0x0ACC    SharePoint Foundation           
     Sandboxed Code Service            ei0t    Medium       - Process creation/initialization threw an exception. Stopping this process. "ipc://ca3d652e-8f80-4789-b527-65b8376a1da8:7000"  
    02/03/2014 10:27:53.94     SPUCHostService.exe (0x09EC)                0x0ACC    SharePoint Foundation           
     Sandboxed Code Service            i0o2    Monitorable     - Stopping shim process. Shim process name: "SPUCWorkerProcess" Shim PID: "0x29E8" Shim service
    url: "ipc://ca3d652e-8f80-4789-b527-65b8376a1da8:7000"    
    02/03/2014 10:27:53.94     SPUCHostService.exe (0x09EC)                0x0ACC    SharePoint Foundation           
     Sandboxed Code Service            i0o3    Monitorable     - Stopping proxy process. Proxy process name: "SPUCWorkerProcessProxy" Proxy PID: "0x236C" Proxy
    service url: "ipc://29ffade5-9a06-4ec5-b96b-f3b69c7a6952:7000"    
    02/03/2014 10:27:53.94     SPUCHostService.exe (0x09EC)                0x0ACC    SharePoint Foundation           
     Sandboxed Code Service            fe87    Medium       -  - Error activating the worker process manager instance within the worker process. - Starting worker process
    threw - Inner Exception: System.InvalidOperationException: Unable to activate worker process proxy object within the worker process: ipc://29ffade5-9a06-4ec5-b96b-f3b69c7a6952:7000     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.CreateWorkerProcessProxies()  
    02/03/2014 10:27:54.93     w3wp.exe (0x0CFC)                           0x168C    SharePoint Foundation       
         Logging Correlation Data          xmnv    Medium      Site=/    746d4c9b-761b-431e-90cc-0557bc3826d4
    02/03/2014 10:27:55.08     w3wp.exe (0x0CFC)                           0x168C    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Request
    (GET:http://tstwfe1:8000/_admin/SelectCrossFirewallAccessZone.aspx)). Execution Time=11622.9457    746d4c9b-761b-431e-90cc-0557bc3826d4
    02/03/2014 10:27:57.18     OWSTIMER.EXE (0x05F8)                       0x1B24    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Timer
    Job SchedulingApproval)    824bd8e1-df0a-432b-9f18-5824b5c10e6d
    02/03/2014 10:27:57.18     OWSTIMER.EXE (0x05F8)                       0x1B24    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Timer Job
    SchedulingApproval). Execution Time=7.0564    824bd8e1-df0a-432b-9f18-5824b5c10e6d
    02/03/2014 10:28:00.17     OWSTIMER.EXE (0x05F8)                       0x245C    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Timer
    Job job-immediate-alerts)    9a92f513-e5bc-4475-91e3-a9c178554748
    02/03/2014 10:28:00.21     OWSTIMER.EXE (0x05F8)                       0x245C    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Timer Job
    job-immediate-alerts). Execution Time=16.4731    9a92f513-e5bc-4475-91e3-a9c178554748
    02/03/2014 10:28:00.35     SPUCHostService.exe (0x09EC)                0x0CB8    SharePoint Foundation           
     Sandboxed Code Service            f2yg    Medium       - CreateSandBoxedProcessWorker() is called    
    02/03/2014 10:28:00.38     SPUCHostService.exe (0x09EC)                0x0CB8    SharePoint Foundation           
     Sandboxed Code Service            b10e    Medium       - Created desktop: Service-0x0-86b8876$\Microsoft Office Isolated Environment     
    02/03/2014 10:28:00.67     SPUCWorkerProcess.exe (0x26B4)              0x1D98    SharePoint Foundation             Unified
    Logging Service           b8fx    High        ULS Init Completed (SPUCWorkerProcess.exe, onetnative.dll)    
    02/03/2014 10:28:05.72     SPUCWorkerProcess.exe (0x26B4)              0x26BC    SharePoint Foundation             Unified
    Logging Service           7a8a    Medium      LogWMIData: ConnectServer failed: 0x80041003    
    02/03/2014 10:28:06.17     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Timer
    Job job-application-server-admin-service)    2bdc150f-c10c-4fdc-9630-76f5fe204fb4
    02/03/2014 10:28:06.17     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Server Search    
         Administration                    dkd5    High        synchronizing search service instance  
     2bdc150f-c10c-4fdc-9630-76f5fe204fb4
    02/03/2014 10:28:06.17     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Server Search    
         Administration                    eff0    High        synchronizing search data access service instance  
     2bdc150f-c10c-4fdc-9630-76f5fe204fb4
    02/03/2014 10:28:07.36     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Server Search    
         Administration                    dl2i    Medium      Search application 'Search Service Application': Provision
    start addresses in default content source.    2bdc150f-c10c-4fdc-9630-76f5fe204fb4
    02/03/2014 10:28:07.36     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Server Search    
         Administration                    fa0w    Medium      Search application name is 'Search Service Application'.  
     2bdc150f-c10c-4fdc-9630-76f5fe204fb4
    02/03/2014 10:28:07.36     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Server Search    
         Administration                    fa0x    Medium      Fetching UserProfileApplicationCollection...  
     2bdc150f-c10c-4fdc-9630-76f5fe204fb4
    02/03/2014 10:28:07.36     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Server Search    
         Administration                    fa0y    Medium      Fetching UserProfileApplication...    2bdc150f-c10c-4fdc-9630-76f5fe204fb4
    02/03/2014 10:28:07.39     OWSTIMER.EXE (0x05F8)                       0x1808    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Timer Job
    job-application-server-admin-service). Execution Time=1227.1104    2bdc150f-c10c-4fdc-9630-76f5fe204fb4
    02/03/2014 10:28:10.17     OWSTIMER.EXE (0x05F8)                       0x198C    SharePoint Foundation       
         Monitoring                        nasq    Medium      Entering monitored scope (Timer
    Job SchedulingUnpublish)    77ac5e41-7215-4783-b3ca-e9ff8aec57fd
    02/03/2014 10:28:10.19     OWSTIMER.EXE (0x05F8)                       0x198C    SharePoint Foundation       
         Monitoring                        b4ly    Medium      Leaving Monitored Scope (Timer Job
    SchedulingUnpublish). Execution Time=4.763    77ac5e41-7215-4783-b3ca-e9ff8aec57fd
     

    Hi Iron34,
    Looks like the SharePoint Foundation Sandboxed Code Service is having an issue.  You could see if the SharePoint 2010 User Code Host Service is enabled via services.msc, and then either disable it, or go to Manage Services on Server under system settings
    and turn off Microsoft SharePoint Foundation Sandboxed Code Service, if you're not concerned with containing user solutions, and then give the deployment another run.
    if the issue persists, adjust >
    http://www.sharepointpapa.com/blog/_layouts/15/start.aspx#/Lists/Posts/Post.aspx?ID=20
    Cheers,
    Stacy
    Stacy Anothersharepointblog.blogspot.com

  • Object null reference error while creating Web applications, Service applications etc after restoring AD accounts

    Hi,
    The old Active Directory accounts of my server were removed, those accounts are used by some of the SharePoint sites. A new AD account was created and when I try to replace the old accounts with new I am facing issue. I am also unable to create new web application,
    service application from my Central Administration. I also tried by restoring old accounts but still I am facing same issues, I
    am getting the error message Object
    reference not set to an instance of an object. for any create activities in Central Administration.
    Thanks in Advance for your help

    Thanks for the reply. When I am trying to update service account of services also I am getting error
    message Object
    reference not set to an instance of an object. i.e., while selecting component(web/service application from drop down) redirecting to error page

  • Error occured when I create Web Application by SharePoint 2013

    SharePoint 2013 can not create Web Application.
    The ULS log contains tons of the below error.
    Does anyone know how to fix those Process errors?
    Process: w3wp.exe (0x0EE4)
    Product: Web Content Management
    Category: Publishing Cache
    Level: Unexpected
    Message: SPReaderWriterLock named [Process Context Lock] held for 1438 milliseconds.
    Call stack:   
     in Microsoft.SharePoint.Utilities.SPReaderWriterLock.SPReaderWriterLockScope.Dispose()   
     in Microsoft.SharePoint.SPProcessContext.Get[T]()
     in Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Farm()
     in Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm& farm, Boolean& isJoined)
     in Microsoft.SharePoint.Administration.SPServiceApplication.get_Current()
     in Microsoft.SharePoint.SPServiceHostOperations.Configure(ServiceHostBase serviceHost, SPServiceAuthenticationMode authenticationMode)
     in Microsoft.SharePoint.Taxonomy.MetadataWebServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
     in System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
     in System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity)
     in System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
     in System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)
     in System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()
     in System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
     in System.ServiceModel.Activation.HostedHttpRequestAsyncResult.OnBeginRequest(Object state)
     in System.Runtime.IOThreadScheduler.ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
     in System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)
     in System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)       

    Hi RuiHigashiyama,
    Do you find a solution for this issue?
    If yes, please share the solution, it will be beneficial to others in this forum who meet the same issue in the future.
    Best Regrads,
    Wendy
    Wendy Li
    TechNet Community Support

  • Error while creating Classic Application

    Hi All,
    While creating classic application through Application wizard i am facing a error "An error occured while processing this page. Please check the logs." I am getting this error when i click 'Finish' on last page. Both the Oracle and Essbase Connections are fine and validated. Any idea for this error? Where i can check the logs as suggested in error message?
    I am using the version 11.1.2
    Thanks a lot
    Edited by: Ashu on Jun 15, 2011 10:42 PM

    If on windows have a look in <MIDDLEWARE_HOME>/user_projects/epmsystem1/diagnostics/logs/services
    There will be two planning log files.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error when Creating Web Dynpro Model in CAF-Service

    Hi All,
    I reaaly need help. AFter updating to SPS 9, it was necessary to redeploy my Entity Service. That contains to "Create a Web Dynpro Model" in the Service Explorer,
    to get an interface of the Service in my Web Dynpro Application.
    Before I update to SPS 9, the Application works fine.
    But now, when I want to "Create a Web Dynpro Model" in the NWDS I get the following Error-Message (its not a useful Error-Message):
    <i>Error cannot create Web Dynpro Model:
    Creation of  Web Dynpro model failed. Reason: null </i>
    Thanks for helping me
    Steve

    Hi Aliaksei,
    the problem in the thread is the same I got.
    When I use only 7 letters for the operation name, the creation work. When I use more then 7 letters the creation doesnt work.
    But its hard to find a methodname with only 7 letters.
    In SPS 8 I didnt have problems with the length of method names. Why is it so?
    The workspace log:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:45.577
    !MESSAGE Oct 10, 2006 3:12:45 PM         com.sap.ip.mmr.foundation.AssociationsOfObject        [Thread[main,5,main]] Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:45.592
    !MESSAGE Oct 10, 2006 3:12:45 PM         com.sap.ip.mmr.foundation.AssociationsOfObject        [Thread[main,5,main]] Error: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 35, 3c, 3f(:main:, row:1, col:3)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.core.service.FileSystemService.comp... [Thread[main,5,main]] Error: absolute path too long (253) for MDO:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.core.service.FileSystemService.comp... [Thread[main,5,main]] Error: absolute path too long (253) for MDO:
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.webdynpro.implementation.ModelProxy... [Thread[main,5,main]] Error: could not get a valid path for ModelClass "cas.conti.com.sap.cd.database.services.cd_database.changedescriptiontableservice.QChangeDescriptionTableServiceFindByTitle" (path too long?)
    !ENTRY com.tssap.util 4 0 Okt 10, 2006 15:12:48.705
    !MESSAGE Oct 10, 2006 3:12:48 PM  com.sap.ide.metamodel.webdynpro.implementation.ModelProxy... [Thread[main,5,main]] Error: could not get a valid path for ModelClass "cas.conti.com.sap.cd.database.services.cd_database.changedescriptiontableservice.QChangeDescriptionTableServiceFindByTitle" (path too long?)
    Thanks
    Steve

  • "An error occurred creating the application.Check file system permission"

    Hi There ,
    I am facing a problem in creating a webcenter portal webapplication.
    I have followed the steps given in Help topics of Jdeveloper,but after performing all the steps i am getting this error
    "An error occurred creating the application.Check file system permission". Kindly help me to get through this error.
    Regards
    Vivek

    Hi Vivek,
    I hope this is the problem with permission.you Don't have Admin permission to access those folder.
    my Suggestion is
    1.use Administrator account(on windows) for develop applications(its give full access to the folder from your system). or
    2 open your JDeveloper as Administrator. (just right click on JDeveloper from you shortcuts or from programs run as Administrator)
    I hope this will be helpful.
    Best Regards
    Siva Sankar

  • Not able to create web application using central admin UI

    We are trying to create web application using central admin UI. but its throwing error.
    Then we tried to create it using powershell but it getting too much time(around 3 hrs) to provision web app on wfe.
    We have around 60 application and farm is virtual.
    Please help us on this.
    Thanks in advance.

    I ran a WSSv3 farm with >60 Web Applications, on a 32bit system no less (careful design of IIS Application Pools was required back then). This isn't impossible to do, but you do need to provide the error in the ULS log and the specifications of your
    virtual environment.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Tagging in MMS and set the default search center url through power shell

    Hi,
     Would like to know below things are psosiblke through Power Shell.
    Check the checkbox from the term store management tool [ for Managed Metadata Serv.]'s navigation section and for the tagging feature.
    2) In the search setting section of site collection administration, i  need to enter the  default search center  url, [ i have created search center sub site in al of my site collections.] my site collectons in the farm is  more
    than 50. so i  cant enter the url of search center url [/sites/site1/sc/pages/results.aspx ] manually.

    can someone pls help...

  • Error while creating webi on BEx query

    Hello,
    I will appreciate your help on this matter.
    I created a BICS connection and published it in the repository successfully. I then logged on to BI launch pad and tried to create webi report on top of BEx query but getting a following error.
    I am not sure what that error is all about , may be something to do with Java. I would appreciate if you advise your help on this.
    Regards.
    ==============================================================================
    HERE IS AN ERROR MESSAGE:
    java.util.concurrent.ExecutionException: com.google.protobuf.UninitializedMessageException: Message missing required fields: bytesValue
         at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
         at java.util.concurrent.FutureTask.get(Unknown Source)
         at javax.swing.SwingWorker.get(Unknown Source)
         at com.sap.webi.ui.dialog.bex.OpenBexPanel.endFetchNode(OpenBexPanel.java:801)
         at com.sap.webi.ui.dialog.bex.OpenBexPanel.propertyChange(OpenBexPanel.java:1009)
         at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
         at javax.swing.SwingWorker$SwingWorkerPropertyChangeSupport.firePropertyChange(Unknown Source)
         at javax.swing.SwingWorker$SwingWorkerPropertyChangeSupport$1.run(Unknown Source)
         at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
         at sun.swing.AccumulativeRunnable.run(Unknown Source)
         at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
         at javax.swing.Timer.fireActionPerformed(Unknown Source)
         at javax.swing.Timer$DoPostEvent.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Unknown Source)
         at com.jidesoft.dialog.StandardDialog.show(Unknown Source)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at java.awt.Window.setVisible(Unknown Source)
         at java.awt.Dialog.setVisible(Unknown Source)
         at com.sap.webi.toolkit.ui.dialog.GenericDialog.setVisible(GenericDialog.java:116)
         at com.sap.webi.ui.dialog.bex.OpenBexDialog.setVisible(OpenBexDialog.java:94)
         at com.sap.webi.ui.data.BexQueryDataSourceProvider.createDataSourceInfo(BexQueryDataSourceProvider.java:85)
         at com.sap.webi.ui.context.managers.DataManager.createDataSourceInfo(DataManager.java:277)
         at com.sap.webi.ui.tasks.workflows.CreateDataSourceInfoUITask.doneProcess(CreateDataSourceInfoUITask.java:127)
         at com.sap.webi.toolkit.ui.tasks.WebITask.done(WebITask.java:123)
         at javax.swing.SwingWorker$5.run(Unknown Source)
         at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
         at sun.swing.AccumulativeRunnable.run(Unknown Source)
         at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
         at javax.swing.Timer.fireActionPerformed(Unknown Source)
         at javax.swing.Timer$DoPostEvent.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: com.google.protobuf.UninitializedMessageException: Message missing required fields: bytesValue
         at com.google.protobuf.AbstractMessage$Builder.newUninitializedMessageException(AbstractMessage.java:531)
         at com.sap.sl.olap.sapbw.protobuf.generated.SapbwService$msgBytesValue$Builder.build(SapbwService.java:567)
         at com.sap.sl.sdk.olap.sapbw.service.SapBwBrowsingServiceImpl.processDoIt(SapBwBrowsingServiceImpl.java:299)
         at com.sap.sl.sdk.olap.sapbw.service.SapBwBrowsingServiceImpl.processInvocation(SapBwBrowsingServiceImpl.java:246)
         at com.sap.sl.sdk.olap.sapbw.service.SapBwBrowsingServiceImpl.processOpenSession(SapBwBrowsingServiceImpl.java:229)
         at com.sap.sl.sdk.olap.sapbw.service.SapBwBrowsingServiceImpl.openSession(SapBwBrowsingServiceImpl.java:59)
         at com.sap.webi.ui.dialog.bex.ExpandRepositoryItemWorker.getBrowsingSession(ExpandRepositoryItemWorker.java:63)
         at com.sap.webi.ui.dialog.bex.ExpandRepositoryItemWorker.doInBackground(ExpandRepositoryItemWorker.java:40)
         at com.sap.webi.ui.dialog.bex.ExpandRepositoryItemWorker.doInBackground(ExpandRepositoryItemWorker.java:15)
         at javax.swing.SwingWorker$1.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at javax.swing.SwingWorker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Henry,
    Thanks for yor detailed answer, I am looking into it and working with an admin people to resolve this issue. will post here if able to solve it.
    In the meanwhile I am getting another similar kind of error "WHILE CREATING WEBI ON TOP OF UNIVERSE" and wondering if both these error are of similar nature, Will appreciate your help and advice on this.
    Here is an error and its details:
    ========================
    [[error.RepositoryException] 0] <RepositoryImpl.getInternalResourceID() : can't find  InfoObject of cuid M06604sAAW5bAJsAeAAAVVgAAgqWJIcAAAA>,<com.businessobjects.mds.repository.exceptions.RepositoryException: [[error.RepositoryException] 0] <RepositoryImpl.getInternalResourceID(): can't find  InfoObject of cuid M06604sAAW5bAJsAeAAAVVgAAgqWJIcAAAA>> (WIS 00000)
    DETAIL:
    ==========
    com.businessobjects.sdk.core.server.CommunicationException$UnexpectedServerException: [[error.RepositoryException] 0] <RepositoryImpl.getInternalResourceID() : can't find  InfoObject of cuid M06604sAAW5bAJsAeAAAVVgAAgqWJIcAAAA>,<com.businessobjects.mds.repository.exceptions.RepositoryException: [[error.RepositoryException] 0] <RepositoryImpl.getInternalResourceID(): can't find  InfoObject of cuid M06604sAAW5bAJsAeAAAVVgAAgqWJIcAAAA>>
         at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:144)
         at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:101)
         at com.businessobjects.sdk.core.server.common.CommonRequestHandler.afterProcessing(CommonRequestHandler.java:127)
         at com.businessobjects.sdk.core.server.internal.AbstractServer.processIt(AbstractServer.java:178)
         at com.businessobjects.sdk.core.server.internal.AbstractServer.process(AbstractServer.java:133)
         at com.businessobjects.sdk.core.server.internal.InstanceServer.process(InstanceServer.java:94)
         at com.sap.sl.sdk.services.util.ServerRequestProcessor.processServerRequest(ServerRequestProcessor.java:49)
         at com.sap.sl.sdk.datasource.strategy.BuiltInDataSourceStrategyImpl.addDataProvider(BuiltInDataSourceStrategyImpl.java:100)
         at com.sap.sl.sdk.workspace.service.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:77)
         at com.sap.sl.sdk.workspace.service.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:60)
         at com.sap.webi.ui.context.managers.DataManager.addDataProviderFromDataSourceInfo(DataManager.java:395)
         at com.sap.webi.ui.tasks.workflows.AddDataProviderUITask.doIt(AddDataProviderUITask.java:106)
         at com.sap.webi.ui.tasks.workflows.AddDataProviderUITask.doIt(AddDataProviderUITask.java:19)
         at com.sap.webi.toolkit.ui.tasks.WebITask.doInBackground(WebITask.java:113)
         at javax.swing.SwingWorker$1.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at javax.swing.SwingWorker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: com.businessobjects.sdk.core.server.ServerException: [[error.RepositoryException] 0] <RepositoryImpl.getInternalResourceID() : can't find  InfoObject of cuid M06604sAAW5bAJsAeAAAVVgAAgqWJIcAAAA>,<com.businessobjects.mds.repository.exceptions.RepositoryException: [[error.RepositoryException] 0] <RepositoryImpl.getInternalResourceID(): can't find  InfoObject of cuid M06604sAAW5bAJsAeAAAVVgAAgqWJIcAAAA>>
         at com.businessobjects.sdk.core.server.common.CommonRequestHandler.newServerException(CommonRequestHandler.java:260)
         at com.businessobjects.sdk.core.server.common.CommonRequestHandler.createAllServerExceptions(CommonRequestHandler.java:238)
         at com.businessobjects.sdk.core.server.common.CommonRequestHandler.afterProcessing(CommonRequestHandler.java:121)
         ... 18 more

  • Error while creating web dynpro project from DTR

    Hello,
    I am getting following error while creating Web Dynpro project from DTR,
    org.eclipse.jdt.core.JavaModelException: File /<track name><DC><package>/.classpath is read-only.
    Still project gets created but evenif I check out view , it does not allow me to edit it.
    Also I have checked in and activated some changes but active copy in DTR is not reflecting those changes.
    I tried Add subtree option in DTR perspective for folders in this project. Is it result of that?
    Please help me in this regard.
    Thank You
    Beena

    Hi Beena,
            .classpath file should not checked in to DTR(uncheck the Read only properties). It is local file it contains class path for local system.
             Generally in webdynpro project only src folder should be checked in DTR.
    Regards
    Suresh

  • XML Parser Error while creating Web service Client using JAX RPC

    hello evryone,
    Im facing XML Parser Error while creating web service client using JAX RPC. Im using Net Beans IDE for development purpose. I have wrote configuration file for client. Now i want to create Client stub. However i dont know how to do this in Net Beans. So i tried to do it from Command promt using command :
    wscompile -gen:client -d build -classpath build config-wsdl.xml
    here im getting Error:
    error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseException:10: XML declaration may only begin entities
    Please help me out.
    Many thanks in advance,
    Kacee

    Can i use the client generated using jdeveloper 11g to import into the oracle forms 10g, i.e., form builder 10g. Currently this is the version we have in our office.

Maybe you are looking for