Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am calling DLL from sql 2008. How to read app config connection string key from sql.
I tried few steps open .csproj file in notepad and save as sqlserver.exe.config and put it in sql root path. But its giving error like object reference not set to an instance of an object. Moreover I couldn't find Item Group section in .csproj. Let me know the steps to access app config settings.
Posted
Comments
[no name] 22-Jul-11 11:46am    
What type of configuration are you tralking about? Do you want to have a configuration file for your DLL and read it when calling the DLL from SQL Server?
SatyaKeerthi15 26-Sep-11 5:56am    
What type of config file can be used in C# class library? I am using app config file. Want to read key of the dll from SQL.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900