PC Review


Reply
Thread Tools Rate Thread

2.0 membership roles database problem

 
 
=?Utf-8?B?TWFya0F1cml0?=
Guest
Posts: n/a
 
      7th Feb 2007
Im trying to help a friend who is attempting to deploy an asp.net 2.0 app.
She wants to use the membership/role system, and the necessary database and
its tables, etc, exist in the sql server 2000 instance (which is on a
seperate server). When she brings up the asp.net admin app from within
vs.net, she can do the database connection test to her membership/role
database and her application's database. However, if she clicks on the
Security tab, she gets:
"The following message may help in diagnosing the problem: An error occurred
during the execution of the SQL file 'InstallCommon.sql'. The SQL error
number is 5110 and the SqlException message is: The file
"Z:\DEVELOP\APP_DATA\ASPNETDB_TMP.MDF" is on a network path that is not
supported for database files. CREATE DATABASE failed. Some file names listed
could not be created. Check related errors. Creating the
ASPNETDB_f99997c331604d0a92dfe86aca285b0e database...".
Im at somewhat of a loss, as I role my own role systems, but a few things
jump out: the database exists, but the message says the error is in their
creation. But even if she were doing the sql server 2005 thing where one
puts the mdf file in the \App_Code, the path is not correct, its to here
development, not prod (they are on the same machine, so the drive letter is
correct).
In review:
1. asp.net 2.0
2. sql server 2000 on seperate machine
3. role/memberships database/table set up, and is recognized in the web
admin app under Providers
Any advice would be greatly appreciated.
Thanks, Mark
 
Reply With Quote
 
 
 
 
sloan
Guest
Posts: n/a
 
      7th Feb 2007
You need to override the connection string for Membership and or Roles

See

http://www.integralhelp.com/index.ph...kbarticleid=44

and


http://www.odetocode.com/Articles/427.aspx


"MarkAurit" <(E-Mail Removed)> wrote in message
news:5AA962FF-6655-43DD-B710-(E-Mail Removed)...
> Im trying to help a friend who is attempting to deploy an asp.net 2.0 app.
> She wants to use the membership/role system, and the necessary database

and
> its tables, etc, exist in the sql server 2000 instance (which is on a
> seperate server). When she brings up the asp.net admin app from within
> vs.net, she can do the database connection test to her membership/role
> database and her application's database. However, if she clicks on the
> Security tab, she gets:
> "The following message may help in diagnosing the problem: An error

occurred
> during the execution of the SQL file 'InstallCommon.sql'. The SQL error
> number is 5110 and the SqlException message is: The file
> "Z:\DEVELOP\APP_DATA\ASPNETDB_TMP.MDF" is on a network path that is not
> supported for database files. CREATE DATABASE failed. Some file names

listed
> could not be created. Check related errors. Creating the
> ASPNETDB_f99997c331604d0a92dfe86aca285b0e database...".
> Im at somewhat of a loss, as I role my own role systems, but a few things
> jump out: the database exists, but the message says the error is in their
> creation. But even if she were doing the sql server 2005 thing where one
> puts the mdf file in the \App_Code, the path is not correct, its to here
> development, not prod (they are on the same machine, so the drive letter

is
> correct).
> In review:
> 1. asp.net 2.0
> 2. sql server 2000 on seperate machine
> 3. role/memberships database/table set up, and is recognized in the web
> admin app under Providers
> Any advice would be greatly appreciated.
> Thanks, Mark



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET 2.0 Membership & Roles Login Problem =?Utf-8?B?eW9kYWt0?= Microsoft Dot NET 6 12th Jul 2007 11:47 AM
Roles in membership database AC Microsoft ASP .NET 4 26th Mar 2007 08:23 PM
membership/roles create user problem John Microsoft ASP .NET 3 30th Aug 2006 01:00 AM
Membership & Roles in 2.0 =?Utf-8?B?RGVtZXRyaQ==?= Microsoft ASP .NET 2 19th May 2006 03:28 AM
Membership and Roles Question Active Directory or Database? needin4mation@gmail.com Microsoft ASP .NET 0 22nd Mar 2006 04:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:51 PM.