Click here to Skip to main content
15,908,906 members
Home / Discussions / Database
   

Database

 
QuestionSQL 200 and SQL 2000 Pin
Vimalsoft(Pty) Ltd3-Sep-09 22:07
professionalVimalsoft(Pty) Ltd3-Sep-09 22:07 
AnswerRe: SQL 200 and SQL 2000 Pin
Abhishek Sur5-Sep-09 12:16
professionalAbhishek Sur5-Sep-09 12:16 
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 
Ok, if anyone knows anything about the subject please help.

Here's the setup: I have written a dll using vs 2005 that reads data from an excel file. It works fine when I reference the dll in my windows app...but when I create the assembly/function combo in SQL I get an OleDB Unspecified error. The weird thing is that it was working on Monday, then when I came back in on Tuesday the server gave me weird errors and now the conn.Open throws an exception I cannot figure it out: (Thanks in advance for any help!)

Here is the error when I try to call the Function in SQL

Declare @a int
set @a = (Select dbo.ExcelTester())

A .NET Framework error occurred during execution of user-defined routine or aggregate "ExcelTester":
System.Data.OleDb.OleDbException: Unspecified error
System.Data.OleDb.OleDbException:
at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.OleDb.OleDbConnection.Open()
at ChargeCardCom.ChargeCardCom.ExcelTester()

Here are the errors that happened on the server Tuesday:

AppDomain 122 (KWCDB_WBU.dbo[runtime].121) is marked for unload due to common language runtime (CLR) or security data definition language (DDL) operations.

and

AppDomain 130 (KWCDB_WBU.dbo[runtime].129) is marked for unload due to memory pressure.

and

AppDomain KWCDB_WBU.dbo[ddl].131 was unloaded by escalation policy to ensure the consistency of your application. Out of memory happened while accessing a critical resource.
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 
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 

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.