-
RC1 Assembly Reference Problem
Hi !
I've a problem with remoting configuration (and probably with assembly
reference...) with VS RC1. When I try to configure a channel in a config
file, both with:
<channel ref="http" port="8000" />
and with:
<channel port="8000"
type="System.Runtime.Remoting.Channels.Http.HttpChannel,
System.Runtime.Remoting, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089" />
I get the error shown at the end of this page; I know that someone has
solved it by referring the assembly System.Runtime.Remoting with the fully
qualified name, but in my code this backdoor doesn't work...
Any idea ?!!?
Thanks,
Matteo
Unhandled Exception: System.Runtime.Remoting.RemotingException: Remoting
> >configuration failed with the exception System.IO.FileNotFoundException:
> >File or assembly name System.Runtime.Remoting, or one of its
dependencies,
> >was not found.
> >File name: "System.Runtime.Remoting"
> > at System.Reflection.Assembly.nLoad(AssemblyName fileName, Boolean
> >isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound,
> >Assembly locationHint, StackCrawlMark& stackMark)
> > at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
> >Booleanstringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
> > at System.Reflection.Assembly.InternalLoad(String assemblyString,
> >Evidence assemblySecurity, StackCrawlMark& stackMark)
> > at System.Reflection.Assembly.Load(String assemblyString)
> > at System.Runtime.Remoting.RemotingConfigInfo.LoadType(String
typeName,
> >String assemblyName)
> > at
>
>System.Runtime.Remoting.RemotingConfigHandler.CreateChannelFromConfigEntry(
> C
> >hannelEntry entry)
> > at
>
>System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXml
> C
> >onfigFileData configData)
> > at
>
>System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXml
> C
> >onfigFileData configData)
> >
> >Fusion log follows:
> >=== Pre-bind state information ===
> >LOG: DisplayName = System.Runtime.Remoting
> > (Partial)
> >LOG: Appbase = E:\src\ms\fwk\testing\ConsoleTest\bin\Debug\
> >LOG: Initial PrivatePath = NULL
> >Calling assembly : (Unknown).
> >===
> >
> >LOG: Policy not being applied to reference at this time (private, custom,
> >partial, or location-based assembly bind).
> >LOG: Post-policy reference: System.Runtime.Remoting
> >LOG: Attempting download of new URL
>
>file:///E:/src/ms/fwk/testing/ConsoleTest/bin/Debug/System.Runtime.Remoting
> .
> >DLL.
> >LOG: Attempting download of new URL
>
>file:///E:/src/ms/fwk/testing/ConsoleTest/bin/Debug/System.Runtime.Remoting
> /
> >System.Runtime.Remoting.DLL.
> >LOG: Attempting download of new URL
>
>file:///E:/src/ms/fwk/testing/ConsoleTest/bin/Debug/System.Runtime.Remoting
> .
> >EXE.
> >LOG: Attempting download of new URL
>
>file:///E:/src/ms/fwk/testing/ConsoleTest/bin/Debug/System.Runtime.Remoting
> /
> >System.Runtime.Remoting.EXE.
> >.
> > at
>
>System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXml
> C
> >onfigFileData configData)
> > at System.Runtime.Remoting.RemotingConfiguration.Configure(String
> >filename)
> > at consoleTest.Class1.Main(String[] args)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks