473,796 Members | 2,704 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error BC30451

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

<script language="javas cript">
document.form1. PageUrl.value=' <%=Request.Serv erVariables("HT TP_REFERER")%>' ;
</script>
Sep 6 '06 #1
3 4222
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******** ********@TK2MSF TNGP04.phx.gbl. ..
>I am getting the error "BC30451: Name '__w' is not declared". How can I
fix
this? Here is my code...

<script language="javas cript">
document.form1. PageUrl.value=' <%=Request.Serv erVariables("HT TP_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="javas cript">
document.form1 .PageUrl.value= '<%=Request.Ser verVariables("H TTP_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="javas cript">
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
5987
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" Codebehind="CRList.ascx.vb" Inherits="x.x.x.net.WebUserControl1" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %> <% If CRListType = "full" %> ----------ERROR IS OCCURRING HERE ----------- ------------------------
3
4793
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 link converts the text to French. In the ASP page with the form on it there is an includes file pointing to the scripts page. The scripts page holds the values for both languages. It works great in ASP but as soon as I rename the page to a .aspx...
1
2195
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 C:\Inetpub\wwwroot\crm\CRMdbService.vb In the file I used the function DateAdd. When I compile I get Error BC30451 Name 'DateAdd' is not declared. I have the following imports in my code: Imports System
0
1423
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: ******************************************************* Sub Application_Error Dim objMail As New MailMessage objMail.From = "tfs@ftsolutions.com"
2
3816
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
2148
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 session variables from Application_Error event, but I need to so I don't need to set up traces to see what they are during an error. I am emailing the error condition to myself when it happens.
0
922
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: Name 'Directory' is not declared. Line 10: Dim albumPath As String = GetPath(PathTypes.Originals)
4
6827
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: <% = Utilities.createNavBar ()%> Line 53: </ DIV> Line 54: <div id="main">
0
1231
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 "c:\inetpub\wwwroot\resintra" -v / c:\compiled\resintra -f or if i run it within Visual Web Developer (Cassini), in both cases it works without error!! Any idea?
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9535
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10467
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10201
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9061
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6802
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2931
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.