Back to Forums
1 post / 0 new
#1 Aug 10, 2016
TeamPSpice
Offline
Last seen: 1 year 5 months ago
Joined: 2016-03-23 11:50

Capture- PSpice: COM Wrapper and Server Busy error

 

Error Code

None

Error Message

ERROR (ORCAP - 1028): The PSpice COM Wrapper error has occured 

 

ERROR (ORCOMMN-2302): Cannot Initialize profile 

 

Definition

 

Whenever I run simulation, I get either COM Wrapper or set of error messages including COM Wrapper error,Server busy and Cannot initialize profile error.What is the reason and how I can resolve this error?

 

Solution

 

Upon opening a PSpice enabled design or running simulation, Capture calls PSpice internally and if the COM function is unable to get acknowledgement within a finite time then it leads to the COM Wrapper error. Usually it is followed by Sever Busy and Cannot Initialize profile error messages.

 

Try the following steps one by one and check after each step if problem is resolved:

 

1.    Do File > Exit to close Capture and PSpice application (if running) :


Go to Windows Task manager by Pressing CTRL + ALT + DELETE and select Task manager. In Windows Task Manager select Processes and click on Image name to sort the processes alphabetically. Kill the following processes in Task Manager:

 

- capture.exe

- cdsMsgServer.exe

- cdsNameServer.exe

- MrkSrvr.exe

- pspice.exe

- pspiceexplorersrvr.exe

- simmgr.exe

- simsrvr.exe

 

2 .Invoke Capture. Choose View — Toolbar — Command Window and type the following in the command window:

DboTclHelper_ReRegisterOrCADPlugins

Note: This step is applicable only for SPB 16.3 or later releases.For SPB/Orcad 16.2 and earlier releases, please unzip attached batch file pspice.zip and save at the location <CDS_INSTALL_DIR>\tools\pspice .Double clicking the batch file registers the required dlls and exes.

 


3. Add a Variable with name CDS_IGNORE_LIC_FEATURE and value TRUE in system variables.

 

On Win XP

 

a. Go to Start > Settings > Control Panel > System > Advanced > Environment Variable > System Variables.
b. Click On "NEW" under "System Variables" and define this new variable as:

Variable Name: CDS_IGNORE_LIC_FEATURE
Variable Value: TRUE

 

On Win 7

a. Open Control panel and search for "environment".
b. This will give an option to "Edit the system Environment variables". Click on it to open System properties.
c. In System properties dialogue box, click "Advanced" > "Environment variables"
d. Click on "New" in systems variable section and then define the variable

 


4. Make sure that the Computer/System has sufficient RAM (minimum of 2GB).

 

5. Edit the Environment variable PATH such that Cadence Path is at the beginning. Go to Start > Settings > Control Panel > System > Advanced > Environment Variable > System Variables. Edit PATH variable to have below mentioned value:

 

%CDSROOT%\tools\bin;%CDSROOT%\tools\libutil\bin;%CDSROOT%\tools\fet\bin;%CDSROOT%\tools\pcb\bin;%CDSROOT%\tools\PSpice;%CDSROOT%\tools\PSpice\Library;%CDSROOT%\tools\Capture;%CDSROOT%\tools\specctra\bin;%CDSROOT%\OpenAccess\bin\win32\opt;rest of the PATH

 

6. Invoke PSpice stand alone by going to Start > Programs > Cadence > Release 16.X > PSpice AD. Now invoke Capture CIS, open the design and check the problem.

 

7. Go to Start > Run and type "regedit". Delete the following registry entry:

 

  HKEY_CURRENT_USER\Software\OrCAD\CaptureWorkSpace\16.X.0

 

  (Where X can be 2, 3,5 or 6)

 

**DISCLAIMER**

 

EDITING THE REGISTRY

EDITING THE REGISTRY SHOULD ONLY BE DONE BY AN EXPERIENCED USER FAMILIAR WITH 'regedit'. INCORRECT EDITING CAN CAUSE CATASTROPHIC PROBLEMS. IT IS HIGHLY RECOMMENDED TO SAVE THE CURRENT REGISTRY FIRST BY OPENING 'regedit' AND SELECTING FILE > EXPORT.

 

*** EDIT AT YOUR OWN RISK! ***

 

Additional steps in case OS is Windows 7:

 

​8. Running Capture.exe as Administrator. This needs to be done only once.

a)    Go to <CDS_INSTALL_DIR>\tools\capture\capture.exe

b)    Right click on capture.exe and do Run as Administrator

8.    Try with UAC turned OFF. For this Admin Right is needed.

a)    Go to Control Panel > Search for UAC > Click "Change User Account settings".

b)    Scroll down the bar to "Never Notify".

Download PSpice and try it for free! Download Free Trial
Cadence