473,409 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

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.invalidoperationexception

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 1104
On Wed, 28 Feb 2007 10:40:04 -0800, Darin <darin_nospam@nospameverwrote:

¤ 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.invalidoperationexception
¤
¤ 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
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...
2
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...
8
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...
8
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...
6
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,...
3
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. ...
7
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...
3
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...
10
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...
18
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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...
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.