Click here to Skip to main content
15,896,201 members

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.