473,320 Members | 2,073 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Compiler Error Message: BC30807: 'Let' and 'Set' assignment statem


Hi everyone,
Our company has several different servers which were hosted in different
places.
One of the servers I administer is using windows 2000 server which can run
both
asp and asp.net. I didn't do any specific IIS configuration.
One of my team member asked me a question about the error message as follow:

Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: BC30807: 'Let' and 'Set' assignment statements are
no longer supported.

Source Error:

from the following asp code:
Line 18:
Line 19: Dim Sendmail
Line 20: Set Sendmail = Server.CreateObject("CDONTS.NewMail")
Line 21:
Line 22: Sendmail.From = "www.services.com"

Source File: D:\XXXXXXX\index.aspx Line: 20

apparently, the .net compiler trying to compile the asp code. I didn't ask
what operating system is the server yet. in IIS, what I can change the set up
in order for the server being able to run both asp and asp.net. I just guess
windows 2003 server set up by default is "NO" for asp
--
Betty
Sep 1 '06 #1
1 7683
Steven,
Thank you so much to provide me so much information. It's really helpful.
Actually the code is from another person, I just cut and pasted into the
question and didn't even noticed she used .aspx extension.
Also I did see the screenshot you provided in outlook.(in my visual studio
..net software) my company use lotus notes.
I just cannot imagine that you are so detailed which I really need it and
always provide different solutions.
cheers
--
Betty
"Steven Cheng[MSFT]" wrote:
Hello Betty,

From your description, I understand when you running an aspx page which
contains code to create and use "CDONT" component, you're getting the
following error:

===================
Compiler Error Message: BC30807: 'Let' and 'Set' assignment statements are
no longer supported.
===================

Based on my research, this error is a typical error when we try using some
set/let VBscript code(usually used in ASP page) in ASP.NET page(VB.NET),

#'Let' and 'Set' assignment statements are no longer supported
http://msdn2.microsoft.com/en-us/library/9tzcse0s.aspx

As you mentioned that this is a classic ASP page, why did you use aspx as
the extension, if you use ASPX as extension, IIS6(on windows 2003 server)
will always process it through ASP.NET runtime engine.

If this does be a classic ASP page, you need to change it back to .asp
extension. And you're right that ASP is disabled by default on windows2003
iis6, you can enable it in the "Web Service Extensions" setting in the
IIS6's management console. I've attached a screenshot on the "Web Service
Extensions" setting for ASP in this message. (You can get it if you're
using Outlook express to visit the newsgroup, please let me know if you can
not get it).

If the page is ASP.NET page, you can consider using the .net framework's
built-in SMTP components to send email:

** if the page is an ASP.NET 1.1 page, you can use the System.Web.Mail
components

#System.Web.Mail Namespace
http://msdn.microsoft.com/library/en...webmail.asp?fr
ame=true
** if the page is an ASP.NET 2.0 page, you can use the enchanced
System.Net.Mail components:

#System.Net.Mail Namespace
http://msdn2.microsoft.com/en-us/lib....net.mail.aspx
In addition, the following faq sites are also very good:

http://www.systemwebmail.net

http://www.systemnetmail.net

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.


Sep 1 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Matthew Del Buono | last post by:
Don't try to solve the problem. I've found a way -- around or fixing it. I'm just curious as to whether this is Microsoft's problem in their compiler or if there's a standard saying this is to be...
1
by: Sacha Faust | last post by:
I have an abstract class, RuleResponse, and then create a new class base on it, RuleResponseSequence, and override the ++ operater. If I try to cast a RuleResponse as a RuleResponseSequence and...
29
by: junky_fellow | last post by:
Consider the following piece of code: struct junk { int i_val; int i_val1; char c_val; }; int main(void) {
16
by: pj | last post by:
(Was originally, probably wrongly, posted to the vc subgroup.) (This doesn't appear to be a c# problem, but a problem with a bug in the Visual Studio c# compiler, but, any help will be welcome...)...
3
by: Alexander Arlievsky | last post by:
Hi, C# compiler issues error message on the following lines: GetStruct().Depth = 10; if GetStruct() returns structure (value type). It seems to be correct - else you will modify temporary value...
0
by: HKSHK | last post by:
This list compares the error codes used in VB.NET 2003 with those used in VB6. Error Codes: ============ 3: This Error number is obsolete and no longer used. (Formerly: Return without GoSub)...
9
by: Raj | last post by:
public static void HandleException(ref Exception io_exException, bool i_blnPropagateException) { switch (true) { case io_exException is ApplicationHandledException: { if...
43
by: JohnQ | last post by:
Are a default constructor, destructor, copy constructor and assignment operator generated by the compiler for a struct if they are not explicitely defined? I think the answer is yes, because...
1
by: dileepd | last post by:
Hi Every one, Could you please let me know if you have any clue about following things. 1. Whether type bool acts like a kind of signed int type in g++ on solaris 9(a/c to my invetsigation it...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.