Results 1 to 2 of 2

Thread: Change in SQL Connection String?

  1. #1
    100 Club KevinBarnett's Avatar
    Join Date
    2001-10
    Location
    Pretoria, South Africa
    Posts
    119
    Login to Give a bone
    0

    Question Change in SQL Connection String?

    Thanks Nathan, it worked!

    Next question:

    The windows app exe successfully connects to SQL. But the DLL running inside AutoCAD fails to connect. I havent changed the connection string, are there additional parameters needed to run within Acad?

    My string contains these parameters:

    Initial Catalog
    Data Source
    Packet Size
    User Id
    Password

    The error message I get is:

    Request for permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

    Any ideas?

    Thx a stack,
    Kevin.

  2. #2
    100 Club KevinBarnett's Avatar
    Join Date
    2001-10
    Location
    Pretoria, South Africa
    Posts
    119
    Login to Give a bone
    0

    Thumbs up Re: Change in SQL Connection String?

    Quote Originally Posted by KevinBarnett
    Thanks Nathan, it worked!

    Request for permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
    Connection error resolved!! The problem was in the permissions.
    Find mscorcfg.msc and run it. Then set the permissions as required.

    Good Luck!

    Kevin.

Similar Threads

  1. String help!
    By romet555656808 in forum AutoLISP
    Replies: 4
    Last Post: 2014-05-10, 03:13 PM
  2. how to replace only a single string by pre decided string.
    By mohammad.raees637333 in forum AutoLISP
    Replies: 3
    Last Post: 2014-04-22, 01:07 PM
  3. 2014: HSS- W connection + Plates, How to model this special connection?
    By jiangrayrui376960 in forum AutoCAD Structural Detailing
    Replies: 0
    Last Post: 2013-05-02, 10:01 PM
  4. MAKE BOLTED CONNECTION GENERATOR REMEMBER MATERIAL OF PLACED CONNECTION
    By Wish List System in forum Inventor Wish List
    Replies: 0
    Last Post: 2012-07-02, 10:13 PM
  5. Change Text Preview String
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 6
    Last Post: 2010-07-16, 11:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •