Solved

Cannot initialise SSPI package

Posted on 2004-08-16
4
553 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

821 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