Click here to Skip to main content
15,894,539 members
Home / Discussions / C#
   

C#

 
GeneralRe: auto-complete textbox with memory Pin
leppie28-May-08 21:27
leppie28-May-08 21:27 
QuestionConnect to database via web service Pin
HenrydeSousa28-May-08 4:45
HenrydeSousa28-May-08 4:45 
AnswerRe: Connect to database via web service Pin
Gareth H28-May-08 7:39
Gareth H28-May-08 7:39 
GeneralRe: Connect to database via web service Pin
HenrydeSousa29-May-08 4:20
HenrydeSousa29-May-08 4:20 
QuestionWhat is the Error Pin
ASysSolvers28-May-08 4:33
ASysSolvers28-May-08 4:33 
AnswerRe: What is the Error Pin
leppie28-May-08 6:39
leppie28-May-08 6:39 
GeneralRe: What is the Error Pin
Guffa28-May-08 8:31
Guffa28-May-08 8:31 
QuestionOpenFileDialog in Web... Pin
Chetan Ranpariya28-May-08 3:59
Chetan Ranpariya28-May-08 3:59 
Hi Friends,

I dont know in which section should I post this question coz it related to both C# and ASP.NET.

I have very strange requirment.

I our project we developed our application in windows forms project. The project contains a bunch of class libraries and number of windows usercontrol libraries.

Now we are hosting those user controls to the web.

Everything is working fine till the control with FileOpenDialog in it comes in picture.

When that user control opens in web it throws the followin exception.
"Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission contact your system administrator, or use the microsoft .net frameword configuration tool.
Request for permission type 'system.security.permissions.fileiopermission, mscorlib, version=2.0.0.0, Cultrue=neutral, pulickeytoken=xxxsdlff' failed."

I know the reason why this exception is coming.
what I want to know is , is there any work aroud of this problem except using asp.net "file" control?

Thank you all in advance.

Thanks and regards,
Chetan Ranpariya

Thanks and Regards,
Chetan Ranpariya

AnswerRe: OpenFileDialog in Web... Pin
leppie28-May-08 4:01
leppie28-May-08 4:01 
AnswerRe: OpenFileDialog in Web... Pin
Mike Dimmick28-May-08 4:30
Mike Dimmick28-May-08 4:30 
QuestionTransferring data from Excel Sheet to SQL Server 2000 database Pin
Dextter28-May-08 3:47
Dextter28-May-08 3:47 
AnswerRe: Transferring data from Excel Sheet to SQL Server 2000 database Pin
Bijesh28-May-08 3:57
Bijesh28-May-08 3:57 
QuestionFunction for Converting Plural into Singular Pin
KBM7328-May-08 3:43
KBM7328-May-08 3:43 
AnswerRe: Function for Converting Plural into Singular Pin
leppie28-May-08 3:56
leppie28-May-08 3:56 
GeneralRe: Function for Converting Plural into Singular Pin
led mike28-May-08 4:29
led mike28-May-08 4:29 
AnswerRe: Function for Converting Plural into Singular Pin
Old Nic3-May-10 4:39
Old Nic3-May-10 4:39 
Questionhow to create dynamic gridview Pin
shaek28-May-08 3:42
shaek28-May-08 3:42 
AnswerRe: how to create dynamic gridview Pin
leppie28-May-08 3:58
leppie28-May-08 3:58 
QuestionTimer Change question.. Pin
ptr2void28-May-08 3:34
ptr2void28-May-08 3:34 
AnswerRe: Timer Change question.. [modified] Pin
leppie28-May-08 3:39
leppie28-May-08 3:39 
AnswerRe: Timer Change question.. Pin
Mike Dimmick28-May-08 4:56
Mike Dimmick28-May-08 4:56 
QuestionFile IO Permissions Pin
Lisa Zapson28-May-08 3:18
Lisa Zapson28-May-08 3:18 
AnswerRe: File IO Permissions Pin
leppie28-May-08 3:34
leppie28-May-08 3:34 
GeneralRe: File IO Permissions Pin
Lisa Zapson28-May-08 3:47
Lisa Zapson28-May-08 3:47 
GeneralRe: File IO Permissions Pin
leppie28-May-08 4:00
leppie28-May-08 4:00 

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.