473,378 Members | 1,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

aspnet_regsql Database Errors

I have several sites and membership databases on the same test
computer. They all have different names, so there is no problem.
However, now my Website Administration Tool won't create the ASPNETDB
database for me correctly. It creates the database, but doesn't add
the correct schema. When I attempt to use the aspnet_regsql tool, I
get the following error:

=================

Setup failed.

Exception:
An error occurred during the execution of the SQL file
'InstallMembership.sql'. The SQL error number is -2 and the
SqlException message is: Timeout expired. The timeout period elapsed
prior to completion of the operation or the server is not responding.

----------------------------------------
Details of failure
----------------------------------------

SQL Server:
Database: [ASPNETDB]
SQL file loaded:
InstallMembership.sql

Commands failed:

EXEC sp_addrolemember N'aspnet_Membership_BasicAccess',
N'aspnet_Membership_FullAccess'
EXEC sp_addrolemember N'aspnet_Membership_ReportingAccess',
N'aspnet_Membership_FullAccess'
SQL Exception:
System.Data.SqlClient.SqlException: Timeout expired. The timeout
period elapsed prior to completion of the operation or the server is
not responding.
at System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException
exception, Boolean breakConnection)
at
System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject
stateObj)
at
System.Data.SqlClient.TdsParserStateObject.ReadSni Error(TdsParserStateObject
stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSni (DbAsyncResult
asyncResult, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ReadPac ket(Int32
bytesExpected)
at System.Data.SqlClient.TdsParserStateObject.ReadBuf fer()
at System.Data.SqlClient.TdsParserStateObject.ReadByt e()
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior,
SqlCommand cmdHandler, SqlDataReader dataStream,
BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQuer yTds(String
methodName, Boolean async)
at
System.Data.SqlClient.SqlCommand.InternalExecuteNo nQuery(DbAsyncResult
result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at System.Web.Management.SqlServices.ExecuteFile(Stri ng file, String
server, String database, String dbFileName, SqlConnection connection,
Boolean sessionState, Boolean isInstall, SessionStateType
sessionStatetype)

====================
Can anyone help me out with this?

JJ

Jun 6 '06 #1
0 1309

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Meena Desai | last post by:
Hi, I have cached some tables using the comaand "aspnet_regsql". When I getting data from these tables how can I know that the data are retrived from cache? How can I find out the time for the...
0
by: AAOMTim | last post by:
When running aspnet_regsql I get the following error: Setup failed. Exception: An error occurred during the execution of the SQL file 'InstallCommon.sql'. The SQL error number is 515 and the...
2
by: Jeff | last post by:
hey asp.net 2.0 I have created several asp.net 2.0 projects on my development box (small projects). Now I want to deploy one of my projects to a live server. This project is using a...
0
by: Bryan | last post by:
I run aspnet_regsql.exe and it crashes. D:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe I have MS SQL server Standard installed. Does anyone know what the problem is or what...
2
by: Owen Richardson | last post by:
I have been running and testing stuff ok on my dev machine, but have been forced to consolidate my databases at my hosting company - i created a db there, and i ran the aspnet_regsql wizard. I...
3
by: Keithb | last post by:
My application is giving me this error message: "To enable a database for SQL cache notification, please use the System.Web.Caching.SqlCacheDependencyAdmin.EnableNotifications method, or the...
0
by: mehdi | last post by:
Hi folks, I'm designing an sql server 2005 database to hold accounting information of a given company (ies). The database containg a table for EmployeeAccounts which in turn should be somehow...
4
by: Amit | last post by:
I cannot run aspnet_regsql.exe on a remote machine. The remote machine is running MSSQL 2000 and is behind my local network. Its basically a sandbox machine. I specify my remote machine's...
0
by: scotty | last post by:
In testing Notifications, adding the following lines to an Asp.Net page make the notification process almost fully automatic: ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.