Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Cannot initialise SSPI package

Posted on 2004-08-16
4
Medium Priority
?
561 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

660 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