Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, April 16, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 External Development Forums - General External Development
Forum to discuss general external development topic (related or not to SalesLogix development). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General External Development | New ThreadView:  Search:  
 Author  Thread: help with Reflector - _configBootstrapper
Jose Urena
Posts: 92
 
help with Reflector - _configBootstrapperYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Sep 13 3:53 PM
fiogf49gjkf0d

I've used reflector with Sage.Platform.Application.UI.Web.dll as a test to see if i can recompile the dll with [Serialization] on WebUIWorkItem and try to use the "StateServer" on IIS.


The problem is that the code is generating the following:


    private readonly ConfigurationManager _configBootstrapper = new ConfigurationManager(() => new Type[] { typeof(WebApplicationConfiguration), typeof(WebModuleConfiguration) });

    // Methods
    [CompilerGenerated]
    private static Type[] <.ctor>b__0()
    {
        return new Type[] { typeof(WebApplicationConfiguration), typeof(WebModuleConfiguration) };
    }

I cannot compile the dll because of these.  Do anybody know how to correct this?

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: help with Reflector - _configBootstrapperYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Sep 13 7:58 AM

AFAIK the items with the CompilerGenerated attribute is just cruft added by the compiler to support things like generics. Have you tried omitting that part to see if it will compile without it?

[Reply][Quote]
Jose Urena
Posts: 92
 
Re: help with Reflector - _configBootstrapperYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Sep 13 9:08 AM

I did it, and it compiled, but then throw errors when using that specific class.


Never understood why they coded the portal for "inproc" mode, users get mad if you have to recycle the worker process.

[Reply][Quote]
Jose Urena
Posts: 92
 
Re: help with Reflector - _configBootstrapperYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Sep 13 9:33 AM

Ok, i can compile it now.  Was compiling it with Visual Studio 2k5, switched to 2010 and now it compiles.


The part it dont liked on 2k5 was:


() => new Type[] { typeof(WebApplicationConfiguration), typeof(WebModuleConfiguration) }

[Reply][Quote]
Jose Urena
Posts: 92
 
Re: help with Reflector - _configBootstrapperYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Sep 13 9:49 AM

Ok, still saying cannot serialize the class WebUIWorkItem, and i guess will have a lot of problems if i continue trying to change the "inproc" mode to "stateserver".  Well, guess it just was not designed for it.


Sad. Inproc is the worst mode of opperation on iis.

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 4/16/2024 1:05:08 AM