Click here to Skip to main content
15,893,790 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Database Image Manager Pin
Richard Andrew x6431-Dec-14 11:13
professionalRichard Andrew x6431-Dec-14 11:13 
GeneralRe: C# Database Image Manager Pin
rattlerrFx31-Dec-14 11:25
rattlerrFx31-Dec-14 11:25 
AnswerRe: C# Database Image Manager Pin
Richard Andrew x6431-Dec-14 11:27
professionalRichard Andrew x6431-Dec-14 11:27 
GeneralRe: C# Database Image Manager Pin
rattlerrFx31-Dec-14 11:36
rattlerrFx31-Dec-14 11:36 
AnswerRe: C# Database Image Manager Pin
Richard Andrew x6431-Dec-14 11:39
professionalRichard Andrew x6431-Dec-14 11:39 
GeneralRe: C# Database Image Manager Pin
rattlerrFx31-Dec-14 11:45
rattlerrFx31-Dec-14 11:45 
AnswerRe: C# Database Image Manager Pin
Richard Andrew x6431-Dec-14 12:00
professionalRichard Andrew x6431-Dec-14 12:00 
GeneralRe: C# Database Image Manager Pin
rattlerrFx31-Dec-14 12:08
rattlerrFx31-Dec-14 12:08 
The path does exist for the fact that i created the folder and set the permissions to full control. Now i am starting to think it might be a database permissions issue even thou it does connect to the database under the SA user role for authentication. The connection string works just fine i have another program that will log in and retrieve data from the database and load it into a DataGrid. Below is the TSQL i used to create the Database and FILESTREAM and I made sure the FILESTREAM is turned on under the SQL Server Configuration Manager.

SQL
CREATE DATABASE medical
ON PRIMARY
(
   NAME = medical,
   FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\medical.mdf'),
   FILEGROUP FileSteamImages CONTAINS FILESTREAM DEFAULT 
   (
   NAME = medicalImages,
   FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\medical_images');
   GO


Here is the code i used to elevate the permissions:

SQL
EXEC sp_configure filestream_access_level, 2;
RECONFIGURE;

AnswerRe: C# Database Image Manager Pin
Richard Andrew x6431-Dec-14 12:11
professionalRichard Andrew x6431-Dec-14 12:11 
GeneralRe: C# Database Image Manager Pin
rattlerrFx31-Dec-14 12:20
rattlerrFx31-Dec-14 12:20 
GeneralRe: C# Database Image Manager Pin
Richard Andrew x6431-Dec-14 12:24
professionalRichard Andrew x6431-Dec-14 12:24 
GeneralRe: C# Database Image Manager Pin
rattlerrFx31-Dec-14 12:24
rattlerrFx31-Dec-14 12:24 
AnswerRe: C# Database Image Manager Pin
Richard Andrew x6431-Dec-14 12:27
professionalRichard Andrew x6431-Dec-14 12:27 
GeneralRe: C# Database Image Manager Pin
rattlerrFx31-Dec-14 12:29
rattlerrFx31-Dec-14 12:29 
GeneralRe: C# Database Image Manager Pin
rattlerrFx31-Dec-14 12:42
rattlerrFx31-Dec-14 12:42 
GeneralRe: C# Database Image Manager Pin
SledgeHammer0131-Dec-14 12:30
SledgeHammer0131-Dec-14 12:30 
GeneralRe: C# Database Image Manager Pin
rattlerrFx31-Dec-14 12:34
rattlerrFx31-Dec-14 12:34 
GeneralRe: C# Database Image Manager Pin
SledgeHammer0131-Dec-14 12:45
SledgeHammer0131-Dec-14 12:45 
GeneralRe: C# Database Image Manager Pin
rattlerrFx31-Dec-14 12:55
rattlerrFx31-Dec-14 12:55 
GeneralRe: C# Database Image Manager Pin
SledgeHammer0131-Dec-14 14:21
SledgeHammer0131-Dec-14 14:21 
GeneralRe: C# Database Image Manager Pin
rattlerrFx31-Dec-14 19:22
rattlerrFx31-Dec-14 19:22 
GeneralRe: C# Database Image Manager Pin
SledgeHammer011-Jan-15 6:48
SledgeHammer011-Jan-15 6:48 
GeneralRe: C# Database Image Manager Pin
rattlerrFx1-Jan-15 7:17
rattlerrFx1-Jan-15 7:17 
Question(solved) an interesting "edge case" in use of Action as Value in generic Dictionary: C# language discussion Pin
BillWoodruff31-Dec-14 0:40
professionalBillWoodruff31-Dec-14 0:40 
AnswerRe: an interesting "edge case" in use of Action as Value in generic Dictionary: C# language discussion Pin
Kornfeld Eliyahu Peter31-Dec-14 3:53
professionalKornfeld Eliyahu Peter31-Dec-14 3:53 

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.