I had BugNET V0.7.921.1 running on a single XP machine for a view month (IIS 6, SQL Server 2008). I want to move it to a Small Business Server environment where the IIS is on the first machine and the SQL Server on the second one.
Therefore I copied the BugNET folder with all subfolders to the first server and set it up in the ISS. No special changes in any settings except the SQL connection string.
I made a backup of the database and installed it on the new server. Accessing the database using the settings in the connection string works in management studio.
Trying to access the web site gives me the following error message:
*** start of error message ****************************************************************
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.Web.HttpException: Request is not available in this context
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:
[HttpException (0x80004005): Request is not available in this context]
System.Web.HttpContext.get_Request() +11170072
BugNET.Global.Application_Start(Object sender, EventArgs e) +21
[HttpException (0x80004005): Request is not available in this context]
System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +4170353
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +205
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +336
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +350
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +382
[HttpException (0x80004005): Request is not available in this context]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11297830
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4336948
|
Server Error in '/BugNet' Application.
Request is not available in this context
Version Information: Microsoft .NET Framework Version:2.0.50727.4016; ASP.NET Version:2.0.50727.4016
*** end of error message *****************************************************************
Can anybody help me with this, please?