16,016,605 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Ozzie Mozzie (Top 12 by date)
Ozzie Mozzie
8-Dec-22 17:01pm
View
Thank you. I appreciate your advice and have updated the procedure.
The previous procedure worked ok but as you have pointed out it was leaky. :)
Ozzie Mozzie
13-Mar-15 19:42pm
View
I fixed the typo but it still fails to create the row.
Ozzie Mozzie
13-Mar-15 14:07pm
View
Thanks for picking the typo up that may well be the problem. I fix that and try it as soon as I get the opportunity.
Thanks again.
I will post the result here :)
Ozzie Mozzie
13-Mar-15 6:34am
View
This works when I use SQL Server script but application code still does not work:
USE [PlatinumDB]
GO
INSERT INTO [dbo].[Errors]
(
eName
,eInstance
,eMessage
,eModule
,eProcedure
,eUserId
,eUserMessage
,ecName
,ecCode
,ecDescription
,ecMessage)
VALUES
(N'eName'
,N'eInstance'
,N'eMessage'
,N'eModule'
,N'eProcedure'
,N'eUserId'
,N'eUserMessage'
,N'ecName'
,N'ecCode'
,N'ecDescription'
,N'ecMessage')
GO
Ozzie Mozzie
13-Mar-15 6:12am
View
But there is no stored procedure
Ozzie Mozzie
13-Mar-15 6:05am
View
No Exception
Ozzie Mozzie
13-Mar-15 6:03am
View
Yes it does still complete
Ozzie Mozzie
12-Mar-15 22:01pm
View
Please help me with an example
Ozzie Mozzie
12-Mar-15 21:35pm
View
Please provide example :)
Ozzie Mozzie
12-Mar-15 21:06pm
View
No row created and no indication of failure from the server
Ozzie Mozzie
12-Mar-15 21:02pm
View
I removed the second "conn.Open();" down the bottom (oversight) but it still fails.
Ozzie Mozzie
12-Mar-15 20:55pm
View
I get no error message in the application but it seems to return on cmd.ExecuteNonQuery();
Show More