Quantcast
Channel: PTC Community : Unanswered Discussions - Windchill
Viewing all articles
Browse latest Browse all 3592

Method Server crashes after Rehosting on WC start as error Invalid object name 'Repository'

$
0
0

Hi Everybody,

 

I have an issue to start the MS on the target server after Rehosting is completed.

 

Please help to resolve. Attached the MS lo

 

 

Source and Target Server Environment :

 

WC : 10.1 M030

 

OS : Windows 2008 R2

 

SQL Server 2008 R2         

 

Steps followed :

 

1) Export the LDAP manually.

 

2) Imported the source LDAP successfully to Target.

 

3) Database backed up via SQL server Management Studio.

 

4) Restored the database successfully.

 

5) Run the ant file –

 

ant "-Dtarget-ldap=ldap://cn=manager:xxxx/" -Dtarget-domain=xxxx

 

6) Modified the db.properties appropriately.

 

7) Started the Windchill as service.

 

Fails to start with Method server failure with the below error message :

 

 

wt.services.ManagerException: Could not initialize Auditing service.

Nested exception is: wt.ufid.UfidException: A persistence error occurred.

Nested exception is: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:

Nested exception is: wt.pom.DatastoreException: A SQL error has occurred for the statement "SELECT 'wt.ufid.Repository',A0.displayName,A0.guid,A0.lastKnownDomain,A0.local,CONVERT(varchar,A0.createStampA2,120),A0.markForDeleteA2,CONVERT(varchar,A0.modifyStampA2,120),A0.idA2A2,A0.updateCountA2,CONVERT(varchar,A0.updateStampA2,120) FROM Repository A0 WHERE ((A0.guid = ?)) AND (A0.markForDeleteA2 = 0); Bind Parameters=[Ldap.mm.local]". Database system message follows:

Nested exception is: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'Repository'.


Viewing all articles
Browse latest Browse all 3592

Trending Articles