BugNET

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

BugNET Forums

 
  Forum  Support  Installation pr...  Installation really finished ?
Previous Previous
 
Next Next
New Post 1/24/2007 2:42 PM
User is offline briandd
5 posts
No Ranking


Re: Installation really finished ? 

We're using SQL Server 2000.

 

 
New Post 1/25/2007 10:31 AM
User is offline starzl
5 posts
No Ranking


Re: Installation really finished ? 

Have you ever tried to create the tables by hand. To test that just run

%Windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe .

If this also does not work, I think you have the same probleme like me with the express edition.

Regards

Andreas

 
New Post 1/26/2007 10:33 PM
User is offline briandd
5 posts
No Ranking


Re: Installation really finished ? 

The tables do get created, but it hangs at this one location and no data ever gets inserted in the tables.

The minimum requirments supposedly support SQL Server 2000, which is what we're using.

 

 
New Post 1/27/2007 12:15 AM
User is offline starzl
5 posts
No Ranking


Re: Installation really finished ? 

I had a look on the source code of bugnet. As you can see the last thing what has to be done while installation, is to create the user administrator and add him to a role. Are you sure that the SQL Server user which you have used for bugnet has insert/modify rights on your SQL Server. Perhaps you gave him only the right to create tables.

 

Code:

           WriteMessage(string.Format("Installing Version: {0}", GetCurrentVersion()));
            WriteMessage("Installing Membership Provider...", true);
            ExecuteSqlInFile(Server.MapPath("~/Install/dbscripts/InstallCommon.sql"));
            ExecuteSqlInFile(Server.MapPath("~/Install/dbscripts/InstallMembership.sql"));
            ExecuteSqlInFile(Server.MapPath("~/Install/dbscripts/InstallProfile.sql"));
            ExecuteSqlInFile(Server.MapPath("~/Install/dbscripts/InstallRoles.sql"));
            WriteMessage("Installing BugNET Database...",true);
            ExecuteSqlInFile(Server.MapPath("~/Install/dbscripts/BugNET.Schema.SqlDataProvider.sql"));
            WriteMessage("Installing BugNET Default Data...",true);
            ExecuteSqlInFile(Server.MapPath("~/Install/dbscripts/BugNET.Data.SqlDataProvider.sql"));
            WriteMessage("Creating Administrator Account...",true);
            //create admin user
            MembershipUser NewUser = Membership.CreateUser("admin","password","admin@yourdomain.com");
            if (NewUser != null)
            {
                //add the admin user to the Super Users role.
                Roles.AddUserToRole("Admin", Globals.SuperUserRole);
            }

 
New Post 1/27/2007 8:23 PM
User is offline admin
645 posts
bugnetproject.com
1st Level Poster




Re: Installation really finished ? 
Did you change anything else in the web.config besides the connection string?  The name must be "LocalSqlServer" so that the membership provider can connect to the database.

Davin Dubeau
BugNET - Core Developer

 
Previous Previous
 
Next Next
  Forum  Support  Installation pr...  Installation really finished ?

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.