eelinkee
|
| Posted: 06/24/2003, 5:29 PM |
|
Hi,
CCS running onto ASP 3.0, excellent, no problem.
But why I Could not run the code generated by CCS for ASP.net, whatever .Net VB
or .Net C# on both versoin 1.0 and 1.1?
I want the generated code on .net version indeed. I searched this forum for
this common thing (I suppose so) but with no solution.
The only valuable stuff is the message on <a =href="http://www.gotocode.com/disc_viewt.asp?mid=21513&s_topic=%2Enet&"> http://www.gotocode.com/disc_viewt.asp?mid=21513&s_topi...t&</a>; titled with
"Problem" posted by Codecharge themselves, showing that Codecharge realized
problem. The pity is, no solution followed.
A few other posts mentioned the same problem, but also, no solution answered.
I am curious, that it seems no body is using CCS for .net platform, or all of
you guys have no such problem at all.
An example of my problem is:
1) Create a .net project
2) publish that project onto IIS (5.0)
3) use IIS (manager) ( in Computer Managememt from Administrative Tools), create
an web application for that project (just activate that application folder).
4) run that web application, or use "live page" from CCS.
What's happen?
IIS could not load the class file!!! ("Customers_list.aspx.vb" in this case)
The error message (on debug mode) comes as:
// {********* *********************
Server Error in '/Northwind_2' 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 'Northwind_2.Customers_list.Customers_listPage'.
Source Error:
Line 1: <!--ASPX page @1-1CEFA249-->
Line 2: <%@ Page language="vb" Codebehind="Customers_list.aspx.vb" AutoEventWireup="false" Inherits="Northwind_2.Customers_list.Customers_listPage" %>
Line 3: <%@ Import namespace="Northwind_2.Customers_list" %>
Line 4: <%@ Import namespace="Northwind_2.Configuration" %>
Source File: C:\Inetpub\wwwroot\Northwind_2\Customers_list.aspx Line: 2
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
//******}//******************************
or, am i doing something wrong?
Any ideas
|
|
|
 |
Tom
|
| Posted: 06/25/2003, 4:55 AM |
|
Yep, it is a little hard to sometimes find stuff on here but I'm now building several apps on .NET vb with CCS.
Your error message could be one of two items.
You must create a virtual directory in IIS for your application. If you need more info on that, reply back.
After you 'publish' your project, find the makeall.bat file (root of your published directory), and run it to compile the dll.
Hope that helps
|
|
|
 |
eelinkee
|
| Posted: 06/25/2003, 6:55 AM |
|
Wonderful, Tom. heavy thanks. Simple and works, very clear
-- one of undocumented keys?
I missed out the second step.
cheers
|
|
|
 |
Tom
|
| Posted: 06/25/2003, 11:53 AM |
|
I'm running 2.1.1.20 and most of the time, I don't have to manually run the bat file. Just an fyi
|
|
|
 |
TanquerayG
|
| Posted: 08/03/2003, 11:10 AM |
|
I suspect the answers to the other posted similar questions are lost in replies not tied to the original questions. There seems to be a pattern of this...some people must be new to communicating effectively. Maybe they are not so technically inclined.
|
|
|
 |
|