my form cannot from from network

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lynn

    #1

    my form cannot from from network

    Hi,
    I have created a form from vb.net. It runs well if i copy it to
    computer's local drive. But when i run it from network drive it gives
    this error:

    Application has generated an exception that could not be handled.
    Process id=0xc3c (3132), Thread id=0xe84(3716)

    how can i know what is went wrong?
    thanks

  • Eric Moreau

    #2
    Re: my form cannot from from network

    You need to adjust the security.

    Open the Control Panel
    Open Administrative tools
    Open Microsoft .Net Framework 1.1 Wizards
    Click Adjust .Net Security
    click Next
    Select Local Intranet
    Change the level of trust to Full
    click next
    click Finish

    --


    HTH

    Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
    Conseiller Principal / Senior Consultant
    Concept S2i inc. (www.s2i.com)


    "Lynn" <moley_cruz@yah oo.com.au> wrote in message
    news:1142505533 .656649.189670@ j33g2000cwa.goo glegroups.com.. .[color=blue]
    > Hi,
    > I have created a form from vb.net. It runs well if i copy it to
    > computer's local drive. But when i run it from network drive it gives
    > this error:
    >
    > Application has generated an exception that could not be handled.
    > Process id=0xc3c (3132), Thread id=0xe84(3716)
    >
    > how can i know what is went wrong?
    > thanks
    >[/color]


    Comment

    • Lynn

      #3
      Re: my form cannot from from network

      is there any alternative other than changing the system settings?
      i am looking for something which i can do in my codes

      Comment

      • JonJon

        #4
        Re: my form cannot from from network

        you must setup the permission for local intranet for it to work but you
        could always set it up in your code by calling caspol with the relavent
        commandline parameters.

        Comment

        Working...