johnnyg123
asked on
Web service issues
I have a web service written in asp.net (that was working just fine until today) deployed on a remote server.
The webservice is vehicleinfo.asmx
The weird thing is I run the web service code from vs on my local box and all runs well.
I have a configuration setting for database and have it pointed to the production sql server and all is fine
If I tried to execut the web service on the remot machine I get to the screen with the list of methods but when I try to invoke one. It returns the ever helpful HTTP 500 Internal Server Error
Just to make sure I copied the files
global.asax
vehicleinfo.asmx
web config
along with the bin files
back to the remote server from my local machine
still same thing
I got a utility called wcfstorm and put in the url to the web service
It returned a
-<getVINInfo>
-<MethodParameters>
-<FaultException>
<Action isNull="true"/>
<Code>System.ServiceModel. FaultCode< /Code>
<Message>Server was unable to process request. ---> Retrieving the COM class factory for component with CLSID {2B4D4374-EA0B-11D3-BCE2-4 4455354000 0} failed due to the following error: 80070005.</Message>
<Reason>Server was unable to process request. ---> Retrieving the COM class factory for component with CLSID {2B4D4374-EA0B-11D3-BCE2-4 4455354000 0} failed due to the following error: 80070005.</Reason>
-<Data>
<KeysAndValues attr0="KeyValuePairArray"i sNull="fal se"/>
</Data>
<InnerException isNull="true"/>
<TargetSite>Void HandleReturnMessage(System .Runtime.R emoting.Me ssaging.IM essage, System.Runtime.Remoting.Me ssaging.IM essage)</T argetSite>
<StackTrace>Server stack trace: at System.ServiceModel.Channe ls.Service Channel.Ha ndleReply( ProxyOpera tionRuntim e operation, ProxyRpc& rpc) at System.ServiceModel.Channe ls.Service Channel.Ca ll(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channe ls.Service Channel.Ca ll(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs) at System.ServiceModel.Channe ls.Service ChannelPro xy.InvokeS ervice(IMe thodCallMe ssage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channe ls.Service ChannelPro xy.Invoke( IMessage message)Exception rethrown at [0]: at System.Runtime.Remoting.Pr oxies.Real Proxy.Hand leReturnMe ssage(IMes sage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Pr oxies.Real Proxy.Priv ateInvoke( MessageDat a& msgData, Int32 type) at VehicleInfoSoap.getVINInfo (getVINInf oRequest request) at VehicleInfoSoapClient.Vehi cleInfoSoa p.getVINIn fo(getVINI nfoRequest request) at VehicleInfoSoapClient.getV INInfo(Str ing strVINCode)</StackTrace>
<HelpLink isNull="true"/>
<Source>mscorlib</Source>
</FaultException>
</MethodParameters>
</getVINInfo>
I looked up 80070005 and it seems to point to a permission error but everything looks fine
Any ideas????
The webservice is vehicleinfo.asmx
The weird thing is I run the web service code from vs on my local box and all runs well.
I have a configuration setting for database and have it pointed to the production sql server and all is fine
If I tried to execut the web service on the remot machine I get to the screen with the list of methods but when I try to invoke one. It returns the ever helpful HTTP 500 Internal Server Error
Just to make sure I copied the files
global.asax
vehicleinfo.asmx
web config
along with the bin files
back to the remote server from my local machine
still same thing
I got a utility called wcfstorm and put in the url to the web service
It returned a
-<getVINInfo>
-<MethodParameters>
-<FaultException>
<Action isNull="true"/>
<Code>System.ServiceModel.
<Message>Server was unable to process request. ---> Retrieving the COM class factory for component with CLSID {2B4D4374-EA0B-11D3-BCE2-4
<Reason>Server was unable to process request. ---> Retrieving the COM class factory for component with CLSID {2B4D4374-EA0B-11D3-BCE2-4
-<Data>
<KeysAndValues attr0="KeyValuePairArray"i
</Data>
<InnerException isNull="true"/>
<TargetSite>Void HandleReturnMessage(System
<StackTrace>Server stack trace: at System.ServiceModel.Channe
<HelpLink isNull="true"/>
<Source>mscorlib</Source>
</FaultException>
</MethodParameters>
</getVINInfo>
I looked up 80070005 and it seems to point to a permission error but everything looks fine
Any ideas????
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Really really strange
wls3,
that was an earlier post I had done but this one is a bit different
wls3,
that was an earlier post I had done but this one is a bit different
ASKER
ooops accidently hit submit before I was finished typing.
my earlier post had to do with moving the service to a different machine
This one has to do with the service being on the same machine.
my earlier post had to do with moving the service to a different machine
This one has to do with the service being on the same machine.
ASKER
Thanks for the posts
Apparently, the issue was with a differentt webservice that was reinstalled without my knowledge
Just had to change security
Apparently, the issue was with a differentt webservice that was reinstalled without my knowledge
Just had to change security
Also, check out this link:
https://www.experts-exchange.com/questions/26546632/Web-Service-runs-from-vs-2008-but-not-after-install-in-iis.html