473,791 Members | 3,193 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQLExpress database file auto-creation error...

Hi!
I have Web Application with forms authentication. Data
and security model resides in Oracle database.
I have 'login' page with MS 'Login' control.
In my LoggingIn event for debug purposes I have
only:
FormsAuthentica tion.RedirectFr omLoginPage(
"testlogin' , false);
(all users are authenticated)
It works fine till now - I have still error:

"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:
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.
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.
Sql Server Express must be installed on the machine.
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.

"

Why ASP want to create some database?
How can I disable 'automatic' providers, managers of ASP.NET
to prevent this kind of errors?

regards

mrozik
Mar 15 '07 #1
1 5924
On Thu, 15 Mar 2007 14:47:07 +0100, Mrozik <mr******@inter ia.plwrote:
Hi!
I have Web Application with forms authentication. Data
and security model resides in Oracle database.
I have 'login' page with MS 'Login' control.
In my LoggingIn event for debug purposes I have
only:
FormsAuthentica tion.RedirectFr omLoginPage(
"testlogin' , false);
(all users are authenticated)
It works fine till now - I have still error:

"SQLExpress database file auto-creation error:
I found solution - not to user biuld-in 'Login control' ;-)
mrozik
Mar 15 '07 #2

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

Similar topics

3
1603
by: andrewcw | last post by:
I am trying to use the NorthWind database or anything with SQLEXPRESS on VS 2005 RC. I can see SQLExpress started with the tool SQL Server Configuration Manager. But when i select DataBase | New Connection | Data Source | Microsoft SQL Server - I see other SQL servers but not SQLExpress. What should I be doing... Thanks -- Andrew
1
1055
by: VB Programmer | last post by:
I have created an ASP.NET 2.0 site and just published it to my webserver. None of the database stuff works, including membership, etc.... because my hosting company (webhost4life) claims that they do not support SQLExpress, just SQLServer 2005. 1. How difficult is it to migrate over to SQLServer 2005 OR MS Access as my database? 2. Will the new .NET membership classes, profile classes, etc... still work if I switch to a SQLServer 2005...
2
1879
by: Crash | last post by:
Windows XP MS SQLExpress VS 2003 ..NET 1.x SP1 {for Application} ..NET 2.0 {for SQLExpress} MS Enterprise Library June 2005 This works from a command prompt osql -E -S localhost\SQLEXPRESS
13
2446
by: Matt Fielder | last post by:
First off, if this is better posted in another group that qualifies as a manged group, please let me know. I currently have an application written in VB.Net using MSDE as the database. Current install is via InstallShield. As I've just found out that MSDE is not supported under Vista, I need to migrate to SQLExpress. I am also potentially interested in migrating to using an installer built in Visual Studio. I have a few questions:
1
2048
by: lexman | last post by:
Hello, How do you deploy a vb.net application with a SQL express database? My vb.net programming book offers a single paragraph that amounts to "Select publish, choose options in wizard, job done". LOL So I gave it a try and everything seemed ok until I tried to run the program. It errored with many references to SQL... So the deployment wizard isn't smart enough to realise your application has database requirements. Strange that as...
2
4108
by: jed | last post by:
I have created this example in sqlexpress ALTER PROCEDURE . @annualtax FLOAT AS BEGIN SELECT begin1,end1,deductedamount,pecentageextra FROM tax
2
1342
by: Michel Vanderbeke | last post by:
Hello, I have a program, running in several places, using SQLEXPRESS as database. The different places are stand-alone, and not connected to a network. Regulary, I have to apply changes on certain tables of the database. In a previous program, written in VB6 with an Access database, I used JRO through VB6-code to delete the table in the different databases and to copy the new one.
49
2764
by: ARC | last post by:
Hello all, I have one chance to get this right, as I'm nearing a release of a program. I've looked at the database settings, and so far, have set the following: * Unchecked 'Enable design changes for tables in datasheet view' * Unchecked 'Check for truncated number fields' (I would prefer the user NOT see #### in fields or columns that they shrink too far) * Unchecked 'Track Name AutoCorrect Info' * Set all Tables to 'SubDatasheet =...
1
8191
by: Aykut Canturk | last post by:
Can I use SqlExpress2005 AttachDatabase feature with classic ADO connections in my .asp pages ? But I need ConnectionString. Although I searched the web for couple of weeks I still coulnd't find any solution. anybody succeeded to use classic ado with attach feature without attaching database filed from enterprise manager ? I want tou use SQL2005 and I don't want directly attch files to sql. Best regards...
1
1231
by: sherifffruitfly | last post by:
Hi all, I made a c# app that includes a sqlexpress database. I can't seem to find the mdf file though, so I'm wondering exactly how/whether I can give the app to my friend to use/test. Will the db be created on the fly when my friend runs the app?
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9517
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10428
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9997
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4110
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.