CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Beta 5 book store error

Print topic Send  topic

Author Message
Raxip
Posted: 05/29/2002, 2:47 PM

Out of the hop i got 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: Could not load type 'BookStore.Default.Default'.

Source Error:


Line 1: <!--ASPX page @1-0C996A2E-->
Line 2: <%@ Page language="c#" Codebehind="Default.aspx.cs" AutoEventWireup="false" Inherits="BookStore.Default.Default" %>
Line 3: <%@ Import namespace="BookStore.Default" %>
Line 4: <%@ Import namespace="BookStore.Configuration" %>


Source File: c:\inetpub\wwwroot\bookstore\Default.aspx Line: 2


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.0.3705.209; ASP.NET Version:1.0.3705.0
Nicole
Posted: 05/29/2002, 11:50 PM

Raxip,
There are a couple of things that you need to keep in mind before you start working on ASP.NET applications.
1) Generated C# is compatible with the final .NET release
2) Each directory you output your code to should be converted into a Virtual Directory. For example if you generate your project to c:\InetPub\wwwroot\MyApp
Then, you should convert the MyApp directory into a Virtual Directory. Go to Control Panel -> Administrative Tools -> Internet Information Manager and then Select
"Create New Virtual Directory". Complete the Wizard, with default options and it should be enough for general applications.
3) After you 'Generate' the code from CC you need to compile the code, since CC uses the ASP.NET's recommended CodeBehind way of generating ASP.NET
applications, you need to compile the application. Go to the directory where you generated the project and you will find a batch file called 'makeall.bat'. Run this file and it will auto-compile the assemblies for you. In case you have Visual Studio.NET (VS.NET), CC also by default output's code in VS.NET format, so that you can click on the <ProjectName>.csproj file to open the project in VS.NET and then build it.

Once you complete the above steps your applications should work correctly.
Raxip
Posted: 05/30/2002, 11:01 AM

Thanks I feel kind of silly for forgeting to make the virtual directory.
Oh well guess i need more sleep
Mick
Posted: 06/04/2002, 8:23 AM

I know that this software is being changed rapidly, and I have a feeling the C# part of the code is taking a back seat? But the suggestions that are made in this response does not work. First the virtual directory seems to be created automaticaly, I did have to turn it into an application and I am having a hard time figuring out exactly how the app is supposed to look, so I can decide what the start page is? But still my setup chokes on the inherits statemement?

Is there anyone who has got a CCS app to work with C# output and VS.NET gold?

Mick
Raxip
Posted: 06/04/2002, 8:46 AM

Mick i got the book store example to work after this post.
I have gotten almost all the examples to work.
What problems are you having.
Mick
Posted: 06/04/2002, 8:54 AM

I'm actually doing the TaskManager example, but I'm getting esentially the same error. it chocks on the "inherits=" statement. In IIS the directory is a virtual directory, in VS it seems to compile with no trouble, just when it gets to the running portion, error.
Mick
Posted: 06/04/2002, 9:01 AM

I just found the problem, the path to the SDK was not set, it must be putting some information down deep in the code that was pointing to nothing... Now to explore some with this software!

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.