Solved

Cannot initialise SSPI package

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

730 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