473,382 Members | 1,302 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,382 software developers and data experts.

Error BC30451

I am getting the error "BC30451: Name '__w' is not declared". How can I fix
this? Here is my code...

<script language="javascript">
document.form1.PageUrl.value='<%=Request.ServerVar iables("HTTP_REFERER")%>';
</script>
Sep 6 '06 #1
3 4195
hi,
that error is a compiler error. i'd be sure it isn't anything to do with
the code you posted.
it looks like you are attempting to access a variable called "__w" that is
either private or doesn't exist.

try posting the relevant code.

tim
"SinCity" <nw*@gsw-inc.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>I am getting the error "BC30451: Name '__w' is not declared". How can I
fix
this? Here is my code...

<script language="javascript">
document.form1.PageUrl.value='<%=Request.ServerVar iables("HTTP_REFERER")%>';
</script>


Sep 6 '06 #2
hi,
that error is a compiler error. i'd be sure it isn't anything to do with
the code you posted.
it looks like you are attempting to access a variable called "__w" that is
either private or doesn't exist.

try posting the relevant code.
><script language="javascript">
document.form1.PageUrl.value='<%=Request.ServerVa riables("HTTP_REFERER")%>';
</script>
Ok let me add a little more info....if I take out the information containing
the ASP referer variable then the error goes away. For example I do not get
an error if I use this code...

<script language="javascript">
document.form1.PageUrl.value='';
</script>
Sep 6 '06 #3
hi, that's very strange then. i tried your code and it worked fine.
if it is an Asp.Net server error that comes up, can you post the stack trace
(and entire error message) so we can determine where it is coming from.

thanks
tim
Sep 6 '06 #4

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

Similar topics

0
by: DC Gringo | last post by:
I'm getting a "BC30451: Name 'CRListType' is not declared." error Here's the top of the page where I'm getting stuck... <%@ Control Language="vb" AutoEventWireup="false"...
3
by: selena | last post by:
I have created 2 ASP pages that gives users the option of switching back and forth between French and English. They click on the word English and it converted the text to English and the French...
1
by: Matt Tapia | last post by:
I trying to compile a .vb file as such: vbc /t:library /out:C:\Inetpub\wwwroot\crm\bin\CRMWebServices.dll /r:System.dll /r:System.Data.Dll /r:System.Web.Services.dll /r:System.Xml.dll...
0
by: tshad | last post by:
I have an error routine in my Global.asax that gives me a different message than asp.net when you let it give you the error page. My error routine looks like: ...
2
by: fabrice | last post by:
Hello I'm getting an error during a .vb file compilation. My command is : vbc /t:library /r:system.web.dll /r:system.dll /r:mscorlib.dll myFile.vb The error is :
2
by: tshad | last post by:
This has been driving me crazy. I have been trying to get the error handling working on my system and can get parts of it working and others won't work at all. I found that you can't access...
0
by: Amy Zhao | last post by:
Hi, I get the mentioned compilation error after I deployed my website to the host server. Everything works fine on my local machine. What is the problem?? Any help is appreciated!! BC30451:...
4
by: Don Quijote de Nicaragua | last post by:
Hi, I have a problem trying to load a page, sends me the following error message: Error Message: BC30451: Name 'Utilities' is not declared. Line 50: </ DIV> Line 51: <div id="side"> Line 52:...
0
by: Tony | last post by:
Hi, when i run this code below, i get the error:Compiler Error Message: BC30451: Name 'check' is not declared. but if i compile it in advance like this:aspnet_compiler -p...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.