Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving from web.config to HttpApplication
Message
From
28/01/2015 10:24:13
 
 
General information
Forum:
ASP.NET
Category:
Web Services
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01614430
Message ID:
01614482
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform