473,836 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debug in Zone??? What's that?

Hi, Im trying to get command line arguments into my VB windows application.
I've set some arguments under the 'debug' tab underproject properties.

When running the program I get the following message:

"The current project settings specify that the project will be debugged with
specific security permissions. In this mode, command line arguments are not
be passed to the executable. Do you want to continue debugging anyway?"

I've managed to find a place describing the problem,
http://support.microsoft.com/kb/919827

But not how to resolve it!!!. What is Debug in Zone feature??. This is not a
problem in C#, neither in a VB console application. What is going on.

The entry point in the program looks like this:

Sub Main(ByVal cmdArgs() As String)

' This call is required by the Windows Form Designer.

InitializeCompo nent()

If cmdArgs.Length 0 Then

LoadFile(cmdArg s(1))

End If

End Sub

Regards.
Jesper.

Nov 20 '06 #1
1 4604
Hi Jesper,

Open the project's properties window, browse to the Security tab and make
sure "Enable ClickOnce Security Settings" is unchecked.

--
Dave Sexton

"Jesper, Denmark" <Je***********@ discussions.mic rosoft.comwrote in message
news:D1******** *************** ***********@mic rosoft.com...
Hi, Im trying to get command line arguments into my VB windows
application.
I've set some arguments under the 'debug' tab underproject properties.

When running the program I get the following message:

"The current project settings specify that the project will be debugged
with
specific security permissions. In this mode, command line arguments are
not
be passed to the executable. Do you want to continue debugging anyway?"

I've managed to find a place describing the problem,
http://support.microsoft.com/kb/919827

But not how to resolve it!!!. What is Debug in Zone feature??. This is not
a
problem in C#, neither in a VB console application. What is going on.

The entry point in the program looks like this:

Sub Main(ByVal cmdArgs() As String)

' This call is required by the Windows Form Designer.

InitializeCompo nent()

If cmdArgs.Length 0 Then

LoadFile(cmdArg s(1))

End If

End Sub

Regards.
Jesper.

Nov 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
35111
by: Jon Davis | last post by:
The date string: "Thu, 17 Jul 2003 12:35:18 PST" The problem: // this fails on PST DateTime myDate = DateTime.Parse("Thu, 17 Jul 2003 12:35:18 PST"); Help? Jon
2
24629
by: Avi | last post by:
I have a problem to get the different time zone's name for example I need the name of time zone UTC + 4:30 ("Kabul") The TimeZone.CurrentTimeZone get my current time zone name and I couldn't see how to get a different time zone name please hlp this is very important. Avi
2
1843
by: Ken Allen | last post by:
I have a service that was developed in C# that I wish to debug. The project resides on my desktop system and I wish it to execute on a remote test system (actually on the next desk). When I confifure the project for remote debugging of the project I get the following alert: "Error while trying to run project: Unable to start debugging. Access is denied." This worked fine in the past when the test machine was Windows 2000, but now that...
6
1866
by: Peter Afonin | last post by:
Hello: I'm running Windows server 2003. I've never had any problems with debugging, but now I cannot debug ANY of my projects. I'm getting this error: "Error while trying to run project: Unable to start debugging on the web server. Access is denied." The only thing I've done recently was installing all the latest Microsoft
4
1507
by: Amil Hanish | last post by:
Don't reply to this unless you know what you are talking about. Installed brand spanking new 2003 Server. Configured to be application server. Then installed Visual Studio .NET. Copied over web application from another server and set up normal web site. When I try to debug the application within .NET, it always gives me the error saying that I'm not part of the Debugger Users group. I'm in Administrator, Debugger
1
1408
by: feng | last post by:
Hi, I am trying to debug my asp.net project in VS.Net. What I am getting is a error message that says "Error when trying to run project: Unable to start debugger on the web server. you do not have the permissions to debug on the web server. Verify that you are a member of 'Debugger Group' on the web server. Would you like to disable....." I added myself into the Debugger group but that did help
0
1731
by: Andrew Morton | last post by:
Windows Server 2003 SP1, IIS6.0, .NET1.1, VS2003 I got the "URL Is In the Internet Zone" error when trying to debug an ASP.NET application, with 403.0 followed by 401.5 errors in the IIS log. I have several web sites set up on my computer, to get debugging to work I had to allow ASP.NET debugging for "Web Sites", not just the site I was trying to debug in, and allow it to set it on all sites. (Right-click Web Sites, choose...
8
2635
by: Fred Flintstone | last post by:
I have an odd problem. I'm beating myself bloody trying to get debugging to work. I have VS.Net 2005 installed on a Windows XP SP2 workstation and on a W2003 Server. The asp.net application is working. I need to debug. I get the error: "Unable to start debugging on the web server. The debugger cannot connect to the remote computer" ...and something about it not existing or firewall problems. I'll note here that I can manually...
3
1105
by: Tina | last post by:
I installed IE7 and not I can't debug my asp.net projects. When I hit F5 it says... Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in the Internet zone. I am an administrator on my machine. What's up?
0
9810
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9654
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10818
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10526
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10237
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6972
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5641
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4436
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.