SpDiscoverParameterSet Fails

G

Guest

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?

???
 
C

Cor Ligthert [MVP]

Porko,

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

I hope this helps,

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top