|
Home > Archive > Microsoft Content Management Server > May 2006 > Site depolyment script in C# .net 2.0
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 |
Site depolyment script in C# .net 2.0
|
|
| Mike Parris 2006-04-27, 7:27 am |
| I am trying to write a deployment script in .net 2.0 and get the export
object creation line fail with the message -
LoaderLock was detected
Message: DLL 'C:\Program Files\Microsoft Content Management
Server\Server\bin\NRSiteDeployServer.dll' is attempting managed execution
inside OS Loader lock. Do not attempt to run managed code inside a DllMain or
image initialization function since doing so can cause the application to
hang.
Erant line is - CmsDeployExport exportjob = new CmsDeployExportClass();
It works ok in .Net 1.1.
Anyone else managed to run this successfully?
| |
| Stefan [MSFT] 2006-04-27, 7:27 am |
| Hi Mike,
you should open a support case for this.
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
----------------------
"Mike Parris" <MikeParris@discussions.microsoft.com> wrote in message
news:AF84CDDA-D2FF-42F4-B363-0B650F36FC04@microsoft.com...
>I am trying to write a deployment script in .net 2.0 and get the export
> object creation line fail with the message -
>
> LoaderLock was detected
> Message: DLL 'C:\Program Files\Microsoft Content Management
> Server\Server\bin\NRSiteDeployServer.dll' is attempting managed execution
> inside OS Loader lock. Do not attempt to run managed code inside a DllMain
> or
> image initialization function since doing so can cause the application to
> hang.
>
> Erant line is - CmsDeployExport exportjob = new CmsDeployExportClass();
>
> It works ok in .Net 1.1.
>
> Anyone else managed to run this successfully?
>
>
>
| |
| ians555 2006-05-17, 1:15 pm |
| Hi Stefan/Mike,
Do you know if this ever got resolved as i am suffering the same problem???
Cheers
Ian
"Mike Parris" wrote:
[vbcol=seagreen]
> Thanks Stefan,
>
> Mike
>
> "Stefan [MSFT]" wrote:
>
| |
| Stefan [MSFT] 2006-05-17, 1:15 pm |
| Hi Ian,
this issue is still being investigated by the MCMS product team.
If you are affected, please open a service request for this. The service
request will be free of charge for you. Please mention that you are looking
for a solution logged as PS bug OfficeQFE:17274.
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
----------------------
"ians555" <ians555@discussions.microsoft.com> wrote in message
news:0EA1EADC-FEFC-4B78-8C89-AE73F9C3CEF5@microsoft.com...[vbcol=seagreen]
> Hi Stefan/Mike,
>
> Do you know if this ever got resolved as i am suffering the same
> problem???
>
>
> Cheers
>
> Ian
>
> "Mike Parris" wrote:
>
|
|
|
|
|