Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Message: Could not create type (What up with that)
Message
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
01111195
Message ID:
01111280
Vues:
18
>I create a Web Service on my laptop.
>It’s working perfectly in my Development environment.
>
>I created a c:\WebService directory and publish the site in it. Then I configure the local IIS on my WinXP Laptop. That is working perfectly.
>
>Now I want to move this to a Server 2003. I copy the .ASMX Web.Config etc.. files and the \Bin dir on the server. Then I configure IIS but I am getting this error:
>
>
>Parser Error Message: Could not create type 'Proxy'.
>
>Source Error:
>Line 1:  < %@ WebService Language="vb" CodeBehind="~/App_Code/Proxy.vb" Class="Proxy" % >
>
>Source File: /webservice/proxy.asmx    Line: 1
>--------------------------------------------------------------------
>Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
>
>
>What I am doing wrong?

If you go direct, without any compile, such as simply copying Proxy.vb in the App_Code directory, are you able to load the asmx file from the browser?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform