CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting
Microsoft Gold Certified Partner – 3 Months Free and Free Setup



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.personal_site_starter_kit Tags:
Item Type: NewsGroup Date Entered: 12/15/2005 1:16:37 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 23 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
hyperboot
Asp.Net User
Possible Incorrect Settings in Config File?12/15/2005 1:16:37 AM

0/0

Hello,

I have been developing web sites for several years using Dreamweaver, but thought I would give VWD a try to see what it can do :) I have recently downloaded and installed the release versions of SQL Express 2005 and VWD 2005 on a Windows 2000 Pro Machine. The machine is located on a domain. My installations appeared to install without issues, but when I attempt to build the Personal Starter Kit website with VWD, I get the following error:

Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.

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.

SQLExpress database file auto-creation error:

The connection string specifies a local Sql Server Express instance using a database location within the applications App_Data directory. The provider attempted to automatically create the application services database because the provider determined that the database does not exist. The following configuration requirements are necessary to successfully check for existence of the application services database and automatically create the application services database:

  1. If the applications App_Data directory does not already exist, the web server account must have read and write access to the applications directory. This is necessary because the web server account will automatically create the App_Data directory if it does not already exist.
  2. If the applications App_Data directory already exists, the web server account only requires read and write access to the applications App_Data directory. This is necessary because the web server account will attempt to verify that the Sql Server Express database already exists within the applications App_Data directory. Revoking read access on the App_Data directory from the web server account will prevent the provider from correctly determining if the Sql Server Express database already exists. This will cause an error when the provider attempts to create a duplicate of an already existing database. Write access is required because the web server accounts credentials are used when creating the new database.
  3. Sql Server Express must be installed on the machine.
  4. The process identity for the web server account must have a local user profile. See the readme document for details on how to create a local user profile for both machine and domain accounts.
  5. Now, I've seen this error reported on other forum posts, but the other posts all seem to be referencing the beta builds or partial installations. If this is a permissions issue, what local account do I need to give rights to? I have given the Network Services account rights to the App_Data folder but that did not appear to work.

    I have a database in SQLExpress named Personal (that I created) and have run the aspnet_regsql.exe against it to generate the needed tables. The only issue I can think of is my web.config file is incorrect, it is listed below:

    <?xml version="1.0"?>
    <configuration>
     <connectionStrings>
      <add name="Personal" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Personal.mdf" providerName="System.Data.SqlClient"/>
      <remove name="LocalSqlServer"/>
      <add name="LocalSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf"/>
     </connectionStrings>
     <system.web>
      <pages styleSheetTheme="White"/>
      <customErrors mode="RemoteOnly"/>
      <compilation debug="true"/>
      <authentication mode="Forms">
       <forms loginUrl="Default.aspx" protection="Validation" timeout="300"/>
      </authentication>
      <authorization>
       <allow users="*"/>
      </authorization>
      <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
      <roleManager enabled="true"/>
      <siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
       <providers>
        <add name="XmlSiteMapProvider" description="SiteMap provider which reads in .sitemap XML files." type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" siteMapFile="web.sitemap" securityTrimmingEnabled="true"/>
       </providers>
      </siteMap>
     </system.web>
     <location path="Admin">
      <system.web>
       <authorization>
        <allow roles="Administrators"/>
        <deny users="*"/>
       </authorization>
      </system.web>
     </location>
    </configuration>

    Any help would be much appreciated, even if it is to a setup document that can explain the process of getting this working from start to finish.

    Thanks

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Running Linux Authors: Matthias Kalle Dalheimer, Matt Welsh, Pages: 951, Published: 2006
Visual Basic .NET Developer's Guide to ASP.NET, XML, and ADO.NET Authors: Jeffrey P. McManus, Chris Kinsman, Pages: 592, Published: 2002
A+ Certification Study Guide Authors: Michael Pastore, Pages: 591, Published: 2003
Linux Annoyances for Geeks: Getting the Most Flexible System in the World Just the Way You Want It Authors: Michael Jang, Pages: 502, Published: 2006
Beginning ASP.NET 1.1 with VB.NET 2003 Authors: Chris Ullman, John Kauffman, Chris Hart, David Sussman, Pages: 888, Published: 2003
A practical guide to Unix for Mac OS X users Authors: Mark G. Sobell, Peter Seebach, Pages: 999, Published: 2006
Solaris 10: The Complete Reference Authors: Paul A. Watters, Pages: 738, Published: 2005
Geologic and Mine Modelling Using Techbase and Lynx Authors: Martin Smith, Martin Lloyd Smith, Pages: 436, Published: 1999
Upgrading and Repairing Laptops Authors: Scott Mueller, Pages: 912, Published: 2004

Web:
[#OX-3497] Delivery uses wrong settings if a secondary config file ... Delivery uses wrong settings if a secondary config file uses both realConfig as well as custom settings. Created: 03/Jul/08 09:47 AM Updated: 03/Nov/08 ...
[ubuntu] MythTV Backend USing Incorrect Settings - Ubuntu Forums [ubuntu] MythTV Backend USing Incorrect Settings Multimedia & Video. ... Is there a way to manually change the backend config file to match my new setup? ...
LimeSurvey Documentation & Manual This problem may also be caused by an incorrect setting for $rooturl or mbstrings ... So please check your config.php and config-default.php files if they ...
PC Fails to Boot or VXI-8360T Doesn't Show Up in MAX - National ... The corrected common configuration files will be replaced with the default files that install with 3.5.1 and will contain the incorrect settings. ...
Working with Configuration Files Often, problems you encounter with the WebZ system are caused by incorrect settings within a configuration file, perhaps from an old version of the file ...
Attack on Configuration Data Two-level configuration files or other ways to detect or prevent incorrect settings. (see also countermeasure page on wiki to ensure we are covering ...
IIS - Error: unable to write the config file | ExpressionEngine ... You want to keep the write permission to the config.php file, .... this is an incorrect setting, and you need to change this to “IUSR_”. ...
TroubleshootingGuide - Capture-HPC - Trac Most problems point to incorrect settings, permissions, .... Further, the client application in the config.xml file need to be correct (needs to correspond ...
EMS Setting in PIF May Cause Incorrect Config.nt File to Be Used Jun 25, 2001 ... You may receive the following error message after you modify the custom configuration settings for an MS-DOS-based or 16-bit Windows-based ...
[UPDATED 2/7] Schap's Operator settings, VoIP and Advanced ... SIP settings configuration; Outgoing calls configuration .... This should be due to an incorrect setting in registry, I will look at this. ...

Videos:
How to use iPhone/iPod touch Wifi apps on 3g & Edge Networks Bonjour all, Without further ado, I will tell you about this great application I discovered called voIPover3g. VoIPover3G (thats Voice Over IP ...
Zero Configuration networking with Bonjour Google TechTalks November 2, 2005 Dr. Stuart Cheshire, Apple Computer http://www.stuartcheshire.org/ ABSTRACT The desirability of making ...
Lec 20 | MIT 8.02 Electricity and Magnetism, Spring 2002 Inductance RL Circuits Magnetic Field Energy View the complete course at: http://ocw.mit.edu/8-02S02 License: Creative Commons BY-NC-SA ...
VNUS Closure - Treats Varicose Veins Results in Less Swelling ... he return of warm summer months can be a dreadful time for women who are embarrassed to wear shorts or short skirts due to unsightly, twisted and ...
Using open source tools for performance testing Google London Test Automation Conference (LTAC) Google Tech Talks September 8th, 2006 Presenter: Goranka Bjedov
Hidabroot אסטרולגיה Astrologia astrology עוד לפני אלפי שנים עסקו אנשי העולם העתיק בחקר Astrologia מידע הטמון בקרבי השמים אודות גורלו של האדם ואופיו. האיצטגנינות או בשמה המודרני ...
Santa Monica Council Meeting Santa Monica Council Meeting












database schema version

images in database good or bad??

configuration error - godaddy - personal starter kit

another database question

attachdbfilename error

database : personal site starter

medium trust issue with pss kit

website not being at least a page height

working locally on remote website

new themes

how to pace the satrter kits

error with manage page using extended guide

storing pictures on the filesystem instead of the database

post here for things you need

about installing pws starter kit

does email users log errors?

godaddy pws admin logon password help sql

personal site starter kit

email form?

will not build -- theme error

a little knowlege can be dangerous...

cant log in... help please....

help needed with customizing psk...

processrequest in handler.ashx

object reference not set to an instance of an object.

make the "download photo" button on details.aspx to dl the photo instead of redirecting to download.aspx and having to 'right-click'

slq server 200 (or msde)

photo transition effects

could not load the assembly 'xxxxxxxxx'.???

aspnetdb.mdf used by another process

  Privacy | Contact Us
All Times Are GMT