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

Help with parse error.

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

Nov 19 '05 #1
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

Nov 19 '05 #2
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


Nov 19 '05 #3
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

Nov 19 '05 #4
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


Nov 19 '05 #5
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

Nov 19 '05 #6
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


Nov 19 '05 #7
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

Nov 19 '05 #8
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


Nov 19 '05 #9

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

Similar topics

1
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...
2
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" ...
2
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"> <%...
0
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...
21
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...
0
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...
3
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...
2
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...
0
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...
19
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...
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...
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)...
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...
1
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: 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
0
isladogs
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...

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.