Click here to Skip to main content
15,916,692 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: How to manage two apps Pin
The Man from U.N.C.L.E.2-Dec-04 1:57
The Man from U.N.C.L.E.2-Dec-04 1:57 
GeneralRe: How to manage two apps Pin
Jack_pt2-Dec-04 3:27
Jack_pt2-Dec-04 3:27 
GeneralRe: How to manage two apps Pin
The Man from U.N.C.L.E.2-Dec-04 3:42
The Man from U.N.C.L.E.2-Dec-04 3:42 
GeneralChaning speed of playing of a wave file Pin
Neo.19-Nov-04 20:29
sussNeo.19-Nov-04 20:29 
GeneralRe: Chaning speed of playing of a wave file Pin
ACorbs23-Nov-04 21:22
ACorbs23-Nov-04 21:22 
QuestionHow to set a path to DLL files for a vb .NET application Pin
RDoes18-Nov-04 3:13
RDoes18-Nov-04 3:13 
AnswerRe: How to set a path to DLL files for a vb .NET application Pin
Charlie Williams21-Nov-04 4:50
Charlie Williams21-Nov-04 4:50 
GeneralRe: How to set a path to DLL files for a vb .NET application Pin
RDoes21-Nov-04 20:49
RDoes21-Nov-04 20:49 
when I placed this Thread I had no any assembly configuration.

After some searching in my .net books I found a solution to configer the assembly location.
I need to do 3 things.

1- Generate a Public token certificate with te command sn -k <key Name.snk>
2- Recompile all your public / Shared files with this assembly code
<Assembly: AssemblyKeyFile("E:\Key.snk")>
3- Configer your application with the .NET Configuration tool.
Add the application and then Add the assemblies.
The .NET configuration tool generates a <app.exe>.config file like
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="SAI.Web" publicKeyToken="a171990e83766be1" />
<codeBase version="1.2.0.0" href="file:///C:\Program Files\Common Files\Stork\Common\SAI.Web.dll" />
<bindingRedirect oldVersion="1.0.0.0" newVersion="1.2.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="SAI.Data" publicKeyToken="a171990e83766be1" />
<codeBase version="1.2.0.0" href="file:///C:\Program Files\Common Files\Stork\Common\SAI.Data.dll" />
<bindingRedirect oldVersion="1.0.0.0" newVersion="1.2.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

So far this Was working Smile | :) , I have also tested this on a clean computer with XP Prof on it (My dev pc is also XP prof both with .Net 1.1)

Second step was to install this on the Terminal server (2003 server) we use. Installation OK but when I start the app.
I get a error message that the app can not find the assembly "Cannot find the assembly SAI.Data, Version=1.0.1766.34219, Culture=neutral, PublicKeyToken=null."
OK, The <app.exe>.config file is there. the assemblies have already a "forced" version like
<Assembly: AssemblyVersion("1.2.0")>
Extra I added the binding redirections (see above). Checked all paths ok.
Because normally I install apps on this server under G: I reinstalled under C:\Program Files so also this paths reflects exactly the same path as the test pc. (Is not solving the problem)
Strange is that it can find the assembly for my error messages so it looks like something is wrong with only this assembly.

Maybe something in the register ?
I searched already but I can't find it !
Can I find it back as the assembly guid ?



Thanks for any help.
rdoes

GeneralMobile Synch &lt;-&gt; PC/WebBased applications Pin
Jonta Balonta16-Nov-04 22:44
Jonta Balonta16-Nov-04 22:44 
GeneralNative DLL Pin
dibaer16-Nov-04 21:27
dibaer16-Nov-04 21:27 
GeneralRe: Native DLL Pin
sreejith ss nair21-Nov-04 18:34
sreejith ss nair21-Nov-04 18:34 
GeneralHelp needed to start developing an InHouse Application Pin
Sardarindianpunjabi16-Nov-04 8:58
Sardarindianpunjabi16-Nov-04 8:58 
GeneralRe: Help needed to start developing an InHouse Application Pin
benjymous18-Nov-04 22:41
benjymous18-Nov-04 22:41 
GeneralRe: Help needed to start developing an InHouse Application Pin
Sardarindianpunjabi19-Nov-04 7:33
Sardarindianpunjabi19-Nov-04 7:33 
GeneralRe: Help needed to start developing an InHouse Application Pin
The Man from U.N.C.L.E.2-Dec-04 4:49
The Man from U.N.C.L.E.2-Dec-04 4:49 
GeneralDeployment of COM Interop Pin
skrishnasarma15-Nov-04 21:48
skrishnasarma15-Nov-04 21:48 
GeneralRe: Deployment of COM Interop Pin
CodeWell17-Nov-04 20:12
CodeWell17-Nov-04 20:12 
GeneralRe: Deployment of COM Interop Pin
tvkrao23-Nov-04 22:49
tvkrao23-Nov-04 22:49 
GeneralEmbedding WMP9 - InvalidActiveXStateException Pin
Michael Rosati15-Nov-04 10:13
Michael Rosati15-Nov-04 10:13 
GeneralRemoting that doesn't work on SP2 Pin
lordavenger15-Nov-04 7:15
lordavenger15-Nov-04 7:15 
GeneralAutomated Builds Pin
Alberto Bar-Noy15-Nov-04 3:28
Alberto Bar-Noy15-Nov-04 3:28 
GeneralRe: Automated Builds Pin
Steven Campbell15-Nov-04 7:46
Steven Campbell15-Nov-04 7:46 
GeneralDeploying 1.1 app on 1.0 framework Pin
slaars13-Nov-04 14:17
slaars13-Nov-04 14:17 
GeneralRe: Deploying 1.1 app on 1.0 framework Pin
Charlie Williams13-Nov-04 14:27
Charlie Williams13-Nov-04 14:27 
GeneralClipboard Pin
Matthias Glemser13-Nov-04 4:38
Matthias Glemser13-Nov-04 4:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.