Search All Forums
Dart Home | PowerWEB Zoom for ASP.NET | Custom Development Reply | PowerWEB Zoom for ASP.NET Topics | Forums   
AuthorForum: PowerWEB Zoom for ASP.NET
Topic: Strange Error

From: Idaho Falls, ID USA
Posts: 5
Member Since: 02/02/08
posted July 23, 2008 11:02 AM

When I run my asp.net app, which includes Power WEB Zoom, I get the following exception:

Server Error in '/' Application.

Method not found: 'Void System.IO.MemoryStream.Close()'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.MissingMethodException: Method not found: 'Void System.IO.MemoryStream.Close()'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:

[MissingMethodException: Method not found: 'Void System.IO.MemoryStream.Close()'.]
  Dart.PowerWEB.Zoom.CallbackManager.a(Object A_0, EventArgs A_1) +0
  System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
  System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:2.0.50727.3031; ASP.NET Version:2.0.50727.3031


My platform is as follows:

Windows Vista x64
Visual Studio 2005 and Visual Studio 2008
.NET Framework 3.5 (2.0 and 3.0 are included in the OS.. ASP.NET uses the 2.0 runtime)

On closer examination, I can see that the Dart.PowerWeb.Zoom assembly is compiled against the .NET 1.1 runtimes. Since System.IO.MemoryStream.Close() is a method of mscorlib.dll, perhaps there's a version mismatch here (1.5000.5.0 for .NET 1.1, and 2.0000.0.0 fr .NET 2.0+)? I tried installing .NET 1.1, but I don't think its 64-bit support is fully there. Is there a way you can provide your control compiled against the .NET 2.0 runtime instead of the 1.1 runtime? I am guessing this would fix the issue.


K M Drake

From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted July 23, 2008 11:12 AM

Hi Myke,
See my direct response to you.

This problem was introduced by the Framework 3.5 SP1 Beta, and we do not have a work-around.

Unfortunately, uninstalling the beta has proven near impossible without a complete re-format of the system.

We are currently waiting on a solution from Microsoft.


From: Idaho Falls, ID USA
Posts: 5
Member Since: 02/02/08
posted July 23, 2008 11:42 PM

I found a workaround. 

Because the Zoom component is compiled against .NET 1.1, the 3.5 beta runtime has problems resolving mscorlib.dll. This is obviously a bug in .NET 3.5 beta. 

However, the Zoom component can be moved from .NET 1.1 to .NET 2.0 using Microsoft's ILMERGE program. Once this is done, the component can be used without incident on a system with .NET 3.5 beta installed.

Here are the steps:

1. Download ILMerge.exe from Microsoft (http://www.microsoft.com/downloads/details.aspx?FamilyID=22914587-b4ad-4eae-87cf-b14ae6a939b0&displaylang=en)

2. Add ILMerge.exe to your system’s Path variable to make it easily available via command prompt (optional, but helpful)

3. Open a command prompt window and navigate to where the original Dart.PowerWEB.Zoom.dll is located ( “C:\Program Files (x86)\PowerWEB\Zoom for ASP.NET\Bin” was where mine was located)

4. Create a subfolder called “Dart20”

5. Type this:

ILMerge Dart.PowerWEB.Zoom.dll /OUT:Dart20\Dart.PowerWEB.Zoom.dll

This will use Microsoft’s ILMerge tool to read the original assembly and re-compile it. Since ILMerge only supports .NET 2.0 output, a 1.1 to 2.0 translation occurs, producing a 2.0 compiled assembly in the Dart20 subfolder, which can then be referenced in your project and will work flawlessly with .NET 3.5 Beta.


From: Idaho Falls, ID USA
Posts: 5
Member Since: 02/02/08
posted July 23, 2008 11:47 PM

P.S. If you do this, and you are using the component on a 64-bit server, you get the added benefit of running the component in the x64 .NET 2.0 runtime instead of the 32 bit 1.1 runtime. It's a bit of a nice compatibility and preformance boost.

John Talarico

From: Rome, NY USA
Posts: 630
Member Since: 06/01/05
posted August 28, 2008 3:21 PM

We have just posted an update for all PowerWEB products that corrects the problem introduced with the installation of Framework 3.5 SP1.

For customers evaluating the product and seeing this issue, we suggest downloading the latest trial.

For current customers with licensed versions of the product, please download the latest version using the unique download link sent to you at the time of purchase.

If you have not installed Framework 3.5 SP1, there is no need to install the update since it does not correct any other issues, not does it add any new features.

-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.


From: lincoln, United Kingdom
Posts: 4
Member Since: 04/01/08
posted December 4, 2009 5:37 AM


We purchased PowerWeb Upload over a year ago and I am now getting the Method not found: 'Void System.IO.MemoryStream.Close()' error.

How Do I get a download of the latest version?


Reply | PowerWEB Zoom for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX