Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 874721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:09:00+00:00 2026-05-15T11:09:00+00:00

We are migrating a .Net windows application to Windows 7. This application can be

  • 0

We are migrating a .Net windows application to Windows 7. This application can be used in multiple languages, but only English is installed by default. There is a menu item that allows users to download additional languages.
This application is using the standard .Net satellite resources folder organization: http://msdn.microsoft.com/en-us/library/sb6a8618%28v=VS.80%29.aspx.
The problem in Windows 7 is that the users are not administrators and don’t have write access to the “program files” folder where the application is installed. This means that when the users try to download a new language resources file they get an error.
Is there a way to direct .Net to look for resources files in another folder, for example one inside the user’s home directory?
I know you can add the resources to .Net Global assembly cache, but you also need administrator rights for that.

Edit: I’m aware of the <probing> configuration parameter ( http://msdn.microsoft.com/en-us/library/823z9h8w.aspx), but it can be used only to specify a subdirectory of the application’s base path. Is there a way to force it to a folder outside of the application’s home?

Edit: I think I could probably use the AppDomain.AssemblyResolve event to look for the appropiate resources, but it won’t be called for resource assemblies prior to .Net 4 and I can’t have the users update to that version yet.

Thanks,
Guillermo

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T11:09:01+00:00Added an answer on May 15, 2026 at 11:09 am

    I finally managed to make it work creating a junction folder link from a subdirectory (user) under the application folder to a directory in the user’s folder. Then I added the following line in app.config under the assemblyBinding tag:

    <probing privatePath=".;user" />
    

    The application writes the resource files in the user’s folder and they are accessed by the application as if they were in the correct path.
    It is not the most elegant solution but it it working.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Recently i am working on migrating the ASP.NET Web application to MVC. I am
We are in the process of migrating our ASP.NET application to use Jquery instead
I am migrating a MonoRail application to ASP.NET MVC and I was wondering if
I'm migrating a Foxpro to ASP.NET MVC Application. Near to 70% of the logic
I am migrating an application written in Delphi 2007 .Net to Delphi Prism, which
I have an ASP.NET Web Application project that used to target ASP.NET 2.0. I
I'm currently migrating a .net 1.1 application to .net 3.5. The .net 1.1 application
I am migrating from ASP.NET 1.1 and I used to subscribe to page events
I am migrating 2 .NET web sites from one Windows 2003 (IIS6) server to
We're having trouble migrating our ASP.NET applications to Windows Server 2008 R2 x64 and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.