Jump to content

2147221219 error όταν κάνω Import PST


v_pasch
 Share

Recommended Posts

Γεια σας παιδιά.

κάνω ένα μεγάλο pst import κοντά στ 1500 pst και έχω θεματάκια

Έχω Exchange Server 2007 SP3 RU2

Αν τρέξω το dir *.pst | import-mailbox confirm:$false μέσα στο directory όπου έχω τα pst τότε το exchange management shell crashes

Αν τρέξω Import-Mailbox -Identity user01@mydomain.gr -PSTFolderPath e:\user01@mydomain.gr.pst -confirm:$false μπορεί παίξει αλλά μπορεί και να μου βγάλει το παρακάτω error.

 

[ERROR] Error was found for user01@mydomain.gr because: Error
occurred in the step: Approving object. An unknown error has occurred., error
code: -2147221219

Μοιάζει σαν να μην έχει permission στο mailbox αλλά τα
έχω δώσει από πριν και υπάρχει πιθανότητα να το πάρει με τη δεύτερη
φορά.

Αυτό έχει σαν αποτέλεσμα να κάθομαι και να κάνω import 5 κάθε φορά για να μπορώ να ελέγχω αν έγινε import ή όχι. αυτό δ γίνεται όμως για 1500 pst.

Τι κάνω?

Link to comment
Share on other sites

 

Καλησπέρα Βασίλη,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

Στον ακόλουθο σύνδεσμο περιγράφετε η διαδικασία Export and

Import mailboxes to PST files in Exchange 2007 SP1.

 

ü 

How

to Export and Import mailboxes to PST files in Exchange 2007 SP1

 

Run

the cmd fixmapi in cmd, this until exists in

your %systemroot%\system32 , along with the mapi32.dll files .. besides that 3

notes for you:

 

1.      

FixMAPI does not replace the current mapi32.dll

file if the file is marked as read-only.

 

2.      

FixMAPI does not replace the current mapi32.dll if

Microsoft Exchange Server is installed on the computer.

 

3.      

When FixMAPI

makes a backup copy of the current copy of mapi32.dll on the computer, it

assigns the backup copy a name different from “mapi32.dll”. It then directs

subsequent calls intended for that assembly to the backup copy.

 

Link to comment
Share on other sites

Το Import το τρέχω από Win 7 32Bit  με Exchange server management tools.

Οπότε τρέχω το fixmapi και διορθώνεται το πρόβλημα?

Το τρέχω μία φορά ή κάθε φορά πριν το import?

Link to comment
Share on other sites

να προσθέσω εδώ ότι γενικά κάνω import αλλά σε ορισμένα χτυπάει και όταν το προσπαθήσω ξανά μπορεί με τη 1η ή τη 2η ή τη 3η να το κάνει import.

Απλά δ μπορώ να το αφήσω όλο το βράδυ να κάνει import και να το δω το πρωί να έχει τελειώσει. πρέπει κάποιος να είναι από πάνω

Link to comment
Share on other sites

Θέμα permissions δεν νομίζω να είναι. Δοκιμάζεις μια φορά και δεν έχεις δικαιώματα. Ξαναδοκιμάζεις και κάποια στιγμή χωρίς να κάνεις τίποτα τα έχεις? Πιο πιθανό μου φαίνεται να είναι στημένo το mailbox storage σε dynamicaly expanding disk και να την τρως στο expansion παρά απο permissions. Σε άλλο post αναφέρει ότι το πρόβλημα του λύθηκε όταν έβαλε gateway στην κάρτα δικτύου που δεν είχε.

Στα πιο πολλά posts πάντως οι περισσότεροι με αυτό το πρόβλημα έχουν τους Exchange σε VM. Οπότε ίσως να πρέπει να ψάξεις κάτι εκεί. Αν τον έχεις σε VM.

Link to comment
Share on other sites

Είναι θέμα permissions σίγουρα. Τι είδους permissions (client, database κλπ) δε μπορώ να ξέρω γιατί δεν έχω άμεση άποψη του τι έχει δοθεί. Αλλά εκεί έγκειται το θέμα.

Link to comment
Share on other sites

Έβαλα στη βάση τα παρακάτω Permissions στο System

Read
permissions<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />


Administer information
store


Exchange Services
Impresonator


Open Mail Send
Queue


Send/Receive
As


View information Store
statu

Αλλά πάλι τα ίδια. Μήπως θέλει restart το IS ?

 
Link to comment
Share on other sites

Όταν έκανες το export μήπως είχες και την επιλογή να σου βγάλει το user password? Άνοιξε ένα pst που δεν κάνει import στο Outlook client και δες αν σου ζητάει password. Τρέξε μια φορά το cmdlet με -debug na δούμε σε πιό βήμα σκάει ακριβώς. Το "Error occurred in the step: Approving object.Error occurred in the step: Approving object." μου το βγάζει αν κάνω password protect το pst. Ο importer προσπαθεί να κάνει access στα object (mail/calender/etc.) του

PST-file. Εαν η διαδικασία είναι επιτυχής τότε γίνεται αντιγραφή στο mailbox. Διαφορετικά έχω και εγώ το μήνυμα που περιγράφεις. 

Link to comment
Share on other sites

Δεν τα έκανα εγώ export. Μου τα στείλανε. αλλά όταν τα ανοίγω μου βγάζει ότι δεν είναι unicode και τα ανοίγει κανονικά

 

Παρακάτω έχω το Output από το -debug

 

[PS] C:\Windows\system32>Import-Mailbox -Identity  [email protected] -PSTFolderPath  e:\[email protected] -confirm:$false -D
ebug
VERBOSE: Import-Mailbox : Beginning processing.

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : Trying to open registry key 'Software\\Microsoft\\Windows\\CurrentVersion\\App
Paths\\OUTLOOK.EXE'.

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : The default value of the registry key is 'C:\PROGRA~1\MIF5BA~1\Office12\OUTLOOK.EXE'.

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : The version of Outlook.exe is '12.0.4518.1014'.

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : Searching objects "[email protected]" of type "ADUser" under the root "$null".

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : Previous operation run on global catalog server 'DC01.domain.gr'.

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : Processing object "domain.gr/Hosting/mydomain/user01_mydomain".

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : Searching objects "exchange2k7scc" of type "Server" under the root "$null".

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : Previous operation run on domain controller 'DC01'.

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : Searching objects "Exchange2K7SCC\Hosted Exchange Storage Group 3\Hosted Exchange Database 4"
 of type "MailboxDatabase" under the root "$null".

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : Previous operation run on domain controller 'DC01'.

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : Ending processing.

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : [user01_mydomain] The operation has started.

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : [user01_mydomain] Initializing MAPI, loading library.

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
VERBOSE: Import-Mailbox : [user01_mydomain] Approving object.

Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):

Confirm
Error was found for [email protected] ([email protected]) because: Error occurred in the step: Approving object. An unknown
error has occurred., error code: -2147219968
[Y] Yes  [A] Yes to All  [H] Halt Command  Suspend  [?] Help (default is "Y"):
Import-Mailbox : Error was found for [email protected] ([email protected]) because: Error occurred in the step: Approving objec
t. An unknown error has occurred., error code: -2147219968
At line:1 char:15
+ Import-Mailbox <<<<  -Identity  [email protected] -PSTFolderPath  e:\[email protected] -confirm:$false -Debug
    + CategoryInfo          : InvalidOperation: (0:Int32) [import-Mailbox], RecipientTaskException
    + FullyQualifiedErrorId : 3FC02141,Microsoft.Exchange.Management.RecipientTasks.ImportMailboxv

Link to comment
Share on other sites

Μήπως να κάνεις κανα update το outlook office σε Sp2 και να ξαναδώσεις fixmapi στην κονσόλα? Δηλαδή αν το προσπαθήσεις μερικές φορές ακόμα θα στο κάνει import?

Run out of ideas.[:(]

Link to comment
Share on other sites

Θα το κάνω update το outlook τώρα αν είναι. fixmapi μια φορά στο exchange management shell και μετά πάλι τα imports.

Ναι δηλαδή κάνω import και χτυπάει και μετά από 1 ή 2 προσπαθειες το κάνει.

αυτό δε το κάνει πάντα βέβαια, σε άλλα μπορεί αμέσως να τα κάνει Import

Link to comment
Share on other sites

Θα το κάνω update το outlook τώρα αν είναι. fixmapi μια φορά στο exchange management shell και μετά πάλι τα imports.

To fixmapi είναι διαδικασία του Outlook και γίνεται απο command promt (cmd). Δεν έχει σχέση με τον Exchange και το management shell. Αν και μετα την αναβάθμιση του Outlook που θα μπουν τα νέα και θεωρητικά θα ξαναγίνουν register τα dll δεν νομίζω ότι θα χρειαστεί.

Link to comment
Share on other sites

 

Καλησπέρα και από εμένα.

 

Όπως ανέφερε και ο Απόστολος και εγώ στην πρώτη μου απάντηση, το fixmapi είναι

διαδικασία του Outlook. Οπότε

δοκίμασε να τρέξεις το fixmapi μέσο

CMD στον

client.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

Link to comment
Share on other sites

Με full update το Outlook 2007 σε sp2 φαίνεται πως το πρόβλημα λύθηκε.

Τουλάχιστον προς το παρόν γίνεται δουλειά .

Περιμένω να τελειώσει το Import και για να αναφέρω τα αποτελέσματα

Link to comment
Share on other sites

 Share

×
×
  • Create New...