CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 DotNet projects

Print topic Send  topic

Author Message
Kevin McC
Posted: 04/04/2001, 8:41 PM

Hi,
I'm trying to get a cSharp project working. I've generated the code for the
YellowPages example and opened it in Visual Studio.net. When I try to open
the default.aspx page in VS, I get an error telling me that VS can't find
the YesSoftware.cc.ccPage class. I've looked in the reference dir of my
sample project and I see the dotnet namespaces that are needed, but not the
YesSoftware.cc namespace.

Any idea what I should do next?

Thanks,
Kevin



Alexey Alexapolsky
Posted: 04/06/2001, 8:38 AM

Please tell us where did you get the error you're talking about ?
This error may appear in default.cs file , but not in default.aspx file.
Do you get any errors when compiling project , if you do then describe them
in detail.
The definition of YesSoftware.cc.ccPage class is located in file CCPage.cs.
The kind of error is most probably connected with bug of Visual Studio ,
since we also faced this kind of errors when developing applications.
If you will take a look into cs file you may see name of this class
underlined ,
in our case it helped us to change capitalization(and then change it back)
of the first letter in class name
in default.cs file.

--
Regards,
Alexey
CodeCharge Support



Kevin McC <kevinmcc@erols.com> wrote in message
news:9agpha$t1$1@mail.tankhill.com...
> Hi,
> I'm trying to get a cSharp project working. I've generated the code for
the
> YellowPages example and opened it in Visual Studio.net. When I try to
open
> the default.aspx page in VS, I get an error telling me that VS can't find
> the YesSoftware.cc.ccPage class. I've looked in the reference dir of my
> sample project and I see the dotnet namespaces that are needed, but not
the
> YesSoftware.cc namespace.
>
> Any idea what I should do next?
>
> Thanks,
> Kevin
>
>
>
>

Kevin McC
Posted: 04/08/2001, 8:44 PM

Alexey,
After I generate the codecharge yellowpage template in vs.net c, I try to
open up default.aspx in Visual Studio.net.

When I try to open it (default.aspx), I get the following dialog box:
****************************************************
The file failed to load in the Web Forms designer. Please correct the
following error, then load it again: The document inherits from class
'YesSoftware.CC.CCPage', but the class could not be found. Ensure that the
assembly for the class is referenced by the project. If this class is
contained within a project in this solution, make sure the project has been
built.
at Microsoft.VisualStudio.Designer.Host.DesignerHost.Load(Boolean
reloading)
at Microsoft.VisualStudio.Designer.Host.DesignerHost.Load()
OK LAME!
****************************************************
Thats what I get.
ps. Prior to generating the c# code in codecharge, I created a project in
VS.net called "YellowPages"


Also, I did look in the CCPage.cs file and I did see the YesSoftware.CC
namespace, but it wasn't underlined.

Thanks,
Kevin McConnell


"Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
news:9aknt7$jlu$1@mail.tankhill.com...
> Please tell us where did you get the error you're talking about ?
> This error may appear in default.cs file , but not in default.aspx file.
> Do you get any errors when compiling project , if you do then describe
them
> in detail.
> The definition of YesSoftware.cc.ccPage class is located in file
CCPage.cs.
> The kind of error is most probably connected with bug of Visual Studio ,
> since we also faced this kind of errors when developing applications.
> If you will take a look into cs file you may see name of this class
> underlined ,
> in our case it helped us to change capitalization(and then change it back)
> of the first letter in class name
> in default.cs file.
>
> --
> Regards,
> Alexey
> CodeCharge Support
>
>
>
> Kevin McC <kevinmcc@erols.com> wrote in message
>news:9agpha$t1$1@mail.tankhill.com...
> > Hi,
> > I'm trying to get a cSharp project working. I've generated the code for
> the
> > YellowPages example and opened it in Visual Studio.net. When I try to
> open
> > the default.aspx page in VS, I get an error telling me that VS can't
find
> > the YesSoftware.cc.ccPage class. I've looked in the reference dir of my
> > sample project and I see the dotnet namespaces that are needed, but not
> the
> > YesSoftware.cc namespace.
> >
> > Any idea what I should do next?
> >
> > Thanks,
> > Kevin
> >
> >
> >
> >
>
>

Kevin McC
Posted: 04/08/2001, 8:46 PM

Alexey,
One other thing. When I try to preview default.aspx in the browser, I get
the following error:

Thanks,
Kevin
Application Error
----------------------------------------------------------------------------
----

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the specific parse error details below
and modify your source file appropriately.

Parser Error Message: 'YellowPages.Global' is not a valid base class to
inherit from

Source Error:

Line 1: <%@ Application Codebehind="Global.cs"
Inherits="YellowPages.Global" %>



Source File: c:\inetpub\wwwroot\YellowPages\global.asax Line: 1


----------------------------------------------------------------------------
----
Version Information: Runtime Build: 1.0.2204.21; ASP.NET Build: 1.0.2204.21


CodeCharge
Posted: 04/09/2001, 12:00 AM

Could you please email your generated files tosupport@codecharge.com ?


"Kevin McC" <kevinmcc@erols.com> wrote in message
news:9arbbf$1ga$1@mail.tankhill.com...
> Alexey,
> One other thing. When I try to preview default.aspx in the browser, I get
> the following error:
>
> Thanks,
> Kevin
> Application Error
> --------------------------------------------------------------------------
--
> ----
>
> Parser Error
> Description: An error occurred during the parsing of a resource required
to
> service this request. Please review the specific parse error details below
> and modify your source file appropriately.
>
> Parser Error Message: 'YellowPages.Global' is not a valid base class to
> inherit from
>
> Source Error:
>
> Line 1: <%@ Application Codebehind="Global.cs"
> Inherits="YellowPages.Global" %>
>
>
>
> Source File: c:\inetpub\wwwroot\YellowPages\global.asax Line: 1
>
>
> --------------------------------------------------------------------------
--
> ----
> Version Information: Runtime Build: 1.0.2204.21; ASP.NET Build:
1.0.2204.21
>
>
>


   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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