Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with one of the samples
Message
 
À
07/04/2003 05:22:06
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00774216
Message ID:
00774656
Vues:
7
>>I've been trying to get one of the samples (namely the "VFP/VB.NET Web Service") running, but have encountered a problem.
>>
>>When I compile and run the VB.NET portion of the sample, I get the following in the browser.
>>
>>Compiler Error Message: CS1595: 'System.IO.StringWriter' is defined in multiple places; using definition from 'C:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll'
>>
>>I've checked the source code (both in the project and in the DefaultWsdlHelpGenerator.aspx file) and can't find any duplication. Has anyone gotten this sample to run?
>>
>>Further details: Win2K Pro SP3, VB.NET 1.0.3705.
>>
>>Thanks,
>
>George,
>Tried as per your request on other thread :)
>Fails with another error and I gave up :
>
>System.IO.FileNotFoundException: File or assembly name 9yjbkgyt.dll, or one of its dependencies, was not found.
>File name: "9yjbkgyt.dll"
> at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
> at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
> at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
> at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
> at System.Xml.Serialization.Compiler.Compile()
> at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings)
> at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings)
> at System.Web.Services.Protocols.XmlReturn.GetInitializers(LogicalMethodInfo[] methodInfos)
> at System.Web.Services.Protocols.XmlReturnWriter.GetInitializers(LogicalMethodInfo[] methodInfos)
> at System.Web.Services.Protocols.MimeFormatter.GetInitializers(Type type, LogicalMethodInfo[] methodInfos)
> at System.Web.Services.Protocols.HttpServerType..ctor(Type type)
> at System.Web.Services.Protocols.HttpServerProtocol.Initialize()
> at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
>
>Fusion log follows:
>=== Pre-bind state information ===
>LOG: Where-ref bind. Location = C:\WINDOWS\TEMP\9yjbkgyt.dll
>LOG: Appbase = file:///c:/inetpub/wwwroot/NorthwindWebService
>LOG: Initial PrivatePath = bin
>Calling assembly : (Unknown).
>===
>
>LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
>LOG: Attempting download of new URL file:///C:/WINDOWS/TEMP/9yjbkgyt.dll.
>
>
>I tried to set security for windows\temp to no avail.
>
>PS: WinXP Pro2600, .NET framework 1.0.3705, VS.Net Enterprise Architect (2002 v7.0.9466 - Microsoft Visual Basic .NET 55603-652-0000007-18811)
>
>Don't have enough disk space to install VS.NET2003 :(

Cetin,

Hmm...Completely different than mine. Outside of the OS, everthing else is the same, yet different errors. Wonder if it could be because of that. Unfortunately, I'm running XP Home at the house so I can't check there.

Wish someone like Mike Stewart would see this.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform