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:
1309
3
3
0x80000000000000
3065
Application
ELD2W008C.CORP.ROOT.GLOBAL
3005
An unhandled exception has occurred.
15/06/2011 15:34:08
15/06/2011 14:34:08
7f27def263404118a64c21926cd4c68f
2
1
0
/LM/W3SVC/1/ROOT/isupplybt-1-129526220482518000
Full
/isupplybt
E:\www\ISupplyBT\
ELD2W008C
2620
w3wp.exe
IIS APPPOOL\ASP.NET v4.0
HttpException
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)
http://localhost/isupplybt/default
/isupplybt/default
::1
False
IIS APPPOOL\ASP.NET v4.0
6
IIS APPPOOL\ASP.NET v4.0
False
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)