How can I provide a connection string for my ASP.NET 2.0 application and SQL
Express .MDF that will get around this error?

This is surely security related - the app and database routines work fine
when I'm running/testing under Visual Studio 5.0, but when I try to run under
IIS, I get this mess.

There MUST be a way to setup the connection string to get around this
problem, I hope. Here's what I've got now:

Data
Source=.\SQLEXPRESS;AttachDbFilename=C:\MyProjectt\App_Data\MyDB.mdf;Integrated Security=True;User Instance=True

What does the "User Instance" mean? How come setting User Id=xxx and
Password=xxx to some privileged account doesn't help?

???

Re: SpDiscoverParameterSet Fails by Cor

Cor
Tue May 09 03:32:03 CDT 2006

Porko,

Probably has the ASPNET user no rights in the directory
C:\MyProjectt\App_Data

I hope this helps,

Cor

"porko" <porko@discussions.microsoft.com> schreef in bericht
news:036F32A6-4982-49F2-9202-1FD9D5975736@microsoft.com...
> How can I provide a connection string for my ASP.NET 2.0 application and
> SQL
> Express .MDF that will get around this error?
>
> This is surely security related - the app and database routines work fine
> when I'm running/testing under Visual Studio 5.0, but when I try to run
> under
> IIS, I get this mess.
>
> There MUST be a way to setup the connection string to get around this
> problem, I hope. Here's what I've got now:
>
> Data
> Source=.\SQLEXPRESS;AttachDbFilename=C:\MyProjectt\App_Data\MyDB.mdf;Integrated
> Security=True;User Instance=True
>
> What does the "User Instance" mean? How come setting User Id=xxx and
> Password=xxx to some privileged account doesn't help?
>
> ???
>
>