Want to create an application to extract SMS
Hello,
I want to create a windows application to extract sms and contacts from iPhone or iTunes backup. Is there any API available to access this data?
Sanjay Bachhotia
Hi,
I already developed this kind of customization. The system offered the possibility to clic on a cell (Project Center, or My Task, or Timesheet), to input a value to store in a custom field, or in a database.
After clicking, a Popup with different textbox, etc...is displayed: it is possible to put values, comments, or whatever.
The benefits is that with this method, you don't have to redevelop the complete timesheet grid, which would be really complex.
Instead of that, you develop a part of javascript code, which displays a popup containing asp.net code. From the aspx page, you can make what you want: modifying the value of an task/assignment customfield for exemple.
To start, you can search for the Project Server 2010 SDK, Customize Project Center: it would be a good start point.
In case of big difficulty, ask again here, and we could get in touch to give more explanations.
Hope it helps,
Sylvain
Similar Messages
-
Error while creating the application
Hi all,
I have created a planning application by using a name(say APP).
I have deleted that application from the essbase administration services and i have deleted,updated
few data from the planning tables which were having the app_id same as APP.
Now when i am creating the same APP application from the workspace it is showing error,but if I am
changing the application name from APP to some other name it is creating the application successfully.
But I want to create the application with the same name APP.
How can i do it?
ThanksHi,
First of all why did you take that route to delete the application.
You should be able to delete the application from the same place you created it.
You said you deleted some data from tables, what data did you remove and what tables.
The reason why you can't create the application with the same name is probably because you have not removed it correctly.
Cheers
John
http://john-goodwin.blogspot.com/ -
Want to create multiuser example
Hi,
I want to create a application in which same vi will run on 3 or 4 computers connected on LAN.Its like a multiplayer game.
Is it possible? Are there any examples of such application. can someone give me such application to design.
Thank you
Gaurav K
Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.thanks for reply. Yes i want to design same application, where in users will try to operate same vi,will try to operate a perticular variable...and i will have a combine effect of their action in vi.
Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved. -
i want to create an application for my java based phone.........a pdf reader.........i need a little help........please help me...........
Originally Posted by AndersG
Jeemo,
> basically going to be "wait until day X to become available and then
> remain available for the next 2 months".
>
Just to clarify, you want:
Range of days, start date, end date. Nothing fancier than that?
- Anders Gustafsson (Sysop)
The Aaland Islands (N60 E20)
In a perfect world this is what I would like to be able to do:
For the AOs where we're going to use the "Range of Days" schedule type, be able to specify the start date, end date and also the days of the week when we do not want it to run (or just the days we do want it, if easier).
For the AOs with the "Specified days" schedule type, we would like to add (or remove) a specific date, and optionally be able to specify that Start Time and End Time that applies to the dates. As for adding multiple dates, I was planning on having a script that enumerates all the dates in our desired range, and for each date in the range it would call the utility with that date passed as a parameter to add it or remove it.
If all of the above is too much to put together then I would not complain if it is only partially fulfilled. To be honest I would not mind building a mechanism myself that could handle this, it's just that I don't know where to start. I'd be happy to take a crack at it if someone could point me in the right direction for how to send commands to the database (or directory).
Thank you again for your help. -
Use windows, want MAC, write openGL applications
Hello,
Apparently I am still a fool in using a MAC and i don't have a
clue about using it but i want to buy such a thing.
2 Problems:
I am a hobby programmer of OpenGL and want to know wether programming MAC application is like (with "like" i don't mean "exactly like" of coure) Win32 API. Ok, All I want is creating
OpenGL applications on MAC. Is this a big problem for a young guy like me?
Next:
I am using much Win32 Apps like Milkshape3D (for OpenGLprogramming). Are there similar Apps on Mac which effect exactly the same or are there Win32 emulatoren on which WinApps can be ran on Mac.
I know i am a fool, please don't mention it in your answers again
Thx for all!Hi,
Writing OpneGL programs on the mac will be no problem for a young guy like you. Hillegass's book has an example OpenGL/Objective-C program in it. There are quite a few examples on the Apple ADC example code pages too (it's worth joining ADC - there is a free membership option which is good enough for hobbyists like me). I'd recommend learning Objective-C to program OpenGL stuff - nothing beats Objective-C in my opinion (it might even wean you off OpenGL - have a look at quartz 2d and core image). You'll be using Xcode as the IDE - it's good, powerful and easy to use.
As I don't use a pc I can't say anything about your second question except dump the pc, it's holding you back...
Cheers,
MrFluff -
I want to create a Ajax based Chating application using java .
hi . I want to create an chating Application , and ajax based chatting application using java as my server side language ..i have some idea about it .. but one thing that i m not understanding is that how i will communicate with other users because each user has its own session so what i will do to send one messge to all the users ???? . i m new to JavaEE and i have chosen this as my semester project .. i need some help regarding this .
First get it working without AJAX.
-
I want to create home page for my application with short URL
I want to create home page for my application with short URL
as when I want user to use my application user must go to URL like this
http://127.0.0.1:7101/My-Project/faces/app/empModule/allEmployees/viewMyEmployees.jspxI want the user to use short URL , How can I use shorter URL not all this one.
I want shorter URL for my application not to write full path .
thanks in advance.
Edited by: user611775 on Oct 31, 2010 10:21 PMWell,
it's up to you. The first part (Mcit-Project-ViewController-context-root) is the context root which you define in the view controller project. 'faces' is the name the servlet filter reacts on. You can't omit it but shorten it in web.xml. The rest is your directory structure. I'm not sure how to shorten this other as to move the jspx files back into the web root folder.
By the way an ADF faces app never uses the .jspx at the end of the url. If you specify '.jspx', you only render the page but don't start the work flow.
Timo -
I want to Create an Single Installer (My Application + DSC Run Time License )
Hi,
I want to create an single installer by including my Application and DSC RTL, So by using this i will give an single installer to my clients where they dont have any Lab VIEW components. Even though i seen some similar post, but its doesnt give me a proper solution for this. Please do the needfull.
With Regards,
Vijayakumar.VHi Vijay,
I think, there is no seperate RTL for DSC (for that matter, for any of other NI addons/toolkits) to be included in the installer.
You need to select the appropriate installer from the Additional Installers category while creating the installer.
Please see the attached pic.
- Partha
LabVIEW - Wires that catch bugs!
Attachments:
NI DSC 8.6 Deployment.PNG 43 KB -
I want to open a domain.site2 file outside the default folder (User/Library/Application Support/iWeb) with iWeb11, but iWeb only opens the domain file in the default folder. If I delete the default domain file, iWeb wants to create a new site. Does anyone have the same problem or know how to fix it?
In Lion the Finder folder is now invisible. To make it permanetely visible enter the following in the Terminal applicaiton window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
For opening your domain file in Lion for the first time or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an applicaiton.
Just launch the applicaiton, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
tell application "iWeb" to activate
OT -
I am mac user and want to create Object in VBA macro. when i write "set objwrd=createObject("Word.Application")"… it returns "runtime error "492" can't create object". now what it alternative to create object for word in excel macro???
Any help here...
http://support.microsoft.com/kb/288117
http://www.macworld.com/article/1154785/welcomebackvisualbasic.html -
How to install mdk in nwds for creating mobile applications
Hi experts,
how to install mdk in nwds for creating mobile applications?
reward points for appropriate answer.
Thank you,
G.V.K.PrasdHI,
MDK is already integrated in NWDS. Separate MDK download is only necessary in case you want to use Eclipse as single DEV environmant without the full blown NWDS orwant to develop for earlier versions like MI7.0.
So very important: separate MDK does only support MI7.0 and earlier versions. If this is your intention, simply download MDK plugin, extract the folder, have a look into the download subfolder and you see the ECLIPSEPLUGIN.ZIP file in there. Unzip this as well and then put the related stuff into the FEATURES and the PLUGINS folder of Eclipse. After restarting Eclipse open the settings and add the buttons to the view and configure the correct settings for your system. This is the normal stuff like for every Eclipse plugin. Not 100% sure if this is not included in NWDS as well already.
If you are not sure about PLUGINS and FEATURES stuff and the configuration - the MDK itself has a great documentation that shows the steps you need to follow.
Regards,
Oliver -
I want to create tab's in JSP..?
Hello experts,
I want to create tab's in JSP page. So if there is in taglib for tab's. So please let me know which one is this and how to implement it. And the directory structure of the Application folder.
Thanks and Regards,
Andy SuryaOr you could write your own using divs and css, it wouldnt take very long as I have done it a couple of times. It might not be the best solution, but I made each tab section an action apart from the page you are currently on and used a separate jsp for each individual tab page. The html was replicated at the top of each page. Each clickable tab header had an action behind it fired by javascript.
It requires a page refresh on each tab click and multiple jsp's (one for each tab) so might not be the most appropriate solution but it works very well and looks good. -
I don't want to create a form in this application since it is going away. How do I get around that? Is there some way to turn off that option so I can create the form directly in Acrobat Pro? !
Thanks! That will help. I didn't want to start to recreate this form in another app. It is one I created in Live Design before we upgraded and I lost that app. Now I cannot edit the form anymore so I need to start over. This way I can just re-create what I already had.
-
Problem in creating a application
Hai,
I had a WD project which has an application and two components, now i want to create a new application for the existing component for the same WD project.
The problem here is that if i have a single component it works fine but if more than one it shows error :
In thics case : it shows No Start up plug to select..
Can anyone help me solve the problem.
Thanks in advance.
Regards,
R.Jude Silvester.hi,
for creating the component a start up plug has to defined .this is used to fire the first default view , when u run the application .
In the Window of the Component and chk if u have got the Default plug.
Do not confuse this with the one attached to any view ...both r different.
If not
in the plugs tab of your window Inbound->New->Specify a name(Default) -
TYPE =====STARTUP
use th following link (PAGE 3),
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b083f76a-708c-2b10-559b-e07c36dc5440
regards
Jayapriya -
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 : InvokeMethodOnNullHi 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
Maybe you are looking for
-
So sick of having Java problems on my Macbook Pro
I have problems with Java with every single browser on my mac. I have tried 6 different browsers and I cannot run any Java applications on any of the browsers. Every single time I open RuneScape or Minecraft, there is just a black screen. I can't eve
-
Hallo, Is there an example how i can drag and drop an image into an other panel as image. Not into a list or grid but onto a panel. Ive tried it for a couple of days now and am getting stuck... thanks
-
How do I get my cursor to not be 1 or 2 spaces ahead of where I am actually typing?
I am running Dreamweaver CS5 in Mavericks. I have this problem when typing text and it is very annoying.
-
Airport Extreme 5.7 Stability
Hey All, I have a school with 12 basetstations used for our wireless network. Until this summer I have been running 5.4.1?. This year we have finally deployed radius so I was able to change the network from open to protected. We are using wpa2 enterp
-
How to reduce re-rendering clips in Premiere Elements 12
Each time I restart a Project in Premiere Elements 12 the timeline indicates that I need to re-render the clips. Is there away to avoid excess rendering? Thanks.