BugNET

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

BugNET Forums

 
  Forum  Support  Installation pr...  Vista installation troubles
Previous Previous
 
Next Next
New Post 4/23/2007 3:31 PM
User is offline bryano
2 posts
No Ranking


Vista installation troubles 
I've previously installed and set up BugNET on my Win XP Pro desktop, and really liked it. I am now trying to install version 0.7.820 on a Vista Business machine to use as a server for our Dev. team. I'm running into the error (posted below) when browsing to localhost/BugNET and am stumped as to how to resolve it. .NET & ASP are both 2.0, and I'm using SQL Server 2K5 Express. I'm pretty sure I've followed the instructions as they're laid out in the "BugNET Install Help" file. Also, I've set SQL authentication to "Windows and SQL Server authentication" and have enabled what I think to be all of the relevant profiles on the "Sharing" list in the root directory (C:\BugNET). Thanks for any help you can provide. IIS 7.0 Detailed Error - 500.19 - Internal Server Error

Server Error


HTTP Error 500.19 - Internal Server Error

Description: The requested page cannot be accessed because the related configuration data for the page is invalid.

Error Code: 0x800700b7

Notification: BeginRequest

Module: IIS Web Core

Requested URL: http://localhost:80/BugNet

Physical Path: C:\BugNET

Logon User: Not yet determined

Logon Method: Not yet determined

Handler: Not yet determined

Config Error: Cannot add duplicate collection entry

Config File: \\?\C:\BugNET\web.config

Config Source:
  144: 			<remove name="WebServiceHandlerFactory-Integrated" />
  145: 			<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  146: 			<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

More Information... This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.


Server Version Information: Internet Information Services 7.0.
 
New Post 4/23/2007 11:00 PM
User is offline cgraefe
54 posts
No Ranking


Re: Vista installation troubles 

Hi,

- Are you sure, you installed Ajax.

- Has the web server write permissions to your bugnet directory?

 

 
New Post 4/24/2007 3:14 PM
User is offline bryano
2 posts
No Ranking


Re: Vista installation troubles 

- Are you sure, you installed Ajax.

Yep.

- Has the web server write permissions to your bugnet directory?

The following accounts have Full control Sharing access to the root (C:\BugNET):

EVERYONE

TERMINAL SERVER USER

IUSR

SYSTEM

LOCAL SERVICE

NETWORK

NETWORK SERVICE

IIS_USRS

SERVICE

2 individual users from our domain

 

 
New Post 4/26/2007 12:43 PM
User is offline cgraefe
54 posts
No Ranking


Re: Vista installation troubles 

Hi,

I also have troubles to get BugNET properly installed on Vista. The installation fails with the following error message

 

Stored Procedure 'BugNET_HostSettings_GetHostSettings' not found.

For more details look at the screenshot

 

I got it working by manually executing the relevant sql scripts:


~/Install/dbscripts/InstallCommon.sql
~/Install/dbscripts/InstallMembership.sql
~/Install/dbscripts/InstallProfile.sql
~/Install/dbscripts/InstallRoles.sql
~/Install/dbscripts/BugNET.Schema.SqlDataProvider.sql
~/Install/dbscripts/BugNET.Data.SqlDataProvider.sql

 

@Davin please change the UserCreation to a SQL-style instead of using the Membership methods until installation

SQL-Code:

DECLARE @UserId uniqueidentifier
EXEC dbo.aspnet_Membership_CreateUser
'BugNET', 'admin', 'password', '', 'admin@yourdomain.com', '', '', 1, '26.04.2007', '26.04.2007', 1, 2, @UserId OUTPUT

INSERT INTO dbo.UserRoles VALUES (@UserId, 1)

 

regards

Christian

 
New Post 4/26/2007 4:18 PM
User is offline admin
658 posts
bugnetproject.com
1st Level Poster




Re: Vista installation troubles 

 cgraefe wrote

Hi,

I also have troubles to get BugNET properly installed on Vista. The installation fails with the following error message

 

Stored Procedure 'BugNET_HostSettings_GetHostSettings' not found.

For more details look at the screenshot

 

I got it working by manually executing the relevant sql scripts:


~/Install/dbscripts/InstallCommon.sql
~/Install/dbscripts/InstallMembership.sql
~/Install/dbscripts/InstallProfile.sql
~/Install/dbscripts/InstallRoles.sql
~/Install/dbscripts/BugNET.Schema.SqlDataProvider.sql
~/Install/dbscripts/BugNET.Data.SqlDataProvider.sql

 

@Davin please change the UserCreation to a SQL-style instead of using the Membership methods until installation

SQL-Code:

DECLARE @UserId uniqueidentifier
EXEC dbo.aspnet_Membership_CreateUser
'BugNET', 'admin', 'password', '', 'admin@yourdomain.com', '', '', 1, '26.04.2007', '26.04.2007', 1, 2, @UserId OUTPUT

INSERT INTO dbo.UserRoles VALUES (@UserId, 1)

 

regards

Christian

 

I don't think it is possible to create users through sql for the membership provider.  Remember that the passwords are hashed using the machine key in the web.config where as your example it is plain text.


Davin Dubeau
BugNET - Core Developer

 
Previous Previous
 
Next Next
  Forum  Support  Installation pr...  Vista installation troubles

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.