List Info

Thread: Converting ASP.NET 2.0 website into an ATLAS website




Converting ASP.NET 2.0 website into an ATLAS website
user name
2006-05-22 14:06:54
Well spotted!

I had missed that one out. I spent 2 hours today, just
trying to make it
work and in the end it was all just a bad cut and paste
problem.

Thank you very much.

On Mon, 22 May 2006 11:40:36 +0200, Ryan Heath
<ryan.q.heathGMAIL.COM>
wrote:

>Hi,
>
>you should have the controls tag wrapped in a pages tag
like this:
>
><pages>
>  <controls>
>    <add namespace="Microsoft.Web.UI"
assembly="Microsoft.Web.Atlas"
>tagPrefix="atlas"/>
>    <add
namespace="Microsoft.Web.UI.Controls"
>assembly="Microsoft.Web.Atlas"
tagPrefix="atlas"/>
>  </controls>
></pages>
>
>HTH
>// Ryan
>
>On 5/22/06, Yago Alvarado <yago.alvaradouk.cpm-int.com> wrote:
>> Hi Everyone,
>>
>>   I am trying to convert an existing ASP.NET
website into an Atlas
website
>> so we can use some of the new Atlas features within
our existing
website.
>>
>>   Unfortunately, I haven't been very successful so
far.
>>
>> I've added a reference to Microsoft.Web.Atlas.dll
in my website,
>> and I've added all the missing bits that I didn't
have in my config file
>> and that I collected from an Atlas website config
file (I created an
Atlas
>> website as a test to see what was different).
>>
>> I'm obviously missing something else because when
I try to build the
>> website, the compiler complaints about
unrecognisable blocks in my
config
>> file. It complaints about the following block:
>>  <controls>
>>   <add namespace="Microsoft.Web.UI"
>> assembly="Microsoft.Web.Atlas"
tagPrefix="atlas"/>
>>   <add
namespace="Microsoft.Web.UI.Controls"
>> assembly="Microsoft.Web.Atlas"
tagPrefix="atlas"/>
>>  </controls>
>>
>> The exact error message is:
>> Error 1 Unrecognized configuration section
system.web/controls.
>>  C:\...\MyWebsite\Web.Config 52
>>
>>
>> Does anyone have any clue about what I might be
missing here?
>>
>>
>> Thanks,
>> Yago Alvarado
>>
>> ===================================
>> This list is hosted by DevelopMentor(r)  http://www.develop.com
>>
>> View archives and manage your subscription(s) at
http://discuss.develop.com

>>
>
>===================================
>This list is hosted by DevelopMentorŪ  http://www.develop.com
>
>View archives and manage your subscription(s) at
http://discuss.develop.com


===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )