473,666 Members | 2,144 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with parsing error?

I uploaded an ASP.NET website from my developer machine to a remote server.
The paths differ slightly as follows:

Local Path: C:\Inetpub\wwwr oot\mysite
Server Path: C:\Inetpub\mysi te.com\

I get the following error on the 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 'mysite.Global' .

Source Error:

Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
Inherits="mysit e.Global" %>

Source File: C:\Inetpub\mysi te.com\global.a sax Line: 1

Does the above error have anything to do with the difference in paths? Any
suggestions on how I fix the error?

Thanks,
Brett
Nov 19 '05 #1
2 1472
re:
Local Path: C:\Inetpub\wwwr oot\mysite
Server Path: C:\Inetpub\mysi te.com\

I get the following error on the server:
Hi, Brett.

Unless a lot of care has been taken to setup c:\inetpub
as the root directory of the web server, that route is more
likely to be C:\Inetpub\wwwr oot\mysite.com\

Physically, that will be : C:\Inetpub\wwwr oot\YourAppDire ctory\
It's only in DNS that mysite.com is configured.

If your directory is actually named mysite.com, I'd suggest
you change it because that will introduce ambiguity in
your file references.

Try uploading your application's files to the server into :
C:\Inetpub\wwwr oot\YourAppDire ctory\

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"Brett" <no@spam.net> wrote in message news:ej******** *******@tk2msft ngp13.phx.gbl.. .I uploaded an ASP.NET website from my developer machine to a remote server. The paths
differ slightly as follows:

Local Path: C:\Inetpub\wwwr oot\mysite
Server Path: C:\Inetpub\mysi te.com\

I get the following error on the 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 'mysite.Global' .

Source Error:

Line 1: <%@ Application Codebehind="Glo bal.asax.vb" Inherits="mysit e.Global" %>

Source File: C:\Inetpub\mysi te.com\global.a sax Line: 1

Does the above error have anything to do with the difference in paths? Any suggestions
on how I fix the error?

Thanks,
Brett

Nov 19 '05 #2
Thanks. I've changed the directory in IIS to wwwroot\mysite. I get this
vague error now:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could, however,
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrors > tag within a "web.config "
configuration file located in the root directory of the current web
application. This <customErrors > tag should then have its "mode" attribute
set to "Off".
<!-- Web.Config Configuration File -->

<configuratio n>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom
error page by modifying the "defaultRedirec t" attribute of the application's
<customErrors > configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->

<configuratio n>
<system.web>
<customErrors mode="RemoteOnl y" defaultRedirect ="mycustompage. htm"/>
</system.web>
</configuration>
I do have customerrors = off. Any idea what that is not working?

Thanks,
Brett
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:uZ******** ******@TK2MSFTN GP10.phx.gbl...
re:
Local Path: C:\Inetpub\wwwr oot\mysite
Server Path: C:\Inetpub\mysi te.com\

I get the following error on the server:


Hi, Brett.

Unless a lot of care has been taken to setup c:\inetpub
as the root directory of the web server, that route is more
likely to be C:\Inetpub\wwwr oot\mysite.com\

Physically, that will be : C:\Inetpub\wwwr oot\YourAppDire ctory\
It's only in DNS that mysite.com is configured.

If your directory is actually named mysite.com, I'd suggest
you change it because that will introduce ambiguity in
your file references.

Try uploading your application's files to the server into :
C:\Inetpub\wwwr oot\YourAppDire ctory\

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"Brett" <no@spam.net> wrote in message
news:ej******** *******@tk2msft ngp13.phx.gbl.. .
I uploaded an ASP.NET website from my developer machine to a remote
server. The paths differ slightly as follows:

Local Path: C:\Inetpub\wwwr oot\mysite
Server Path: C:\Inetpub\mysi te.com\

I get the following error on the 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 'mysite.Global' .

Source Error:

Line 1: <%@ Application Codebehind="Glo bal.asax.vb"
Inherits="mysit e.Global" %>

Source File: C:\Inetpub\mysi te.com\global.a sax Line: 1

Does the above error have anything to do with the difference in paths?
Any suggestions on how I fix the error?

Thanks,
Brett


Nov 19 '05 #3

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

Similar topics

2
3946
by: Cigdem | last post by:
Hello, I am trying to parse the XML files that the user selects(XML files are on anoher OS400 system called "wkdis3"). But i am permenantly getting that error: Directory0: \\wkdis3\ROOT\home Canonicalpath-Directory4: \\wkdis3\ROOT\home\bwe\ You selected the file named AAA.XML getXmlAlgorithmDocument(): IOException Not logged in
16
2879
by: Terry | last post by:
Hi, This is a newbie's question. I want to preload 4 images and only when all 4 images has been loaded into browser's cache, I want to start a slideshow() function. If images are not completed loaded into cache, the slideshow doesn't look very nice. I am not sure how/when to call the slideshow() function to make sure it starts after the preload has been completed.
6
4332
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing result in any way. Who can help me, I thank you very very much. list.cpp(main program) //-------------------------------------------------------------------------- - #pragma hdrstop #pragma argsused
8
1898
by: Brett Romero | last post by:
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.
14
2049
by: brett | last post by:
I have an ASP.NET 2.0 web application that runs fine on my local machine. However, once I upload it, I get this error: 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: The file '/index.ascx.cs' does not exist.
2
1499
by: vijaykk | last post by:
Hi @, I new to java and i am facing
0
2133
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 this error and extract emails from an exchange server. First I tried: Traceback (most recent call last): File "<interactive input>", line 1, in ? File "C:\Python24\lib\poplib.py", line 96, in __init__ raise socket.error, msg
30
2254
by: Anarki | last post by:
The following is the program i am trying to compile //restrict.c #include <stdio.h> int main() { char arr = "Qualifiers" char * restrict p = arr; int i = 0; for(; i < 10; ++i)
2
6354
by: embz | last post by:
this post concerns three pages. 1. this page: http://www.katherine-designs.com/sendemail.php i get the following errors: a lot of it seems to deal with the PHP code i inserted to the page. as my PHP skills are close to nil, i'm wary about fiddling with it myself. =\ 2. now this page: http://www.katherine-designs.com/contact.php
0
8444
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
8356
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
8869
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
8781
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...
0
8639
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
4368
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2771
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
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1775
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.