Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 25th, 2007, 11:41 AM
Registered User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to run app from network drive?

Hi,

My application (designed in VB.Net 2.0) works good on local computer but when I deploy on server and try to run from clients I get following error:

'Request for the permission of type System.Data.SqlClient.SqlClientPermission. System Data,Version = 1.0.5000.0 = neutral. PublicKey Token = b77a5c561934e089 failed.'

I opened the project properties. Clicked on the security tab and checked the "Enable clickonce security settings" checkbox and clicked on the "This is a full trust application" radio button. But still the same problem. I have been having these problems for a long time. Apps don't run on the network.



I have changed permissionSeting on server by using Microsoft .NET Framework Configuration Console and allowed 'FullTrust' for Local_Intranet_Zone, but still having the same error.


I got a network of more than 125 client computers and want to run application from server for every client.

Can anyone help me out for this problem.

Regards


 
Old January 25th, 2007, 12:42 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

What about using the 2.0 click-once web deployment? You deploy the application to a web site and the clients "start" it from there. It actually downloads/installs the application to their local environment but it automatically checks against the web site for updates. You don't have to manage updating all the clients, you just update the website with the new application and the next time the client start the application they'll be alerted to the new version which they can choose to download. it works very well (from what I've seen).

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing network drive on a web part Indo77 ASP.NET 2.0 Basics 0 July 5th, 2007 08:14 AM
Publishing a page on network drive Sicklr Access 1 June 21st, 2007 12:35 AM
User permissions on mapped network drive affinity Classic ASP Professional 0 January 12th, 2006 12:22 PM
How to backup database to Network Drive Jane SQL Server 2000 3 July 4th, 2005 12:37 PM
Database is located on a network drive Elton Classic ASP Databases 1 August 27th, 2003 08:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.