Click here to Skip to main content
15,889,877 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL 200 and SQL 2000 Pin
Vimalsoft(Pty) Ltd6-Sep-09 20:20
professionalVimalsoft(Pty) Ltd6-Sep-09 20:20 
QuestionHelp Creating a Temp Table Pin
Hulicat3-Sep-09 11:19
Hulicat3-Sep-09 11:19 
AnswerRe: Help Creating a Temp Table Pin
Blue_Boy3-Sep-09 11:23
Blue_Boy3-Sep-09 11:23 
GeneralRe: Help Creating a Temp Table Pin
Hulicat3-Sep-09 13:52
Hulicat3-Sep-09 13:52 
AnswerRe: Help Creating a Temp Table Pin
Niladri_Biswas6-Nov-09 20:24
Niladri_Biswas6-Nov-09 20:24 
QuestionHelp Needed: I have a dll (vb 2005) that I want to call in a SqlFunction that returns data from an Excel file Pin
JNBG3-Sep-09 10:16
JNBG3-Sep-09 10:16 
AnswerRe: Help Needed: I have a dll (vb 2005) that I want to call in a SqlFunction that returns data from an Excel file Pin
Abhishek Sur5-Sep-09 12:12
professionalAbhishek Sur5-Sep-09 12:12 
GeneralRe: Help Needed: I have a dll (vb 2005) that I want to call in a SqlFunction that returns data from an Excel file Pin
JNBG5-Sep-09 12:33
JNBG5-Sep-09 12:33 
Thank you for your reply Abhishek...I will post some code shortly (I have to log in to work as I'm at home now). Basically the ExcelTester (at this point) just creates an OleDB Connection to an excel file and attempts to open it. This is not my first CLR function integration project and I had the program working almost perfectly by Monday afternoon. Then I came in on Tuesday and started cleaning up some comments, re built the project and once again attempted to create the assemblies. It was at this time I began receiving the errors listed in my post and basically I spent all week trying to make it work again. It would probably be much easier to figure out if OleDB was not returning Unspecified Error when I catch the exception. The whole thing is weird and I'm sure it is something simple that I am just overlooking.

Basically, the function just returns a string "Success" if it works and "Failure" if it doesn't (or an Integer 0 if it works and -1 if not..I've tried many variations). It is breaking on the conn.Open and I feel pretty certain the connection string is okay. If I remove the .Open call the function works perfectly and I'm able to create the assemblies and function and call it with no problem.
GeneralRe: Help Needed: I have a dll (vb 2005) that I want to call in a SqlFunction that returns data from an Excel file Pin
JNBG5-Sep-09 14:17
JNBG5-Sep-09 14:17 
QuestionHelp for an SQL query Pin
sazd13-Sep-09 3:40
sazd13-Sep-09 3:40 
AnswerRe: Help for an SQL query Pin
David Skelly3-Sep-09 6:03
David Skelly3-Sep-09 6:03 
GeneralRe: Help for an SQL query Pin
sazd13-Sep-09 8:35
sazd13-Sep-09 8:35 
GeneralRe: Help for an SQL query Pin
David Skelly3-Sep-09 22:34
David Skelly3-Sep-09 22:34 
Questioneasy_odbc leak memory Pin
Ruscoff3-Sep-09 0:05
Ruscoff3-Sep-09 0:05 
AnswerRe: easy_odbc leak memory Pin
Ashfield3-Sep-09 1:30
Ashfield3-Sep-09 1:30 
GeneralRe: easy_odbc leak memory Pin
Ruscoff3-Sep-09 2:47
Ruscoff3-Sep-09 2:47 
GeneralRe: easy_odbc leak memory Pin
Ashfield3-Sep-09 3:36
Ashfield3-Sep-09 3:36 
QuestionScript Check Pin
Mustafa Ismail Mustafa2-Sep-09 9:46
Mustafa Ismail Mustafa2-Sep-09 9:46 
AnswerRe: Script Check Pin
Mycroft Holmes2-Sep-09 18:06
professionalMycroft Holmes2-Sep-09 18:06 
GeneralRe: Script Check Pin
Mustafa Ismail Mustafa2-Sep-09 20:47
Mustafa Ismail Mustafa2-Sep-09 20:47 
Questionupdate issue Pin
Tauseef A2-Sep-09 2:30
Tauseef A2-Sep-09 2:30 
AnswerRe: update issue Pin
Blue_Boy2-Sep-09 2:38
Blue_Boy2-Sep-09 2:38 
AnswerRe: update issue Pin
David Mujica2-Sep-09 3:32
David Mujica2-Sep-09 3:32 
AnswerRe: update issue Pin
Abhishek Sur2-Sep-09 9:43
professionalAbhishek Sur2-Sep-09 9:43 
AnswerRe: update issue Pin
Niladri_Biswas2-Sep-09 17:18
Niladri_Biswas2-Sep-09 17:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.