Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 23rd, 2006, 06:14 PM
Registered User
 
Join Date: Jun 2006
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Survey Engine

I tried the survey and got this:
I copy the code from the book. Is this because of sql express?
or..??

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.

  #2 (permalink)  
Old June 25th, 2006, 04:01 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

How are you opening the application? Through IIS with the supplied installer, or directly in Visual Web Developer?

Does your machine have a local copy of SQL Server Express 2005 installed?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
  #3 (permalink)  
Old June 25th, 2006, 10:55 PM
Registered User
 
Join Date: Jun 2006
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

Thank you for the replied.
I open this through Visual Web Developer I have both sql express and sql 2005 installed.
The database doesn't look want to connect. Always closing down on me due to user instance.


  #4 (permalink)  
Old June 26th, 2006, 01:25 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

This error may be caused by the fact you installed SQL Server after you installed Express? Maybe this helps?

http://blog.krisvandermast.com/Faile...lBeClosed.aspx

http://www.differentpla.net/node/487

Other people have described other symptoms and different fixes, so you may want to Google for "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. " and see if that brings anything new up....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
  #5 (permalink)  
Old June 26th, 2006, 11:17 AM
Registered User
 
Join Date: Jun 2006
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have fixed the SQL express.
Now is working...

Thank you

  #6 (permalink)  
Old February 18th, 2007, 01:56 AM
Authorized User
 
Join Date: Jan 2007
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If just install the visual studio completely you will recieve this error, To solve this problem u need to install the microsoft SQL server which is another CD. that is the resean that you cannt access the .mdf file and you will get this error message "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."

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Survey Engine Dennis239 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 6 March 3rd, 2008 02:34 PM
Survey Engine - Does not work mpremji BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 9 June 4th, 2007 12:35 PM
Survey engine anitafn2005 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 13 February 11th, 2007 04:49 PM
Survey engine anitafn2005 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 October 8th, 2006 04:17 PM
Wrox Survey Engine Berggreen BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 7 June 25th, 2006 05:21 PM



All times are GMT -4. The time now is 06:10 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.