469,936 Members | 2,466 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,936 developers. It's quick & easy.

HELP!! problem running .net application from mapped network drive

37
Hello
i have a .netapplication that runs with no problem when launched from the local machine, but when i try to run the same executable from the network the applications doesn't start. I suppose that the .exe.config file has something to do with it. Here is the content of the configuration file

Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3.     <configSections>
  4.         <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
  5.             <section name="DiffViewer.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
  6.         </sectionGroup>
  7.     </configSections>
  8.     <userSettings>
  9.         <DiffViewer.Properties.Settings>
  10.             <setting name="DirSyncLastSourcePath" serializeAs="String">
  11.                 <value />
  12.             </setting>
  13.             <setting name="DirSyncLastTargetPath" serializeAs="String">
  14.                 <value />
  15.             </setting>
  16.             <setting name="InfoPanelVisibleOnStartUp" serializeAs="String">
  17.                 <value>True</value>
  18.             </setting>
  19.             <setting name="PreviewerMaximized" serializeAs="String">
  20.                 <value>False</value>
  21.             </setting>
  22.         </DiffViewer.Properties.Settings>
  23.     </userSettings>
  24. </configuration>
  25.  
does anyone know or is there anything i can do in order for the application to run when being launched from the network drive?
thank you :)
Jan 14 '08 #1
3 1677
jehrich
24
Hi Dreea,

You must configure the .NET framework to trust network locations. This must be done on the machine where you will be running the application. Here is a thread with some more information:

http://forums.microsoft.com/MSDN/Sho...44031&SiteID=1

Good luck,

JE
Jan 14 '08 #2
Plater
7,872 Expert 4TB
Hi Dreea,

You must configure the .NET framework to trust network locations. This must be done on the machine where you will be running the application. Here is a thread with some more information:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=244031&SiteID=1

Good luck,

JE
I have been wondering how this was done for quite some time
Jan 14 '08 #3
Dreea
37
thank you very much!!!!! :)
Jan 21 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by giloosh99 | last post: by
2 posts views Thread by Michal Valent | last post: by
1 post views Thread by Piyush Trivedi | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.