Problem rolling out ADO.Net Data Service application to IIS

后端 未结 3 1523
渐次进展
渐次进展 2021-02-04 08:15

I am adding a ADO.Net Data Service lookup feature to an existing web page. Everything works great when running from visual studio, but when I roll it out to IIS, I get the foll

3条回答
  •  逝去的感伤
    2021-02-04 08:40

    Well I found the "Server Logs" mentioned in the error above.

    You need to turn on tracing in the web.config file by adding the following tags:

        
          
            
                
                    
                
            
    
            
                
                    
                
            
            
                
                    
                
            
        
        
            
        
    
    

    This will create a file called app_tracelog.svclog in your website directory.

    You then use the SvcTraceViewer.exe utility to view this file. The viewer does a good job of highlighting the errors (along with lots of other information about the communications).

    Beware: The log file created with the above parameters grows very quickly. Only turn it on during debuging!

    In this particular case, the problem ended up being the incorrect version of OraDirect.Net, our Oracle Data Provider. The version we were using did not support 3.5 SP1.

提交回复
热议问题