as soon as the box start havif some traffic like 40 to 50 session the poole in my application keeps recycling. So all my shopping cart session are lost. this happens everytime google bot goes thru my site.
Can anyone help
3005
Une exception non gérée s'est produite.
10/07/2011 09:03:03
10/07/2011 09:03:03
6da75f787e534e7dbf738517ec50b169
11641
32
0
/LM/W3SVC/5/ROOT-1-129547308182805050
Full
/
C:\inetpub\voip\
WEB2
3908
w3wp.exe
AUTORITE NT\SERVICE RÉSEAU
NullReferenceException
La référence d'objet n'est pas définie à une instance d'un objet.
http://ttvrip.comCustom.aspx?id=bf932838-304c-4aed-b7d4-b9b3f13bdc05&rcbID=ctl00_MainContentHolder_ContentColumnControl1_ctl01_cboCountry&rcbServerID=cboCountry
/Custom.aspx
66.249.68.162
False
AUTORITE NT\SERVICE RÉSEAU
10
AUTORITE NT\SERVICE RÉSEAU
False
à Telerik.WebControls.RadComboBox.HandleCallBack() dans C:\Documents and Settings\dev\Desktop\rad\ComboBoxSource\ControlLibraryNET20\Code\RadComboBox.cs:ligne 855 à Telerik.WebControls.RadComboBox.OnPreRender(EventArgs e) dans C:\Documents and Settings\dev\Desktop\rad\ComboBoxSource\ControlLibraryNET20\Code\RadComboBox.cs:ligne 990 à System.Web.UI.Control.PreRenderRecursiveInternal() à System.Web.UI.Control.PreRenderRecursiveInternal() à System.Web.UI.Control.PreRenderRecursiveInternal() à System.Web.UI.Control.PreRenderRecursiveInternal() à System.Web.UI.Control.PreRenderRecursiveInternal() à System.Web.UI.Control.PreRenderRecursiveInternal() à System.Web.UI.Control.PreRenderRecursiveInternal() à System.Web.UI.Control.PreRenderRecursiveInternal() à System.Web.UI.Control.PreRenderRecursiveInternal() à System.Web.UI.Control.PreRenderRecursiveInternal() à System.Web.UI.Control.PreRenderRecursiveInternal() à System.Web.UI.Control.PreRenderRecursiveInternal() à System.Web.UI.Control.PreRenderRecursiveInternal() à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
There's an error in your code which causes a nullreference exception. This in turns keeps the pool busy. The pool is set to auto-recycle to keep itself alive when an excess of errors occur.
So first off. Fix the error in custom.aspx (it has to do with the combo box for Country perhaps?)
Secondly, save the session for users and their shopping carts in a database. DO NOT RELY on sessions like you're doing now. It'll save you a lot of headaches down the line, plus it has the added benefit of letting you call the data to see abandoned shopping carts and determine which products proved more popular but didn't get checked out and why to improve the overall "click then buy" on your ecommerce site
Related
We're getting an error when users try to sign into Sensenet; they get the following error:
System.Web.HttpException
The site has encountered a problem and cannot serve you the requested resource.
Exception message
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
System.Web.HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). at System.Web.UI.ControlCollection.Add(Control child) at SenseNet.Portal.UI.ContentListViews.ViewFrame.LoadSelectedView(String name) in c:\Builds\15\SenseNet\630\Sources\Source\SenseNet\Portal\UI\ContentListViews\ViewFrame.cs:line 242 at SenseNet.Portal.UI.ContentListViews.ViewFrame.CreateChildControls() in c:\Builds\15\SenseNet\630\Sources\Source\SenseNet\Portal\UI\ContentListViews\ViewFrame.cs:line 174 at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Exception Source
System.Web
Stack trace
at System.Web.UI.ControlCollection.Add(Control child) at SenseNet.Portal.UI.ContentListViews.ViewFrame.LoadSelectedView(String name) in c:\Builds\15\SenseNet\630\Sources\Source\SenseNet\Portal\UI\ContentListViews\ViewFrame.cs:line 242 at SenseNet.Portal.UI.ContentListViews.ViewFrame.CreateChildControls() in c:\Builds\15\SenseNet\630\Sources\Source\SenseNet\Portal\UI\ContentListViews\ViewFrame.cs:line 174 at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I'm a SysAdmin, not an ASP dev, so I'm not sure where to even begin to start looking!
Can anyone help?
Thanks!
I have installed latest version of kenticoCMS (v.7) and created a new corporate site. Now I want to create a new page on root website but when I clicking on New page item this is generating error. I have tried the same with another web site but still the error is same for all.
Thanks in advance!
Server Error in '/KenticoCMS' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 209: get
Line 210: {
Line 211: return mStep ?? (mStep = DocumentManager.Step);
Line 212: }
Line 213: }
Source File: f:\Asp.net\KenticoCMS\CMSModules\Content\Controls\EditMenu.ascx.cs Line: 211
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
CMS.DocumentEngine.WorkflowManager.GetNodeWorkflowScopeInternal(TreeNode node) +342
CMS.DocumentEngine.WorkflowManager.GetNodeWorkflowInternal(TreeNode node) +135
CMS.DocumentEngine.WorkflowManager.GetPublishedWorkflowStepInternal(TreeNode node) +11
CMS.DocumentEngine.WorkflowManager.GetStepInfoInternal(TreeNode node) +65
CMS.DocumentEngine.TreeNode.get_WorkflowStep() +90
CMS.FormControls.CMSDocumentManager.get_Step() +36
CMSModules_Content_Controls_EditMenu.get_Step() in f:\Asp.net\KenticoCMS\CMSModules\Content\Controls\EditMenu.ascx.cs:211
CMSModules_Content_Controls_EditMenu.ReloadMenu() in f:\Asp.net\KenticoCMS\CMSModules\Content\Controls\EditMenu.ascx.cs:448
CMSModules_Content_Controls_EditMenu.OnPreRender(EventArgs e) in f:\Asp.net\KenticoCMS\CMSModules\Content\Controls\EditMenu.ascx.cs:336
System.Web.UI.Control.PreRenderRecursiveInternal() +103
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.547
would it be possible to copy and paste the whole error message with the stack trace?
Also, it seems that there is some corrupted file - I do not know which since the screen shot does not show the path of the file that the exception was thrown from.
So, to refresh the files I would recommend e.g. applying the latest hotfix
, it was working fine I have no clue about this error what should I do
Unable to find the requested .Net Framework Data Provider. It may not be installed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.]
System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) +301
System.Web.UI.WebControls.SqlDataSource.GetDbProviderFactorySecure() +48
System.Web.UI.WebControls.SqlDataSource.CreateConnection(String connectionString) +14
System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +208
System.Web.UI.WebControls.ListControl.OnDataBinding(EventArgs e) +186
System.Web.UI.WebControls.ListControl.PerformSelect() +51
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +105
System.Web.UI.WebControls.ListControl.OnPreRender(EventArgs e) +35
System.Web.UI.WebControls.ListBox.OnPreRender(EventArgs e) +16
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +256
System.Web.UI.Control.PreRenderRecursiveInternal() +256
System.Web.UI.Control.PreRenderRecursiveInternal() +256
System.Web.UI.Control.PreRenderRecursiveInternal() +256
System.Web.UI.Control.PreRenderRecursiveInternal() +256
System.Web.UI.Control.PreRenderRecursiveInternal() +256
System.Web.UI.Control.PreRenderRecursiveInternal() +256
System.Web.UI.Control.PreRenderRecursiveInternal() +256
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3888
I was seeing the same problem why trying to publish a website to a new server. Installing the Connector/Net 6.4.4 found here solved my problem: http://dev.mysql.com/downloads/connector/net/
Following error comes when creating a WebPart In sharePoint 2010 Server.
Web Part Error: Unhandled exception was thrown by the user code wrapper's Execute method in the partial trust app domain: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.TypeLoadException: Could not load type 'Microsoft.SharePoint.WebControls.SPGridView' from assembly 'Microsoft.SharePoint, Version=14.900.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. at ListMenuSample.ListMenuSample.ListMenuSample.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper.ExecuteHttpRequest(SPUserCodeWebPartHttpRequestContext webPartExecutionContext, SPUserCodeWebPartHttpResponse httpRequestResponse) at Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper.Execute(SPUserCodeExecutionContext executionContext) at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)
When you look at the SharePoint 2010 server, what is the version number of the Microsoft.Sharepoint DLL in the GAC (windows\assembly)? If somehow your code is specifically tied to version 14.900.00 and the version in the assembly is different then that may be your problem.
Also, just wanted to double check that you aren't deploying a copy of the Microsoft.SharePoint DLL with your solution, because that would be bad.
I have a data list with paging which works fine locally debugging but doesn't work on my deployment server provided by my hosting company.
Line 151: TotalRowCount = pagedData.DataSourceCount;
I'm using the same remote database for both local and on deployment server.
Error message:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 149:
Line 150: // Remember the total number of records being paged through across postbacks
Line 151: TotalRowCount = pagedData.DataSourceCount;
Line 152: PrevPage.Visible = !pagedData.IsFirstPage;
Line 153: NextPage.Visible = !pagedData.IsLastPage;
Source File: \\pdc1\sites\t\test.domain.com\public_html\Auctions.aspx.cs Line: 151
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Auctions.ItemDataSource_Selected(Object sender, ObjectDataSourceStatusEventArgs e) in \\pdc1\sites\t\test.domain.com\public_html\Auctions.aspx.cs:151
System.Web.UI.WebControls.ObjectDataSourceView.OnSelected(ObjectDataSourceStatusEventArgs e) +95
System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance) +432
System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1247
System.Web.UI.WebControls.BaseDataList.GetData() +38
System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +153
System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +54
System.Web.UI.WebControls.BaseDataList.DataBind() +55
System.Web.UI.WebControls.BaseDataList.EnsureDataBound() +60
System.Web.UI.WebControls.BaseDataList.CreateChildControls() +69
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +44
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053
This implies the connection to your database from the server isn't working, as the pagedData object is null.
Check you can access your datasource, with the correct identity.