Click here to Skip to main content
15,914,111 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Accessing events from outside Pin
minhpc_bk31-Jan-07 14:00
minhpc_bk31-Jan-07 14:00 
GeneralRe: Accessing events from outside Pin
Jazeee31-Jan-07 15:15
Jazeee31-Jan-07 15:15 
GeneralRe: Accessing events from outside Pin
minhpc_bk31-Jan-07 15:31
minhpc_bk31-Jan-07 15:31 
GeneralRe: Accessing events from outside Pin
Jazeee31-Jan-07 16:53
Jazeee31-Jan-07 16:53 
GeneralRe: Accessing events from outside Pin
payback31-Jan-07 17:22
payback31-Jan-07 17:22 
GeneralRe: Accessing events from outside Pin
minhpc_bk31-Jan-07 18:39
minhpc_bk31-Jan-07 18:39 
QuestionAJAX TabPanels not adjusting to height required for iFrame content Pin
lawsop31-Jan-07 9:50
lawsop31-Jan-07 9:50 
QuestionCreateUserWizard control having problem with aspnetdb database Pin
red60mans31-Jan-07 9:44
red60mans31-Jan-07 9:44 
hi,

i have sqlserver express set up on my machine and i am using the default AspNetSqlMembershipProvider provided by .Net 2.0. and my application uses forms authentication

I started out with a CreateUserWizard. when i run my application aspnetdb.mdf is created in App_data folder and my CreateUserWizard says that the user has been added.

But the problem is

1) when i try to open the database thru my database explorer (Visual studio 2005) it says "Failed to generate a user instance of SQL Server due to failure in the starting process for the user intance. The connection will be closed"

2) Also when i try using SqlServerManagement studio i can't see any database called aspnetdb when i connect to my SqlServerExpress. however i can see that aspnetdb.mdf is being created in my App_data folder.



my machine.config has this

<membership>

<providers>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression="" />

</providers>


</membership>



<connectionStrings>
<add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
</connectionStrings>



my web.config file has forms authentication

<authentication mode="Forms">
<forms name=".ASPXAUTH" loginUrl="Login.aspx" protection="All" timeout= "30" path="/" requireSSL="false" slidingExpiration="true" cookieless= "UseDeviceProfile" />
</authentication>



can somebody help me

thanks






yojimbo

GeneralRe: CreateUserWizard control having problem with aspnetdb database Pin
Planker31-Jan-07 11:08
Planker31-Jan-07 11:08 
QuestionHow to access the page values in a webservice? Pin
PrashantJ31-Jan-07 9:03
PrashantJ31-Jan-07 9:03 
AnswerRe: How to access the page values in a webservice? Pin
minhpc_bk31-Jan-07 13:53
minhpc_bk31-Jan-07 13:53 
Questionimage on web page Pin
Member 377430731-Jan-07 8:30
Member 377430731-Jan-07 8:30 
AnswerRe: image on web page Pin
ednrgc31-Jan-07 9:12
ednrgc31-Jan-07 9:12 
Questionpagename is ambiguous Pin
Mary Parkhouse31-Jan-07 8:02
Mary Parkhouse31-Jan-07 8:02 
AnswerRe: pagename is ambiguous Pin
ednrgc31-Jan-07 9:13
ednrgc31-Jan-07 9:13 
GeneralRe: pagename is ambiguous Pin
Mary Parkhouse1-Feb-07 2:58
Mary Parkhouse1-Feb-07 2:58 
AnswerRe: pagename is ambiguous Pin
minhpc_bk31-Jan-07 13:45
minhpc_bk31-Jan-07 13:45 
QuestionGrid problem Pin
shapper31-Jan-07 6:52
shapper31-Jan-07 6:52 
AnswerRe: Grid problem Pin
minhpc_bk31-Jan-07 13:43
minhpc_bk31-Jan-07 13:43 
GeneralRe: Grid problem Pin
shapper31-Jan-07 14:14
shapper31-Jan-07 14:14 
GeneralRe: Grid problem Pin
minhpc_bk31-Jan-07 14:25
minhpc_bk31-Jan-07 14:25 
GeneralRe: Grid problem Pin
shapper31-Jan-07 14:46
shapper31-Jan-07 14:46 
GeneralRe: Grid problem Pin
minhpc_bk31-Jan-07 14:53
minhpc_bk31-Jan-07 14:53 
GeneralRe: Grid problem Pin
shapper31-Jan-07 15:04
shapper31-Jan-07 15:04 
GeneralRe: Grid problem Pin
minhpc_bk31-Jan-07 15:19
minhpc_bk31-Jan-07 15:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.