Quantcast
Viewing all articles
Browse latest Browse all 21070

Creating Web Application Fails from CA

ok.. i have another thread which was being used for when i started the installation and configuration.. now here we go again (thinking to myself, why it couldn't be as simple as the checklist)

http://social.technet.microsoft.com/Forums/sharepoint/en-US/912b95fe-4bdb-4d2f-9dc6-8b3f10dffe1f/how-does-the-database-attach-upgrade-process-works-2010-to-2013

ok first few attempts failed when creating a web application: simply going to CA, manage web applications and New throws an error about permissions (WSS_Content_Application_Pools access on config database). 

ok, then i went to SQL Server, deleted the database, created a new database, granted the permission and created a new web application.  then comes the next error "invalid collation".  drop the DB, create new one and set collation "Latin1_General_CI_AS_KS_WS", set permissions, create new application and now here is another error:

Database                       fa45 High     System.Threading.ThreadAbortException: Thread was being aborted.     at SNIReadSyncOverAsync(SNI_ConnWrapper* , SNI_Packet** , Int32 )     at SNINativeMethodWrapper.SNIReadSyncOverAsync(SafeHandle pConn, IntPtr& packet, Int32 timeout)     at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()     at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()     at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()     at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)     at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(S...
Database                       fa45 High     ...tring methodName, Boolean async, Int32 timeout)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteScript(TextReader textReader, Int32 commandTimeout)
Database                       fa46 High        at Microsoft.SharePoint.Utilities.SqlSession.ExecuteScript(String path, Int32 commandTimeout)     at Microsoft.SharePoint.Upgrade.SPUtility.ExecuteSqlFile(SqlSession sqlSession, ISqlSession isqlSession, SqlFile sqlFileId, Int32 timeOut)     at Microsoft.SharePoint.Administration.SPDatabase.Provision(SPDatabase database, SqlConnectionStringBuilder connectionString, SqlFile sqlFileId, Dictionary`2 options)     at Microsoft.SharePoint.Administration.SPContentDatabase.Provision()     at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(SPContentDatabase database, Boolean provision, Guid webApplicationLockId, Int32 addFlags)     at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(Guid newDatabaseId, String strDatabaseServer, String strDatabaseName, String...
Database                       fa46 High     ... strDatabaseUsername, String strDatabasePassword, Int32 warningSiteCount, Int32 maximumSiteCount, Int32 status, Boolean provision, Guid lockId, Int32 addFlags)     at Microsoft.SharePoint.Administration.SPWebApplication.CreateDefaultInstance(SPWebService service, Guid id, String applicationPoolId, SPProcessAccount processAccount, String iisServerComment, Boolean secureSocketsLayer, String iisHostHeader, Int32 iisPort, Boolean iisAllowAnonymous, DirectoryInfo iisRootDirectory, Uri defaultZoneUri, Boolean iisEnsureNTLM, Boolean createDatabase, String databaseServer, String databaseName, String databaseUsername, String databasePassword, SPSearchServiceInstance searchServiceInstance, Boolean autoActivateFeatures)     at Microsoft.SharePoint.ApplicationPages.ExtendVirtualServerPage.BtnSubmit_Cl...
Database                       fa46 High     ...ick(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRe...
Database                       fa46 High     ...questNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessReque...
Database                       fa46 High     ...stNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 
Database                       tzku High     ConnectionString: 'Data Source=TestDB.devspace.com;Initial Catalog=SP_Content_2013;Integrated Security=True;Enlist=False;Pooling=False;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15'    Partition: NULL ConnectionState: Closed ConnectionTimeout: 15
Database                       tzkv High     SqlCommand: 'CREATE PROCEDURE dbo.proc_SecCloneRoleDefinitions(      @SiteId                 uniqueidentifier,      @WebId                  uniqueidentifier,      @CopyRoleAssignments    bit,      @UserId                 int,      @NewScopeId             uniqueidentifier OUTPUT,      @RequestGuid            uniqueidentifier = NULL OUTPUT)   AS      SET NOCOUNT ON      DECLARE @WebFullUrl nvarchar(256)      DECLARE @RoleDefWebId uniqueidentifier      DECLARE @OldScopeId   uniqueidentifier      DECLARE @FirstUniqueAncestor uniqueidentifier      DECLARE @HasUniqueAssignment bit      DECLARE @OpCode int      SET @OpCode = 2 + 8      IF (@CopyRoleAssignments = 1)          SET @OpCode = @OpCode + 16      SELECT TOP 1          @RoleDefWebId = P.RoleDefWebId,          @OldScopeId   = W.ScopeId,   ...
Database                       tzkv High     ...       @WebFullUrl = W.FullUrl,          @FirstUniqueAncestor = W.FirstUniqueAncestorWebId      FROM          TVF_Webs_Id(@SiteId, @WebId) AS W      CROSS APPLY          TVF_Perms_ScopeId(W.SiteId, W.ScopeId) AS P      WHERE          P.RoleDefWebId <> @WebId      IF @WebFullUrl IS NULL      BEGIN          RETURN 3      END      IF @FirstUniqueAncestor = @WebId          SET @HasUniqueAssignment = 1      ELSE          SET @HasUniqueAssignment = 0      DECLARE @RET int SET @RET = 0 BEGIN TRAN      UPDATE          W      SET          W.CachedNavDirty = 1      FROM          TVF_Webs_SiteId(@SiteId) AS W      IF EXISTS(          SELECT TOP 1              1          FROM              TVF_Roles_UpdLock_SiteWeb(@SiteId, @RoleDefWebId) AS RSrc          CROSS APPLY              TVF_Roles_UpdLock_Site...
Database                       tzkv High     ...Web(@SiteId, @WebId) AS RDest          WHERE              RSrc.Title = RDest.Title)      BEGIN          SET @RET = 80          GOTO cleanup      END      INSERT INTO Roles (          SiteId, WebId,  RoleId,           Title, Description, PermMask,           PermMaskDeny, Hidden,           RoleOrder, Type)      SELECT            @SiteId, @WebId, R.RoleId,            R.Title, R.Description, R.PermMask,            R.PermMaskDeny, R.Hidden,            R.RoleOrder, R.Type      FROM           TVF_Roles_SiteWeb(@SiteId, @RoleDefWebId) AS R      UPDATE           W      SET          W.NextWebGroupId = (              SELECT TOP 1                   W2.NextWebGroupId               FROM                   TVF_Webs_Id(@SiteId, @RoleDefWebId) AS W2)      FROM          TVF_Webs_Id(@SiteId, @WebId) AS W     ...
Database                       tzkv High     ... IF @HasUniqueAssignment = 0      BEGIN          SET @NewScopeId = NEWID()          EXEC @RET = proc_SecDupScope @SiteId, @OldScopeId, @NewScopeId, @WebId, @WebFullUrl, @UserId, 1, @CopyRoleAssignments, @WebId          IF @RET <> 0          BEGIN              GOTO cleanup          END      END      ELSE          BEGIN          SET @NewScopeId = @OldScopeId          UPDATE              P          SET              P.RoleDefWebId = @WebId          FROM              TVF_Perms_ScopeId(@SiteId, @OldScopeId) AS P          IF @CopyRoleAssignments = 0          BEGIN              DELETE                  RA              FROM                  TVF_RoleAssignment_SiteId_ScopeId(@SiteId, @NewScopeId) AS RA              DECLARE @AdminRoleId int              SET @AdminRoleId = 1073741824 + 5              E...
Database                       tzkv High     ...XEC proc_SecAddPrincipalToRoleCore @SiteId, @WebId, @NewScopeId, @AdminRoleId, @UserId                                  END      END      EXEC proc_SecLogChange @SiteId, @WebId, @NewScopeId, @WebFullUrl, NULL, @UserId, 262144, @OpCode      DECLARE @UrlLike nvarchar(1024)      EXEC proc_EscapeForLike @WebFullUrl, @UrlLike OUTPUT      IF @CopyRoleAssignments = 0      BEGIN          EXEC proc_SecResetAllSubwebsWithOldRoleDefs @SiteId, @WebId, @WebFullUrl, @NewScopeId, @RoleDefWebId      END      ELSE          BEGIN          IF @HasUniqueAssignment = 0              EXEC proc_SecResetAllInheritedSubwebs                   @SiteId, @WebId, @WebFullUrl, @UrlLike, @OldScopeId, @NewScopeId,                   @UserId, 0           UPDATE              P          SET              P.RoleDefWebId = @WebId...
Database                       tzkv High     ...          FROM              TVF_Perms_ScopeUrlLike(@SiteId, @UrlLike) AS P          WHERE              P.RoleDefWebId = @RoleDefWebId          UPDATE              DP          SET              DP.RoleDefWebId = @WebId          FROM              TVF_DeletedPerms_ScopeUrlLike(@SiteId, @UrlLike) AS DP          WHERE              DP.RoleDefWebId = @RoleDefWebId      END  cleanup:      IF (@RET <> 0 AND @@TRANCOUNT = 1) ROLLBACK TRAN ELSE COMMIT TRAN      IF @RET <> 0          RETURN @RET      EXEC proc_GetWebIdAuditMask @SiteId, @WebId      RETURN @RET  '     CommandType: Text CommandTimeout: 0
Database                       aek90 High     SecurityOnOperationCheck = False
Monitoring                     b4ly High     Leaving Monitored Scope (Database.Provision (SP_Content_2013 on TestDB.devspace.com)). Execution Time=1159780.86096221
Topology                       8dyx High     Deleting the SPPersistedObject, SPContentDatabase Name=SP_Content_2013.
Database                       8acb High     [Forced due to logging gap, cached @ 06/28/2013 11:15:10.34, Original Level: VerboseEx] Reverting to process identity
Database                       agyjy Medium   SQL connection time: 1215.37798223411
Topology                       bw4w Medium   The object with id 1f97bd7e-5675-43db-8309-f9bc6e539490 does not exist in the configuration store.  The object may have been deleted by another operation.
Database                       ahjqp High     [Forced due to logging gap, cached @ 06/28/2013 11:15:11.81, Original Level: Verbose] SQL connection time: 0.713330189496377
Topology                       88cj High     [Forced due to logging gap, Original Level: Verbose] {0}
Database                       ahjqp High     [Forced due to logging gap, cached @ 06/28/2013 11:15:12.05, Original Level: Verbose] SQL connection time: 0.618245161538684
Database                       8acb High     [Forced due to logging gap, Original Level: VerboseEx] Reverting to process identity
Database                       ahjqp High     [Forced due to logging gap, cached @ 06/28/2013 11:15:12.29, Original Level: Verbose] SQL connection time: 0.559731298180103
Monitoring                     b4ly High     Leaving Monitored Scope (Creating Content Database (SP_Content_2013 on TestDB.devspace.com)). Execution Time=1166086.17205771
Topology                       7fa1 High     Provisioning of the web application, TEST_APPLICATION, has encountered the following error: System.Threading.ThreadAbortException: Thread was being aborted.     at SNIReadSyncOverAsync(SNI_ConnWrapper* , SNI_Packet** , Int32 )     at SNINativeMethodWrapper.SNIReadSyncOverAsync(SafeHandle pConn, IntPtr& packet, Int32 timeout)     at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()     at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()     at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()     at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateOb...
Topology                       7fa1 High     ...j, Boolean& dataReady)     at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteScript(TextReader textReader, Int32 commandTimeout)     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteScript(String path, Int32 commandTimeout)     at Microsoft.SharePoint.Upgrade.SPUtility.ExecuteSqlFile(SqlSession sqlSession, ISqlSession isqlSession, SqlFile sqlFileId, Int32 timeOut)     at Microsoft.SharePoint.Administration.SPDatabase.Provision(SPDatabase database, S...
Topology                       7fa1 High     ...qlConnectionStringBuilder connectionString, SqlFile sqlFileId, Dictionary`2 options)     at Microsoft.SharePoint.Administration.SPContentDatabase.Provision()     at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(SPContentDatabase database, Boolean provision, Guid webApplicationLockId, Int32 addFlags)     at Microsoft.SharePoint.Administration.SPContentDatabaseCollection.Add(Guid newDatabaseId, String strDatabaseServer, String strDatabaseName, String strDatabaseUsername, String strDatabasePassword, Int32 warningSiteCount, Int32 maximumSiteCount, Int32 status, Boolean provision, Guid lockId, Int32 addFlags)     at Microsoft.SharePoint.Administration.SPWebApplication.CreateDefaultInstance(SPWebService service, Guid id, String applicationPoolId, SPProcessAccount processAcc...
Topology                       7fa1 High     ...ount, String iisServerComment, Boolean secureSocketsLayer, String iisHostHeader, Int32 iisPort, Boolean iisAllowAnonymous, DirectoryInfo iisRootDirectory, Uri defaultZoneUri, Boolean iisEnsureNTLM, Boolean createDatabase, String databaseServer, String databaseName, String databaseUsername, String databasePassword, SPSearchServiceInstance searchServiceInstance, Boolean autoActivateFeatures)
Topology                       7fa2 High     Rolling back the creation of the Web Application, TEST_APPLICATION.

.... then later in the log...

General                        8nca Medium   Application error when access /_admin/extendvs.aspx, Error=Request timed out. 94e1299c-6264-50cb-54f1-429730f538af
Runtime                        tkau Unexpected System.Web.HttpException: Request timed out.  94e1299c-6264-50cb-54f1-429730f538af

... bunch of rollbacks...

Monitoring                     nasq Medium   Entering monitored scope (Request (GET:http://test-dev01:18238/_layouts/15/error.aspx?ErrorText=Request%20timed%20out%2E&ErrorCorrelationId=94e1299c%2D6264%2D50cb%2D54f1%2D429730f538af&IsDlg=1)). Parent No 
Logging Correlation Data       xmnv Medium   Name=Request (GET:http://test-dev01:18238/_layouts/15/error.aspx?ErrorText=Request%20timed%20out%2E&ErrorCorrelationId=94e1299c%2D6264%2D50cb%2D54f1%2D429730f538af&IsDlg=1) c4e2299c-a20c-50cb-54f1-4de7eb02f876
Logging Correlation Data       xmnv Medium   Site=/ c4e2299c-a20c-50cb-54f1-4de7eb02f876

Kindly assist.  Your help is always appreciated.


kashif


Viewing all articles
Browse latest Browse all 21070

Trending Articles