Internal error occurred in 3rd party provider
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Internal error occurred in 3rd party provider




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Internal error occurred in 3rd party provider  
Davidlev


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-06-06 06:22 AM

Hi,
I have been trying to deploy a CS 2002 FP1 implementation and have run
across a serious problem. Apparently, when the site is put under some level
of load, the CPU begins to spike at 100% for the IIS Worker Process and the
site becomes completely unresponsive. When we implemented a error handler to
catch the errors, at the time of the cpu spike, we began receiving a bunch o
f
errors relating to the Profile System. Specifically, we received:  Internal
error occurred in 3rd party provider when trying to invoke GetProfileByKey
and a few other methods. Can someone please help us in trying to identify th
e
root cause of this issue.
Thanks,
David






[ Post a follow-up to this message ]



    Re: Internal error occurred in 3rd party provider  
Rory


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-06-06 12:19 PM

Hi,

Sounds as though you haven't turned caching on

Check your web.config and find a line that looks like the one below

<application siteName="yoursitename" debugLevel="Debug"/>

Set this to debugLevel="Production".

Be warned that this will implement page level caching. While this is
fast, if you have a basket value on each page of your site it will
cache this to.

Also check your database and see if its under just as much load as your
website.

Rory

Davidlev wrote:
> Hi,
> I have been trying to deploy a CS 2002 FP1 implementation and have run
> across a serious problem. Apparently, when the site is put under some leve
l
> of load, the CPU begins to spike at 100% for the IIS Worker Process and th
e
> site becomes completely unresponsive. When we implemented a error handler 
to
> catch the errors, at the time of the cpu spike, we began receiving a bunch
 of
> errors relating to the Profile System. Specifically, we received:  Interna
l
> error occurred in 3rd party provider when trying to invoke GetProfileByKey
> and a few other methods. Can someone please help us in trying to identify 
the
> root cause of this issue.
> Thanks,
> David






[ Post a follow-up to this message ]



    RE: Internal error occurred in 3rd party provider  
Ravi Shankar


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-06-06 06:20 PM

Hi Davidlev,

Depending on what all (IIS, SQL and such) running on your machine, you shoul
d
1. create a separate Application Pool for your application

2. set process recycling parameters for this app pool - This will cause an
process restart, typically start another process and hand over new requests
to that.. and close the existing process once all current request are done..
.

3. Do a perfmon using ASP.Net + Process+ System counters to identify the
bottlenecks (maybe you are running out of memory).
--
Ravi Shankar


"Davidlev" wrote:

> Hi,
> I have been trying to deploy a CS 2002 FP1 implementation and have run
> across a serious problem. Apparently, when the site is put under some leve
l
> of load, the CPU begins to spike at 100% for the IIS Worker Process and th
e
> site becomes completely unresponsive. When we implemented a error handler 
to
> catch the errors, at the time of the cpu spike, we began receiving a bunch
 of
> errors relating to the Profile System. Specifically, we received:  Interna
l
> error occurred in 3rd party provider when trying to invoke GetProfileByKey
> and a few other methods. Can someone please help us in trying to identify 
the
> root cause of this issue.
> Thanks,
> David
>





[ Post a follow-up to this message ]



    Re: Internal error occurred in 3rd party provider  
Davidlev


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-07-06 06:20 AM

Rory,
Thanks for the reply.. Now that I have put the site in production mode, it
seems as though I am now inadvertantly merging profiles for the users of the
site. Its like I have 1 profile object and all the users of the site are
sharing it... Any ideas?
Thanks!
David

"Rory" wrote:

> Hi,
>
> Sounds as though you haven't turned caching on
>
> Check your web.config and find a line that looks like the one below
>
> <application siteName="yoursitename" debugLevel="Debug"/>
>
> Set this to debugLevel="Production".
>
> Be warned that this will implement page level caching. While this is
> fast, if you have a basket value on each page of your site it will
> cache this to.
>
> Also check your database and see if its under just as much load as your
> website.
>
> Rory
>
> Davidlev wrote: 
>
>





[ Post a follow-up to this message ]



    Re: Internal error occurred in 3rd party provider  
Rory


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-07-06 06:18 PM

Hi Davidlev,

I am guessing that when a user logs into your site they are greated by
a message on all the pages saying something like  Welcome <username>
and you have 23.12 worth of products in your basket?

If this is the case then the page level caching that is happening when
you turn on production mode is basically caching the site for the first
user who visits the site. So every user afterwards sees the cached
version of the site and this includes basket values and greeting
messages to the first user as warned in my previous post:

"Be warned that this will implement page level caching. While this is
fast, if you have a basket value on each page of your site it will
cache this to"

What to do the options?

1) Leave your site in production mode and go to the following bit of
code in your web.config.

<OutputCaching>
<Param name="EnableCaching" value="true" type="System.Boolean"/>

and set the value to false and see if this makes a difference.

2) If you have the users basket value on each page and a greeting
message specific to that user then it is probably best to turn off page
caching and make use of ASP.NET fragment caching hooked to a dependency
file. This will require a bit of work finding the parts on your site
that would put the most strain on the site hopefully they are in
seperate usercontrols and try caching these to see if it makes a
difference.

3) If there are only a few pages that you identify the user on and
display messages and basket information to the user. Then remove these
pages from being cached by placing an entry into the Global.asax.cs (I
think this was the file you will need to check this).

Before you try any of the above, find out if turning on production mode
has made any difference to the CPU utilization.

Hope that helps, remember that when testing the above always to backup
files you have changed and to make change on a non production system to
test it first. Remember changing the web.config resets the app and can
cause issues for users who are in the process of purchasing on your
site.

Rory

Please note that all infomation is provided without warranty and is
used at your own risk.


Davidlev wrote:[vbcol=seagreen]
> Rory,
> Thanks for the reply.. Now that I have put the site in production mode, it
> seems as though I am now inadvertantly merging profiles for the users of t
he
> site. Its like I have 1 profile object and all the users of the site are
> sharing it... Any ideas?
> Thanks!
> David
>
> "Rory" wrote:
> 






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:43 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

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

Back To The Top
Home | Usercp | Faq | Register