Ken Cox
|
Posted: 06/10/2002, 6:38 PM |
|
I'm working my way through the tutorial on an ASPX project with the release
version. All was going well until I came to page 39 where it says to click on a
Task ID to go to the task's details.
The link's URL looks like this:
http://localhost/TaskManager/tasks_maint.aspx?task_id=1
Instead of getting the desired record, I'm getting the error message pasted in
below. Is this due to something I've done/haven't done or is it a configuration
problem in the sample code?
Thanks
Server Error in '/TaskManager' 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
'TaskManager.tasks_maint.tasks_maint'.
Source Error:
Line 1: <!--ASPX page @1-97269ED5-->
Line 2: <%@ Page language="c#" Codebehind="tasks_maint.aspx.cs"
AutoEventWireup="false" Inherits="TaskManager.tasks_maint.tasks_maint" %>
Line 3: <%@ Import namespace="TaskManager.tasks_maint" %>
Line 4: <%@ Import namespace="TaskManager.Configuration" %>
Source File: c:\inetpub\wwwroot\TaskManager\tasks_maint.aspx Line: 2
-------------------------------------------------------------------------------
-
Version Information: Microsoft .NET Framework Version:1.0.3705.209; ASP.NET
Version:1.0.3705.272
--
MVP [ASP.NET] http://www.aspalliance.com/kenc/default.aspx
|
|
|
Ken Cox
|
Posted: 06/11/2002, 6:47 PM |
|
[I hate responding to my own posts]
Further to this, CodeCharge Studio's build process seems flakey. When I build
the project in VS.NET everything is fine. That eliminates problems with the
code. When I republish in CCS, the pages break.
Ken
"Ken Cox" <BANSPAMken_cox@sympatico.ca> wrote in message
news:ae3kbg$kch$1@news.codecharge.com...
I'm working my way through the tutorial on an ASPX project with the release
version. All was going well until I came to page 39 where it says to click on a
Task ID to go to the task's details.
The link's URL looks like this:
http://localhost/TaskManager/tasks_maint.aspx?task_id=1
Instead of getting the desired record, I'm getting the error message pasted in
below. Is this due to something I've done/haven't done or is it a configuration
problem in the sample code?
Thanks
Server Error in '/TaskManager' 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
'TaskManager.tasks_maint.tasks_maint'.
Source Error:
Line 1: <!--ASPX page @1-97269ED5-->
Line 2: <%@ Page language="c#" Codebehind="tasks_maint.aspx.cs"
AutoEventWireup="false" Inherits="TaskManager.tasks_maint.tasks_maint" %>
Line 3: <%@ Import namespace="TaskManager.tasks_maint" %>
Line 4: <%@ Import namespace="TaskManager.Configuration" %>
Source File: c:\inetpub\wwwroot\TaskManager\tasks_maint.aspx Line: 2
-------------------------------------------------------------------------------
-
Version Information: Microsoft .NET Framework Version:1.0.3705.209; ASP.NET
Version:1.0.3705.272
--
MVP [ASP.NET] http://www.aspalliance.com/kenc/default.aspx
|
|
|
Sanddy
|
Posted: 06/12/2002, 12:50 AM |
|
Ken,
always publish the whole project in CCS .. then it will work fine, but if
you just build 1 single page then you will have problems, since then you can
browser only that 1 page ... that's the way ASP.NET works.. in VS.NET its
not buggy since VS.NEt always builds *all* the files ...
BTW: Did you solve the problem you were facing ? I think its due to the fact
the page has not been built !
--
Regards,
Sanddy
|
|
|
Alexey Alexapolsky
|
Posted: 06/12/2002, 2:32 AM |
|
Make sure page is built + that you've created a virtual directory where you
publish your scripts.
--
Alex
CodeCharge Developer
"Ken Cox" <BANSPAMken_cox@sympatico.ca> wrote in message
news:ae3kbg$kch$1@news.codecharge.com...
> I'm working my way through the tutorial on an ASPX project with the
release
> version. All was going well until I came to page 39 where it says to click
on a
> Task ID to go to the task's details.
>
> The link's URL looks like this:
>
> http://localhost/TaskManager/tasks_maint.aspx?task_id=1
>
> Instead of getting the desired record, I'm getting the error message
pasted in
> below. Is this due to something I've done/haven't done or is it a
configuration
> problem in the sample code?
>
> Thanks
>
>
> Server Error in '/TaskManager' 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
> 'TaskManager.tasks_maint.tasks_maint'.
>
> Source Error:
>
>
> Line 1: <!--ASPX page @1-97269ED5-->
> Line 2: <%@ Page language="c#" Codebehind="tasks_maint.aspx.cs"
> AutoEventWireup="false" Inherits="TaskManager.tasks_maint.tasks_maint" %>
> Line 3: <%@ Import namespace="TaskManager.tasks_maint" %>
> Line 4: <%@ Import namespace="TaskManager.Configuration" %>
>
>
> Source File: c:\inetpub\wwwroot\TaskManager\tasks_maint.aspx Line: 2
>
>
> --------------------------------------------------------------------------
-----
> -
> Version Information: Microsoft .NET Framework Version:1.0.3705.209;
ASP.NET
> Version:1.0.3705.272
>
> --
> MVP [ASP.NET]
> http://www.aspalliance.com/kenc/default.aspx
>
>
>
>
|
|
|
Ken Cox
|
Posted: 06/12/2002, 5:54 PM |
|
Thanks guys. I seem to have it working. The problem is that going to the Live
Page tab breaks the existing pages and builds only the one page that is in
view.
It would be more polite to rebuild the whole set while doing just one. Hmmm...
is there an option for this?
Ken
"Sanddy" <e_sanddy@yahoo.com> wrote in message
news:ae6uge$gu$1@news.codecharge.com...
Ken,
always publish the whole project in CCS .. then it will work fine, but if
you just build 1 single page then you will have problems, since then you can
browser only that 1 page ... that's the way ASP.NET works.. in VS.NET its
not buggy since VS.NEt always builds *all* the files ...
BTW: Did you solve the problem you were facing ? I think its due to the fact
the page has not been built !
--
Regards,
Sanddy
|
|
|
|