473,386 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to SQL Express/IIS/Security???

I've got a very simple ASP.NET 2.0 web application that uses some
SpDiscoverParameterSet with my database queries. It works fine when running
or debugging under Visual Studio.

When I try to run it through IIS, like a real web app, I get a
SpDiscoverParameterSet Failed". This is a security issue, but I don't know
how to:

1) Change the setup of the .MDF file so that it will NOT use integrated
security, but accept an sa id and password

AND/OR

2) Specify a connection string that will solve the problem.

Please don't tell me that I "should not be using sa logins" - and please
don't tell me not to use SpDiscoverParameterSet. I don't want to have to
re-write the code just to get this running under IIS.

Arrghhhhhhhhh... this one day project has turned into a 2 day project, just
because of this silly security issue.
May 8 '06 #1
1 1176
enabling sa login is a feature set at the server level, not the database.
use sqlserver setup to enable this feature.

-- bruce (sqlwork.com)
"porko" <po***@discussions.microsoft.com> wrote in message
news:16**********************************@microsof t.com...
I've got a very simple ASP.NET 2.0 web application that uses some
SpDiscoverParameterSet with my database queries. It works fine when
running
or debugging under Visual Studio.

When I try to run it through IIS, like a real web app, I get a
SpDiscoverParameterSet Failed". This is a security issue, but I don't
know
how to:

1) Change the setup of the .MDF file so that it will NOT use integrated
security, but accept an sa id and password

AND/OR

2) Specify a connection string that will solve the problem.

Please don't tell me that I "should not be using sa logins" - and please
don't tell me not to use SpDiscoverParameterSet. I don't want to have to
re-write the code just to get this running under IIS.

Arrghhhhhhhhh... this one day project has turned into a 2 day project,
just
because of this silly security issue.

May 8 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: MLH | last post by:
I'm trying to overcome the pop-up warning issued by Outlook Express when an Access application uses SendObject to mail an attachment (report object converted to an rtf file) to a specified...
1
by: Darryl Kerkeslager | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsse/html/sseoverview.asp SQL Server Express was developed with two distinct uses in mind. The first is as a server product,...
4
by: BravesCharm | last post by:
I am trying to connect to SQL Server 2005 Express with Visual C# 2005 Express using this code: static void Main(string args) { SqlConnection conn = new SqlConnection(@"Data...
4
by: Andrew Robinson | last post by:
My main dev machine has WinXp and VS2005 (pro). 1. I need to install VWD Express Edition so that I can do some instruction on this. Any issues with both on the same machine. Installation order?...
4
by: raibeart | last post by:
It is like comparing a VW bug with a Mercedes. JET has corruption problems. It is not meant for use over the internet. It is not meant for more that 3 or 4 users. No clear migration path to...
13
by: Miro | last post by:
Ok I have been slowely - and ever so slowely teaching myself VB.net Currently I have created an MDB file by code, and added fields to the MDB file by code. I like this solution because, ( im...
1
by: kito | last post by:
Hi, I have a problem, when I want to access to my SQL Server Express database from my ASP.NET application. My workstation ID is KITOLAP-HP My username is user01 Now I built the following...
10
by: cleo | last post by:
I am migrating from VB6/Access to Visual Basic and SQL Express. I have success writing test code on my local machine and am now setting up tests for deployment to a server. I have installed SQL...
10
by: =?Utf-8?B?UHVuaXQgS2F1cg==?= | last post by:
Hi, I am developing a windows application in VS.NET 2005. The application is database driven and I need to deploy it on a client's pc. How should I go about developing such an application. I...
4
by: K Viltersten | last post by:
We have a project working well today and it's developed on VS2005. Since we're planing to switch to VS2008 in a soon future, i've been trying to move the project to VS2008 Express (Web...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.