resource size and permissions
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
resource size and permissions
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server
Author Message
Stefan [MSFT]
Guest





Posted: Thu Nov 10, 2005 5:51 pm    Post subject: Re: resource size and permissions Reply with quote

Hi Chandy,

the instrument that code to write out the content of the rs object and the
content of the size property.
Btw: if an authentication prompt occurs then either the user does not have
rights on this resource or it has been deleted.

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


"Chandy" <chandy@totalise.co.uk> wrote in message
news:1131634706.804956.68990@z14g2000cwz.googlegroups.com...
Quote:
Hi Stefan,

Debugging on the public site is not possible - it is a public site and
uses release binaries. By 'fails' I mean that the control page does not
render from the point at which the function to calculate the size of
the resource is called, indicating that the function call failed. An
HTTP request for the affected resource also prompts for authentication.
I have run the code on a readonly development site and there are no
problems, even using the same actual resource files. The only thing I
can think is that there is an ACL issue somewhere on the live
production server for some reason but I do not know where that would be
and what it needs to be set to in order to result in this behaviour.

Chandy
Back to top
Chandy
Guest





Posted: Thu Nov 10, 2005 5:51 pm    Post subject: Re: resource size and permissions Reply with quote

Hi Stefan,

Debugging on the public site is not possible - it is a public site and
uses release binaries. By 'fails' I mean that the control page does not
render from the point at which the function to calculate the size of
the resource is called, indicating that the function call failed. An
HTTP request for the affected resource also prompts for authentication.
I have run the code on a readonly development site and there are no
problems, even using the same actual resource files. The only thing I
can think is that there is an ACL issue somewhere on the live
production server for some reason but I do not know where that would be
and what it needs to be set to in order to result in this behaviour.

Chandy
Back to top
Stefan [MSFT]
Guest





Posted: Sun Nov 13, 2005 9:50 pm    Post subject: Re: resource size and permissions Reply with quote

Hi Chandy,

The message 'The CMS Server license has expired' will show up for a non-eval
edition of MCMS if a problem when reading the registry occurs. This can be
caused by permission problem when accessing the registry. Please check the
permissions on the \HTKLM\Software\NCompass registry key.

Cheers,
Stefan


"Chandy" <chandy@totalise.co.uk> schrieb im Newsbeitrag
news:1131641702.963921.201010@g47g2000cwa.googlegroups.com...
Quote:
Hi Stefan,

This gets weirder yet. I wrote a quick console app to run on the box.
Simply calls AuthenticateAsGuest against a new CmsApplicationContext
and gets the resource names and sizes form a specified gallery. Runs
fine on my development server but on the production box
AuthenticateAsGuest fails!

Unhandled Exception:
Microsoft.ContentManagement.Publishing.CmsAccessDeniedExcep
tion: The CMS Server license has expired. ---
System.Runtime.InteropServices.CO
MException (0x80041C00)
at
Microsoft.ContentManagement.Interop.Publishing.CmsApplicationContextClass.
AuthenticateAsGuest(RcwPublishingMode Mode, String ClientAccountName,
String aut
henticationType, String remoteMachineAddress)
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateA
sGuest()
--- End of inner exception stack trace ---
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateA
sGuest()
at ResourceCheck.Module1.Main()

'licence has expired'??
The only thing I can think is that the production box is running
Standard Edition whereas this was built and run on a development
install??

Chandy
Back to top
Chandy
Guest





Posted: Mon Nov 14, 2005 1:50 pm    Post subject: Re: resource size and permissions Reply with quote

Hi Stefan,

Sadly I don't even have access to the security event log, and auditing
is also minimal! I will throw this back to the host.

Thanks,

Chandy
Back to top
Stefan [MSFT]
Guest





Posted: Mon Nov 14, 2005 1:50 pm    Post subject: Re: resource size and permissions Reply with quote

Hi Chandy,

sorry I don't have such information available.
You could try to use Windows security auditing if regmon is not an option.

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


"Chandy" <chandy@totalise.co.uk> wrote in message
news:1131966260.070338.42690@f14g2000cwb.googlegroups.com...
Quote:

Hi Stefan,

There are quite a lot of users, groups and individual permissions
options. Can you tell me a minimum that is required? Unfortunately I
can't run regmon on the server!

Chandy

Stefan [MSFT] wrote:

Hi Chandy,

The message 'The CMS Server license has expired' will show up for a
non-eval
edition of MCMS if a problem when reading the registry occurs. This can
be
caused by permission problem when accessing the registry. Please check
the
permissions on the \HTKLM\Software\NCompass registry key.

Cheers,
Stefan


"Chandy" <chandy@totalise.co.uk> schrieb im Newsbeitrag
news:1131641702.963921.201010@g47g2000cwa.googlegroups.com...
Hi Stefan,

This gets weirder yet. I wrote a quick console app to run on the box.
Simply calls AuthenticateAsGuest against a new CmsApplicationContext
and gets the resource names and sizes form a specified gallery. Runs
fine on my development server but on the production box
AuthenticateAsGuest fails!

Unhandled Exception:
Microsoft.ContentManagement.Publishing.CmsAccessDeniedExcep
tion: The CMS Server license has expired. ---
System.Runtime.InteropServices.CO
MException (0x80041C00)
at
Microsoft.ContentManagement.Interop.Publishing.CmsApplicationContextClass.
AuthenticateAsGuest(RcwPublishingMode Mode, String ClientAccountName,
String aut
henticationType, String remoteMachineAddress)
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateA
sGuest()
--- End of inner exception stack trace ---
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateA
sGuest()
at ResourceCheck.Module1.Main()

'licence has expired'??
The only thing I can think is that the production box is running
Standard Edition whereas this was built and run on a development
install??

Chandy

Back to top
Chandy
Guest





Posted: Mon Nov 14, 2005 1:50 pm    Post subject: Re: resource size and permissions Reply with quote

Hi Stefan,

There are quite a lot of users, groups and individual permissions
options. Can you tell me a minimum that is required? Unfortunately I
can't run regmon on the server!

Chandy

Stefan [MSFT] wrote:

Quote:
Hi Chandy,

The message 'The CMS Server license has expired' will show up for a non-eval
edition of MCMS if a problem when reading the registry occurs. This can be
caused by permission problem when accessing the registry. Please check the
permissions on the \HTKLM\Software\NCompass registry key.

Cheers,
Stefan


"Chandy" <chandy@totalise.co.uk> schrieb im Newsbeitrag
news:1131641702.963921.201010@g47g2000cwa.googlegroups.com...
Hi Stefan,

This gets weirder yet. I wrote a quick console app to run on the box.
Simply calls AuthenticateAsGuest against a new CmsApplicationContext
and gets the resource names and sizes form a specified gallery. Runs
fine on my development server but on the production box
AuthenticateAsGuest fails!

Unhandled Exception:
Microsoft.ContentManagement.Publishing.CmsAccessDeniedExcep
tion: The CMS Server license has expired. ---
System.Runtime.InteropServices.CO
MException (0x80041C00)
at
Microsoft.ContentManagement.Interop.Publishing.CmsApplicationContextClass.
AuthenticateAsGuest(RcwPublishingMode Mode, String ClientAccountName,
String aut
henticationType, String remoteMachineAddress)
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateA
sGuest()
--- End of inner exception stack trace ---
at
Microsoft.ContentManagement.Publishing.CmsApplicationContext.AuthenticateA
sGuest()
at ResourceCheck.Module1.Main()

'licence has expired'??
The only thing I can think is that the production box is running
Standard Edition whereas this was built and run on a development
install??

Chandy
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> CMS Server All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB