|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Error while trying to run project [.Net 1.1]I added identity impersonate ="true" in web.config file, It causes error. Following is the error- "Error while trying to run project: Unable to start debugging on the web server. Server side-error on sending debug HTTP request. Make sure the server is opening correctly. Verify the syntax error in web.config" That means I put identity impersonate in wrong place. Can any one tell me where is correct place to put it? Below is sample of my web.config file. <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <!-- Image Path--> <add key="ImagePath" value="\\s-lnx014-50.dgpeoria\" / </appSettings> <system.web> <compilation defaultLanguage="vb" debug="true" /> <customErrors mode="Off" /> <authentication mode="Forms"> <forms name="OSCARAuth" loginUrl="./itemloader/loginOSCAR.aspx" protection="All" path="/" > <credentials passwordFormat="Clear"> <user name="oscarcd" password="password" /> </credentials> </forms> </authentication> <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" /> <globalization requestEncoding="utf-8" responseEncoding="utf-8" /> <httpRuntime executionTimeout="180"/> <pages validateRequest="false" /> <identity impersonate="true" userName="JI\offshore" password="Jupit3r"/> </system.web> <location path="itemloader/CdOSCARImport.aspx"> <system.web> <authorization> <deny users="?" /> </authorization> </system.web> </location> </configuration> Note:- I am using some other network domain using VPN Thanks, Kumar N On Nov 28, 7:42 am, Navaneet <tonavan***@gmail.com> wrote:
> I added identity impersonate ="true" in web.config file, It causes No, it doesn't. It means there's a syntax error - that's not> error. Following is the error- > > "Error while trying to run project: Unable to start debugging on the > web server. Server side-error on sending debug HTTP request. > Make sure the server is opening correctly. Verify the syntax error in > web.config" > > That means I put identity impersonate in wrong place. necessarily anything to do with impersonation. Look at this line: <add key="ImagePath" value="\\s-lnx014-50.dgpeoria\" / The closing angle bracket is missing. Jon Thanks Jon,
It was my mistake to write, I already close the tag. <add key="ImagePath" value="\\s-lnx014-50.dgpeoria\" / > Show quote :Kumar N |
|||||||||||||||||||||||