Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Bugs & Issues > Newsletter unauthorized error

Newsletter unauthorized error

  • Nimit avatar

    Posted on Aug 22, 2011 (permalink)

    Hello there,
    I have a website which was done in version 3.7.2023.2.
    This website is running on the intranet and uses Active directory to login to sitefinity. All the Sections but Newsletter is working fine.

    So here is the issue, When someone logs in sitefinity and goes to Modules and click on Newsletter it gives the following error.
    "Message: The remote server returned an error: (401) Unauthorized."

    Please help on resolving the error as i don't know why it is throwing an "Unauthorized" error. one more thing the user is admin.

    Regards,
    Nimit Verma.

    Reply

  • Radoslav Georgiev Radoslav Georgiev admin's avatar

    Posted on Aug 25, 2011 (permalink)

    Hi Nimit,

    Can you please check the .NET trust mode of the website in IIS? Is it possible that the newsletters module is trying to generate the dynamic assembly in ~/Sitefinity/ServiceAssemblies/ folder and the IIS identity does not have permissions to write to this folder?

    Kind regards,
    Radoslav Georgiev
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

    Reply

  • Nimit avatar

    Posted on Sep 16, 2011 (permalink)

    Hi There,
    I have checked all the permissions and they are all right.
    First of all this site is an intranet site and using Active directory.

    When I run the site on my side with our AD(active directory) integration is runs fine I can go to Newsletter module and create newsletters and send them.

    When the customer click on the newsletter module everything seem to be right but as soon as he tries to setup SMTP setting or try of create a newsletter he gets a (401) Unauthorized error.

    Please suggest what should be done.

    Regards,
    Nimit Verma.

    Reply

  • Radoslav Georgiev Radoslav Georgiev admin's avatar

    Posted on Sep 19, 2011 (permalink)

    Hello Nimit,

    What role does the user belong to? Can you also check the permissions settings for the role in the Newsletters settings?

    Regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Charles avatar

    Posted on Sep 29, 2011 (permalink)

    Hello,

    My name is Charles and I will be assisting following this item through. We have verified the settings in IIS and the permissions. Here is the error segment from the log relating to the issue.

    Attached files

    Reply

  • Radoslav Georgiev Radoslav Georgiev admin's avatar

    Posted on Oct 4, 2011 (permalink)

    Hi,

    Can you please check this folder: ~/Sitefinity/ServiceAssemblies/? It must contain a dynamically generated assembly, if it does not, then it means that the application pool cannot write the assembly to this folder. This might be the case if the application is running in Medium Trust or if there are some additional restrictions there. If this is the case you can get a local copy of the site, run it where it will generate the assembly and then put the assembly in this folder.

    Greetings,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Charles avatar

    Posted on Oct 21, 2011 (permalink)

    Hello,

    I'll be grabbing the assemblies today, if they exist. Thank you for youre responses

    Reply

  • Charles avatar

    Posted on Oct 21, 2011 (permalink)

    Hello Radoslav

    There are two files in the folder ~/Sitefinity/ServiceAssemblies/

    There is a file with a name thats alphanumeric and kinda long . dll
    There is also an Info.txt.

    When the user attempts to create a newletter he gets the generic error. Then I check the sitefinity.log and he gets 401 unauthorized.

    Suggestions?

    Maybe we can do a conference screen share.

    Reply

  • Charles avatar

    Posted on Oct 21, 2011 (permalink)

    I notice that I can only attach images. Can I somehow send you the contents of that directory? I'm not sure how I can past in a dll

    Reply

  • Charles avatar

    Posted on Oct 24, 2011 (permalink)

    3889AC4AF542BAC3C62ABB154E78FEA8.dll exists in assemblies @ 8,704 bytes
    Info.txt exists in assemblies @ 85bytes

    Reply

  • Radoslav Georgiev Radoslav Georgiev admin's avatar

    Posted on Oct 26, 2011 (permalink)

    Hi Charles,

    Can you open a support ticket reference this forum post? We will discuss possible resolutions there.

    Kind regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Bugs & Issues > Newsletter unauthorized error