|
Home > Archive > Microsoft Content Management Server > June 2006 > Stefan Gossner - Help required for resource dependency DLL
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 |
Stefan Gossner - Help required for resource dependency DLL
|
|
| Satish 2006-06-19, 1:19 pm |
| Hi Stefan,
I am planning to use one of your API posted at:
http://www.mcmsfaq.com/samples/gdn.asp (DLL Version of Tool to get resource
dependencies by Stefan Gossner) in a utility which will help us to identify
resource gallery items being used by a posting. In this way, we can manage
resource gallery size to improve performance by removing unwanted or unused
items.
In my code, I'm referencing your DLL (CheckResourceDependenciesDLL.dll).
When I execute the following exception being raised:
------------------------------------------------------------------------------------------------
General Information
****************************************
*****
Additional Info:
ExceptionManager.MachineName: USSTUB09
ExceptionManager.TimeStamp: 6/19/2006 11:24:04 AM
ExceptionManager.FullName: Microsoft.ApplicationBlocks.ExceptionManagement,
Version=1.0.1707.36031, Culture=neutral, PublicKeyToken=null
ExceptionManager.AppDomainName: ResourceGalleryCrawler.exe
ExceptionManager.ThreadIdentity:
ExceptionManager.WindowsIdentity: PROFESSIONAL\XX0840
1) Exception Information
****************************************
*****
Exception Type: System.Runtime.InteropServices.COMException
ErrorCode: -2147352567
Message: Exception occurred.
TargetSite:
Microsoft.ContentManagement.Interop.AEInterfaces.IAEServerSearchResult
ExecuteSearch()
HelpLink: NULL
Source: Microsoft.ContentManagement.Interop.AEInterfaces
StackTrace Information
****************************************
*****
at
Microsoft.ContentManagement.Interop.AEInterfaces.IAEServer5.ExecuteSearch()
at StefanG.Tools.CheckResourceDependencies.GetDependendPosting(CmsContext
cmsContext, Resource resource) in d:\mydocs\visual studio
projects\checkresourcedependenciesdll\ch
eckresourcedependenciesdll.cs:line 32
at
ResourceGalleryCrawler.ResourceGalleryCrawler. CollectResourceGalleries(CmsApplicationC
ontext
appContext, ResourceGallery resGal) in
d:\projects\jd\resourcegallerycrawler\re
sourcegallerycrawler\resourcegallerycraw
ler.cs:line 57
------------------------------------------------------------------------------------------------
Though the utility processes complete resource gallery, why is this error
being produced and is there any fix available for the same?
Your help in this regard will be highly appreciated.
Many thanks and best regards,
- Satish Byali.
| |
| Stefan [MSFT] 2006-06-20, 7:21 am |
| Hi Satish,
please run this tool in the context of an MCMS administrator:
http://www.gotdotnet.com/Community/...f2-bf283edb9159
Does this tool work? If yes, then there is a problem in your code as this
tool uses the same logic as the DLL.
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
----------------------
"Satish" <Satish@newsgroup.nospam> wrote in message
news:7E2B3B00-39E5-407F-A5D3-087EDA48F2BA@microsoft.com...
> Hi Stefan,
>
> I am planning to use one of your API posted at:
> http://www.mcmsfaq.com/samples/gdn.asp (DLL Version of Tool to get
> resource
> dependencies by Stefan Gossner) in a utility which will help us to
> identify
> resource gallery items being used by a posting. In this way, we can manage
> resource gallery size to improve performance by removing unwanted or
> unused
> items.
>
> In my code, I'm referencing your DLL (CheckResourceDependenciesDLL.dll).
> When I execute the following exception being raised:
>
> ------------------------------------------------------------------------------------------------
> General Information
> ****************************************
*****
> Additional Info:
> ExceptionManager.MachineName: USSTUB09
> ExceptionManager.TimeStamp: 6/19/2006 11:24:04 AM
> ExceptionManager.FullName:
> Microsoft.ApplicationBlocks.ExceptionManagement,
> Version=1.0.1707.36031, Culture=neutral, PublicKeyToken=null
> ExceptionManager.AppDomainName: ResourceGalleryCrawler.exe
> ExceptionManager.ThreadIdentity:
> ExceptionManager.WindowsIdentity: PROFESSIONAL\XX0840
>
> 1) Exception Information
> ****************************************
*****
> Exception Type: System.Runtime.InteropServices.COMException
> ErrorCode: -2147352567
> Message: Exception occurred.
> TargetSite:
> Microsoft.ContentManagement.Interop.AEInterfaces.IAEServerSearchResult
> ExecuteSearch()
> HelpLink: NULL
> Source: Microsoft.ContentManagement.Interop.AEInterfaces
>
> StackTrace Information
> ****************************************
*****
> at
> Microsoft.ContentManagement.Interop.AEInterfaces.IAEServer5.ExecuteSearch()
> at
> StefanG.Tools.CheckResourceDependencies.GetDependendPosting(CmsContext
> cmsContext, Resource resource) in d:\mydocs\visual studio
> projects\checkresourcedependenciesdll\ch
eckresourcedependenciesdll.cs:line
> 32
>
> at
> ResourceGalleryCrawler.ResourceGalleryCrawler. CollectResourceGalleries(CmsApplicationC
ontext
> appContext, ResourceGallery resGal) in
> d:\projects\jd\resourcegallerycrawler\re
sourcegallerycrawler\resourcegallerycraw
ler.cs:line
> 57
>
> ------------------------------------------------------------------------------------------------
>
> Though the utility processes complete resource gallery, why is this error
> being produced and is there any fix available for the same?
>
> Your help in this regard will be highly appreciated.
>
> Many thanks and best regards,
> - Satish Byali.
| |
| Satish 2006-06-20, 7:21 am |
| Hi Stefan,
Thanks for your quick response. As mentioned by you, I tried running the
below mentioned .exe in the context of an MCMS administrator on different
environments (development and authoring) and still problem/error persists.
Here is the transcript of the error produced from both (.exe) and (.dll):
-----------------------------------------------------------
E:\EXE>CmsResourceDepencies.exe > report.log
Unhandled Exception: System.Runtime.InteropServices.COMException
(0x80020009): Exception occurred.
at
Microsoft.ContentManagement.Interop.AEInterfaces.IAEServer5.ExecuteSearch()
at
CmsResourceDepencies.Class1. CollectResourceGalleries(CmsApplicationC
ontext
appContext, ResourceGallery resGal) in c:\mydocs\visual studio
projects\cmsresourcedepencies\listresour
cedepencies.cs:line 47
at
CmsResourceDepencies.Class1. CollectResourceGalleries(CmsApplicationC
ontext
appContext, ResourceGallery resGal) in c:\mydocs\visual studio
projects\cmsresourcedepencies\listresour
cedepencies.cs:line 22
at
CmsResourceDepencies.Class1. CollectResourceGalleries(CmsApplicationC
ontext
appContext, ResourceGallery resGal) in c:\mydocs\visual studio
projects\cmsresourcedepencies\listresour
cedepencies.cs:line 22
at CmsResourceDepencies.Class1.Main(String[] args) in c:\mydocs\visual
studio projects\cmsresourcedepencies\listresour
cedepencies.cs:line 72
-----------------------------------------------------------
And also worth mentioning, in my code for now I'm just referencing your DLL.
Hope this information will help you to identify the cause and resolve the
issue.
I will appreciate you help and early reponse in this regard.
Many thanks in advance,
- Satish Byali.
"Stefan [MSFT]" wrote:
> Hi Satish,
>
> please run this tool in the context of an MCMS administrator:
> http://www.gotdotnet.com/Community/...f2-bf283edb9159
>
> Does this tool work? If yes, then there is a problem in your code as this
> tool uses the same logic as the DLL.
>
> 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
> ----------------------
>
>
> "Satish" <Satish@newsgroup.nospam> wrote in message
> news:7E2B3B00-39E5-407F-A5D3-087EDA48F2BA@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2006-06-20, 7:21 am |
| Hi Satish,
ok then something is wrong with your system.
I'm not able to tell you what from the exceptions below.
As this is not a supported tool you will also not be able to get support
from Microsoft on 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
----------------------
"Satish" <Satish@newsgroup.nospam> wrote in message
news:9BEC8C35-CF28-44F6-9449-AFB520F18756@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> Thanks for your quick response. As mentioned by you, I tried running the
> below mentioned .exe in the context of an MCMS administrator on different
> environments (development and authoring) and still problem/error persists.
> Here is the transcript of the error produced from both (.exe) and (.dll):
>
> -----------------------------------------------------------
> E:\EXE>CmsResourceDepencies.exe > report.log
>
> Unhandled Exception: System.Runtime.InteropServices.COMException
> (0x80020009): Exception occurred.
> at
> Microsoft.ContentManagement.Interop.AEInterfaces.IAEServer5.ExecuteSearch()
> at
> CmsResourceDepencies.Class1. CollectResourceGalleries(CmsApplicationC
ontext
> appContext, ResourceGallery resGal) in c:\mydocs\visual studio
> projects\cmsresourcedepencies\listresour
cedepencies.cs:line 47
> at
> CmsResourceDepencies.Class1. CollectResourceGalleries(CmsApplicationC
ontext
> appContext, ResourceGallery resGal) in c:\mydocs\visual studio
> projects\cmsresourcedepencies\listresour
cedepencies.cs:line 22
> at
> CmsResourceDepencies.Class1. CollectResourceGalleries(CmsApplicationC
ontext
> appContext, ResourceGallery resGal) in c:\mydocs\visual studio
> projects\cmsresourcedepencies\listresour
cedepencies.cs:line 22
> at CmsResourceDepencies.Class1.Main(String[] args) in c:\mydocs\visual
> studio projects\cmsresourcedepencies\listresour
cedepencies.cs:line 72
>
> -----------------------------------------------------------
> And also worth mentioning, in my code for now I'm just referencing your
> DLL.
> Hope this information will help you to identify the cause and resolve the
> issue.
>
> I will appreciate you help and early reponse in this regard.
>
> Many thanks in advance,
> - Satish Byali.
>
>
>
> "Stefan [MSFT]" wrote:
>
| |
| Satish 2006-06-20, 1:19 pm |
| Hi Stefan,
If you look at these following lines from exception below:
> c:\mydocs\visual studio projects\cmsresourcedepencies\listresour
cedepencies.cs:line 47
> c:\mydocs\visual studio projects\cmsresourcedepencies\listresour
cedepencies.cs:line 22
> (CmsApplicationContextappContext, ResourceGallery resGal) in c:\mydocs\visual studio projects\cmsresourcedepencies\listresour
cedepencies.cs:line 22
at CmsResourceDepencies.Class1.Main(String[] args) in c:\mydocs\visual
studio projects\cmsresourcedepencies\listresour
cedepencies.cs:line 72
These are being generated from referenced DLL
(CheckResourceDependenciesDLL.dll).
- Is it possible to get source code for this DLL? or
- Can you kindly let me know, what is that you are referencing at these lines?
Appreciate your help in this regard.
Many thanks,
- Satish Byali.
"Stefan [MSFT]" wrote:
> Hi Satish,
>
> ok then something is wrong with your system.
> I'm not able to tell you what from the exceptions below.
>
> As this is not a supported tool you will also not be able to get support
> from Microsoft on 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
> ----------------------
>
>
> "Satish" <Satish@newsgroup.nospam> wrote in message
> news:9BEC8C35-CF28-44F6-9449-AFB520F18756@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2006-06-20, 1:19 pm |
| Hi Satish,
the answer is no.
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
----------------------
"Satish" <Satish@newsgroup.nospam> wrote in message
news:AAC605A8-A399-4B46-A90C-DE5EF8CFE8F8@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> If you look at these following lines from exception below:
>
> at CmsResourceDepencies.Class1.Main(String[] args) in c:\mydocs\visual
> studio projects\cmsresourcedepencies\listresour
cedepencies.cs:line 72
>
> These are being generated from referenced DLL
> (CheckResourceDependenciesDLL.dll).
> - Is it possible to get source code for this DLL? or
> - Can you kindly let me know, what is that you are referencing at these
> lines?
>
> Appreciate your help in this regard.
>
> Many thanks,
> - Satish Byali.
>
>
> "Stefan [MSFT]" wrote:
>
| |
| Stefan [MSFT] 2006-06-20, 1:19 pm |
| Hi Satish,
to be more clear: I'm not allowed to share the source code.
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
----------------------
"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:%23GsyqNIlGHA.5072@TK2MSFTNGP04.phx.gbl...
> Hi Satish,
>
> the answer is no.
>
> 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
> ----------------------
>
>
> "Satish" <Satish@newsgroup.nospam> wrote in message
> news:AAC605A8-A399-4B46-A90C-DE5EF8CFE8F8@microsoft.com...
>
>
|
|
|
|
|