404 Error After Install

If you are having a problem using Dragnet, post a message here.

Moderator: SourceGear


Posts: 2
Joined: Thu Feb 15, 2007 11:40 am
PostPosted: Thu Feb 15, 2007 11:42 am
I am getting a 404 error when I try to access the http://my-server-name/Dragnet/

The installation looked like it went flawlessly except for " User or role 'YS-NIVIS\ASPNET' does not exist in this database." in the install log and the application pool looks correct.

I have enabled "Debug" log output in the web.config file but not log file is being generated by the application.

No other websites exist on this iis server.

OS is server 2003.

Here is my dragnet_install.log

Dragnet log started at 15 Feb 2007 - 11.34.49

Custom action assembly location: C:\Inetpub\wwwroot\Dragnet\bin\InstallerCustomActions.exe
Custom Action version: 1.0.2337

FileVersionInfo: File: C:\Inetpub\wwwroot\Dragnet\bin\InstallerCustomActions.exe
InternalName: InstallerCustomActions.exe
OriginalFilename: InstallerCustomActions.exe
FileVersion: 1.0.2337.23129
FileDescription:
Product:
ProductVersion: 1.0.2337.23129
Debug: False
Patched: False
PreRelease: False
PrivateBuild: False
SpecialBuild: False
Language Language Neutral


The commandline args as passed in to us:

/TARGETDIR=C:\Inetpub\wwwroot\Dragnet\
/CUSTOMNAME=
/CUSTOMPW =
/UPGRADE=
/IISPROCESS=0
/IISVERSION=600
/IISLOGIN=NT AUTHORITY\NETWORK SERVICE
End commandline args.

Found local name of NT AUTHORITY\NETWORK SERVICE for Network Service account.
See if we need to do an upgrade or an install...Configuring your new dragnet Installation Adding Crypto Keys.
Checking for IIS Version... Registry return major version 6 of IIS.
OK
IIS Process Model user: NT AUTHORITY\NETWORK SERVICE GetIISProcessUser completed successfully.
Using NT AUTHORITY\NETWORK SERVICE for IIS process user
Requesting Dragnet Admin user password... Hashing the admin pw
OK
Connecting to the SQL Server...ConnectToDatabase() failed: SQL Server does not exist or access denied.
ConnectToDatabase() completed successfully.
OK
Verifying the SQL Server requirements... User is trying to install Vault to Microsoft SQL version 9.00.1399.06
OK
Checking for an existing Dragnet database...Not found.
Creating a new Dragnet database on ys-webapps...
Using collation: SQL_Latin1_General_CP1_CI_AS
Making sure we don't have a user login still hanging around.
Executing commands in mantis_ddl.sql
Read mantis_ddl.sql from our resources.
Creating the SourceGear Dragnet database...OK DoSqlCommandsFromFile completed successfully.
Executing commands in mantis_sp.sql
Read mantis_sp.sql from our resources.
Creating SourceGear Dragnet stored procedures...OK DoSqlCommandsFromFile completed successfully.
Executing commands in MantisData.sql
Read MantisData.sql from our resources.
Adding Data to SourceGear Dragnet database...OK DoSqlCommandsFromFile completed successfully.

Now add some stuff not in the script...
Adding installation specific data.
Adding the admin password...OK
Add user 'sgdragnetuser', grant db access, and set as rolemember to database sgdragnet Adding db login for sgdragnetuserGiving sgdragnetuser access to the dragnet database...Error adding user: Windows NT user or group 'YS-NIVIS\ASPNET' not found. Check the name again.
User or role 'YS-NIVIS\ASPNET' does not exist in this database.
OK
AddSqlData completed successfully.
Begin search for websites on this machine - YS-NIVIS Looking for websites on this machine...
Found website - 'Default Web Site'
Search for websites returned successfully.
Found 1 websites.
Updating database with host URL...Entered GetServerBindings() Exit GetServerBindings() Hostname lookup returned: ys-nivis.ysi.int Port is default, 80 Exit MakeUrl() - ys-nivis.ysi.int Updating the Dragnet database with host URL OK Database created successfully!
Checking permissions on local folders...Checking for IIS Version... Registry return major version 6 of IIS.
OK
IIS Process Model user: NT AUTHORITY\NETWORK SERVICE GetIISProcessUser completed successfully.
Using NT AUTHORITY\NETWORK SERVICE for IIS process user In order for Dragnet to run properly, NT AUTHORITY\NETWORK SERVICE needs read/write permission to the following folders:
C:\Inetpub\wwwroot\Dragnet\


Set these permissions now?
Adding permissions per user's request.
Adding permission to 'C:\\Inetpub\\wwwroot\\Dragnet' for user NT AUTHORITY\NETWORK SERVICE
Using NT AUTHORITY\NETWORK SERVICE as the user.
GrantPermissions completed successfully.
OK
Adding permission to 'C:\\Inetpub\\wwwroot\\Dragnet' for user YS-NIVIS\ASPNET
Using YS-NIVIS\ASPNET as the user.
GrantPermissions completed successfully.
OK
Entered ModifyWebConfig().
Updating Dragnet Configuration...Read Web.config from our resources.
Preparing to write Web.config...
ModifyWebDotConfig() completed successfully.
OK
Begin search for websites on this machine - YS-NIVIS Looking for websites on this machine...
Found website - 'Default Web Site'
Search for websites returned successfully.
Found 1 websites.
Creating the Virtual Directory, Dragnet...Confirmed our website 'IIS://LocalHost/W3SVC/1/Root' exists.
The directory physical path is 'C:\Inetpub\wwwroot\Dragnet\' and the name is 'Dragnet'
Checking for existing directory at 'IIS://LocalHost/W3SVC/1/Root/Dragnet'
Begin creating the Virtual Directory 'Dragnet'.
OK
Adding installation settings to registry.
Saveing registry keys successful
Dragnet has been successfully configured.

Please press OK to finish installation.ExitCode on exit: 0

Posts: 2
Joined: Thu Feb 15, 2007 11:40 am
PostPosted: Thu Feb 15, 2007 12:01 pm
Looks like asp.net was not properly installed.

I found this link in another post that sounded similar to my problem and it fixed it.

http://support.sourcegear.com/viewtopic.php?t=185

Return to Support (Dragnet)

Who is online

Users browsing this forum: No registered users and 1 guest