MSFN Forum: VB.NET application not working in Windows 2003 - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

VB.NET application not working in Windows 2003 Security warning on Server 2003 when running VB 2008 Express apps Rate Topic: -----

#1 User is offline   Mrugson 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 12-May 09

Posted 16 March 2010 - 01:48 PM

Hi,

I use Visal Basic 2008 Express Studio SP1 to create simple applications just cannot get them to run properly on Windows Server 2003 machines - work perfectly fine on XP SP2/SP3 PCs. As soon as the application runs, on the tile bar there is 'Internet' added in front of the actual title and baloon tip pops up saying:
'Microsoft .NET Security Warning. Never enter personal information or passwords into a window unless you can verify and trust the source of the request'.

Each time the program is supposed to do something it fails. Can anyone advise?

Thanks in advance!


#2 User is offline   gunsmokingman 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,991
  • Joined: 02-August 03
  • OS:none specified
  • Country: Country Flag

Posted 16 March 2010 - 02:13 PM

Without knowing what type of code you are trying to run we can not help you.

#3 User is offline   Mrugson 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 12-May 09

Posted 20 March 2010 - 11:59 AM

Sorry for the delay... Below I am posting latest code I wrote - this is supposed to uninstall Cisco VNP client using local admins credentials.
Thing is it never goes further than the initial view of the form1, doesn't even run Form1_Load event.

Public Class Form1
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        ProgressBar1.Hide()
        Button1.Hide()
        Button2.Hide()
        Button3.Hide()

        If My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{51FB15F4-AD27-43BC-AD4B-DD0354FB6BBD}", "DisplayName", "") <> "" Then
            Label2.Text = "Client present:"
            Label3.Text = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{51FB15F4-AD27-43BC-AD4B-DD0354FB6BBD}", "DisplayName", "")
        End If

        If Label2.Text = "" And Label3.Text = "" Then
            Label1.Text = "VPN client has not been found on this computer!"
            Button3.Show()
        Else
            Label1.Text = "Do you want to remove the below client?"
            Button1.Show()
            Button2.Show()
        End If
    End Sub

-more code-



Thanks in advance.

#4 User is offline   CoffeeFiend 

  • Coffee Aficionado
  • Group: Super Moderator
  • Posts: 5,038
  • Joined: 14-July 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 20 March 2010 - 01:08 PM

Did you copy the .exe locally, or are you trying to run it from a network share?

If you're running it from a network share, you will most likely have to change that zone's security settings in order for it to run.

#5 User is offline   Mrugson 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 12-May 09

Posted 04 April 2010 - 09:57 AM

Sorry for such a long delay... Yes, I've been trying to run it from a network share - finaly got to test it from a local drive on the server and works perfectly fine!

Thanks a lot for your help and time!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy