 |
|
 |
|
|
 |
Stefan Gossner - Help required for resource dependency DLL |
 |
 |
|
|
06-19-06 06: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 3
2
at
ResourceGalleryCrawler.ResourceGalleryCrawler.CollectResourceGalleries(CmsAp
plicationContext
appContext, ResourceGallery resGal) in
d:\projects\jd\resourcegallerycrawler\re
sourcegallerycrawler\resourcegallery
crawler.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.
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Stefan Gossner - Help required for resource dependency DLL |
 |
 |
|
|
06-20-06 12:21 PM
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(Cms
ApplicationContext
> appContext, ResourceGallery resGal) in
> d:\projects\jd\resourcegallerycrawler\re
sourcegallerycrawler\resourcegalle
rycrawler.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.
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Stefan Gossner - Help required for resource dependency DLL |
 |
 |
|
|
06-20-06 12:21 PM
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[/url...nyurl.com/8ugwj
> ----------------------
>
>
> "Satish" <Satish@newsgroup.nospam> wrote in message
> news:7E2B3B00-39E5-407F-A5D3-087EDA48F2BA@microsoft.com...
>
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Stefan Gossner - Help required for resource dependency DLL |
 |
 |
|
|
06-20-06 12:21 PM
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\visu
al
> 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:
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Stefan Gossner - Help required for resource dependency DLL |
 |
 |
|
|
06-20-06 06:19 PM
Hi Stefan,
If you look at these following lines from exception below:
> c:\mydocs\visual studio projects\cmsresourcedepencies\listresour
cedepencie
s.cs:line 47
> c:\mydocs\visual studio projects\cmsresourcedepencies\listresour
cedepencie
s.cs:line 22
> (CmsApplicationContextappContext, ResourceGallery resGal) in c:\mydocs\visual stud
io 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 line
s?
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[/url...nyurl.com/8ugwj
> ----------------------
>
>
> "Satish" <Satish@newsgroup.nospam> wrote in message
> news:9BEC8C35-CF28-44F6-9449-AFB520F18756@microsoft.com...
>
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Stefan Gossner - Help required for resource dependency DLL |
 |
 |
|
|
06-20-06 06: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:
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: Stefan Gossner - Help required for resource dependency DLL |
 |
 |
|
|
06-20-06 06: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...
>
>
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
|
Sponsored Links |
 |
 |
|
|
 |
All times are GMT. The time now is 12:54 PM. |
 |
|
|
 |
|
 |
|
|
 |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
|
|
|
|
Medical and Health forum | Computer Games Reviews | Graphics design forum
|
 |
|
 |
|