I'm new to this site so Hi to everyone first.
Secondly, I have been getting an error for my Visual Studio 2005 application which makes no sense to me. Hope someone can help.
I have a basic Windows Form application that is using a database with OLEDB connection, it is a network application in Windows Server 2003.
I had enabled the "Visual Studio hosting process" and I was debugging the application fine until recently I was presented with the message:
"The Operation could not be completed" to which I clicked OK.
I then was presented with another message:
"Visual Studio could not copy a support file to this location......app.vshost.exe"
This meant I could never debug the application until I closed down Visual Studio and re-launched it. So I disabled debugging with hosting.
This then present the following security message:
"Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
I have ensured that the application is full trust, so what I am doing wrong. I've checked the Advanced option under Security for "Debug this application with the selected permission set" and its enabled.
Thanks,
Paul
Secondly, I have been getting an error for my Visual Studio 2005 application which makes no sense to me. Hope someone can help.
I have a basic Windows Form application that is using a database with OLEDB connection, it is a network application in Windows Server 2003.
I had enabled the "Visual Studio hosting process" and I was debugging the application fine until recently I was presented with the message:
"The Operation could not be completed" to which I clicked OK.
I then was presented with another message:
"Visual Studio could not copy a support file to this location......app.vshost.exe"
This meant I could never debug the application until I closed down Visual Studio and re-launched it. So I disabled debugging with hosting.
This then present the following security message:
"Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
I have ensured that the application is full trust, so what I am doing wrong. I've checked the Advanced option under Security for "Debug this application with the selected permission set" and its enabled.
Thanks,
Paul