"Name '...' is not declared" error.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello. I have an aspx page called MyAspx.aspx (for the sake of this
discussion) and its associated code file, MyAspx.aspx.vb. In the .vb file, I
have declared a variable as follows:

Public strIntRate As String

In the Visual Studio .NET debugger, the web page compiles and runs
perfectly. However, I just published the web site on a different web server.
Upon accessing the page there, it gives the error, "Name 'strIntRate' is not
declared" and calls it a compilation error.

Admittedly, I'm green at publishing .NET web sites. Can anyone point me to
what the problem might be? If you need more info, let me know.

Thanks,
John
 
John,

I am not sure if I can answer this, however what I know is that in
publishing websites the way it is done is very much changed between the
2002/3 version and the 2005 version.

Therefore can you tell which you use.

Cor.
 
John,

I am sure not the best one to answer this. However did you use the publish
method, which starts with building DLL' with some obfuscated names?

Cor
 
Back
Top