惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Schneier on Security
博客园_首页
量子位
博客园 - 司徒正美
S
SegmentFault 最新的问题
J
Java Code Geeks
小众软件
小众软件
博客园 - 【当耐特】
The Register - Security
The Register - Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
Blog — PlanetScale
Blog — PlanetScale
T
Tailwind CSS Blog
博客园 - Franky
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
Cyberwarzone
Cyberwarzone
腾讯CDC
Apple Machine Learning Research
Apple Machine Learning Research
V
Visual Studio Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Hacker News
The Hacker News
aimingoo的专栏
aimingoo的专栏
V
Vulnerabilities – Threatpost
P
Palo Alto Networks Blog
Scott Helme
Scott Helme
L
LINUX DO - 热门话题
F
Full Disclosure
D
DataBreaches.Net
Martin Fowler
Martin Fowler
Cisco Talos Blog
Cisco Talos Blog
L
LINUX DO - 最新话题
云风的 BLOG
云风的 BLOG
C
Check Point Blog
T
Threatpost
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
W
WeLiveSecurity
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
Lohrmann on Cybersecurity
Last Week in AI
Last Week in AI
T
Tor Project blog
T
Troy Hunt's Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
Security Affairs
SecWiki News
SecWiki News

博客园 - Vincent Yang

Cannot load macro project error SQL Express 2008 x64 Integration with Visual Studio 2008 SP1 PowerShell Operators Crystal Reports .NET Error - "Access to report file denied. Another program may be using it." - Vincent Yang (转:)SharePoint Database Naming Standards List Types & List Internal ID available within MOSS 2007 Telerik: IIS7 & IIS 7.5 and ‘Telerik.Web.UI.WebResource.axd’ is missing in web config 64bit SQL Server issues : Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly 正式入住Windows 7 + XPM A Generic Singleton Form Provider for C# Extreme Programming: Do these 12 practices make perfect? Pick up the pace with extreme programming Testing an ASP.NET Web Service using PowerShell Parsing XML Files with PowerShell Testing SQL Stored Procedures using PowerShell Working with Collections of Objects using PowerShell Generating iCalender file using ASP.NET SQL Server Precision And Scale Problems (SQL Server 精度问题) Six Quick Crystal Reports Design Tips
SQL Express - "Failed generate a user instance..."
Vincent Yang · 2010-04-11 · via 博客园 - Vincent Yang

Error Details

2010-04-11 19:20:01.73 spid7s      Script level upgrade for database 'master' failed because upgrade step 'repl_master.sql' encountered error 5598, state 1, severity 16. This is a serious error condition which might interfere with regular operation and the database will be taken offline. If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script upgrade steps run to completion.
2010-04-11 19:20:01.73 spid7s      Error: 3417, Severity: 21, State: 3.
2010-04-11 19:20:01.73 spid7s      Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.
2010-04-11 19:20:01.73 spid7s      SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.

Ref: http://blogs.msdn.com/joestagner/archive/2008/03/12/sql-express-failed-generate-a-user-instance.aspx?CommentPosted=true#commentmessage

I Love SQL Server Express. I write demos. Lots of them. SQL Express is great because it's free and works with .MDF files so that I can just bundle up the database with my demo and folks can download a demo, run, and experiment.

I'm "learning" to love Windows Vista.

My only real complaint is that we OVER DID security. I want a switch that says.....

  1. Use Vista's Maximum Security (I never would.)
  2. Lighten Up a Bit (You know, turn of UAC and such.)
  3. Make security on this vista box just like Windows XP
  4. Make me a GOD on this box (Super Grand Admin - I accept the responsibility.)
  5. Windows 98 Mode (TURN IT ALL OFF.)

Life's been very busy these days and I'm working on some new illustrative demos for my AJAX World Talks next week.

Trying to connect to my SQL Express database from my ASP.NET code yields the following 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."

... "a failure."

CAN YOU BE A BIT MORE SPECIFIC ????????

I know, I know, this is a typical Microsoft error message.

I know SQL Express installers locked down to some extend so I thought maybe the issue was disabled protocols as I was carrying forward some code, but alas - nothing seamed to help. I tried all the configuration tools, used the surface area tool and added everyone to the SQL admin's groups. NOTHING

After searching and playing for some time I got things working again and wanted to share the solution.

If you're running from the IDE then you are running as yourself so:

Delete C:\Documents and Settings\USERNAME\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS.

I am using Windows 7, the path is 

"C:\Users\xxxxxx\AppData\Local\Microsoft\Microsoft SQL Server Data"

If you're running via IIS the user is usually ASPNET so....

Delete C:\Documents and Settings\COMPUTERNAME\USERNAME\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS

Hope you found this and it saves you some time.

SQL Express - "Failed generate a user instance..."

I Love SQL Server Express. I write demos. Lots of them. SQL Express is great because it's free and works with .MDF files so that I can just bundle up the database with my demo and folks can download a demo, run, and experiment.

I'm "learning" to love Windows Vista.

My only real complaint is that we OVER DID security. I want a switch that says.....

  1. Use Vista's Maximum Security (I never would.)
  2. Lighten Up a Bit (You know, turn of UAC and such.)
  3. Make security on this vista box just like Windows XP
  4. Make me a GOD on this box (Super Grand Admin - I accept the responsibility.)
  5. Windows 98 Mode (TURN IT ALL OFF.)

Life's been very busy these days and I'm working on some new illustrative demos for my AJAX World Talks next week.

Trying to connect to my SQL Express database from my ASP.NET code yields the following 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."

... "a failure."

CAN YOU BE A BIT MORE SPECIFIC ????????

I know, I know, this is a typical Microsoft error message.

I know SQL Express installers locked down to some extend so I thought maybe the issue was disabled protocols as I was carrying forward some code, but alas - nothing seamed to help. I tried all the configuration tools, used the surface area tool and added everyone to the SQL admin's groups. NOTHING

After searching and playing for some time I got things working again and wanted to share the solution.

If you're running from the IDE then you are running as yourself so:

Delete C:\Documents and Settings\USERNAME\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS.

If you're running via IIS the user is usually ASPNET so....

Delete C:\Documents and Settings\COMPUTERNAME\USERNAME\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS

Hope you found this and it saves you some time.