Hi,
I am working with the full source code version and everything works perfectly fine :-) As soon as I publish the Web Site and use the compiled version I get the Error below. Any ideas as I can't see how the it works fine before it's published and have never had this issue with Mojo on other versions I have published.
Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 15/06/2011 15:34:08
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: ELD2W008C.CORP.ROOT.GLOBAL
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 15/06/2011 15:34:08
Event time (UTC): 15/06/2011 14:34:08
Event ID: 7f27def263404118a64c21926cd4c68f
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/isupplybt-1-129526220482518000
Trust level: Full
Application Virtual Path: /isupply
Application Path: E:\www\ISupply
Machine name: ELD2W008C
Process information:
Process ID: 2620
Process name: w3wp.exe
Account name: IIS APPPOOL\ASP.NET v4.0
Exception information:
Exception type: HttpException
Exception message: Value cannot be null.
Parameter name: connectionString
at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
Value cannot be null.
Parameter name: connectionString
at mojoPortal.Web.WebTaskManager.StartOrResumeTasks(Boolean appWasRestarted)
at mojoPortal.Web.Global.StartOrResumeTasks()
at mojoPortal.Web.Global.Application_Start(Object sender, EventArgs e)
Request information:
Request URL: http://localhost/isupply/default
Request path: /isupply/default
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\ASP.NET v4.0
Thread information:
Thread ID: 6
Thread account name: IIS APPPOOL\ASP.NET v4.0
Is impersonating: False
Stack trace: at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
Custom event details:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 4.0.30319.0" />
<EventID Qualifiers="32768">1309</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-06-15T14:34:08.000000000Z" />
<EventRecordID>3065</EventRecordID>
<Channel>Application</Channel>
<Computer>ELD2W008C.CORP.ROOT.GLOBAL</Computer>
<Security />
</System>
<EventData>
<Data>3005</Data>
<Data>An unhandled exception has occurred.</Data>
<Data>15/06/2011 15:34:08</Data>
<Data>15/06/2011 14:34:08</Data>
<Data>7f27def263404118a64c21926cd4c68f</Data>
<Data>2</Data>
<Data>1</Data>
<Data>0</Data>
<Data>/LM/W3SVC/1/ROOT/isupplybt-1-129526220482518000</Data>
<Data>Full</Data>
<Data>/isupplybt</Data>
<Data>E:\www\ISupplyBT\</Data>
<Data>ELD2W008C</Data>
<Data>
</Data>
<Data>2620</Data>
<Data>w3wp.exe</Data>
<Data>IIS APPPOOL\ASP.NET v4.0</Data>
<Data>HttpException</Data>
<Data>Value cannot be null.
Parameter name: connectionString
at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
Value cannot be null.
Parameter name: connectionString
at mojoPortal.Web.WebTaskManager.StartOrResumeTasks(Boolean appWasRestarted)
at mojoPortal.Web.Global.StartOrResumeTasks()
at mojoPortal.Web.Global.Application_Start(Object sender, EventArgs e)
</Data>
<Data>http://localhost/isupplybt/default</Data>
<Data>/isupplybt/default</Data>
<Data>::1</Data>
<Data>
</Data>
<Data>False</Data>
<Data>
</Data>
<Data>IIS APPPOOL\ASP.NET v4.0</Data>
<Data>6</Data>
<Data>IIS APPPOOL\ASP.NET v4.0</Data>
<Data>False</Data>
<Data> at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
</Data>
</EventData>
</Event>