473,326 Members | 2,127 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,326 software developers and data experts.

Request Failed error on InitializeComponent()

Hi All,

I have been coding for twenty years, but I am new to .NET programming.
Please forgive me if the answer to my question is obvious, but I am stumped.

I have a brand new project with a single form holding two controls. When I
build and run, I receive an error saying:
"An unhandled exception of type 'System.Security.SecurityException' occurred
in GridTest.exe. Additional Information: Request Failed."
Clicking either Break or Continue takes me to this line:
InitializeComponent()

This particular sub exists of course, but I have no idea what is causing the
problem.

If I remove the first control (a 3rd party datagrid) and leave the button
only, then the app runs OK. Obviously this means there is an issue between
the 3rd party datagrid and VS .net 2003.
Can anyone suggest where I can find more information on this? Any help would
be appreciated.

Cheers,
Mark Chimes

Nov 22 '05 #1
2 1484
HI All,

OK, now I feel very sheepish.

I moved the whole project to a local drive (previously it was located on a
network share), and now the app works as expected.

This raises a whole new set of issues for me. There must be some security
rules in place that effect my .NET development.

Is it safe for me to assume (always dangerous) that development work I
perform on my own computer will run OK in a LAN environment (once again)
assuming adequate user rights?

If not, what specifics do I now need to take into account when deploying my
apps.

cheers,
Mark


Nov 22 '05 #2
Don't feel sheepish--I have the same problem and the error message wasn't
exactly helpful.
We develop on the LAN so that we know it will run on the LAN--I hate the
idea that we can't do that, but you're right, there must be some way to
adjust the settings. Hopefully someone knows how! Keep your fingers crossed.

Nov 22 '05 #3

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

Similar topics

2
by: Mark Chimes | last post by:
Hi All, I have been coding for twenty years, but I am new to .NET programming. Please forgive me if the answer to my question is obvious, but I am stumped. I have a brand new project with a...
1
by: Don | last post by:
I'm getting the following exception displayed in the task list at design time for my project: "Code generation for property 'Controls' failed. Error was: 'Object reference not set to an...
6
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I'm running VS 2003/ASP.NET 1.1.4322.0 on XP SP2 All of a sudden I started to getting... "Error while trying to run project: Unable to start debugging on the web server. Server side-error...
3
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.