[Home]Personal Website Starter Kit Problems

Contents | (Visit Preferences to set your user name.) | Related To Personal Website Starter Kit Problems | RecentChanges | Preferences | Index | Login | Logout

Featured: Featured Stories | Picture Gallery

INVOKING WEIRDNESS | More Space Exploration Quotes 3
Google
Chat11.com Web Bible11.com MyBibleCenter.com

Personal Website Starter Kit : Problems

Subjects > Computers (Search) > Microsoft (Search for Microsoft) > Visual Studio 2005 Beta (Search for Visual Studio 2005 Beta) > Personal Website Starter Kit

The Personal Website Starter Kit was released with the Visual Studio 2005 Beta.
Solutions for problems you may encounter with the beta version of Personal Website Starter Kit:

Timeout Problems Running Personal Web Site Starter Kit

Unable to open physical file on the database files

 [SqlException?Create|Search (0x80131904): Unable to open the physical file "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites?Create|Search\PersonalWebSiteStarterKit1?Create\App_Data\aspnetdb.mdf". Operating system error 5: "5(Access is denied.)".
 Unable to open the physical file "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites?Create|Search\PersonalWebSiteStarterKit1?Create\App_Data\aspnetdb_log.ldf". Operating system error 5: "5(Access is denied.)".
 Cannot open user default database. Login failed.
 Login failed for user 'WHITESPIDER2003\Administrator'.
 File activation failure. The physical file name "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites?Create|Search\PersonalWebSiteStarterKit1?Create\App_Data\aspnetdb_log.ldf" may be incorrect.]
   System.Data.SqlClient?Create|Search.SqlInternalConnection?Create|Search.OnError?Create|Search(SqlException?Create|Search exception, Boolean breakConnection) +116
   System.Data.SqlClient?Create|Search.TdsParser?Create|Search.ThrowExceptionAndWarning?Create|Search(TdsParserStateObject?Create|Search stateObj) +345
   System.Data.SqlClient?Create|Search.TdsParser?Create|Search.Run(RunBehavior?Create|Search runBehavior, SqlCommand?Create|Search cmdHandler, SqlDataReader?Create|Search dataStream, BulkCopySimpleResultSet?Create|Search bulkCopyHandler?Create|Search, TdsParserStateObject?Create|Search stateObj) +3152
   System.Data.SqlClient?Create|Search.SqlInternalConnectionTds?Create|Search.CompleteLogin?Create|Search(Boolean enlistOK) +56
   System.Data.SqlClient?Create|Search.SqlInternalConnectionTds?Create|Search.OpenLoginEnlist?Create|Search(SqlConnection?Create|Search owningObject, SqlConnectionString?Create|Search connectionOptions, String newPassword, Boolean redirectedUserInstance?Create|Search) +979
   System.Data.SqlClient?Create|Search.SqlInternalConnectionTds?Create|Search..ctor(SqlConnectionString?Create|Search connectionOptions, Object providerInfo, String newPassword, SqlConnection?Create|Search owningObject, Boolean redirectedUserInstance?Create|Search) +258
   System.Data.SqlClient?Create|Search.SqlConnectionFactory?Create|Search.CreateConnection?Create|Search(DbConnectionOptions?Create|Search options, Object poolGroupProviderInfo?Create|Search, DbConnectionPool?Create|Search pool, DbConnection?Create|Search owningConnection) +627
   System.Data.ProviderBase?Create|Search.DbConnectionFactory?Create|Search.CreatePooledConnection?Create|Search(DbConnection?Create|Search owningConnection, DbConnectionPool?Create|Search pool, DbConnectionOptions?Create|Search options) +82
   System.Data.ProviderBase?Create|Search.DbConnectionPool?Create|Search.CreateObject?Create|Search(DbConnection?Create|Search owningObject) +568
   System.Data.ProviderBase?Create|Search.DbConnectionPool?Create|Search.UserCreateRequest?Create|Search(DbConnection?Create|Search owningObject) +126
   System.Data.ProviderBase?Create|Search.DbConnectionPool?Create|Search.GetConnection?Create|Search(DbConnection?Create|Search owningObject) +502
   System.Data.ProviderBase?Create|Search.DbConnectionFactory?Create|Search.GetConnection?Create|Search(DbConnection?Create|Search owningConnection) +159
   System.Data.ProviderBase?Create|Search.DbConnectionClosed?Create|Search.OpenConnection?Create|Search(DbConnection?Create|Search outerConnection, DbConnectionFactory?Create|Search connectionFactory) +122
   System.Data.SqlClient?Create|Search.SqlConnection?Create|Search.Open() +231
   System.Web.DataAccess?Create|Search.SqlConnectionHolder?Create|Search.Open(HttpContext?Create|Search context, Boolean revertImpersonate) +173
   System.Web.DataAccess?Create|Search.SqlConnectionHelper?Create|Search.GetConnection?Create|Search(String connectionString, Boolean revertImpersonation) +225
   System.Web.Security.SqlMembershipProvider?Create|Search.GetPasswordWithFormat?Create|Search(String username, Int32& status, String& password, Int32& passwordFormat, String& passwordSalt, Int32& failedPasswordAttemptCount?Create|Search, Int32& failedPasswordAnswerAttemptCount?Create, Boolean& isApproved) +780
   System.Web.Security.SqlMembershipProvider?Create|Search.CheckPassword?Create|Search(String username, String password, Boolean updateLastLoginActivityDate?Create|Search, Boolean failIfNotApproved?Create|Search, String& salt, Int32& passwordFormat) +152
   System.Web.Security.SqlMembershipProvider?Create|Search.CheckPassword?Create|Search(String username, String password, Boolean updateLastLoginActivityDate?Create|Search, Boolean failIfNotApproved?Create|Search) +68
   System.Web.Security.SqlMembershipProvider?Create|Search.ValidateUser?Create|Search(String username, String password) +100
   System.Web.UI.WebControls?Create|Search.Login.AuthenticateUsingMembershipProvider?Create(AuthenticateEventArgs?Create|Search e) +100
   System.Web.UI.WebControls?Create|Search.Login.OnAuthenticate?Create|Search(AuthenticateEventArgs?Create|Search e) +113
   System.Web.UI.WebControls?Create|Search.Login.AttemptLogin?Create|Search() +165
   System.Web.UI.WebControls?Create|Search.Login.OnBubbleEvent?Create|Search(Object source, EventArgs?Create|Search e) +133
   System.Web.UI.Control.RaiseBubbleEvent?Create|Search(Object source, EventArgs?Create|Search args) +56
   System.Web.UI.WebControls?Create|Search.ImageButton?Create|Search.OnCommand?Create|Search(CommandEventArgs?Create|Search e) +107
   System.Web.UI.WebControls?Create|Search.ImageButton?Create|Search.RaisePostBackEvent?Create|Search(String eventArgument) +173
   System.Web.UI.WebControls?Create|Search.ImageButton?Create|Search.System.Web.UI.IPostBackEventHandler?Create|Search.RaisePostBackEvent?Create|Search(String eventArgument) +31
   System.Web.UI.Page.RaisePostBackEvent?Create|Search(IPostBackEventHandler?Create|Search sourceControl, String eventArgument) +32
   System.Web.UI.Page.RaisePostBackEvent?Create|Search(NameValueCollection?Create|Search postData) +72
   System.Web.UI.Page.ProcessRequestMain?Create|Search(Boolean includeStagesBeforeAsyncPoint?Create|Search, Boolean includeStagesAfterAsyncPoint?Create|Search) +3871

Problems creating administrator password for Personal Web Site Starter Kit

Unrecognized Attribute xmlns

Timeout Errors When Running In Low Memory Situation

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>

   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[SqlException?Create|Search (0x80131904): Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.]

   System.Data.SqlClient?Create|Search.SqlInternalConnection?Create|Search.OnError?Create|Search(SqlException?Create|Search exception, Boolean breakConnection) +684979
   System.Data.SqlClient?Create|Search.TdsParser?Create|Search.ThrowExceptionAndWarning?Create|Search(TdsParserStateObject?Create|Search stateObj) +207
   System.Data.SqlClient?Create|Search.TdsParserStateObject?Create|Search.ReadSniError?Create|Search(TdsParserStateObject?Create|Search stateObj, UInt32 error, Boolean freePacket) +417
   System.Data.SqlClient?Create|Search.TdsParserStateObject?Create|Search.ReadSni?Create|Search(DbAsyncResult?Create|Search asyncResult, TdsParserStateObject?Create|Search stateObj) +160
   System.Data.SqlClient?Create|Search.TdsParserStateObject?Create|Search.ReadPacket?Create|Search(Int32 bytesExpected) +34
   System.Data.SqlClient?Create|Search.TdsParserStateObject?Create|Search.ReadBuffer?Create|Search() +30
   System.Data.SqlClient?Create|Search.TdsParserStateObject?Create|Search.ReadByte?Create|Search() +17
   System.Data.SqlClient?Create|Search.TdsParser?Create|Search.Run(RunBehavior?Create|Search runBehavior, SqlCommand?Create|Search cmdHandler, SqlDataReader?Create|Search dataStream, BulkCopySimpleResultSet?Create|Search bulkCopyHandler?Create|Search, TdsParserStateObject?Create|Search stateObj) +59
   System.Data.SqlClient?Create|Search.SqlInternalConnectionTds?Create|Search.CompleteLogin?Create|Search(Boolean enlistOK) +32
   System.Data.SqlClient?Create|Search.SqlInternalConnectionTds?Create|Search.OpenLoginEnlist?Create|Search(SqlConnection?Create|Search owningObject, SqlConnectionString?Create|Search connectionOptions, String newPassword, Boolean redirectedUserInstance?Create|Search) +601
   System.Data.SqlClient?Create|Search.SqlInternalConnectionTds?Create|Search..ctor(SqlConnectionString?Create|Search connectionOptions, Object providerInfo, String newPassword, SqlConnection?Create|Search owningObject, Boolean redirectedUserInstance?Create|Search) +159
   System.Data.SqlClient?Create|Search.SqlConnectionFactory?Create|Search.CreateConnection?Create|Search(DbConnectionOptions?Create|Search options, Object poolGroupProviderInfo?Create|Search, DbConnectionPool?Create|Search pool, DbConnection?Create|Search owningConnection) +108
   System.Data.ProviderBase?Create|Search.DbConnectionFactory?Create|Search.CreatePooledConnection?Create|Search(DbConnection?Create|Search owningConnection, DbConnectionPool?Create|Search pool, DbConnectionOptions?Create|Search options) +28
   System.Data.ProviderBase?Create|Search.DbConnectionPool?Create|Search.CreateObject?Create|Search(DbConnection?Create|Search owningObject) +445
   System.Data.ProviderBase?Create|Search.DbConnectionPool?Create|Search.UserCreateRequest?Create|Search(DbConnection?Create|Search owningObject) +66
   System.Data.ProviderBase?Create|Search.DbConnectionPool?Create|Search.GetConnection?Create|Search(DbConnection?Create|Search owningObject) +304
   System.Data.ProviderBase?Create|Search.DbConnectionFactory?Create|Search.GetConnection?Create|Search(DbConnection?Create|Search owningConnection) +85
   System.Data.ProviderBase?Create|Search.DbConnectionClosed?Create|Search.OpenConnection?Create|Search(DbConnection?Create|Search outerConnection, DbConnectionFactory?Create|Search connectionFactory) +105
   System.Data.SqlClient?Create|Search.SqlConnection?Create|Search.Open() +111
   System.Web.DataAccess?Create|Search.SqlConnectionHolder?Create|Search.Open(HttpContext?Create|Search context, Boolean revertImpersonate) +126
   System.Web.DataAccess?Create|Search.SqlConnectionHelper?Create|Search.GetConnection?Create|Search(String connectionString, Boolean revertImpersonation) +226
   System.Web.Security.SqlRoleProvider?Create|Search.RoleExists?Create|Search(String roleName) +467
   System.Web.Security.Roles.RoleExists?Create|Search(String roleName) +196
   ASP.Global_asax.Application_Start(Object sender, EventArgs?Create|Search e) +62

Failed To Update Database and The Database Is Read-Only

Server Error in '/' Application.


Failed to update database "C:\INETPUB\WWW.PWSK\APP_DATA\ASPNETDB.MDF" because the database is read-only. 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.Data.SqlClient?Create|Search.SqlException?Create|Search: Failed to update database "C:\INETPUB\WWW.PWSK\APP_DATA\ASPNETDB.MDF" because the database is read-only.

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:

[SqlException?Create|Search (0x80131904): Failed to update database "C:\INETPUB\WWW.PWSK\APP_DATA\ASPNETDB.MDF" because the database is read-only.]

   System.Data.SqlClient?Create|Search.SqlConnection?Create|Search.OnError?Create|Search(SqlException?Create|Search exception, Boolean breakConnection) +786354
   System.Data.SqlClient?Create|Search.SqlInternalConnection?Create|Search.OnError?Create|Search(SqlException?Create|Search exception, Boolean breakConnection) +684966
   System.Data.SqlClient?Create|Search.TdsParser?Create|Search.ThrowExceptionAndWarning?Create|Search(TdsParserStateObject?Create|Search stateObj) +207
   System.Data.SqlClient?Create|Search.TdsParser?Create|Search.Run(RunBehavior?Create|Search runBehavior, SqlCommand?Create|Search cmdHandler, SqlDataReader?Create|Search dataStream, BulkCopySimpleResultSet?Create|Search bulkCopyHandler?Create|Search, TdsParserStateObject?Create|Search stateObj) +1751
   System.Data.SqlClient?Create|Search.SqlCommand?Create|Search.FinishExecuteReader?Create|Search(SqlDataReader?Create|Search ds, RunBehavior?Create|Search runBehavior, String resetOptionsString?Create|Search) +107
   System.Data.SqlClient?Create|Search.SqlCommand?Create|Search.RunExecuteReaderTds?Create|Search(CommandBehavior?Create|Search cmdBehavior, RunBehavior?Create|Search runBehavior, Boolean returnStream, Boolean async) +570
   System.Data.SqlClient?Create|Search.SqlCommand?Create|Search.RunExecuteReader?Create|Search(CommandBehavior?Create|Search cmdBehavior, RunBehavior?Create|Search runBehavior, Boolean returnStream, String method, DbAsyncResult?Create|Search result) +134
   System.Data.SqlClient?Create|Search.SqlCommand?Create|Search.InternalExecuteNonQuery?Create|Search(DbAsyncResult?Create|Search result, String methodName, Boolean sendToPipe?Create|Search) +415
   System.Data.SqlClient?Create|Search.SqlCommand?Create|Search.ExecuteNonQuery?Create|Search() +135
   System.Web.Security.SqlMembershipProvider?Create|Search.CheckPassword?Create|Search(String username, String password, Boolean updateLastLoginActivityDate?Create|Search, Boolean failIfNotApproved?Create|Search, String& salt, Int32& passwordFormat) +1861
   System.Web.Security.SqlMembershipProvider?Create|Search.CheckPassword?Create|Search(String username, String password, Boolean updateLastLoginActivityDate?Create|Search, Boolean failIfNotApproved?Create|Search) +42
   System.Web.Security.SqlMembershipProvider?Create|Search.ValidateUser?Create|Search(String username, String password) +78
   System.Web.UI.WebControls?Create|Search.Login.OnAuthenticate?Create|Search(AuthenticateEventArgs?Create|Search e) +161
   System.Web.UI.WebControls?Create|Search.Login.AttemptLogin?Create|Search() +94
   System.Web.UI.WebControls?Create|Search.Login.OnBubbleEvent?Create|Search(Object source, EventArgs?Create|Search e) +101
   System.Web.UI.Control.RaiseBubbleEvent?Create|Search(Object source, EventArgs?Create|Search args) +35
   System.Web.UI.WebControls?Create|Search.ImageButton?Create|Search.OnCommand?Create|Search(CommandEventArgs?Create|Search e) +115
   System.Web.UI.WebControls?Create|Search.ImageButton?Create|Search.RaisePostBackEvent?Create|Search(String eventArgument) +146
   System.Web.UI.WebControls?Create|Search.ImageButton?Create|Search.System.Web.UI.IPostBackEventHandler?Create|Search.RaisePostBackEvent?Create|Search(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent?Create|Search(IPostBackEventHandler?Create|Search sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent?Create|Search(NameValueCollection?Create|Search postData) +33
   System.Web.UI.Page.ProcessRequestMain?Create|Search(Boolean includeStagesBeforeAsyncPoint?Create|Search, Boolean includeStagesAfterAsyncPoint?Create|Search) +5670

 Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44 

This is a known bug in the SSE, Sql Server Express, and it seems to have been solved. Here are the steps to solve the problem until new version is released:

  1. Delete the MDF/LDF files from the App_Data directory of the website under inetpub\wwwroot.
    1. If you fail to delete the files, and just run the detach command below, and set the ACLs, and try to rerun without re-copying the file, you could get this error: "A transport-level error has occurred when sending the request to the server. (provider: Named Pipes Provider, error: 0 - The pipe is being closed.)"
  2. Download and install the SSEUTIL command line tool from:
http://www.microsoft.com/downloads/details.aspx?FamilyID=FA87E828-173F-472E-A85C-27ED01CF6B02&displaylang=en
  1. Using sseutil, issue a command that looks something like: sseutil -child "NT AUTHORITY\NETWORK SERVICE" -detach D:\ . You will need to change the account name and the detach path to match your machine settings. If on IIS5/5.1, then ASPNET will be the correct user account. For example, sseutil -child "NT AUTHORITY\ASPNET" -detach C:\ . Also, you can determine the detach path pretty easily by issuing sseutil -list to see where the problematic MDFs are currently attached. The "D:\" in the sample command line is just the first few characters that sseutil uses to auto-detach all databases that begin with "D:\". Change the path as neeeded for your machine.
  2. Set the ACLs on App_Data directory under inetpub\wwwroot to grant R/W to the appropriate process account - NETWORK SERVICE on WS03 or ASPNET on IIS5/5.1.
  3. Re-copy the MDF/LDF files from the directory where the file-based website exists back into App_Data under inetpub\wwwroot. After the copy occurs, check that the MDF/LDF files have now inherited the new ACLs.
  4. Re-run the application (ignore any connection errors that might occur - just hit refresh in the browser).

We are working on a fix in SSE that will eliminate the manual reconfiguration for RTM.

Thank you for submitting this issue, -The Web Platform and Tools Team

From Personal Website Starter Kit

Contents | (Visit Preferences to set your user name.) | Related To Personal Website Starter Kit Problems | RecentChanges | Preferences | Index | Login | Logout
Edit this www.chat11.com page | View other versions (diff)
Search:
Sign up for PayPal and start accepting credit card payments
instantly.
Bobsgear - Get A Free Enterrpise Wiki Space!
Review: The Bobsgear Project was started to develop a variety of Confluence plugins. This installation of the Confluence Enterprise wiki includes flexible attachments, many Confluence plugins, personal blogs, interesting articles, and more. Bobsgear already has spaces related to politics, art and photography wiki, technical issues wiki, ediscovery wiki, health, Christian theology and Sabbath School wiki, the bible, book reviews, and quotations. Bobsgear allows free signup, and invites anyone to create a free hosted Confluence wiki space.


NEW USERS CLICK HERE! for a quick introduction to Wiki.

 

 Interested in Impossible Cheesecake?
1815 total hits since 10/2007
Recently accessed pages: Barbra Streisand Books And Information About The New Age Cannot Find System32 Chinese Military Stamps HomePages Jeffrey Hunter Len Maurice Mailing List Management Malaysian SMS Spam Messages Mamie Van Doren Stretching FAQ/Template Tempered Glass Twelve Common Spices You Are Not Authorized To View This Page Error From IIS When Using Perl And LWP To Browse Localhost

Elapsed:0