Creating web applications
What is the best software to use to create a full fledged web application? Right now, I am using Microsoft FrontPage 2000 and Microsoft Access with VBScript/Active Server Pages. I am taking classes in Oracle Developer Suite Certification Path (PL/SQL, Internet Applications I/II). Is this all I need to make my web pages look good as well as allowing query and input capability to the database? What html packages/programs work best with Oracle?
Oracle offers many development tools for Web development. Your tool choice depends on your needs and knowledge.
If you know ASP then Oracle PSP (PL/SQL Server Pages) might be a good choice. Also if you are willing to learn Java the Oracle9i JDeveloper offers JSP development capabiities.
Stroll around OTN and have a look at the products to see which one best fits you.
(you might also want to check Oracle Reports and Oracle Forms as well as Oracle Portal and Web Generation from Oracle Designer).
Similar Messages
-
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 -
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 DHi 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 -
Need help in creating WEB application....
Hi
I Created WEB application using jsp,java classes.
I kept All jsp files and classes in web-inf classes folder and created a war file and deployed that one in WEBLOGIC 7.0. I need to start a class while starting the server. I configured the startup classes using weblogic console.Now i am getting classnotfound exception while running the server saying that the startup class is not found. Is it necessay to set classpath to the classes which are under war file.If yes please give me an idea how to set classpath to a file which is under war/web-inf/classes/..
Any help will be appreciated.
Regards
Anand MohanNot sure about Weblogic, but in general you add the entire path to your classpath. For Windows 2000 servers -> Control Panel -> System -> Advanced Tab -> Env Variables
Example from simle Tomcat install:
CLASSPATH
C:\Jakarta\jakarta-tomcat-4.1.18\common\lib\servlet.jar;C:\Jakarta\jakarta-tomcat-4.1.18\webapps\myApp\WEB-INF\lib\classes12.jar;C:\Jakarta\jakarta-tomcat-4.1.18\webapps\myApp\WEB-INF\classes\com\brainysoftware\java\StringUtil.jar -
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 -
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...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
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 -
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 helpThanks 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 Creating Web Application in Sharepoint Foundation 2010.
Hi,
I am getting below error while creating new Web Application in SharePoint.
Could not connect to Sharepoint using integrated security: SQL server at has an unsupported version 10.0.2531.0.
I am using SharePoint Foundation 2010. SQL Server Version is
"Microsoft SQL Server 2008 (SP1) - 10.0.2531.0 (X64) Mar 29 2009 10:11:52 Copyright (c) 1988-2008 Microsoft Corporation Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (VM)"
My SQLServer version is Microsoft SQL Server 2008 (SP1) Developer edition. How could i resolve this issue.
Thanks & Regards
Poomani SankaranHi Poomani,
Upgrade to
SQL Server 2008 R2 Developer Edition and it will work with SharePoint Foundation 2010. Ensure that you only use this developer edition on your development server.
SQL Server 2008 R2 Developer Edition has same code base and same features which are available in SQL Server
2008 R2 Enterprise Edition. Only difference between them is licensing terms. Developer Edition can not be used in production environment and it can be used on development server only.
Please remember to click 'Mark as Answer' if the reply answers your query or 'Upvote' if it helps you. -
Create web application in powershell using existing app pool
Hi all,
I am trying to create a web application with this script:
https://gallery.technet.microsoft.com/office/Create-SharePoint-2013-1d7c3337
The problem is that I want to use an existing app pool, but when I do I get this error:
Aborting: Application Pool SharePoint - Applications already exists on the server and is not a SharePoint Application Pool
Obviously this is wrong, since I use this app pool for most of my web apps.
So how does one go about creating a web app in powershell with an already existing app pool?
-Michael
mictry these links:
http://sharepoint.stackexchange.com/questions/81297/creating-a-webapp-via-powershell-is-mapping-the-site-to-wrong-apppool
http://blogs.technet.com/b/fromthefield/archive/2014/03/26/create-a-sharepoint-application-pool-using-powershell.aspx
http://blogs.msdn.com/b/rcormier/archive/2012/09/01/how-to-create-sharepoint-web-applications-with-powershell.aspx
Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing -
we are having Problems installing MDS on new sever.
Server: Windows 2008 R2
SQL Server 2012 SP1 (Developer Edition)
In the Master Data Services Configuration Manager Wizard ...
- DB Creation (Database Configuration) was succesfull
- But we are stucked in the "Web Configuration", "Create Application" failes in both cases (Choose "Create new Website" or choose existing site like "Default Web Site")
Error Message is alwasy:
Unexpected Error - An unexpected error occurred: Keyset does not exist (Exception from HRESULT: 0x80090016)
Any ideas? Are there any Extended logs created by Wizard activity? Windows Application Eventlog Shows nothing!Hi,
Just a gut feel. The issue may lie within IIS. I base this upon the fact that your database was created. The second part, the web configuration is related to IIS. SQL Server 2012 should be set up with IIS7 or better still IIS8.
This said..
Is IIS installed correctly? You can always de-install it and re-install it via the programs / windows features option off of the control panel.
Out of curiosity, did you by any chance have a previous 'bad install' of MDS. If so this may be a registry issue. When one starts talking 'Keyset', the registry comes to mind. A orphan keyset which is being called.
Also remember that in setting up the web application, that the installation will ask you for a User ID and password. If you are like us, our passwords change each 6 weeks and this create problems with bringing up the Master Data Manager AFTER a password
change. In fact I have often resorted to creating a 'new web site' with each password change BEFORE I decided to opt for using a Process ID, with an non expiring password to do your web configuration.
I do not know if I have answered your question, just a gut feel. Please do let us know if the steps that I mentioned resolve your issue.
Sincerest regards
Steve Simon SQL Server MVP -
I am getting error on creating even the empty web application project. The error message is as given below:
The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
I am using following build of Visual Studio:
Visual Studio Professional 2013. Version 12.0.30723.00 Update 3
Looks like it is the problem with the installation of the visual studio. But I can't take risk of re-installing now because it would stop my going on development work.
Any would help to resolve this would be appreciated.
P.S. I am also having Visual Studio 2010 and Visual Studio 2012 Ultimate on my system.
Regards, RandeepHello Randeep,
Will you get the same error when creating any other apps, like C# WinForm?
If only web application project has the problem, you can try the following to reset the templates:
Please open Windows Explorer, and navigate to <Visual Studio Installation Path>\Common7\IDE (by default is C:\Program Files \Microsoft Visual Studio 12.0\Common7\IDE);
Delete the ItemTemplatesCache, ProjectTemplatesCache folder;
Open Visual Studio Tools/Developer Command Prompt for VS2013
under Start menu -> All Programs -> Microsoft Visual Studio 2013 -> Visual Studio Tools (run it with Administrator privilege: right-click the program -> Run as administrator);
Run the devenv /InstallVSTemplates switch;
Run the devenv /Setup switch
If all your projects get this error, please try repair the installaiton from control panel first. By the way, can you use Visual Studio Web projects before you get this error? And have you tried to use the Visual Studio Update 4, I see you still used
Update 3, is there any reason for you to still use the Update 3 version?
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to create web applications with the LabVIEW web server
Wonderful Forum,
I've noticed that sometimes it can be tricky for LabVIEW users to learn how to create their own custom web clients using the LabVIEW web server. I created a LabVIEW web development community group and wrote some tutorials to teach the basics of creating web clients using HTML, Javascript, and AJAX. The idea is that LabVIEW users without any web background can quickly look at some tutorials and examples to get started on their own projects.
https://decibel.ni.com/content/groups/web-services
What do you think?
Joey S.
Software Product Manager
National InstrumentsHi Joey,
A great idea! I recently presented at a local user group meeting about my WebSockets API (see the links in my signature). I've uploaded the presentation and the demo code I gave to our UG here.
I think the barrier to entry is with needing to know the web languages (e.g. html/css/js) as well as writing your LabVIEW code. I have joined the group and look forward to seeing some interesting content on there! Certainly some demos of using AJAX to make requests to Web Services and do something with the data (e.g. display on a graph) would be a good place to start.
Certified LabVIEW Architect, Certified TestStand Developer
NI Days (and A&DF): 2010, 2011, 2013, 2014
NI Week: 2012, 2014
Knowledgeable in all things Giant Tetris and WebSockets -
Create a web application in eclipse
hi,
There's anybody have a tutorial kit on how to create web application in eclipse 3.3 version.
I only have a web server apache tomcat.
Thanks in advance.Eclipse Web Tools Platform: http://www.eclipse.org/webtools/
Eclipse WTP tutorials: http://www.eclipse.org/webtools/community/communityresources.php#tutorials
Eclipse WTP webapplication tutorial: http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html -
Sharing static members between Swing application and Web application
Hi,
if someone has done this please help:
I have created 3 classes:
Mainclass using JFrame which is used as host class for DBConnectionManager class,
and ConfigBean class used for storing static configuration parameters:
static public String strUser = "";
static public String strPassword = "";
static public String strDB = "";
static public int nMaxConn = 0;
static public String strPoolName = "";
static public boolean bConnected = false;
static public int nCurrentUsers = 0;
static public DBConnectionManager manager = null;
public DBConnectionManager getDBManager()
return this.manager;
public void setDBManager(DBConnectionManager manager)
this.manager = manager;
DBConnectionManager class uses static instance to see if this is only class created by client users.
Only static member in this class is getInstance member function for startig manager:
static synchronized public DBConnectionManager getInstance()
if (instance == null)
instance = new DBConnectionManager();
return instance;
In Mainclass I also created non static DBConnectionManager class for manipluation with host administrator.
Then I created web application layout in Tomcat 4 and used index.jsp:
<%@ page import="java.sql.*,java.io.*" %>
<jsp:useBean id="cfgbean" class="webvobapli.ConfigBean" scope="application" />
<%!
webvobapli.DBConnectionManager db = null;
String strMessage = "";
Statement stmt1;
ResultSet rset1;
String strQuery = "select count(*) from cards";
%>
<html>
<%
try
db = cfgbean.getDBManager();
if(db==null)
strMessage = "Error";
else
Connection con = db.getConnection("central2");
if(con != null)
stmt1 = con.createStatement();
rset1 = stmt1.executeQuery(strQuery);
rset1.next();
strMessage = rset1.getString(1);
else
strMessage = "NULL";
catch(Exception e)
strMessage = e.toString();
%>
<p>Message = <%=strMessage%></p>
</html>
Question: why db = cfgbean.getDBManager(); returns null if I created instance of DBConnectionManager
class in Mainclass and assigned it to ConfigBean as static instance before running web application.
Shouldn't all java programs share static memory area?
Beast Regards
Branislav CavlinQuestion: why db = cfgbean.getDBManager(); returns null if I created >>instance of DBConnectionManager
class in Mainclass and assigned it to ConfigBean as static instance >>before running web application.
Shouldn't all java programs share static memory area?You say you create the db objects BEFORE you run the web application - now I could be misunderstanding what you are saying, but does this not involve two JVM's (one to create initial db objects, which then exits, then second JVM fires you app server/servlet container) - which would explain why a null object is being returned.
Maybe you are looking for
-
Hi Experts, I have a query. There is an error while running payroll. The system is giving a error message : No Entries in table t7inu3. And also inform me whether we should maintain LWF IT only for the month of JUNE and Dec. Please help me to solve t
-
Some Website not open in IE 8, 9,10, 11
Hi This is sachin Thanks In Advance We have small network i am getting issue on Internet Explore 8, 9,10, 11 some HTTPS website not working in IE , i am trying to open this website on Mozilla and google chrome it work fine. only issue on Internet e
-
7 character field to purchase order ,customer number
please help 1) data : kunnr1(7) type c. data : kunnr like kna1-kunnr. kunnr1 has only field length 7 and it is of type character. kunnr is a sap field. everytime i need to fill the data from the field kunnr1 to sap kunnr and pass to bdc . suppose kun
-
Acrobat XI won't install if My Documents is redirected
We've seen this issue with Adobe Acrobat as well as HP print drivers and a few other installers. To say it is frustrating is an understatement. Hoping someone can shed some light on this. As a standard part of our workstation setups, we edit the prop
-
Our corporations phone system has a web interface that since the 14.0.1 update no longer works. I have tried to open it in safe-mode with no extensions enabled and making sure cache was cleared. In the error logs I see "this.transforms is undefined"