Click here to Skip to main content
15,899,313 members
Home / Discussions / C#
   

C#

 
GeneralRe: Disabling compiler error? Pin
J4amieC3-Jan-06 4:06
J4amieC3-Jan-06 4:06 
GeneralRe: Disabling compiler error? Pin
joachimj3-Jan-06 4:21
joachimj3-Jan-06 4:21 
GeneralRe: Disabling compiler error? Pin
J4amieC3-Jan-06 5:18
J4amieC3-Jan-06 5:18 
Questionculture info Pin
PrakashBhaskar2-Jan-06 23:19
PrakashBhaskar2-Jan-06 23:19 
AnswerRe: culture info Pin
S. Akif Kamal3-Jan-06 1:15
S. Akif Kamal3-Jan-06 1:15 
AnswerRe: culture info Pin
Colin Angus Mackay3-Jan-06 2:15
Colin Angus Mackay3-Jan-06 2:15 
GeneralRe: culture info Pin
PrakashBhaskar3-Jan-06 2:19
PrakashBhaskar3-Jan-06 2:19 
QuestionMy app won't run: "unverifiable assembly" Pin
navvara the infantryman2-Jan-06 22:15
navvara the infantryman2-Jan-06 22:15 
So the basics of my app are completed, everything i'll need is complete (except directplay server) and it works, perfectly i might add. but it only works on MY computer whenever i try to run it on another it exits with a error code and a text saying: "Failed security policy check". if i try to run the app from my comp but from another computer's drive (via lan) the debbuger kick in and i get the above message+ "Unverifiable assembly". google had ssomething to say about the problem but i don't know how to implement the solution found there:

"A temporary method of solving this issue is to simply give the LocalIntranet
zone more trust. This can be done in the .NET Framework Configuration
control panel applet. A permanent solution is to modify your security policy
to give FullTrust to all assemblies signed with your key."

to the problem as stated there (which i think is my problem):

"If you're running (and remote debugging) your app from a local network
share, then I suspect that you're running into a permissions issue. Programs
that run on the CLR use something called code access security (CAS), which
assigns trust based upon evidence it can gather from the code itself. This
evidence is then compared against the security policy, and a permission
grant is generated."


anyway i'll be including the debug output when i run the app on another conputer, i hope that my post isn't too long and boring.

"'forms.exe': Loaded '\\Homepc\2games (d)\forms\Debug\forms.exe', Symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\mscoree.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\msvcr71.dll', Symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\fusion.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorlib.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\assembly\NativeImages1_v1.1.4322\mscorlib\1.0.5000.0__b77a5c561934e089_49459abc\mscorlib.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorsn.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\urlmon.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\system32\version.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\assembly\GAC\System\1.0.5000.0__b77a5c561934e089\System.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\assembly\NativeImages1_v1.1.4322\System\1.0.5000.0__b77a5c561934e089_70640dd3\System.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\assembly\GAC\System.Drawing\1.0.5000.0__b03f5f7f11d50a3a\System.Drawing.dll', No symbols loaded.
'forms.exe': Loaded 'C:\WINDOWS\assembly\NativeImages1_v1.1.4322\System.Drawing\1.0.5000.0__b03f5f7f11d50a3a_842e96f6\System.Drawing.dll', No symbols loaded.
The thread 'Win32 Thread' (0x1c0) has exited with code 0 (0x0).
'forms.exe': Loaded 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\diasymreader.dll', No symbols loaded.
'forms': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded.
'forms': Loaded 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No symbols loaded.
'forms': Loaded 'c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll', No symbols loaded.
An unhandled exception of type 'System.Security.Policy.PolicyException' occurred in Unknown Module.

Additional information: Unverifiable assembly '\\Homepc\2games (d)\forms\Debug\forms.exe' failed policy check.

The thread 'Win32 Thread' (0x218) has exited with code -532459699 (0xe0434f4d).
The program '[3192] forms.exe: forms' has exited with code 0 (0x0).
The program '[3192] forms.exe: Native' has exited with code 0 (0x0)."


m$: It is normal for your screen to go blank and for your computer to restart itself several times
AnswerRe: My app won't run: "unverifiable assembly" Pin
mav.northwind3-Jan-06 0:11
mav.northwind3-Jan-06 0:11 
GeneralRe: My app won't run: "unverifiable assembly" Pin
navvara the infantryman3-Jan-06 1:35
navvara the infantryman3-Jan-06 1:35 
GeneralRe: My app won't run: "unverifiable assembly" Pin
J4amieC3-Jan-06 1:43
J4amieC3-Jan-06 1:43 
GeneralRe: My app won't run: "unverifiable assembly" Pin
navvara the infantryman3-Jan-06 1:55
navvara the infantryman3-Jan-06 1:55 
GeneralRe: My app won't run: "unverifiable assembly" Pin
J4amieC3-Jan-06 4:07
J4amieC3-Jan-06 4:07 
AnswerRe: My app won't run: "unverifiable assembly" Pin
leppie3-Jan-06 6:57
leppie3-Jan-06 6:57 
QuestionCan i call the properties window of a specific File from my Application? Pin
shaimaa-galal2-Jan-06 22:02
shaimaa-galal2-Jan-06 22:02 
AnswerRe: Can i call the properties window of a specific File from my Application? Pin
albCode2-Jan-06 22:13
albCode2-Jan-06 22:13 
QuestionRe: Can i call the properties window of a specific File from my Application? Pin
shaimaa-galal2-Jan-06 22:31
shaimaa-galal2-Jan-06 22:31 
QuestionRequiredFieldValidator Pin
karthik_dotnet12-Jan-06 22:00
karthik_dotnet12-Jan-06 22:00 
AnswerRe: RequiredFieldValidator Pin
PrakashBhaskar2-Jan-06 22:32
PrakashBhaskar2-Jan-06 22:32 
Questionpocket pc Pin
alkhalyleh2-Jan-06 20:34
alkhalyleh2-Jan-06 20:34 
Questionhow to code the connect/disconnect function ? Pin
R24092-Jan-06 20:10
R24092-Jan-06 20:10 
AnswerRe: how to code the connect/disconnect function ? Pin
Colin Angus Mackay2-Jan-06 21:58
Colin Angus Mackay2-Jan-06 21:58 
GeneralRe: how to code the connect/disconnect function ? Pin
R24092-Jan-06 22:08
R24092-Jan-06 22:08 
QuestionGUI basics ? Pin
Skoder2-Jan-06 17:26
Skoder2-Jan-06 17:26 
AnswerRe: GUI basics ? Pin
Judah Gabriel Himango2-Jan-06 20:21
sponsorJudah Gabriel Himango2-Jan-06 20:21 

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.