J
jason
I've been playing around with new (for 2.0) membershp functionality.
I was able to build a simple login form that secures a directory on a
project I built locally on my development desktop.
However, when I attempt to follow the same steps on the remote test
server (a website I access via filesystem security accross my lan ).. I
get the following when I attempt to select the security tab from the
administer selection of the login control:
There is a problem with your selected data store. This can be caused by
an invalid server name or credentials, or by insufficient permission.
It can also be caused by the role manager feature not being enabled.
Click the button below to be redirected to a page where you can choose
a new data store.
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
"\\servername\folder\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_a10a1b7695ae4af7ad287b55252fa7bd database...
To check security, I am from my desktop able to write to the folder and
add new items from vs.net 2005.
However if I attempt to add new item database under the APP_DATA folder
through vs.net I get an error that the db file is on a network path
not support for database files.
How do I correct this? I never knew sqlserver cared where I store data
files.
The remote server is a win 2000 server and the db is sql server 2000.
Could it be that on the remote webserver/db server I authenticate using
a sql server login for sa? On my desktop, I think I just default to
windows authentication. Sorry, noob question, if this is the issue,
where and how to I tell my project how to connect... and if it is, Im
wondering why the new ASPNETDB_TMP.MDF requires a different login since
I did not have to worry about any of this when I tested on my local
client.
I was able to build a simple login form that secures a directory on a
project I built locally on my development desktop.
However, when I attempt to follow the same steps on the remote test
server (a website I access via filesystem security accross my lan ).. I
get the following when I attempt to select the security tab from the
administer selection of the login control:
There is a problem with your selected data store. This can be caused by
an invalid server name or credentials, or by insufficient permission.
It can also be caused by the role manager feature not being enabled.
Click the button below to be redirected to a page where you can choose
a new data store.
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
"\\servername\folder\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_a10a1b7695ae4af7ad287b55252fa7bd database...
To check security, I am from my desktop able to write to the folder and
add new items from vs.net 2005.
However if I attempt to add new item database under the APP_DATA folder
through vs.net I get an error that the db file is on a network path
not support for database files.
How do I correct this? I never knew sqlserver cared where I store data
files.
The remote server is a win 2000 server and the db is sql server 2000.
Could it be that on the remote webserver/db server I authenticate using
a sql server login for sa? On my desktop, I think I just default to
windows authentication. Sorry, noob question, if this is the issue,
where and how to I tell my project how to connect... and if it is, Im
wondering why the new ASPNETDB_TMP.MDF requires a different login since
I did not have to worry about any of this when I tested on my local
client.