 |
|
 |
|
|
 |
CMS 2002 SP2 and VS2005 - Multiple Projects |
 |
 |
|
|
03-11-06 01:47 AM
I don't know if I've missed this or not. I am now working on converting my
CMS project over to VS2005 and .NET 2.0. I have been programming the site
in VB as I am not comfortable enough in C. In VS2003 I had setup my
solution with a VB CMS project. I then added a C# project for custom
controls that I got from other sites. This had been working well.
Now that I'm on VS2005, I created my CMS project using the "rational guide."
I'm now adding a C# class library project to my solution. The problem is
that while VB sees the Microsoft.ContentManagement.* libraries, my C#
project does not. These two projects are both in the same solution.
--
Mark Mahacek
Merced County Office of Education
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: CMS 2002 SP2 and VS2005 - Multiple Projects |
 |
 |
|
|
03-14-06 07:48 AM
Hi Mark,
did you add references to the Microsoft.... libraries?
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"Mark Mahacek" <mmahacek@mcoe.org> wrote in message
news:%23QhFiGKRGHA.4952@TK2MSFTNGP09.phx.gbl...
>I don't know if I've missed this or not. I am now working on converting my
>CMS project over to VS2005 and .NET 2.0. I have been programming the site
>in VB as I am not comfortable enough in C. In VS2003 I had setup my
>solution with a VB CMS project. I then added a C# project for custom
>controls that I got from other sites. This had been working well.
>
> Now that I'm on VS2005, I created my CMS project using the "rational
> guide." I'm now adding a C# class library project to my solution. The
> problem is that while VB sees the Microsoft.ContentManagement.* libraries,
> my C# project does not. These two projects are both in the same solution.
>
> --
> Mark Mahacek
> Merced County Office of Education
>
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: CMS 2002 SP2 and VS2005 - Multiple Projects |
 |
 |
|
|
03-14-06 10:52 PM
Doh
Page 337 of Building Websites with MCMS.
I'm triying to build your SiteMapProvider. It doesn't recognize the SiteMap
specific objects.
--
Mark Mahacek
Merced County Office of Education
"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:ukw5$pxRGHA.252@TK2MSFTNGP10.phx.gbl...
> Hi Mark,
>
> did you add references to the Microsoft.... libraries?
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS:
> http://tinyurl.com/6zj44
> Check out the new book as well: Advanced MCMS development:
> http://tinyurl.com/8ugwj
> ----------------------
>
>
> "Mark Mahacek" <mmahacek@mcoe.org> wrote in message
> news:%23QhFiGKRGHA.4952@TK2MSFTNGP09.phx.gbl...
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: CMS 2002 SP2 and VS2005 - Multiple Projects |
 |
 |
|
|
03-14-06 10:52 PM
Stefan,
I'm able to build your SiteMapProvider, but I can't get the web.config to
recognize it on my site. The only change I made was to use a different
namespace to match the rest of my project.
--
Mark Mahacek
Merced County Office of Education
"Mark Mahacek" <mmahacek@mcoe.org> wrote in message
news:uBlfmc4RGHA.4456@TK2MSFTNGP14.phx.gbl...
> Doh
>
> Page 337 of Building Websites with MCMS.
>
> I'm triying to build your SiteMapProvider. It doesn't recognize the
> SiteMap specific objects.
>
> --
> Mark Mahacek
> Merced County Office of Education
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:ukw5$pxRGHA.252@TK2MSFTNGP10.phx.gbl...
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: CMS 2002 SP2 and VS2005 - Multiple Projects |
 |
 |
|
|
03-15-06 01:47 AM
Hi Mark,
SiteMapProviders will be covered in detail in the new book I'm currently
working on together with Mei Ying and Spencer.
Did you follow the instructions here:
http://blogs.technet.com/stefan_gos..._1.
aspx
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"Mark Mahacek" <mmahacek@mcoe.org> wrote in message
news:up9akM6RGHA.2088@TK2MSFTNGP14.phx.gbl...
> Stefan,
>
> I'm able to build your SiteMapProvider, but I can't get the web.config to
> recognize it on my site. The only change I made was to use a different
> namespace to match the rest of my project.
>
> --
> Mark Mahacek
> Merced County Office of Education
>
>
> "Mark Mahacek" <mmahacek@mcoe.org> wrote in message
> news:uBlfmc4RGHA.4456@TK2MSFTNGP14.phx.gbl...
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: CMS 2002 SP2 and VS2005 - Multiple Projects |
 |
 |
|
|
03-15-06 01:47 AM
That's the page I got your code from to build the provider. The ASP error
coming back looks like it can't find the complied code, even though the DLL
is added to the reference.
I'm getting a similar error with your SimpleMCMSMembershipProvider.
Looking forward to another book.
--
Mark Mahacek
Merced County Office of Education
"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:OM78Gt8RGHA.2088@TK2MSFTNGP14.phx.gbl...
> Hi Mark,
>
> SiteMapProviders will be covered in detail in the new book I'm currently
> working on together with Mei Ying and Spencer.
> Did you follow the instructions here:
> http://blogs.technet.com/stefan_gos..._
1.aspx
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS:
> http://tinyurl.com/6zj44
> Check out the new book as well: Advanced MCMS development:
> http://tinyurl.com/8ugwj
> ----------------------
>
>
> "Mark Mahacek" <mmahacek@mcoe.org> wrote in message
> news:up9akM6RGHA.2088@TK2MSFTNGP14.phx.gbl...
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: CMS 2002 SP2 and VS2005 - Multiple Projects |
 |
 |
|
|
03-15-06 01:47 AM
Hi Mark,
could you please post the complete error message?
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"Mark Mahacek" <mmahacek@mcoe.org> wrote in message
news:uUN0Ox8RGHA.2176@TK2MSFTNGP10.phx.gbl...
> That's the page I got your code from to build the provider. The ASP error
> coming back looks like it can't find the complied code, even though the
> DLL is added to the reference.
>
> I'm getting a similar error with your SimpleMCMSMembershipProvider.
>
> Looking forward to another book.
>
> --
> Mark Mahacek
> Merced County Office of Education
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:OM78Gt8RGHA.2088@TK2MSFTNGP14.phx.gbl...
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: CMS 2002 SP2 and VS2005 - Multiple Projects |
 |
 |
|
|
03-15-06 10:52 PM
This error actually is from my MembershipProvider as I've removed the .NET
2.0 navigation controls, but they both give the same error.
VS2005 has the following in the solution explorer
Solution 'www.mydomain.org' (3 projects)
-http://localhost/www.mydomain.org/ (VB Visual Web Developer)
-MCOECustom (C# Web Control Libary)
-MCOEProviders (C# Class Library)
Each of the projects and the entire solution build without errors.
~~~~~~~~~~~~~~~~~~~~~~~~~~
Server Error in '/www.mydomain.org' Application.
----------------------------------------------------------------------------
----
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly
'MCMSMembershipProvider' or one of its dependencies. The system cannot find
the file specified.
Source Error:
Line 97: <membership defaultProvider="SimpleMCMSMembershipProvider"
userIsOnlineTimeWindow="30">
Line 98: <providers>
Line 99: <add name="SimpleMCMSMembershipProvider"
type="MCOEProviders.SimpleMCMSMembershipProvider, MCMSMembershipProvider"
applicationName="/" />
Line 100: </providers>
Line 101: </membership>
Source File: C:\cms_sites\mydomain_home\www.mydomain.org\web.config Line:
99
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'MCMSMembershipProvider' could not be loaded.
=== Pre-bind state information ===
LOG: User = NT AUTHORITY\NETWORK SERVICE
LOG: DisplayName = MCMSMembershipProvider
(Partial)
LOG: Appbase = file:///C:/cms_sites/mcoe_home/www.mcoe.org/
LOG: Initial PrivatePath = C:\cms_sites\mcoe_home\www.mcoe.org\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file:
C:\cms_sites\mydomain_home\www.mydomain.org\web.config
LOG: Using host configuration file:
\\?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/www.mcoe.org/d2a914e2/9700ef0b/MCMSMembershipProvider.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/www.mcoe.org/d2a914e2/9700ef0b/MCMSMembershipProvider/MCMSMembershipPr
ovider.DLL.
LOG: Attempting download of new URL
file:///C:/cms_sites/mcoe_home/www.mcoe.org/bin/MCMSMembershipProvider.DLL.
LOG: Attempting download of new URL
file:///C:/cms_sites/mcoe_home/www.mcoe.org/bin/MCMSMembershipProvider/MCMSM
embershipProvider.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/www.mcoe.org/d2a914e2/9700ef0b/MCMSMembershipProvider.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/www.mcoe.org/d2a914e2/9700ef0b/MCMSMembershipProvider/MCMSMembershipPr
ovider.EXE.
LOG: Attempting download of new URL
file:///C:/cms_sites/mcoe_home/www.mcoe.org/bin/MCMSMembershipProvider.EXE.
LOG: Attempting download of new URL
file:///C:/cms_sites/mcoe_home/www.mcoe.org/bin/MCMSMembershipProvider/MCMSM
embershipProvider.EXE.
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET
Version:2.0.50727.42
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: CMS 2002 SP2 and VS2005 - Multiple Projects |
 |
 |
|
|
03-16-06 12:48 PM
Hi Mark,
looks as if there is no such dll:
C:\cms_sites\mcoe_home\www.mcoe.org\bin\MCMSMembershipProvider.dll
Please double check.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"Mark Mahacek" <mmahacek@mcoe.org> wrote in message
news:ufcPF7ESGHA.196@TK2MSFTNGP10.phx.gbl...
> This error actually is from my MembershipProvider as I've removed the .NET
> 2.0 navigation controls, but they both give the same error.
>
> VS2005 has the following in the solution explorer
>
> Solution 'www.mydomain.org' (3 projects)
> -http://localhost/www.mydomain.org/ (VB Visual Web Developer)
> -MCOECustom (C# Web Control Libary)
> -MCOEProviders (C# Class Library)
>
> Each of the projects and the entire solution build without errors.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Server Error in '/www.mydomain.org' Application.
> --------------------------------------------------------------------------
------
>
> Configuration Error
> Description: An error occurred during the processing of a configuration
> file required to service this request. Please review the specific error
> details below and modify your configuration file appropriately.
>
> Parser Error Message: Could not load file or assembly
> 'MCMSMembershipProvider' or one of its dependencies. The system cannot
> find the file specified.
>
> Source Error:
>
>
> Line 97: <membership defaultProvider="SimpleMCMSMembershipProvider"
> userIsOnlineTimeWindow="30">
> Line 98: <providers>
> Line 99: <add name="SimpleMCMSMembershipProvider"
> type="MCOEProviders.SimpleMCMSMembershipProvider, MCMSMembershipProvider"
> applicationName="/" />
> Line 100: </providers>
> Line 101: </membership>
>
>
> Source File: C:\cms_sites\mydomain_home\www.mydomain.org\web.config
> Line: 99
>
> Assembly Load Trace: The following information can be helpful to determine
> why the assembly 'MCMSMembershipProvider' could not be loaded.
>
>
> === Pre-bind state information ===
> LOG: User = NT AUTHORITY\NETWORK SERVICE
> LOG: DisplayName = MCMSMembershipProvider
> (Partial)
> LOG: Appbase = file:///C:/cms_sites/mcoe_home/www.mcoe.org/
> LOG: Initial PrivatePath = C:\cms_sites\mcoe_home\www.mcoe.org\bin
> Calling assembly : (Unknown).
> ===
> LOG: This bind starts in default load context.
> LOG: Using application configuration file:
> C:\cms_sites\mydomain_home\www.mydomain.org\web.config
> LOG: Using host configuration file:
> \\?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config
> LOG: Using machine configuration file from
> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
> LOG: Policy not being applied to reference at this time (private, custom,
> partial, or location-based assembly bind).
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
> Files/www.mcoe.org/d2a914e2/9700ef0b/MCMSMembershipProvider.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
> Files/www.mcoe.org/d2a914e2/9700ef0b/MCMSMembershipProvider/MCMSMembership
Provider.DLL.
> LOG: Attempting download of new URL
> file:///C:/cms_sites/mcoe_home/www.mcoe.org/bin/MCMSMembershipProvider.DLL
.
> LOG: Attempting download of new URL
> file:///C:/cms_sites/mcoe_home/www.mcoe.org/bin/MCMSMembershipProvider/MCM
SMembershipProvider.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
> Files/www.mcoe.org/d2a914e2/9700ef0b/MCMSMembershipProvider.EXE.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
> Files/www.mcoe.org/d2a914e2/9700ef0b/MCMSMembershipProvider/MCMSMembership
Provider.EXE.
> LOG: Attempting download of new URL
> file:///C:/cms_sites/mcoe_home/www.mcoe.org/bin/MCMSMembershipProvider.EXE
.
> LOG: Attempting download of new URL
> file:///C:/cms_sites/mcoe_home/www.mcoe.org/bin/MCMSMembershipProvider/MCM
SMembershipProvider.EXE.
>
>
> --------------------------------------------------------------------------
------
> Version Information: Microsoft .NET Framework Version:2.0.50727.42;
> ASP.NET Version:2.0.50727.42
>
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: CMS 2002 SP2 and VS2005 - Multiple Projects |
 |
 |
|
|
03-16-06 10:51 PM
(slaps hand on forehead)
I should have seen that. It's working perectly now.
--
Mark Mahacek
Merced County Office of Education
"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:OEOAKFJSGHA.4920@tk2msftngp13.phx.gbl...
> Hi Mark,
>
> looks as if there is no such dll:
>
> C:\cms_sites\mcoe_home\www.mcoe.org\bin\MCMSMembershipProvider.dll
>
> Please double check.
>
> Cheers,
> Stefan
>
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS:
> http://tinyurl.com/6zj44
> Check out the new book as well: Advanced MCMS development:
> http://tinyurl.com/8ugwj
> ----------------------
>
>
> "Mark Mahacek" <mmahacek@mcoe.org> wrote in message
> news:ufcPF7ESGHA.196@TK2MSFTNGP10.phx.gbl...
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
|
|
|
Sponsored Links |
 |
 |
|
|
 |
All times are GMT. The time now is 02:36 AM. |
 |
|
|
 |
|
 |
|
|
 |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
|
|
|
|
Medical and Health forum | Computer Games Reviews | Graphics design forum
|
 |
|
 |
|