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