473,549 Members | 2,592 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB 2005 w/ 2.0 framework

I have upgraded our application from .NET 1.1 to .NET 2.0, all works
fine from my local machine.

But, when I put the program on the server and try to run it from the
server (via a mapped drive), I receive:

Menu.exe has encountered a problem and neds to close. We are sorry for
the inconvenience.

When I click on what data does the error report contain, I get the error
signature that has:

P9: system.invalido perationexcepti on

I have added my \\server\share into the IE7 local intranet sites, and it
still fails. I know when we were using the 1.1 framework we had to
adjust the zone security settings so local intranet was full trust, but
I can't find that option anywhere for the 2.0 framework.

I have set the menu.exe program to enable clickonce settings, and it is
a full trust application. On the signing I created a pfx file that is
setup - and these changes have made no difference.

I am doing some more debugging, but I just want to know if anyone else
has experienced this and what the resolution was?

TIA
Darin

*** Sent via Developersdex http://www.developersdex.com ***
Feb 28 '07 #1
1 1111
On Wed, 28 Feb 2007 10:40:04 -0800, Darin <darin_nospam@n ospameverwrote:

¤ I have upgraded our application from .NET 1.1 to .NET 2.0, all works
¤ fine from my local machine.
¤
¤ But, when I put the program on the server and try to run it from the
¤ server (via a mapped drive), I receive:
¤
¤ Menu.exe has encountered a problem and neds to close. We are sorry for
¤ the inconvenience.
¤
¤ When I click on what data does the error report contain, I get the error
¤ signature that has:
¤
¤ P9: system.invalido perationexcepti on
¤
¤ I have added my \\server\share into the IE7 local intranet sites, and it
¤ still fails. I know when we were using the 1.1 framework we had to
¤ adjust the zone security settings so local intranet was full trust, but
¤ I can't find that option anywhere for the 2.0 framework.
¤
¤ I have set the menu.exe program to enable clickonce settings, and it is
¤ a full trust application. On the signing I created a pfx file that is
¤ setup - and these changes have made no difference.
¤
¤ I am doing some more debugging, but I just want to know if anyone else
¤ has experienced this and what the resolution was?

There is an MS KB article that documents how to handle this:

http://support.microsoft.com/kb/832742

The 2.0 Framework does not have a wizard but if you launch the .NET Framework 2.0 Configuration
applet you can click on the Runtime Security Policy node, then the Increase Assembly Trust task to
display the Trust an Assembly dialog box. From there you should be able to follow the instructions
in the KB article.
Paul
~~~~
Microsoft MVP (Visual Basic)
Mar 2 '07 #2

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

Similar topics

1
1518
by: jmd | last post by:
Hello. I have downloaded and installed Visual Studio 2005 February CTP -- Professional Edition (English) from msdn. All works fine (with a few bugs) except the Quickstarts. The Quickstarts install without problems. I have 2 questions : 1. When I launch the Quickstarts, I only see : ...
2
1640
by: rjack | last post by:
I'm using VS 2005 Beta 2. In VS 2003, the Page directive in an aspx page has Language and CodeBehind attributes. You can have the language be different than the code behind file language. For instance, you can have Language="vb" CodeBehind="classA.cs" In VS 2005, the CodeBehind attribute seems to have been replaced with
8
1520
by: Mike Owen | last post by:
Hi, I am trying to pre-compile a project prior using ASP.Net 2.0, VS 2005, to putting it onto a live server. The reason for doing this is that other people have access to the server, and I thereofre want to keep the code secure. If I use the 'Build/Publish Web Site' option, it asks me to tell it the 'Target location' which in this case...
8
6447
by: Phil Lee | last post by:
I'm sure this is possible but I just can't see how to do it. I want to add schemas to my solution and have C# classes automatically generated from them. I can see how to generate typed DataSet's with the MSDataSetGenerator custom tool. Is there something similar for simple schemas? Regards Phil Lee
6
2708
by: | last post by:
Hi all, is there a better way to stream binary data stored in a table in sql 2005 to a browser in .net 2.0? Or is the code same as in .net 1.1? We noticed that in certain heavy load scenarios, every now and then the client would timeout and have to re-initiate the request... TIA!
3
1381
by: dean4if | last post by:
I have 4 Windows 2000 Servers. I have installed the DotNet Framework 2.0 on all 4 servers. Three of these servers show a tab for ASP.NET in the IIS MMC and are running Visual Studio 2003. One server that has Visual Studio 2005 installed does not show this ASP.NET tab. On this one server, when I use Visual Studio 2005 to try to create...
7
1294
by: richee | last post by:
Hi all, i got a bit of a stupid question, but there you go... I wrote some pretty simple apps using visual studio 2005 .net 2 but i need them to work with 1.1. I only did them in 2 because that was the only tool i had available at the time but now need them to work with 1.1 i didnt use any new functionality in 2.0 Any ideas how i can...
3
3579
by: Ted Ngo | last post by:
Hi All, My company want to buy the new Microsoft Visual Studio 2005 for their employees to develop our web application. After we develop the web application using the new Microsoft Visual Studio 2005 we will deloy it to the server, and right now on our server we only have .NET FrameWork 1.1. I just wonder do we have to upgrade our server...
10
2506
by: WT | last post by:
Hello, I have been publishing my web site many times to the remote where resides my final web site. Everything was ok, but to-day, without any configuration change, vs doesn't copy final files to the remote site. It finish with a message of publish sucess but no files nor folders on the remote disk ? I have checked rights on this folder,...
18
9109
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft page "How to: Connect to Data in an Access Database"
0
7459
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...
0
7726
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. ...
1
7485
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7819
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...
0
6052
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5097
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...
0
3505
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...
0
3488
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1064
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.