REQ: Help Setting up Project File for ASP Sample -- Portal

D

David Elliott

I have been trying to re-create the project/solution files for the example
Portal that came with the .NET installation to walk through the code.
In an attempt to run the code from my new project/solution directory,
I receive an error. If I run it from the install directory it works just fine.

I have 4 projects

// Not sure why the install doesn't put out a DLL for this.
Home.Portal

// These should be correct. They are single file assemblies which
// correspond to the install directory.
Personalization
PortalModuleControl
PortalModulePage

The default directory is
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Samples\QuickStart\aspplus\samples\portal\cs

My play around directory is
D:\Programming\CSharp\Examples\Microsoft\Web\Home.Portal

Any Help would be appreciated.

Dave
(e-mail address removed)



========================================================
MS .NET Debug -=> Start
========================================================
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error
details and modify your source code appropriately.

Compiler Error Message: CS1595: 'Login' is defined in multiple places; using definition from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\home.portal\02fbd4d1\3ef547c1\4fwe0pqk.dll'

Source Error:


Line 27:
Line 28: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 29: public class login_ascx : Login {
Line 30:
Line 31: private static int __autoHandlers;


========================================================
Internet Explorer //localhost/Home.Portal
========================================================

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 'Home.Portal.Global'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="Home.Portal.Global" %>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top