Click here to Skip to main content
15,891,905 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Generalsetting headers in socket programming Pin
kavithanallamothu7-Mar-05 0:05
kavithanallamothu7-Mar-05 0:05 
GeneralRe: setting headers in socket programming Pin
Colin Angus Mackay7-Mar-05 3:25
Colin Angus Mackay7-Mar-05 3:25 
GeneralRe: setting headers in socket programming Pin
kavithanallamothu7-Mar-05 16:36
kavithanallamothu7-Mar-05 16:36 
Generalcan't see my data adapters... Pin
code dope6-Mar-05 23:57
code dope6-Mar-05 23:57 
GeneralRe: can't see my data adapters... Pin
numbrel8-Mar-05 9:31
numbrel8-Mar-05 9:31 
GeneralCω - Interesting .NET language Pin
Joshua Nussbaum6-Mar-05 2:29
Joshua Nussbaum6-Mar-05 2:29 
GeneralRe: Cω - Interesting .NET language Pin
Judah Gabriel Himango8-Mar-05 11:44
sponsorJudah Gabriel Himango8-Mar-05 11:44 
Generali get UnauthorizedAccessException Pin
mobasher5-Mar-05 22:17
mobasher5-Mar-05 22:17 
hi guys,I get some marvelous error from my c# programConfused | :confused: again & again, i guess it is a security exception error, so i disable security with caspol -s off, give it full trust, copy it to hard drive, copy it to cd drive, sign it with public/private key, in all these cases i got the same exception, i use framework 1.1.4322. and just want to read the file, not write to it, also i am admin of my computer! and it is in the same directory. why i got this error?
below you can see the exception text.
access to the path "g:\saving document6.cad" is denied
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.UnauthorizedAccessException: Access to the path "G:\saving document6.cad" is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at wordtraining.main.lessonup()
at wordtraining.main.lbxLesson_DoubleClick(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
at System.Windows.Forms.ListBox.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
wordtraining
Assembly Version: 1.0.1249.40111
Win32 Version: 1.0.1249.40111
CodeBase: file:///C:/Program%20Files/Rayan/wordtraining/wordtraining.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Management
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.management/1.0.5000.0__b03f5f7f11d50a3a/system.management.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
AxMP3PLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Rayan/wordtraining/AxMP3PLib.DLL
----------------------------------------
MP3PLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Rayan/wordtraining/MP3PLib.DLL
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/winnt/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitdebugging="true">


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
GeneralRe: i get UnauthorizedAccessException Pin
Mike Dimmick6-Mar-05 1:57
Mike Dimmick6-Mar-05 1:57 
GeneralRe: i get UnauthorizedAccessException Pin
mobasher6-Mar-05 16:00
mobasher6-Mar-05 16:00 
GeneralDataGrid and DataSet Pin
Small Rat4-Mar-05 4:51
Small Rat4-Mar-05 4:51 
GeneralRe: DataGrid and DataSet Pin
TTECHNOLOGY5-Mar-05 23:01
TTECHNOLOGY5-Mar-05 23:01 
GeneralRe: DataGrid and DataSet Pin
TTECHNOLOGY5-Mar-05 23:03
TTECHNOLOGY5-Mar-05 23:03 
GeneralRe: DataGrid and DataSet Pin
Small Rat6-Mar-05 19:22
Small Rat6-Mar-05 19:22 
GeneralRe: DataGrid and DataSet Pin
TTECHNOLOGY6-Mar-05 19:50
TTECHNOLOGY6-Mar-05 19:50 
Generalwav recording and playing in .Net c# Pin
eXception!3-Mar-05 22:25
eXception!3-Mar-05 22:25 
GeneralApp config Pin
Small Rat3-Mar-05 18:05
Small Rat3-Mar-05 18:05 
GeneralRe: App config Pin
Anonymous4-Mar-05 7:07
Anonymous4-Mar-05 7:07 
GeneralCOM Interop - Passing pointers from unmanaged to managed Pin
Laxman Prabu2-Mar-05 21:23
Laxman Prabu2-Mar-05 21:23 
GeneralMore Information Pin
ursus zeta6-Mar-05 12:18
ursus zeta6-Mar-05 12:18 
GeneralMessageBox.Show() ?! Pin
truonghongquan2-Mar-05 19:26
truonghongquan2-Mar-05 19:26 
GeneralRe: MessageBox.Show() ?! Pin
Anonymous4-Mar-05 7:05
Anonymous4-Mar-05 7:05 
GeneralRe: MessageBox.Show() ?! Pin
truonghongquan6-Mar-05 14:51
truonghongquan6-Mar-05 14:51 
GeneralFTP Programming with .Net framework 1.1 Pin
Member 5641432-Mar-05 8:53
Member 5641432-Mar-05 8:53 
GeneralRe: FTP Programming with .Net framework 1.1 Pin
TylerBrinks2-Mar-05 12:10
TylerBrinks2-Mar-05 12:10 

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.