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

ASP.Net applicaton deployment problem.

Hi, I created an Asp.Net application in a directory, say 'calendar'. It
works well on my local PC with Url http://localhost/calendar/calendar.aspx.

And I uploaded to my host. But the host provide the URL as
http://site227.webhost4life.com/will.../calendar.aspx. And it
raised the following error. I guess the added williamgeorg caused the
problem? How should I handle it? Thanks.
Server Error in '/williamgeorg' 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 'calendar.calendar'.

Source Error:

Line 1: <%@ Page language="c#" Codebehind="calendar.aspx.cs"
AutoEventWireup="false" Inherits="calendar.calendar" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
Line 3: <HTML>

Source File:
c:\hosting\webhost4life\member\williamgeorg\calend ar\calendar.aspx Line:
1
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
Nov 18 '05 #1
3 1155
"nick" <nb***@removethis.hotmail.com> wrote in message news:u$**************@tk2msftngp13.phx.gbl...
works well on my local PC with Url http://localhost/calendar/calendar.aspx.

And I uploaded to my host. But the host provide the URL as
http://site227.webhost4life.com/will.../calendar.aspx. And it
raised the following error. I guess the added williamgeorg caused the
problem? How should I handle it? Thanks. : : Parser Error Message: Could not load type 'calendar.calendar'. : : Line 1: <%@ Page language="c#" Codebehind="calendar.aspx.cs"
AutoEventWireup="false" Inherits="calendar.calendar" %>


Did you copy the .dll files from the /inetpub/wwwroot/calendar/bin folder to the
/bin sub-folder of ~/williamgeorg/calendar/bin? (Is there a /bin sub-folder under
calendar on the server you're deploying to?)

This is a frequent cause for this error message. When ASP.NET attempts to
build the page it will look for the type "calendar," in the namespace "calendar,"
in an assembly in the web application's /bin sub-folder. I suspect you have
such a sub-folder and assembly on your local machine, but not your web host.
Derek Harmon
Nov 18 '05 #2
Thanks for your reply. I ftped everything to the server. And I found there
exists the bin directory with calendar.dll and caldendar.pdb, the same as my
local server.

"Derek Harmon" <lo*******@msn.com> wrote in message
news:ep**************@tk2msftngp13.phx.gbl...
"nick" <nb***@removethis.hotmail.com> wrote in message news:u$**************@tk2msftngp13.phx.gbl...
works well on my local PC with Url http://localhost/calendar/calendar.aspx.
And I uploaded to my host. But the host provide the URL as
http://site227.webhost4life.com/will.../calendar.aspx. And it raised the following error. I guess the added williamgeorg caused the
problem? How should I handle it? Thanks.

: :
Parser Error Message: Could not load type 'calendar.calendar'.

: :
Line 1: <%@ Page language="c#" Codebehind="calendar.aspx.cs"
AutoEventWireup="false" Inherits="calendar.calendar" %>


Did you copy the .dll files from the /inetpub/wwwroot/calendar/bin folder

to the /bin sub-folder of ~/williamgeorg/calendar/bin? (Is there a /bin sub-folder under calendar on the server you're deploying to?)

This is a frequent cause for this error message. When ASP.NET attempts to
build the page it will look for the type "calendar," in the namespace "calendar," in an assembly in the web application's /bin sub-folder. I suspect you have such a sub-folder and assembly on your local machine, but not your web host.

Derek Harmon

Nov 18 '05 #3
TRY
Line 1: <%@ Page language="c#" Codebehind="calendar.aspx.cs"
AutoEventWireup="false" Inherits="williamgeorg.calendar" %>

INSTEAD OF

Line 1: <%@ Page language="c#" Codebehind="calendar.aspx.cs"
AutoEventWireup="false" Inherits="calendar.calendar" %>

"nick" <nb***@removethis.hotmail.com> wrote in message
news:u$**************@tk2msftngp13.phx.gbl...
Hi, I created an Asp.Net application in a directory, say 'calendar'. It
works well on my local PC with Url http://localhost/calendar/calendar.aspx.
And I uploaded to my host. But the host provide the URL as
http://site227.webhost4life.com/will.../calendar.aspx. And it raised the following error. I guess the added williamgeorg caused the
problem? How should I handle it? Thanks.
Server Error in '/williamgeorg' 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 'calendar.calendar'.

Source Error:

Line 1: <%@ Page language="c#" Codebehind="calendar.aspx.cs"
AutoEventWireup="false" Inherits="calendar.calendar" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
Line 3: <HTML>

Source File:
c:\hosting\webhost4life\member\williamgeorg\calend ar\calendar.aspx Line: 1
-------------------------------------------------------------------------- -- ----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Nov 18 '05 #4

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

Similar topics

5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
2
by: Felix | last post by:
Out of no where I'm starting to get these problems and my Deployment projects won't build anymore. Does anyone have any idea what's causing this? I've tried copying these files from another...
0
by: Imran | last post by:
Hi , I have an mdi applicaton. When user switch between child forms they are flickering like crazy! When a Child Form loads, you can see it in it's original size (the size from Design-time) then...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
by: feng | last post by:
Hi, I am having a strange problem right now and I don't even know how to go about it. Someone please help me! Any inputs will be highly appreciated. We have an application that has a VB.Net...
0
by: Michael | last post by:
After a week of beating my head against a wall I still continue to receive the following error message when trying to deploy a package using the cabinet option. The same error occurs with a...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
1
by: =?Utf-8?B?dmNs?= | last post by:
Short version: IE7 and .NET Framework 2.0 breaks no touch deployment for .NET 1.1 applications. IE6 and .NET Framework 1.1 + 2.0 works fine. IE7 with .NET Framework 1.1 only is fine, once we add...
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.