473,765 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems with source code on iis server


ORIGINAL POST BELOW.. this is an addendum.... read from THE ORIGINAL
POST first and below... andthen come back up to this section
now upon further reading, i can provide some more context.......
Here is what my global.asax file contains

<%@ Application Codebehind="Glo bal.asax.vb" Inherits="GT.Gl obal" %>

below is some of the code from the default.aspx file. My global.asax
file
is inside of the virtual root folder with the rest of the .aspx files.
I do
not understand why default.aspx is not referencing the global class
where all
of my public variables and public constants are defined. I am PERPLEXED

**************T HE ORIGINAL POST*********** ************

"BookerW" wrote:
Ok, here is the situation. I have some vb code that was upgraded to the earliest asp, I believe. When i run this snippet of code below on my local xp box with iis and visual studio 2003 installed, it runs just fine... when i run it on my w2k3 box with iis and asp.net 1.1 and 2.0 installed, but only 1.1 active now because of the aspnet_regiis -i command that was run in the v1.1.4 folder, i get the error below the code:

Code

<%@ Import Namespace="GT.G lobal"%>
<%@ Page Language="vb" AutoEventWireup ="false" Codebehind="Def ault.aspx.vb" Inherits="GT._D efault"%>
<HTML>
<HEAD>
<title>MBA Database Home Page</title>
<link rel="SHORTCUT ICON" href="http://www.namee.com/icons/gt.ico">
<link href="css/style.css" rel="stylesheet " type="text/css">
<script language="JavaS cript" src="java/GetCookie.js"></script>
</HEAD>
<body bgcolor="#fffff f" text="#000000" leftmargin="2" topmargin="0"
marginwidth="2" marginheight="0 ">
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3"><im g src="images/spacer.gif" alt="spacer" width="1" height="11" border="0"></td>
</tr>
<tr>
<td colspan="3"><im g src="images/spacer.gif" alt="spacer" width="15" height="1" border="0"><a href="<%=SCHOOL _WEB_ADDRESS%>" target=_blank>< img src="<%=SCHOOL_ LOGO%>" alt="<%=SCHOOL_ LOGO_ALT%>" border=0></a></td>
</tr>
<tr>
<td colspan="3"><im g src="images/spacer.gif" alt="spacer" width="1" height="9"></td>
</tr>
<tr>
<td bgcolor="<%=TOP _BANNER_COLOR%> " width="759" colspan=3 valign=middle> <table cellpadding="5" cellspacing="0" border="0">
<tr>
<td><img src="images/spacer.gif" alt="spacer" width="15" height="1" border="0"><img src="images/img_bsgt.gif" alt="The Business School at Name Tech" width="132"
height="30"></td>
<td><h4 style="MARGIN-BOTTOM: 0px; COLOR: #ffffff">MBA<%I f
gbDevelopment Then%>
Development<%En d If%>
Database</h4>

Error when run on my iis server:

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: BC30451: Name 'gbDevelopment' is not declared.

Source Error:

Line 25: <td><img src="images/spacer.gif" alt="spacer" width="15" height="1" border="0"><img src="images/img_bsgt.gif" alt="The Business School at Name Tech" width="132"
Line 26: height="30"></td>
Line 27: <td><h4 style="MARGIN-BOTTOM: 0px; COLOR: #ffffff">MBA<%I f gbDevelopment Then%>
Line 28: Development<%En d If%>
Line 29: Database</h4>
Source File: C:\Old mba db sourcefiles\GT\ default.aspx Line: 27

Interestingly enough, if i remove the line that references the gbdevelopment variable the page loads just fine. So somehow, it does not seem to recognize the file that has all of the Global variables described. Is there something in the syntax of the import command that may have changed from the asp.net environment to the 1.14 environment....


*** Sent via Developersdex http://www.developersdex.com ***
Jan 24 '06 #1
2 1531
ok discard the earlier post.. i am starting over and looking for guidance on
how and what order to setup iis to prepare for some code that was built for
the 1.1.4322 framework

b

"Booker Washington" wrote:

ORIGINAL POST BELOW.. this is an addendum.... read from THE ORIGINAL
POST first and below... andthen come back up to this section
now upon further reading, i can provide some more context.......
Here is what my global.asax file contains

<%@ Application Codebehind="Glo bal.asax.vb" Inherits="GT.Gl obal" %>

below is some of the code from the default.aspx file. My global.asax
file
is inside of the virtual root folder with the rest of the .aspx files.
I do
not understand why default.aspx is not referencing the global class
where all
of my public variables and public constants are defined. I am PERPLEXED

**************T HE ORIGINAL POST*********** ************

"BookerW" wrote:
Ok, here is the situation. I have some vb code that was upgraded to

the
earliest asp, I believe. When i run this snippet of code below on my

local
xp box with iis and visual studio 2003 installed, it runs just fine...

when i
run it on my w2k3 box with iis and asp.net 1.1 and 2.0 installed, but

only
1.1 active now because of the aspnet_regiis -i command that was run in

the
v1.1.4 folder, i get the error below the code:

Code

<%@ Import Namespace="GT.G lobal"%>
<%@ Page Language="vb" AutoEventWireup ="false"

Codebehind="Def ault.aspx.vb"
Inherits="GT._D efault"%>
<HTML>
<HEAD>
<title>MBA Database Home Page</title>
<link rel="SHORTCUT ICON" href="http://www.namee.com/icons/gt.ico">
<link href="css/style.css" rel="stylesheet " type="text/css">
<script language="JavaS cript" src="java/GetCookie.js"></script>
</HEAD>
<body bgcolor="#fffff f" text="#000000" leftmargin="2" topmargin="0"
marginwidth="2" marginheight="0 ">
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3"><im g src="images/spacer.gif" alt="spacer"

width="1"
height="11" border="0"></td>
</tr>
<tr>
<td colspan="3"><im g src="images/spacer.gif" alt="spacer"

width="15"
height="1" border="0"><a href="<%=SCHOOL _WEB_ADDRESS%>"

target=_blank>< img
src="<%=SCHOOL_ LOGO%>" alt="<%=SCHOOL_ LOGO_ALT%>" border=0></a></td>
</tr>
<tr>
<td colspan="3"><im g src="images/spacer.gif" alt="spacer"

width="1"
height="9"></td>
</tr>
<tr>
<td bgcolor="<%=TOP _BANNER_COLOR%> " width="759" colspan=3

valign=middle>
<table cellpadding="5" cellspacing="0" border="0">
<tr>
<td><img src="images/spacer.gif" alt="spacer" width="15"

height="1"
border="0"><img src="images/img_bsgt.gif" alt="The Business School at

Name
Tech" width="132"
height="30"></td>
<td><h4 style="MARGIN-BOTTOM: 0px; COLOR: #ffffff">MBA<%I f
gbDevelopment Then%>
Development<%En d If%>
Database</h4>

Error when run on my iis server:

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: BC30451: Name 'gbDevelopment' is not declared.

Source Error:

Line 25: <td><img src="images/spacer.gif" alt="spacer"

width="15"
height="1" border="0"><img src="images/img_bsgt.gif" alt="The Business

School
at Name Tech" width="132"
Line 26: height="30"></td>
Line 27: <td><h4 style="MARGIN-BOTTOM: 0px; COLOR:

#ffffff">MBA<%I f
gbDevelopment Then%>
Line 28: Development<%En d If%>
Line 29: Database</h4>
Source File: C:\Old mba db sourcefiles\GT\ default.aspx Line: 27

Interestingly enough, if i remove the line that references the

gbdevelopment
variable the page loads just fine. So somehow, it does not seem to

recognize
the file that has all of the Global variables described. Is there

something
in the syntax of the import command that may have changed from the

asp.net
environment to the 1.14 environment....


*** Sent via Developersdex http://www.developersdex.com ***

Jan 27 '06 #2
Final solution that seemed to work:

Ok, the quick rundown

Fixed the ldap references In the code

Replaced the username and passwords for accounts in our domain (Remember
this code came from a separate company)

Installed Oracle Client software on Server

Installed Oracle OLE DB connectivity software (ODAC) from Oracle’s website.
This seemed to resolve the error I got in regards to the Oracle Client not
being found

Finally, the account used to access the database did not have the right to
view specific tables. It could see the list of tables, but not specific
tables.

My DBA had to create synonyms for the account used to access the database to
mimic the account that had ownership of the tables in the database.

At this point, I can now connect, perform queries on the tables, etc ,etc..

Wallah, thanks for the journey,

Thanks for all of your help

"BookerW" wrote:
ok discard the earlier post.. i am starting over and looking for guidance on
how and what order to setup iis to prepare for some code that was built for
the 1.1.4322 framework

b

"Booker Washington" wrote:

ORIGINAL POST BELOW.. this is an addendum.... read from THE ORIGINAL
POST first and below... andthen come back up to this section
now upon further reading, i can provide some more context.......
Here is what my global.asax file contains

<%@ Application Codebehind="Glo bal.asax.vb" Inherits="GT.Gl obal" %>

below is some of the code from the default.aspx file. My global.asax
file
is inside of the virtual root folder with the rest of the .aspx files.
I do
not understand why default.aspx is not referencing the global class
where all
of my public variables and public constants are defined. I am PERPLEXED

**************T HE ORIGINAL POST*********** ************

"BookerW" wrote:
Ok, here is the situation. I have some vb code that was upgraded to

the
earliest asp, I believe. When i run this snippet of code below on my

local
xp box with iis and visual studio 2003 installed, it runs just fine...

when i
run it on my w2k3 box with iis and asp.net 1.1 and 2.0 installed, but

only
1.1 active now because of the aspnet_regiis -i command that was run in

the
v1.1.4 folder, i get the error below the code:

Code

<%@ Import Namespace="GT.G lobal"%>
<%@ Page Language="vb" AutoEventWireup ="false"

Codebehind="Def ault.aspx.vb"
Inherits="GT._D efault"%>
<HTML>
<HEAD>
<title>MBA Database Home Page</title>
<link rel="SHORTCUT ICON" href="http://www.namee.com/icons/gt.ico">
<link href="css/style.css" rel="stylesheet " type="text/css">
<script language="JavaS cript" src="java/GetCookie.js"></script>
</HEAD>
<body bgcolor="#fffff f" text="#000000" leftmargin="2" topmargin="0"
marginwidth="2" marginheight="0 ">
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td colspan="3"><im g src="images/spacer.gif" alt="spacer"

width="1"
height="11" border="0"></td>
</tr>
<tr>
<td colspan="3"><im g src="images/spacer.gif" alt="spacer"

width="15"
height="1" border="0"><a href="<%=SCHOOL _WEB_ADDRESS%>"

target=_blank>< img
src="<%=SCHOOL_ LOGO%>" alt="<%=SCHOOL_ LOGO_ALT%>" border=0></a></td>
</tr>
<tr>
<td colspan="3"><im g src="images/spacer.gif" alt="spacer"

width="1"
height="9"></td>
</tr>
<tr>
<td bgcolor="<%=TOP _BANNER_COLOR%> " width="759" colspan=3

valign=middle>
<table cellpadding="5" cellspacing="0" border="0">
<tr>
<td><img src="images/spacer.gif" alt="spacer" width="15"

height="1"
border="0"><img src="images/img_bsgt.gif" alt="The Business School at

Name
Tech" width="132"
height="30"></td>
<td><h4 style="MARGIN-BOTTOM: 0px; COLOR: #ffffff">MBA<%I f
gbDevelopment Then%>
Development<%En d If%>
Database</h4>

Error when run on my iis server:

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: BC30451: Name 'gbDevelopment' is not declared.

Source Error:

Line 25: <td><img src="images/spacer.gif" alt="spacer"

width="15"
height="1" border="0"><img src="images/img_bsgt.gif" alt="The Business

School
at Name Tech" width="132"
Line 26: height="30"></td>
Line 27: <td><h4 style="MARGIN-BOTTOM: 0px; COLOR:

#ffffff">MBA<%I f
gbDevelopment Then%>
Line 28: Development<%En d If%>
Line 29: Database</h4>
Source File: C:\Old mba db sourcefiles\GT\ default.aspx Line: 27

Interestingly enough, if i remove the line that references the

gbdevelopment
variable the page loads just fine. So somehow, it does not seem to

recognize
the file that has all of the Global variables described. Is there

something
in the syntax of the import command that may have changed from the

asp.net
environment to the 1.14 environment....


*** Sent via Developersdex http://www.developersdex.com ***

Feb 9 '06 #3

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

Similar topics

5
13718
by: Jim Andersen | last post by:
Hi, I made a DTS-package and it works when I execute it manually, but when it is run by the SQL Server Agent, it fails. I have use the guide to create a maintenance plan. That doesn't work so good either. It runs Optimizations, but not integrity checks or backups (probably because integrity checks failed). The following from the log file:
5
6089
by: Justice | last post by:
Currently I'm doing some experimenting with the XMLHTTP object in Javascript. Now, the XMLHttp object is asynchronous (at least in this case), and the following code causes a significant memory loss even though I seem to be allocaitng everything; help would be *vastly* appreciated. What am I doing wrong here? I thought I was doing everything correctly (setting things to null, for example) but none of the memory seems to get replaced. ...
17
2494
by: Lloyd Sheen | last post by:
This IDE is driving me nuts. I needed another button so I copied an existing one, changed the Text and the id and position by drag and drop. Well then I run and get the following: Control 'Button19' of type 'Button' must be placed inside a form tag with runat=server Can the IDE not do what it is supposed to do. It seems that it is a fight to make it do anything or did I do something wrong? It would seem silly to have to create a...
1
275
by: Josh | last post by:
The error I am getting is the following. ALong with the error asp doesnt start and the web site is down until I reregister asp service. Event Type: Error Event Source: ASP.NET 1.1.4322.0 Event Category: None Event ID: 1084
2
3182
by: Brian | last post by:
NOTE ALSO POSTED IN microsoft.public.dotnet.framework.aspnet.buildingcontrols I have solved most of my Server Control Collection property issues. I wrote an HTML page that describes all of the problems that I have encountered to date and the solutions (if any) that I found. http://users.adelphia.net/~brianpclab/ServerControlCollectionIssues.htm This page also has all of the source code in a compressed file that you are free to download...
4
2179
by: HNguyen | last post by:
Hi, I have a Web application in ASP.NET. My Application allows the users upload files into the server after checking their user names and passwords. For each transaction, the Web program will write the information about user name, filename upload, filesize, date and time of uploading into the log file. (The name of the log file is constructed by Current Year and Current Month in my program). Is there any problems with writing into the...
0
1270
by: Peter R. Vermilye | last post by:
I am involved on a web application that is using a third party set of APIs for remote database access (middleware). I've been brought in because of my background in programming, thus I'm new to this web development process so forgive my ignorance. The third party has a shopping cart which must be saved in the session. When navigating from page to page we experience some odd behavior on the hosted server that we do not see on our...
5
1697
by: Bendik Engebretsen | last post by:
Developed this personal WEB site with the new ASP.NET 2.0 Beta: http://www.techsoft.no/bendik/ It has got this problem: After a while browsing through pictures on the site, an error occurs: 'Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.'
17
2105
by: Leif | last post by:
Hello All, Last week (11 Nov 05) with the Subject header: "XHTML 1.0 Strict validation problem", I tried to describe a validation problem with text added to my source files in XHTML. I was asked to publish the code by several members of this group, but hesitated initially as I was not sure my organisation would allow/accept it, however here it is:
1
1865
by: mister-Ed | last post by:
I am displaying subcategories in my datalist, and now I have a bizarre thing happen when I add a new subcategory record in my sql database, the new subcategory link does not click into the next page: Here is the code surrounding my dynamic 'subcategory': <a href="prov-results1.aspx?county=< %#Server.UrlEncode(Request.QueryString("county")) & "&subcat=" & Server.UrlEncode((Eval("SubCategory").ToString())) & "&category=" &...
0
9398
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
10160
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...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9951
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
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.