c# - ASP.NET application crashes when CPU configuration is changed from AnyCPU to x86 -


i have asp.net application 2 modules:

  1. a server module, runs windows service.
  2. a web module installed on iis.

the above works (have been working) last several years. problem has happened when have move application new windows 2008 server.

what have done is:

  1. changed target anycpu x86 on server module, tested on bp machine , worked.
  2. moved server , web module win 2008 server.
  3. installed service , ran it, far good.
  4. from web site, ran query failed null pointer exception , this:

at system.runtime.remoting.proxies.realproxy.handlereturnmessage(imessage reqmsg, imessage retmsg)

this head started spinning. code talk service similar this:

<application name="shr">     <client url="tcp://localhost:8039">         <wellknown type="package.dal.mydao, mypackage" url="tcp://localhost:8039/shr/mydao.rem"/>                </client>     <channels>         <channel ref="tcp client">             <clientproviders>                 <formatter ref="binary" includeversions="false"/>                 <provider type="server, server"/>             </clientproviders>         </channel>     </channels> </application> 

i ran sql profiler , can see the class method trying call execute completely, reasons, doesn't return anything. class instantiates correctly have ran queries insert/delete , works, when need dataset returned, returns null though know not null).

the issue occurs in win 2008 when change cpu x86. set of errors if try run service without changing anycpu x86.

did copy web.config new iis? max size message mismatch between server , client


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -