VSS Plugin: com4j.ComException while extraction

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

VSS Plugin: com4j.ComException while extraction

Muraleedhara Reddy

Hi All,

If any user encountered below issue, please let me know the the solution. My project is configured to extract code from VSS. I have the VSS options as below.

Server Path:                  \\myvssserver\Source\Portfolio\srcsafe.ini

User Name:                   username

Password:                     ********

VSS Folder Path:            Trunk\myproject

 And I have ticked the following:

Keep the files as writable

Fetch the files in recursive order

Use update

But I am getting below error while extracting the code from VSS in my project:

         started

        FATAL: com4j.ComException: 80040154 CoCreateInstance failed : Class not registered : .\com4j.cpp:135
        java.io.IOException: com4j.ComException: 80040154 CoCreateInstance failed : Class not registered : .\com4j.cpp:135
                at scm.vss.VSSSCM.getHistoryEntries(VSSSCM.java:420)
                at scm.vss.VSSSCM.getHistoryEntries(VSSSCM.java:281)
                at scm.vss.VSSSCM.checkout(VSSSCM.java:242)
                at hudson.model.AbstractProject.checkout(AbstractProject.java:634)
                at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:260)
                at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:234)
                at hudson.model.Run.run(Run.java:793)
                at hudson.model.Build.run(Build.java:88)
                at hudson.model.ResourceController.execute(ResourceController.java:70)
                at hudson.model.Executor.run(Executor.java:88)

Thanks in advance,

Muraleedhara Reddy .S


Reply | Threaded
Open this post in threaded view
|

Re: VSS Plugin: com4j.ComException while extraction

Shashikant Kale
I had the same issue. The problem is with the VSS installation. If vss client is copied and not installed then the VSS dlls do not get registered. Try registering {Vss client installation folder}\win32\SSAPI.dll on command prompt as regsvr32 {Vss client installation folder}\win32\SSAPI.dll


Thanks,
Shashi

Muraleedhara Reddy wrote
Hi All,

If any user encountered below issue, please let me know the the solution. My
project is configured to extract code from VSS. I have the VSS options as
below.

Server Path:                  \\myvssserver\Source\Portfolio\srcsafe.ini

User Name:                   username

Password:                     ********

VSS Folder Path:            Trunk\myproject

 And I have ticked the following:

Keep the files as writable

Fetch the files in recursive order

Use update

But I am getting below error while extracting the code from VSS in my
project:

         started

        FATAL: com4j.ComException: 80040154 CoCreateInstance failed :
Class not registered : .\com4j.cpp:135

        java.io.IOException: com4j.ComException: 80040154
CoCreateInstance failed : Class not registered : .\com4j.cpp:135

                at scm.vss.VSSSCM.getHistoryEntries(VSSSCM.java:420)

                at scm.vss.VSSSCM.getHistoryEntries(VSSSCM.java:281)

                at scm.vss.VSSSCM.checkout(VSSSCM.java:242)

                at
hudson.model.AbstractProject.checkout(AbstractProject.java:634)

                at
hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:260)

                at
hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:234)

                at hudson.model.Run.run(Run.java:793)

                at hudson.model.Build.run(Build.java:88)

                at
hudson.model.ResourceController.execute(ResourceController.java:70)

                at hudson.model.Executor.run(Executor.java:88)

Thanks in advance,

Muraleedhara Reddy .S