Neuron ESB User Network

The Service Bus for the Connected Business

Good Day,

I'm having trouble referencing/using the ZipFile class from the  System.IO.Compression.FileSystem Assembly in a C# Code Process step. Am I missing a step or is my environment not properly setup? 

Neuron ESB Version - 3.5.4.1156

Thanks in advance,

Terry 

Views: 308

Reply to This

Replies to This Discussion

Terry,

Can you walk me through the steps that you are taking to achieve this as I have no problems referencing it on my end.

Steve Kardian|Solution Architect / Product Technical Specialist

Neudesic – The Trusted Technology Partner in Business Innovation

Direct: 602-419-2384 | Cell: 720-317-7129

mailto: steve.kardian@neudesic.com | www.neudesic.com

Hi Steve,

I am simply doing the following in a C# Class Process Step.

using System.IO.Compression.FileSystem; //ZipFile

Which results in the following message below the code editor window.

The type or namespace name 'FileSystem' does not exist in the namespace 'System.IO.Compression' (are you missing an assembly reference?) (14,29)

Since I did not setup this server, I was doing a bit of trouble shooting and discovered that .NET 4.5.1 had not been installed. So, I installed the .NET 4.7.1 update through Windows Update in hopes that it would resolve the reference issue. However, this update had no effect. Could this be the cause?

Terry,

Did you add the assembly reference from the GAC to the C# code step or the process as a whole?

Steve Kardian|Solution Architect / Product Technical Specialist

Neudesic – The Trusted Technology Partner in Business Innovation

Direct: 602-419-2384 | Cell: 720-317-7129

mailto: steve.kardian@neudesic.com | www.neudesic.com

Hi Steve,

With your help I was able to resolve my issue. I did not add the needed references to the process as a whole. Once I did this I was able to get what I needed. I appreciate your time and all of the help.

RSS

Neuron ESB Product Support Forums and Communities

Latest Activity

Anupama Nair posted a discussion

Marketo Adapter Invalid Token

Hi,We are using the Marketo adapter to push account updates to Marketo. It works well for some time then starts failing with Invalid Token unless restarted. Is there a configuration that can be done so it can auto refresh the token when required?Thanks!See More
Nov 6, 2023
Sayantini Basak posted a discussion

Maximum payload size(REST API) for requests interfacing to NeuronESB

I am new to Neuron ESB and in our current scenario,We need to process batch transactions comprising of ~1000 records and send them to Neuron ESB for further processing. I would like to understand what is the maximum size of payload that can be transferred using REST interface to Neuron ESB.See More
Jul 22, 2022
Profile IconRobert E Dunie and Sayantini Basak joined Neuron ESB User Network
Apr 28, 2022
Profile IconDayanand, Frederic C, Steffen Greve-Oksfeldt and 1 more joined Neuron ESB User Network
Mar 16, 2022
Profile IconCam Vong and Mitja Luznar joined Neuron ESB User Network
Jan 27, 2022
Profile IconWill Hitzges, Chad Parsons, michael larsen and 4 more joined Neuron ESB User Network
Jun 11, 2021
Anupama Nair posted a discussion

ODBC stored proc polling with temporary tables

We have set up an ODBC adapter to poll a stored proc.We found that if the stored proc has a temporary table defined the rows returned are always 0.Any idea why this would be and what we can do to get around it?See More
Dec 14, 2020
Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019

Badge

Loading…

© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service