Microsoft Content Management Server - SDAPIExport question

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > March 2005 > SDAPIExport question





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 SDAPIExport question
djoledjole

2005-03-31, 7:47 am

I use Stefan's code from gotdotnet.com(calling SDAPI from managed Code) and
I did little modification in the code. I won’t export .sdo file with next
parameter set strPackageName = "http://localhost/export/Export.sdo";

but when I try to execute create .exe file I receive next error

"An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred in
MyNavigationServerControl.exe

Additional information: Could not create compressed file. The file is
hidden - remove the hidden attribute from the file and try the operation
again."

Is it possible to write file as mentioned above



Stefan [MSFT]

2005-03-31, 7:47 am

Hi,

you need to add a file system location for the SDO and not a web location.

Something like

c:\directory\export.sdo

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"djoledjole" <djdjokic@protected> wrote in message
news:a9e005d19c51b99491f21add917d673b@lo
calhost.talkaboutsoftware.com...
> I use Stefan's code from gotdotnet.com(calling SDAPI from managed Code)

and
> I did little modification in the code. I won't export .sdo file with next
> parameter set strPackageName = "http://localhost/export/Export.sdo";
>
> but when I try to execute create .exe file I receive next error
>
> "An unhandled exception of type
> 'System.Runtime.InteropServices.COMException' occurred in
> MyNavigationServerControl.exe
>
> Additional information: Could not create compressed file. The file is
> hidden - remove the hidden attribute from the file and try the operation
> again."
>
> Is it possible to write file as mentioned above
>
>
>



djoledjole

2005-03-31, 7:47 am

Sorry on my bad english construction butt I want to export on web location.
is it possible to export on web location

Stefan [MSFT]

2005-03-31, 7:47 am

Hi,

no that is not possible.
Only on file system.
You could then add a program as additional step that uploads this to the
web.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"djoledjole" <djdjokic@protected> wrote in message
news:651f7606027a8d5d2d9da430636bd35b@lo
calhost.talkaboutsoftware.com...
> Sorry on my bad english construction butt I want to export on web

location.
> is it possible to export on web location
>



djoledjole

2005-03-31, 7:48 am

Please, give me any idea how to upload that on web butt (if it is possible)
not to do manually via FTP

Stefan [MSFT]

2005-03-31, 7:48 am

Hi,

this is not a MCMS question.
I would use FTP.
FTP can be scripted - so no need to do it manually.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights
Book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------


"djoledjole" <djdjokic@protected> wrote in message
news:9ef56623ed7cccb9000d702e7e3b3b67@lo
calhost.talkaboutsoftware.com...
> Please, give me any idea how to upload that on web butt (if it is

possible)
> not to do manually via FTP
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com