"Method Write . . . does not have an implementation"

P

Phil Sandler

Hello all,

Thanks in advance for any help with this.

I am trying to get sample code to run from Michael Russell's
excellent article on removing whitespace:
http://www.codeproject.com/aspnet/WhitespaceFilter.asp

I have also tried his updated version, which can be found (in a zip
file) here:
http://www.laytoncity.org/public1/code/code.htm

To me it seems like the error message is wrong. Write() is
implemented! It's my understanding that if it weren't, the code would
not compile.

What am I doing wrong?

This is the error message I get when I follow the instructions
(directly cutting and pasting):

Method Write in type EQAsite.WhitespaceFilter from assembly EQAsite,
Version=1.0.1706.23088, Culture=neutral, PublicKeyToken=null does not
have an implementation.
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.TypeLoadException: Method Write in type
EQAsite.WhitespaceFilter from assembly EQAsite,
Version=1.0.1706.23088, Culture=neutral, PublicKeyToken=null does not
have an implementation.

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:

[TypeLoadException: Method Write in type EQAsite.WhitespaceFilter from
assembly EQAsite, Version=1.0.1706.23088, Culture=neutral,
PublicKeyToken=null does not have an implementation.]
EQAsite.DefaultPage.Page_Init(Object sender, EventArgs e) +0
System.Web.UI.Control.OnInit(EventArgs e)
System.Web.UI.Control.InitRecursive(Control namingContainer)
System.Web.UI.Page.ProcessRequestMain()



Phil Sandler
 
P

Phil Sandler

Never mind. I shut down, got on the train and booted up, and it
worked with no error. Hmm.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top