R
rajeshraju
I am using VB.NET winforms application and want to use impersonation.
This is my app.config file.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<identity impersonate="true"
userName="userName"
password="password" />
<appSettings>
<add key="LinkLabel1.AutoSize" value="False" />
<add key="MenuItem1.Checked" value="False" />
<add key="mnItemVoid.Checked" value="False" />
<add key="mnItemVoid.Enabled" value="True" />
<add key="mnItemVoid.MergeOrder" value="0" />
<add key="mnItemVoid.Text" value="Void" />
<add key="mnItemVoid.Visible" value="True" />
</appSettings>
</configuration>
I am getting the following error when executing the application
An Unhandled exception of type
"System.Configuration.ConfigurationException" occurred in System.dll.
Additional Information: Unrecognized configuration section identity
I think this is due to the impersonation. Could someone please help me
resolve this.
Thanks
This is my app.config file.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<identity impersonate="true"
userName="userName"
password="password" />
<appSettings>
<add key="LinkLabel1.AutoSize" value="False" />
<add key="MenuItem1.Checked" value="False" />
<add key="mnItemVoid.Checked" value="False" />
<add key="mnItemVoid.Enabled" value="True" />
<add key="mnItemVoid.MergeOrder" value="0" />
<add key="mnItemVoid.Text" value="Void" />
<add key="mnItemVoid.Visible" value="True" />
</appSettings>
</configuration>
I am getting the following error when executing the application
An Unhandled exception of type
"System.Configuration.ConfigurationException" occurred in System.dll.
Additional Information: Unrecognized configuration section identity
I think this is due to the impersonation. Could someone please help me
resolve this.
Thanks