BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
ForumForumSupportSupportInstalling BugN...Installing BugN...Porting V0.7.921.0 to a Small Business ServerPorting V0.7.921.0 to a Small Business Server
Previous Previous
 
Next Next
New Post
 8/11/2009 9:58 PM
 
 Modified By Daniel  on 8/11/2009 10:59:54 PM

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?

New Post
 8/14/2009 7:45 AM
 

Hi. Does your new setup use IIS7? I am facing the same problem and have been checking on asp.net forums for the answer. Apparently its something to do with IIS 7. Can anybody help please?

New Post
 8/14/2009 8:08 AM
 

Hi Daniel, You might want to change you IIS virtual directory's application pool to 'classic .net app pool' instead of default pool. it worked for me.

New Post
 9/3/2009 1:03 AM
 

Sorry, I totaly forgot to tell you how I solved my problem:

With every version of IIS Microsoft introduces a new IIS user.
For IIS7, which is part of SBS 2008, give user IIS_IUSRS full access to the BugNet directory.
That's all...

New Post
 9/3/2009 4:42 AM
 

Lovely thanks for the solution.


Follow me on twitter: @stewartmoss http://www.twitter.com/stewartmoss
Follow BugNETProject on twitter: @bugnetproject http://www.twitter.com/bugnetproject
Previous Previous
 
Next Next
ForumForumSupportSupportInstalling BugN...Installing BugN...Porting V0.7.921.0 to a Small Business ServerPorting V0.7.921.0 to a Small Business Server

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.