Solved

Cannot initialise SSPI package

Posted on 2004-08-16
4
557 Views
Last Modified: 2008-01-09
I'm having a problem with integrated security on SQL Server and security permissions in .net

      Dim oConnection As New OleDb.OleDbConnection("Provider=SQLOLEDB.1;Integrated Security=SSPI;Initial Catalog=forum;Data Source=.")
      oConnection.Open()

Above lines of code work fine in an exe but get a "Cannot initialise SSPI package" if ran from a dll. Any ideas how to solve this?
0
Comment
Question by:rfgkev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 20

Expert Comment

by:ihenry
ID: 11809987
Where's the dll being loaded from?

Read this article could help

Configuring .NET Code Access Security
http://www.15seconds.com/issue/040121.htm
0
 
LVL 8

Author Comment

by:rfgkev
ID: 11812683
found the problem, had one of my dll's called security.dll  stupid error really.

http://support.microsoft.com/default.aspx?scid=kb%3BEN-US%3Bq253577
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 12143514
Submitted to PAQ with points refunded (500)

DarthMod
Community Support Moderator
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question