Click here to Skip to main content
15,888,610 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMaster Page Pin
Munteanu Ciprian7-Dec-09 18:51
Munteanu Ciprian7-Dec-09 18:51 
AnswerRe: Master Page Pin
lalit147-Dec-09 19:29
lalit147-Dec-09 19:29 
AnswerRe: Master Page Pin
Dinesh Mani7-Dec-09 20:43
Dinesh Mani7-Dec-09 20:43 
QuestionTo get width and height of a image from server Pin
garga17-Dec-09 18:35
garga17-Dec-09 18:35 
AnswerRe: To get width and height of a image from server Pin
_Damian S_7-Dec-09 18:41
professional_Damian S_7-Dec-09 18:41 
GeneralRe: To get width and height of a image from server Pin
garga17-Dec-09 19:00
garga17-Dec-09 19:00 
GeneralRe: To get width and height of a image from server Pin
_Damian S_7-Dec-09 19:10
professional_Damian S_7-Dec-09 19:10 
GeneralRe: To get width and height of a image from server Pin
garga17-Dec-09 19:25
garga17-Dec-09 19:25 
Sir, This is the error i'm getting..

Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:


Line 42:
Line 43: Public Sub CheckWH()
Line 44: Dim fullSizeImg As System.Drawing.Image = System.Drawing.Image.FromFile(str)
Line 45:
Line 46:

Source File: D:\Hosting\5201676\html\Gallery.aspx.vb Line: 44



i think it is giving error for FromFile(str). Whether FromFile() is used only to get path from localhost ?

Plse reply..
Questionfileinfo object can't find file path Pin
marine887-Dec-09 17:58
marine887-Dec-09 17:58 
AnswerRe: fileinfo object can't find file path Pin
dan!sh 7-Dec-09 18:17
professional dan!sh 7-Dec-09 18:17 
GeneralRe: fileinfo object can't find file path Pin
marine888-Dec-09 0:15
marine888-Dec-09 0:15 
GeneralRe: fileinfo object can't find file path Pin
marine8817-Dec-09 5:40
marine8817-Dec-09 5:40 
QuestionHow to disable calender control in firefox Pin
attalurisubbu7-Dec-09 8:34
attalurisubbu7-Dec-09 8:34 
Questionneed a help regarding chat program in asp.net(c#) Pin
Amit Spadez7-Dec-09 0:48
professionalAmit Spadez7-Dec-09 0:48 
AnswerRe: need a help regarding chat program in asp.net(c#) Pin
Abhijit Jana7-Dec-09 1:01
professionalAbhijit Jana7-Dec-09 1:01 
AnswerRe: need a help regarding chat program in asp.net(c#) Pin
Abhishek Sur7-Dec-09 4:03
professionalAbhishek Sur7-Dec-09 4:03 
GeneralRe: need a help regarding chat program in asp.net(c#) Pin
dan!sh 7-Dec-09 6:26
professional dan!sh 7-Dec-09 6:26 
GeneralRe: need a help regarding chat program in asp.net(c#) Pin
Abhishek Sur7-Dec-09 6:39
professionalAbhishek Sur7-Dec-09 6:39 
QuestionPDF Download Error. Pin
nccs12346-Dec-09 21:51
nccs12346-Dec-09 21:51 
AnswerRe: PDF Download Error. Pin
Abhishek Sur7-Dec-09 0:48
professionalAbhishek Sur7-Dec-09 0:48 
GeneralRe: PDF Download Error. Pin
nccs12347-Dec-09 18:10
nccs12347-Dec-09 18:10 
Questioncheckbox list control Pin
mylogics6-Dec-09 20:49
professionalmylogics6-Dec-09 20:49 
AnswerRe: checkbox list control Pin
N a v a n e e t h6-Dec-09 20:56
N a v a n e e t h6-Dec-09 20:56 
GeneralRe: checkbox list control Pin
mylogics6-Dec-09 20:59
professionalmylogics6-Dec-09 20:59 
GeneralRe: checkbox list control Pin
Abhishek Sur6-Dec-09 21:14
professionalAbhishek Sur6-Dec-09 21:14 

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.