|
Home > Archive > Commerce Server General > July 2004 > Error when saving file in pipeline editor
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Error when saving file in pipeline editor
|
|
| Jirka Zahradka 2004-06-27, 7:48 am |
| I created custom pipeline component in C# and there is a problem with adding
this component into a pipeline. When I add this compoment in the pipeline
then I can not save it. It raises following error: "The file could not be
saved. Verify that there is plenty of disk space, and that there were no
failures in the components in the pipeline." Components that is distributed
with MSCS can be added without problems.
I created this component exactly as described in MSCS documentation. I also
tried to register component manually (adding to GAC with gacutil.exe,
creating COM interop with regasm.exe).
I also found some template C# component on the internet, but when I was
trying to save this one in pipeline, I saw the same error.
Could anyone help me, please?
Thanks.
Jirka
| |
| Vinod Kumar[MSFT] 2004-06-28, 7:29 pm |
| Error message being thrown by the pipeline editor is not right. It's some
kind of registration issue. Can you send me the template component which
you found on net I'll try to reproduce the behavior to investigate what's
going wrong.
Thanks
-Vinod
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
| |
| Ravi Shankar 2004-06-29, 5:52 pm |
| The IPersistDictionary Interface is required if you want=20
to implement a configuration page for your pipeline=20
component. This page would be required if you want to=20
configure some properties specific to the pipeline.
>-----Original Message-----
>After long hours of testing and comparing type libraries=20
of existing
>pipeline components distributed with CS I found that=20
they do not implement
>IPersistDictionary interface. After removing this=20
interface from my class
>declaration the pipeline could be saved and the=20
component in pipeline has
>been executing but raise some error. I am checking it at=20
the moment.
>
>Implementing this interface is recommended in=20
documentation, but I do not
>understand what is the exact purpose of this interface.=20
Fortunatelly it is
>optional interface.
>
>I enclose template custom component that I found in the=20
internet.
>
>
>"Vinod Kumar[MSFT]" <vkumar@online.microsoft.com> wrote=20
in message
>news:P0a6uxWXEHA.3048@cpmsftngxa10.phx.gbl...
not right. It's some[vbcol=seagreen]
template component which[vbcol=seagreen]
investigate what's[vbcol=seagreen]
and confers no[vbcol=seagreen]
>rights.
Corporation. All rights[vbcol=seagreen]
>
>
>
| |
| Vinod Kumar[MSFT] 2004-07-02, 9:10 pm |
| Problem here is the PipeCompUI.GetProgID property. This property returns the prog-id as
"TemplatePipeComp.PipeComp" which is not the correct prog-id. The prog-id with which this pipeline component is
registered is "PipelineUI.PipeCompUI". If you change the implementation of this property to return the correct prog-id it will
save the pipeline successfully.
Thanks
-Vinod
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
--------------------
From: "Jirka Zahradka" <jiri_z@volny.cz>
References: <Ok38q6DXEHA.2852@TK2MSFTNGP12.phx.gbl> <P0a6uxWXEHA.3048@cpmsftngxa10.phx.gbl>
Subject: Re: Error when saving file in pipeline editor
Date: Tue, 29 Jun 2004 10:10:59 +0200
Lines: 835
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Message-ID: <eGp7JCbXEHA.2664@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: pc01.logos.cz 80.95.106.161
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:14143
X-Tomcat-NG: microsoft.public.commerceserver.general
After long hours of testing and comparing type libraries of existing
pipeline components distributed with CS I found that they do not implement
IPersistDictionary interface. After removing this interface from my class
declaration the pipeline could be saved and the component in pipeline has
been executing but raise some error. I am checking it at the moment.
Implementing this interface is recommended in documentation, but I do not
understand what is the exact purpose of this interface. Fortunatelly it is
optional interface.
I enclose template custom component that I found in the internet.
"Vinod Kumar[MSFT]" <vkumar@online.microsoft.com> wrote in message
news:P0a6uxWXEHA.3048@cpmsftngxa10.phx.gbl...
> Error message being thrown by the pipeline editor is not right. It's some
> kind of registration issue. Can you send me the template component which
> you found on net I'll try to reproduce the behavior to investigate what's
> going wrong.
>
> Thanks
> -Vinod
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> You assume all risk for your use. © 2002 Microsoft Corporation. All rights
> reserved.
|
|
|
|
|