Microsoft Content Management Server - Re: Create New channel in MCMS without using Site Manager

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > April 2006 > Re: Create New channel in MCMS without using Site Manager





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Create New channel in MCMS without using Site Manager
Stefan [MSFT]

2006-04-27, 7:27 am

Hi Deepak,

please stay out of the database. Direct access to the DB breaks the support
boundaries of MCMS.

Thanks,
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
----------------------


"Deepak_DOTNET" <DeepakDOTNET@discussions.microsoft.com> wrote in message
news:60FC7F64-B594-46ED-9D27-080B0946D47A@microsoft.com...[vbcol=seagreen]
> hi,
> I was trying to create a channel using API code which i got from below
> link....
>
> 1)
> http://msdn.microsoft.com/library/d....asp?frame=true
>
> First i tested by creating a new channel in woodgroove site.
>
> I noticed one thing is
> In ChannelCreator.cs file.
> under creatChan() funation ...
> there is line of code called........ thisCTX.COmmitAll();
>
> i just traced code excution in sql profiler just to known what is
> happening
> in database when code is executed.
>
> This will excute series of "Insert" and "select" statments.....
> Among that important is 2 insert statment...1) INSERT INTO NodeRole.....
> 2) INSERT INTO
> NodeProperty.........
>
>
> This is fine..There is no issues....
>
> So when same code(of ChannelCreator.cs) is executes from other
> project(other than woodgrove project) ... then i will get to see only one
> insert statement.....1). INSERT INTO NodeRole..........
>
> Values are not inserting into NodeProperty table.
>
> Why is this happening only in case of using that code in other project
> (other than woodgroove)
>
> Reply me with some soultion...
>
>
>
> Thanks for ur valuable time for me
>
> Thank u
> Deepak
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ............................................................................................................................
>
> "Irfan Yar" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com