Click here to Skip to main content
16,004,727 members
Home / Discussions / C#
   

C#

 
QuestionIndex was outside the bounds of the array Pin
NewToAspDotNet9-Jul-08 1:45
NewToAspDotNet9-Jul-08 1:45 
AnswerRe: Index was outside the bounds of the array Pin
leppie9-Jul-08 1:48
leppie9-Jul-08 1:48 
GeneralRe: Index was outside the bounds of the array Pin
NewToAspDotNet9-Jul-08 1:55
NewToAspDotNet9-Jul-08 1:55 
AnswerRe: Index was outside the bounds of the array Pin
User 66589-Jul-08 1:53
User 66589-Jul-08 1:53 
QuestionIHTMLDOCUMENT2 AND SOURCECODE Pin
ITS79-Jul-08 1:44
ITS79-Jul-08 1:44 
AnswerRe: IHTMLDOCUMENT2 AND SOURCECODE Pin
leppie9-Jul-08 1:51
leppie9-Jul-08 1:51 
GeneralRe: IHTMLDOCUMENT2 AND SOURCECODE Pin
ITS79-Jul-08 7:08
ITS79-Jul-08 7:08 
Question.net Exe (Console application) is not working on the remote server Pin
Raheem MA9-Jul-08 1:43
Raheem MA9-Jul-08 1:43 
Hi All,

I developed a Console application exe and its working fine in my local machine. I need to run the exe in remote machine using remote paths.

For example, if the remote server name is XYZ, the exe should be run on XYZ using remote paths like:

C:\>\\XYZ\C$\abc.exe ( on XYZ machine itself, actually this exe should be executed from vbscript with this path).
But its giving exception as following:

Exception : Request for the permission of type 'System.Data.SqlClient.SqlClientP
ermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5
61934e089' failed.
Exception : System.Security.SecurityException: Request for the permission of typ
e 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Cult
ure=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMa
rk& stackMark, Boolean isPermSet)
at System.Security.PermissionSet.Demand()
at System.Data.Common.DbConnectionOptions.DemandPermission()
at System.Data.SqlClient.SqlConnection.PermissionDemand()
at System.Data.SqlClient.SqlConnectionFactory.PermissionDemand(DbConnection o
uterConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection ou
terConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at BulkDataCopy.BulkDataCopy.Main(String[] args)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Data.SqlClient.SqlClientPermission
The Zone of the assembly that failed was:
Intranet


Please let me know the solution if you find any...

Thank you,
Smile | :) Shah_Tech Smile | :)
AnswerRe: .net Exe (Console application) is not working on the remote server Pin
leppie9-Jul-08 1:54
leppie9-Jul-08 1:54 
Questiondisable keypress (Alt+F4, Ctrl+Alt+Del) Pin
Yosh_9-Jul-08 1:40
professionalYosh_9-Jul-08 1:40 
AnswerRe: disable keypress (Alt+F4, Ctrl+Alt+Del) Pin
User 66589-Jul-08 1:56
User 66589-Jul-08 1:56 
GeneralRe: disable keypress (Alt+F4, Ctrl+Alt+Del) Pin
Yosh_9-Jul-08 2:08
professionalYosh_9-Jul-08 2:08 
GeneralRe: disable keypress (Alt+F4, Ctrl+Alt+Del) Pin
User 66589-Jul-08 2:12
User 66589-Jul-08 2:12 
AnswerRe: disable keypress (Alt+F4, Ctrl+Alt+Del) Pin
leppie9-Jul-08 1:57
leppie9-Jul-08 1:57 
AnswerRe: disable keypress (Alt+F4, Ctrl+Alt+Del) Pin
PIEBALDconsult9-Jul-08 15:13
mvePIEBALDconsult9-Jul-08 15:13 
Questionabout the linked subreport parameter in c#2005 Pin
mctramp1689-Jul-08 1:34
mctramp1689-Jul-08 1:34 
AnswerRe: about the linked subreport parameter in c#2005 Pin
mctramp1689-Jul-08 14:29
mctramp1689-Jul-08 14:29 
AnswerRe: about the linked subreport parameter in c#2005 Pin
mctramp16810-Jul-08 14:37
mctramp16810-Jul-08 14:37 
QuestionMaster to content Pin
Agweet9-Jul-08 1:33
Agweet9-Jul-08 1:33 
AnswerRe: Master to content Pin
leppie9-Jul-08 1:55
leppie9-Jul-08 1:55 
GeneralRe: Master to content Pin
Agweet9-Jul-08 2:04
Agweet9-Jul-08 2:04 
QuestionDynamic rows Pin
karthave9-Jul-08 1:25
karthave9-Jul-08 1:25 
AnswerRe: Dynamic rows Pin
Christian Graus9-Jul-08 1:27
protectorChristian Graus9-Jul-08 1:27 
QuestionRegarding textboxes editibility Pin
tasumisra9-Jul-08 1:17
tasumisra9-Jul-08 1:17 
AnswerRe: Regarding textboxes editibility Pin
tasumisra9-Jul-08 1:25
tasumisra9-Jul-08 1:25 

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.