Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Issue with PSI Using WCF

$
0
0

I successfully configured PSI using WCF (in project server 2010)

When i run PSI code (.cs files) in Visual studio 2010 then getting below error

The content type text/html; charset=utf-8 of the response message does not match
 the content type of the binding (text/xml; charset=utf-8). If using a custom en
coder, be sure that the IsContentTypeSupported method is implemented properly. T
he first 1024 bytes of the response were: '<html>
    <head>
        <title>The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HAN
DLE))</title>
        <style>
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:bl
ack;}
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5p
x}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}

         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red
}
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maro
on }
         pre {font-family:"Lucida Console";font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy;
cursor:hand; }
        </style>
    </head>

    <body bgcolor="white">

            <span><H1>Server Error in '/' Application.<hr width=100% size=1 colo
r=silver></H1>

  '.

Press any key to exit...

I had a glimpse on lot of forums but didnt fix the issue

What could be the issue. Let me know if additional info required

Regards

Santosh


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>