|
Home > Archive > Microsoft Content Management Server > September 2007 > sdo export error
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]
|
|
|
| When I tried to export an sdo out of SQL Server 2005, it threw an
error. I discovered that there was another hotfix available for MCMS
2002/SQL Server 2005 specific to site deployment. After contacting
MS, receiving the hotfix, and updating the DB, the problem persisted.
I spoke with the MS engineer who determined that the hotfix installed
correctly and to take it further would require a support case (and
about $300). I decided to try to research the issue more. I
discovered this posting:
http://groups.google.com/group/micr...d11c33cce32eda3
This article led me to test this file:
http://localhost/mcms/sitedeployment/cmsxmlstub.aspx
When I tested this file it threw a server error from the web.config in
the MCMS virtual directory:
Server Error in '/MCMS/SiteDeployment' 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: The module 'CmsAuthorizationModule' is already
in the application and cannot be added again
Source Error:
Line 55: <globalization requestEncoding="utf-8"
responseEncoding="utf-8" />Line 56: <httpModules>Line 57: <add
type="Microsoft.ContentManagement.Web.Security.CmsAuthorizationModule,
Microsoft.ContentManagement.Web, Version=5.0.1200.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" name="CmsAuthorizationModule" />Line
58: <!-- <add
type="Microsoft.ContentManagement.Web.CmsEndRequestModule,
Microsoft.ContentManagement.Web, Version=5.0.1200.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" name="CmsEndRequestModule" />-->Line
59: <!-- <add
type="Microsoft.ContentManagement.Publishing.Events.PostingEventsModule,
Microsoft.ContentManagement.Publishing, Version=5.0.1200.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="CmsPosting" /
>-->
Source File: C:\Program Files\Microsoft Content Management Server
\Server\MCMS\web.config Line: 57
Version Information: Microsoft .NET Framework Version:1.1.4322.2379;
ASP.NET Version:1.1.4322.2379
I commented out each of the next four lines under globalization
(assuming these were duplicated in the web.config file in the project
root). Then, I received a response from the cmsxmlstub. When I
tested the export in Site Mgr, it seemed to work without a hitch. I
am working on importing these changes to production to verify that it
works.
Is there any preference in commenting the lines in the web project's
web.config vs. the mcms's web.config?
Thanks,
Rob
| |
| Stefan Goßner [MSFT] 2007-09-26, 7:24 am |
| Hi Rob,
sounds as if you have a web.config in the root of your website which
interacts badly with the web.config in the /MCMS virtual directory.
Please remove the web.config in the root of the website and check if the
problem is gone.
Cheers,
Stefan
"Rob" <saxon_rm@mercer.edu> wrote in message
news:1190749139.018000.221500@57g2000hsv.googlegroups.com...
> When I tried to export an sdo out of SQL Server 2005, it threw an
> error. I discovered that there was another hotfix available for MCMS
> 2002/SQL Server 2005 specific to site deployment. After contacting
> MS, receiving the hotfix, and updating the DB, the problem persisted.
> I spoke with the MS engineer who determined that the hotfix installed
> correctly and to take it further would require a support case (and
> about $300). I decided to try to research the issue more. I
> discovered this posting:
>
> http://groups.google.com/group/micr...d11c33cce32eda3
>
> This article led me to test this file:
>
> http://localhost/mcms/sitedeployment/cmsxmlstub.aspx
>
> When I tested this file it threw a server error from the web.config in
> the MCMS virtual directory:
>
> Server Error in '/MCMS/SiteDeployment' 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: The module 'CmsAuthorizationModule' is already
> in the application and cannot be added again
>
> Source Error:
> Line 55: <globalization requestEncoding="utf-8"
> responseEncoding="utf-8" />Line 56: <httpModules>Line 57: <add
> type="Microsoft.ContentManagement.Web.Security.CmsAuthorizationModule,
> Microsoft.ContentManagement.Web, Version=5.0.1200.0, Culture=neutral,
> PublicKeyToken=31bf3856ad364e35" name="CmsAuthorizationModule" />Line
> 58: <!-- <add
> type="Microsoft.ContentManagement.Web.CmsEndRequestModule,
> Microsoft.ContentManagement.Web, Version=5.0.1200.0, Culture=neutral,
> PublicKeyToken=31bf3856ad364e35" name="CmsEndRequestModule" />-->Line
> 59: <!-- <add
> type="Microsoft.ContentManagement.Publishing.Events.PostingEventsModule,
> Microsoft.ContentManagement.Publishing, Version=5.0.1200.0,
> Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="CmsPosting" /
>
> Source File: C:\Program Files\Microsoft Content Management Server
> \Server\MCMS\web.config Line: 57
>
> Version Information: Microsoft .NET Framework Version:1.1.4322.2379;
> ASP.NET Version:1.1.4322.2379
>
>
>
> I commented out each of the next four lines under globalization
> (assuming these were duplicated in the web.config file in the project
> root). Then, I received a response from the cmsxmlstub. When I
> tested the export in Site Mgr, it seemed to work without a hitch. I
> am working on importing these changes to production to verify that it
> works.
>
> Is there any preference in commenting the lines in the web project's
> web.config vs. the mcms's web.config?
>
> Thanks,
>
> Rob
>
|
|
|
|
|