an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 6/7/2009 11:42:54 AM By 4safety. 5 replies.
6/5/2009 9:58:10 AM
4safety
Posts: 124
Joined: 5/11/2009
General Error
When I try to get to my website everytime it goes to the error screen.
 
here is what is in the event viewer.
 

Timestamp: 6/5/2009 4:58:05 PM

Message: Tracing to LogSource 'General' failed. Processing for other sources will continue. See summary information below for more information. Should this problem persist, stop the service and check the configuration file(s) for possible error(s) in the configuration of the categories and sinks.

 

Summary for Enterprise Library Distributor Service:

======================================

-->

Message:

Timestamp: 6/5/2009 4:58:05 PM

Message: HandlingInstanceID: 1c2a9959-5a7a-4acc-a308-c6dd7ff7bfed

An exception of type 'System.Web.HttpUnhandledException' occurred and was caught.

---------------------------------------------------------------------------------

06/05/2009 09:58:05

Type : System.Web.HttpUnhandledException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

Message : Exception of type 'System.Web.HttpUnhandledException' was thrown.

Source : System.Web

Help link :

ErrorCode : -2147467259

Data : System.Collections.ListDictionaryInternal

TargetSite : Boolean HandleError(System.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.ProcessRequestWithNoAssert(HttpContext context)

at System.Web.UI.Page.ProcessRequest(HttpContext context)

at ASP.default_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dsc\e1cd62c4\7bb4dba8\App_Web_crpeci9o.0.cs:line 0

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Additional Info:

TimeStamp : 6/5/2009 4:58:05 PM

FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null

AppDomainName : /LM/W3SVC/783520558/Root/dsc-1-128886946764696889

ThreadIdentity :

WindowsIdentity : NT AUTHORITY\NETWORK SERVICE

Inner Exception

---------------

Type : System.InvalidOperationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Message : Sequence contains no elements

Source : System.Core

Help link :

Data : System.Collections.ListDictionaryInternal

TargetSite : TSource Single[TSource](System.Collections.Generic.IEnumerable`1[TSource])

Stack Trace : at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)

at DotShoppingCart.OpenSource.Core.Block.GetById(Int32 id)

at Controls_Blocks_BlockContainer.AddBlockToContainer(Int32 blockId, Control containerControls) in c:\release\web\Controls\Blocks\BlockContainer.ascx.cs:line 235

at Controls_Blocks_BlockContainer.LoadContainerContent(String content, Boolean dataBind) in c:\release\web\Controls\Blocks\BlockContainer.ascx.cs:line 170

at Controls_Blocks_BlockContainer.Page_Load(Object sender, EventArgs e) in c:\release\web\Controls\Blocks\BlockContainer.ascx.cs:line 96

at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)

at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)

at System.Web.UI.Control.OnLoad(EventArgs e)

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

Category: General

Priority: 0

EventId: 100

Severity: Error

Title:Enterprise Library Exception Handling

App Domain: /LM/W3SVC/783520558/Root/dsc-1-128886946764696889

ProcessId: 87756

Process Name: c:\windows\system32\inetsrv\w3wp.exe

Thread Name:

Win32 ThreadId:84816

Extended Properties: Url - http://www.4safetytraining.com/dsc/default.aspx

RawUrl - /dsc/default.aspx

UseAgent - Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

UrlReferrer -

--> TimeStamp: 6/5/2009 4:58:05 PM

--> FullName: Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null

--> AppDomainName: /LM/W3SVC/783520558/Root/dsc-1-128886946764696889

--> WindowsIdentity: NT AUTHORITY\NETWORK SERVICE

Exception Information Details:

======================================

Exception Type: System.ArgumentException

Message: The parameter 'address' cannot be an empty string.

Parameter name: address

ParamName: address

Data: System.Collections.ListDictionaryInternal

TargetSite: Void .ctor(System.String, System.String, System.Text.Encoding)

HelpLink: NULL

Source: System

StackTrace Information Details:

======================================

at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)

at System.Net.Mail.MailAddress..ctor(String address)

at Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.EmailMessage.CreateMailMessage()

at Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.EmailMessage.Send()

at Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.EmailTraceListener.TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, Object data)

at Microsoft.Practices.EnterpriseLibrary.Logging.LogSource.TraceData(TraceEventType eventType, Int32 id, LogEntry logEntry, TraceListenerFilter traceListenerFilter)

at Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter.ProcessLog(LogEntry log)

Category:

Priority: -1

EventId: 6352

Severity: Error

Title:

Application Domain: /LM/W3SVC/783520558/Root/dsc-1-128886946764696889

Process Id: 87756

Process Name: c:\windows\system32\inetsrv\w3wp.exe

Win32 Thread Id: 84816

Thread Name:

Extended Properties:

6/5/2009 10:12:53 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: General Error

Message : Sequence contains no elements

Source : System.Core

Help link :

Data : System.Collections.ListDictionaryInternal

TargetSite : TSource Single[TSource](System.Collections.Generic.IEnumerable`1[TSource])

Stack Trace : at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)

at DotShoppingCart.OpenSource.Core.Block.GetById(Int32 id)

at Controls_Blocks_BlockContainer.AddBlockToContainer(Int32 blockId, Control containerControls) in c:\release\web\Controls\Blocks\BlockContainer.ascx.cs:line 235

at Controls_Blocks_BlockContainer.LoadContainerContent(String content, Boolean dataBind) in c:\release\web\Controls\Blocks\BlockContainer.ascx.cs:line 170

at Controls_Blocks_BlockContainer.Page_Load(Object sender, EventArgs e) in c:\release\web\Controls\Blocks\BlockContainer.ascx.cs:line 96

 
Looks like there is a block that doesn't exist in the DB. You need to find out which block it is and then remove it from the reference block container. Try setting a break point and find out which blockid it is and then look at the DB.
DotShoppingCart Staff
6/5/2009 10:47:07 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: General Error
Hi,
 
You may have deleteded a block in Page Editor.
In future Never delete a block in page Edit by Delete, insted go to Advanced menu and remove the block by editor.
 
Bahram
 
6/7/2009 11:11:52 AM
4safety
Posts: 124
Joined: 5/11/2009
Re: General Error
when you say i have to remove it from the reference block how do i go about doing that?
6/7/2009 11:13:46 AM
4safety
Posts: 124
Joined: 5/11/2009
Re: General Error
i think what happend was when one of my content writers was trying to adjust the the width of the bottom master block he changed the 39 that was inside % signs to a 90 thinking he was changing the width and clicked save.  hasnt worked since.
6/7/2009 11:42:54 AM
4safety
Posts: 124
Joined: 5/11/2009
Re: General Error
thanks for the help got it fixed and working.