Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving from web.config to HttpApplication
Message
De
28/01/2015 10:24:13
 
 
À
28/01/2015 10:18:40
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01614430
Message ID:
01614482
Vues:
13
>Looks like it should be System.Web.Services.Configuration.WebServicesSection ?

Thanks, I thought about that half an hour ago but never tried it.

When I try it, it goes further. The last line to be executed is:
            propInfo = webServiceConfig.GetProperty("SoapExtensionTypes")
Then, on the following line:
            value = DirectCast(propInfo.GetValue(currentProp, Nothing), Object())
This would generate an error:

"Unable to cast object of type 'System.Web.Services.Configuration.SoapExtensionTypeElementCollection' to type 'System.Object[]"
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
Répondre
Fil
Voir

Click here to load this message in the networking platform