15,896,201 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 Python 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 Wayne Stewart_ (Top 6 by date)
Wayne Stewart_
22-Jan-16 20:02pm
View
No, I don't suggest that, it would probably mess everything up
Wayne Stewart_
22-Jan-16 19:33pm
View
I'm pretty sure it would only error out if the data overflowed the target field. So it might appear to work as long as the values are small enough
Wayne Stewart_
22-Jan-16 19:02pm
View
Is it possible you mixed up varchar and nvarchar somewhere? If you assign a varchar(15) with an nvarchar(15) you might get that error
Wayne Stewart_
29-Apr-11 9:23am
View
I don't know of a way to upload it here.
It definitely sounds like you have a race condition happening here. Running the project while debugging probably slows it down enough to work. If your app is multi threaded or you're using methods like BeginRead and BeginWrite, you need to make sure the previous operation is finished before starting the next.
I hope that helps, I can't suggest anything specific without seeing the code.
Wayne Stewart_
25-Apr-11 16:59pm
View
It could be a permissions issue. If you are running Visual Studio in an administrative mode, but when you run the installed app, it might be running with fewer priviledges. It might also be a problem if anything like System.Diagnostics.Debug.Equals is being used since it will not be called when the code is compiled with release configuration.
I still think the problem is probably with the file manager class. Would it be possible to see the entire code for that; the read and write functions at least.
Wayne Stewart_
25-Apr-11 14:53pm
View
Also, I don't believe you can use GO in a command string as it is not part of T-SQL. When you use them in management studio, they are not actually sent to the server. They are hints to send the current query batch to the server. Doing what John said should help, and get rid of the final GO. Everything should be fine.
Show More