I get this error when I try to run my ASP.NET app on our server:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.
Parser Error Message: Could not load type 'myapp.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="myapp.Global"
%>
Source File: C:\FTP\user31\Htdocs\global.asax Line: 1
On my development machine, everything works fine. The path there is
c:\inetpub\wwwroot\myapp. Could that be affecting anything?
I have deleted the DLL and rebuilt then uploaded. No changes. I've moved
the global files into the bin folder and uploaded. No changes. I now have
the DLL and global files in both the root and bin folders. Still get the
error. Any suggestions?
Thanks,
Brett 8 1873
Is the global class actually in the myapp namespace? You can see this by
going to your object browser window in VS.Net (rather than the solution
explorer)
Karl
--
MY ASP.Net tutorials http://www.openmymind.net/
"Brett Romero" <no@spam.net> wrote in message
news:uk**************@TK2MSFTNGP12.phx.gbl... I get this error when I try to run my ASP.NET app on our server:
Server Error in '/' Application. --------------------------------------------------------------------------------
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'myapp.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="myapp.Global" %>
Source File: C:\FTP\user31\Htdocs\global.asax Line: 1
On my development machine, everything works fine. The path there is c:\inetpub\wwwroot\myapp. Could that be affecting anything?
I have deleted the DLL and rebuilt then uploaded. No changes. I've moved the global files into the bin folder and uploaded. No changes. I now have the DLL and global files in both the root and bin folders. Still get the error. Any suggestions?
Thanks, Brett
Yes - I can see it object browser.
myapp
{}myapp
Global
Bases and Interfaces
Thanks,
Brett
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:el**************@TK2MSFTNGP12.phx.gbl... Is the global class actually in the myapp namespace? You can see this by going to your object browser window in VS.Net (rather than the solution explorer)
Karl
-- MY ASP.Net tutorials http://www.openmymind.net/ "Brett Romero" <no@spam.net> wrote in message news:uk**************@TK2MSFTNGP12.phx.gbl...I get this error when I try to run my ASP.NET app on our server:
Server Error in '/' Application. --------------------------------------------------------------------------------
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'myapp.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="myapp.Global" %>
Source File: C:\FTP\user31\Htdocs\global.asax Line: 1
On my development machine, everything works fine. The path there is c:\inetpub\wwwroot\myapp. Could that be affecting anything?
I have deleted the DLL and rebuilt then uploaded. No changes. I've moved the global files into the bin folder and uploaded. No changes. I now have the DLL and global files in both the root and bin folders. Still get the error. Any suggestions?
Thanks, Brett
the error means, after loading all the dll's in the bin folder, none of them
contained a definition of class myapp.Global if you are sure the dll is
there, then that dll probably fails to load because it depends on another
dll.
-- bruce (sqlwork.com)
"Brett Romero" <no@spam.net> wrote in message
news:uk**************@TK2MSFTNGP12.phx.gbl... I get this error when I try to run my ASP.NET app on our server:
Server Error in '/' Application. --------------------------------------------------------------------------------
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'myapp.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="myapp.Global" %>
Source File: C:\FTP\user31\Htdocs\global.asax Line: 1
On my development machine, everything works fine. The path there is c:\inetpub\wwwroot\myapp. Could that be affecting anything?
I have deleted the DLL and rebuilt then uploaded. No changes. I've moved the global files into the bin folder and uploaded. No changes. I now have the DLL and global files in both the root and bin folders. Still get the error. Any suggestions?
Thanks, Brett
There is only one DLL generated. It is myapp.dll. I use to have the
website in htdocs\myapp.com\. Now it is in htdocs\. Seems as though the
error started after the move. I can reference the site at www.myapp.com/myapp.com and it works. www.myapp.com gives the error.
How can I figure out which other DLL is needed?
Thanks,
Brett
"Bruce Barker" <br******************@safeco.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl... the error means, after loading all the dll's in the bin folder, none of them contained a definition of class myapp.Global if you are sure the dll is there, then that dll probably fails to load because it depends on another dll.
-- bruce (sqlwork.com)
"Brett Romero" <no@spam.net> wrote in message news:uk**************@TK2MSFTNGP12.phx.gbl...I get this error when I try to run my ASP.NET app on our server:
Server Error in '/' Application. --------------------------------------------------------------------------------
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'myapp.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="myapp.Global" %>
Source File: C:\FTP\user31\Htdocs\global.asax Line: 1
On my development machine, everything works fine. The path there is c:\inetpub\wwwroot\myapp. Could that be affecting anything?
I have deleted the DLL and rebuilt then uploaded. No changes. I've moved the global files into the bin folder and uploaded. No changes. I now have the DLL and global files in both the root and bin folders. Still get the error. Any suggestions?
Thanks, Brett
Is the dll in htdocs\bin\myapp.dll
?
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Brett" <no@spam.net> wrote in message news:xq********************@comcast.com... There is only one DLL generated. It is myapp.dll. I use to have the website in htdocs\myapp.com\. Now it is in htdocs\. Seems as though the error started after the move. I can reference the site at www.myapp.com/myapp.com and it works. www.myapp.com gives the error.
How can I figure out which other DLL is needed?
Thanks, Brett
"Bruce Barker" <br******************@safeco.com> wrote in message news:%2***************@TK2MSFTNGP15.phx.gbl... the error means, after loading all the dll's in the bin folder, none of them contained a definition of class myapp.Global if you are sure the dll is there, then that dll probably fails to load because it depends on another dll.
-- bruce (sqlwork.com)
"Brett Romero" <no@spam.net> wrote in message news:uk**************@TK2MSFTNGP12.phx.gbl...I get this error when I try to run my ASP.NET app on our server:
Server Error in '/' Application. --------------------------------------------------------------------------------
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'myapp.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="myapp.Global" %>
Source File: C:\FTP\user31\Htdocs\global.asax Line: 1
On my development machine, everything works fine. The path there is c:\inetpub\wwwroot\myapp. Could that be affecting anything?
I have deleted the DLL and rebuilt then uploaded. No changes. I've moved the global files into the bin folder and uploaded. No changes. I now have the DLL and global files in both the root and bin folders. Still get the error. Any suggestions?
Thanks, Brett
Yes. At one point I also had it in the root folder. That didn't make any
difference.
Somewhere there is a path issue. I don't have Terminal Service access to
this machine. I use an interface provided by the hosting service. Is it
possible some type of permission needs to be applied for htdocs\bin to work?
Why does htdocs\myapp\bin work?
Thanks,
Brett
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:uJ****************@TK2MSFTNGP10.phx.gbl... Is the dll in htdocs\bin\myapp.dll
? Juan T. Llibre, ASP.NET MVP ASP.NET FAQ : http://asp.net.do/faq/ Foros de ASP.NET en Español : http://asp.net.do/foros/ ====================================== "Brett" <no@spam.net> wrote in message news:xq********************@comcast.com... There is only one DLL generated. It is myapp.dll. I use to have the website in htdocs\myapp.com\. Now it is in htdocs\. Seems as though the error started after the move. I can reference the site at www.myapp.com/myapp.com and it works. www.myapp.com gives the error.
How can I figure out which other DLL is needed?
Thanks, Brett
"Bruce Barker" <br******************@safeco.com> wrote in message news:%2***************@TK2MSFTNGP15.phx.gbl... the error means, after loading all the dll's in the bin folder, none of them contained a definition of class myapp.Global if you are sure the dll is there, then that dll probably fails to load because it depends on another dll.
-- bruce (sqlwork.com)
"Brett Romero" <no@spam.net> wrote in message news:uk**************@TK2MSFTNGP12.phx.gbl... I get this error when I try to run my ASP.NET app on our server:
Server Error in '/' Application. --------------------------------------------------------------------------------
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'myapp.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="myapp.Global" %>
Source File: C:\FTP\user31\Htdocs\global.asax Line: 1
On my development machine, everything works fine. The path there is c:\inetpub\wwwroot\myapp. Could that be affecting anything?
I have deleted the DLL and rebuilt then uploaded. No changes. I've moved the global files into the bin folder and uploaded. No changes. I now have the DLL and global files in both the root and bin folders. Still get the error. Any suggestions?
Thanks, Brett
Hi, Brett.
re: Is it possible some type of permission needs to be applied for htdocs\bin to work?
Sure.
htdocs needs to be mapped as an IIS Application root.
re: Why does htdocs\myapp\bin work?
Because htdocs\myapp is mapped as an application root.
If you want htdocs to be the application's root, you'll need
to get rid of htdocs\myapp as an application root, and set
htdocs as the application's root.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Brett Romero" <no@spam.net> wrote in message
news:OK**************@TK2MSFTNGP10.phx.gbl... Yes. At one point I also had it in the root folder. That didn't make any difference.
Somewhere there is a path issue. I don't have Terminal Service access to this machine. I use an interface provided by the hosting service. Is it possible some type of permission needs to be applied for htdocs\bin to work?
Why does htdocs\myapp\bin work?
Thanks, Brett
"Juan T. Llibre" <no***********@nowhere.com> wrote in message news:uJ****************@TK2MSFTNGP10.phx.gbl... Is the dll in htdocs\bin\myapp.dll
? Juan T. Llibre, ASP.NET MVP ASP.NET FAQ : http://asp.net.do/faq/ Foros de ASP.NET en Español : http://asp.net.do/foros/ ====================================== "Brett" <no@spam.net> wrote in message news:xq********************@comcast.com... There is only one DLL generated. It is myapp.dll. I use to have the website in htdocs\myapp.com\. Now it is in htdocs\. Seems as though the error started after the move. I can reference the site at www.myapp.com/myapp.com and it works. www.myapp.com gives the error.
How can I figure out which other DLL is needed?
Thanks, Brett
"Bruce Barker" <br******************@safeco.com> wrote in message news:%2***************@TK2MSFTNGP15.phx.gbl... the error means, after loading all the dll's in the bin folder, none of them contained a definition of class myapp.Global if you are sure the dll is there, then that dll probably fails to load because it depends on another dll.
-- bruce (sqlwork.com)
"Brett Romero" <no@spam.net> wrote in message news:uk**************@TK2MSFTNGP12.phx.gbl... >I get this error when I try to run my ASP.NET app on our server: > > Server Error in '/' Application. > -------------------------------------------------------------------------------- > > Parser Error > Description: An error occurred during the parsing of a resource required to > service this request. Please review the following specific parse error > details and modify your source file appropriately. > > Parser Error Message: Could not load type 'myapp.Global'. > > Source Error: > > Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="myapp.Global" > %> > > Source File: C:\FTP\user31\Htdocs\global.asax Line: 1 > > On my development machine, everything works fine. The path there is > c:\inetpub\wwwroot\myapp. Could that be affecting anything? > > I have deleted the DLL and rebuilt then uploaded. No changes. I've moved > the global files into the bin folder and uploaded. No changes. I now have > the DLL and global files in both the root and bin folders. Still get the > error. Any suggestions? > > Thanks, > Brett
I've created a virtual application and directory on the root. It is called
/myapp. I typed myapp into the name field but it reads as /myapp. Does
that matter?
Now I get this error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.
Parser Error Message: Could not load type 'myapp.Index'.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="index.aspx.vb" Inherits="myapp.Index"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>
Source File: C:\FTP\user31\Htdocs\index.aspx Line: 1
Thanks,
Brett
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:uT*************@TK2MSFTNGP15.phx.gbl... Hi, Brett.
re: Is it possible some type of permission needs to be applied for htdocs\bin to work?
Sure. htdocs needs to be mapped as an IIS Application root.
re: Why does htdocs\myapp\bin work?
Because htdocs\myapp is mapped as an application root.
If you want htdocs to be the application's root, you'll need to get rid of htdocs\myapp as an application root, and set htdocs as the application's root. Juan T. Llibre, ASP.NET MVP ASP.NET FAQ : http://asp.net.do/faq/ Foros de ASP.NET en Español : http://asp.net.do/foros/ ====================================== "Brett Romero" <no@spam.net> wrote in message news:OK**************@TK2MSFTNGP10.phx.gbl... Yes. At one point I also had it in the root folder. That didn't make any difference.
Somewhere there is a path issue. I don't have Terminal Service access to this machine. I use an interface provided by the hosting service. Is it possible some type of permission needs to be applied for htdocs\bin to work?
Why does htdocs\myapp\bin work?
Thanks, Brett
"Juan T. Llibre" <no***********@nowhere.com> wrote in message news:uJ****************@TK2MSFTNGP10.phx.gbl... Is the dll in htdocs\bin\myapp.dll
? Juan T. Llibre, ASP.NET MVP ASP.NET FAQ : http://asp.net.do/faq/ Foros de ASP.NET en Español : http://asp.net.do/foros/ ====================================== "Brett" <no@spam.net> wrote in message news:xq********************@comcast.com... There is only one DLL generated. It is myapp.dll. I use to have the website in htdocs\myapp.com\. Now it is in htdocs\. Seems as though the error started after the move. I can reference the site at www.myapp.com/myapp.com and it works. www.myapp.com gives the error.
How can I figure out which other DLL is needed?
Thanks, Brett
"Bruce Barker" <br******************@safeco.com> wrote in message news:%2***************@TK2MSFTNGP15.phx.gbl... > the error means, after loading all the dll's in the bin folder, none > of them contained a definition of class myapp.Global if you are sure > the dll is there, then that dll probably fails to load because it > depends on another dll. > > -- bruce (sqlwork.com) > > "Brett Romero" <no@spam.net> wrote in message > news:uk**************@TK2MSFTNGP12.phx.gbl... >>I get this error when I try to run my ASP.NET app on our server: >> >> Server Error in '/' Application. >> -------------------------------------------------------------------------------- >> >> Parser Error >> Description: An error occurred during the parsing of a resource >> required to >> service this request. Please review the following specific parse >> error >> details and modify your source file appropriately. >> >> Parser Error Message: Could not load type 'myapp.Global'. >> >> Source Error: >> >> Line 1: <%@ Application Codebehind="Global.asax.vb" >> Inherits="myapp.Global" >> %> >> >> Source File: C:\FTP\user31\Htdocs\global.asax Line: 1 >> >> On my development machine, everything works fine. The path there is >> c:\inetpub\wwwroot\myapp. Could that be affecting anything? >> >> I have deleted the DLL and rebuilt then uploaded. No changes. I've >> moved >> the global files into the bin folder and uploaded. No changes. I >> now have >> the DLL and global files in both the root and bin folders. Still get >> the >> error. Any suggestions? >> >> Thanks, >> Brett
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Michael Zhang |
last post by:
Hi,
I got a strange error of my python program. The
program is trying to load some data from server (also
built in Python). the data is in xml format. After
calling xml parser, I got the...
|
by: Andrew Ayers |
last post by:
All,
I am having a problem with an INSERT onto a table I have created. First
off, here is the table:
---
CREATE TABLE reg ("customer number" SERIAL PRIMARY KEY, "company name" ...
|
by: Chris Millar |
last post by:
Can anyone help me on converting this vb asp page to C#,
thanks in advance.
chris.
<!DOCTYPE HTML PUBLIC "-//W3C//Dtd HTML 4.0 transitional//EN">
<%...
|
by: john |
last post by:
Hi,All MS Tech Gurus:
I need your help!!! It is the second time I post this message, I need get
some feedback ASAP, Please Help!!
Thanks a lot in advance.
John
I have a csharp method, using...
|
by: BWIGLEY |
last post by:
Basically I've just started making a game. So far it makes an array
25 by 20 and tries to make five rooms within it.
In scr_make_room() there's parse errors:
20 C:\c\Rooms\Untitled1.c parse error...
|
by: gunimpi |
last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431
********************************************************
VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help
wanted...
|
by: Simon Brooke |
last post by:
As various people will have noticed, I've been having a lot of trouble with
XSL lately. Brief history: I wrote myself an XML toolkit back in 2000, and
it worked well enough for me, so it's been...
|
by: Prabhu Gurumurthy |
last post by:
Hello list,
I would like to parse IPv6 addresses and subnet using re module in
python. I am able to either parse the ipv6 address or ipv6 network but
not both using single line. any help...
|
by: Ahmed, Shakir |
last post by:
Thanks everyone who tried to help me to parse incoming email from an exchange server:
Now, I am getting following error; I am not sure where I am doing wrong. I appreciate any help how to resolve...
|
by: fx5900 |
last post by:
Hi,
i am trying to convert an .osm (openstreetmap) file into gml format and
finally to shapefile given this wiki info
http://wiki.openstreetmap.org/index.php/GML. I'm using windows and when i...
|
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...
|
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...
|
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...
|
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)...
|
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...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
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....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |