|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Very Stuck NewbieI have a demo application which im trying to run which use`s a remote webservice. When i try and run the App its telling me i need to change the webconfig. Its saying i need proxy Authentification. Could anybody possibly point me in the right direct? Below is my webconfig. Many Thanks Best Regards NO_SO_CLEAVER <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="microsoft.web.services" type="Microsoft.Web.Services.Configuration.WebServicesConfiguration,Microsoft.Web.Services,Version=1.0.0.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35"/> <section name="exceptionManagement" type="Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerSectionHandler,Microsoft.ApplicationBlocks.ExceptionManagement" /> <section name="appUpdater" type="Microsoft.ApplicationBlocks.ApplicationUpdater.UpdaterSectionHandler,Microsoft.ApplicationBlocks.ApplicationUpdater" /> </configSections> <exceptionManagement mode="on"> <publisher mode="on" assembly="Microsoft.ApplicationBlocks.ExceptionManagement" type="Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher" logName="Application" applicationName="Infragistics.Tracker" /> </exceptionManagement> <appSettings> <add key="cn" value="uid=trackeradmin;pwd=trackeradmin;database=Tracker;server=" /> <add key="version" value="1.0.0.0" /> </appSettings> <microsoft.web.services> <security> <decryptionKeyProvider type= "Tracker.DecryptionKeyProvider,Tracker" /> </security> </microsoft.web.services> <appUpdater> <UpdaterConfiguration> <polling type="Seconds" value="120" /> <logListener logPath="D:\Infragistics Tracker\UpdateServer\UpdaterLog.txt" /> <!-- **************** BITS DOWNLOADER **************** --> <downloader type="Microsoft.ApplicationBlocks.ApplicationUpdater.Downloaders.BITSDownloader" assembly="Microsoft.ApplicationBlocks.ApplicationUpdater,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null"/> <!-- **************** THE RSA KEY HASHING VALIDATOR **************** --> <validator type="Microsoft.ApplicationBlocks.ApplicationUpdater.Validators.RSAValidator" assembly="Microsoft.ApplicationBlocks.ApplicationUpdater,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null"> <key> <RSAKeyValue> <Modulus>sQVZ/hObAZLEmnWS8pmTKR5OwqXZT41s662gyzYNFrCrFiC+cFasVe/QT/irOLCX7qp8tUY6d0g25LXBhjUCma4kfS0akV6mPQNwXEZBzD5TOUqEDbqShviW3xnWyGO/sBhASkWQEknaPF5YnBaPfbPHYFHiJBllatcUgvL/10U=</Modulus> <Exponent>AQAB</Exponent> </RSAKeyValue> </key> </validator> <application name="Tracker" useValidation="false"> <client> <baseDir>c:\trackerupdateshare</baseDir> <xmlFile>c:\trackerupdateshare\Tracker\AppStart.exe.config</xmlFile> <tempDir>c:\trackerupdateshare\Tracker\TempFiles</tempDir> </client> <server> <xmlFile>http://localhost/trackerupdateshare/ServerManifest.xml</xmlFile> <xmlFileDest>c:\trackerupdateshare\UpdateServer\ServerManifest.xml</xmlFileDest> <maxWaitXmlFile>60000</maxWaitXmlFile> </server> </application> </UpdaterConfiguration> </appUpdater> </configuration> On the client, where you create a refernce to the web service, look at the
proxy property to add the proxy authentication. Show quote "Oh-its-all-gone-wrong" wrote: > Hi There, > > I have a demo application which im trying to run which use`s a remote > webservice. When i try and run the App its telling me i need to change the > webconfig. Its saying i need proxy Authentification. Could anybody possibly > point me in the right direct? Below is my webconfig. > > Many Thanks > Best Regards > NO_SO_CLEAVER > > <?xml version="1.0" encoding="utf-8" ?> > <configuration> > <configSections> > <section name="microsoft.web.services" > type="Microsoft.Web.Services.Configuration.WebServicesConfiguration,Microsoft.Web.Services,Version=1.0.0.0, > Culture=neutral,PublicKeyToken=31bf3856ad364e35"/> > <section name="exceptionManagement" > type="Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerSectionHandler,Microsoft.ApplicationBlocks.ExceptionManagement" > /> > <section name="appUpdater" > type="Microsoft.ApplicationBlocks.ApplicationUpdater.UpdaterSectionHandler,Microsoft.ApplicationBlocks.ApplicationUpdater" > /> > </configSections> > > <exceptionManagement mode="on"> > <publisher mode="on" > assembly="Microsoft.ApplicationBlocks.ExceptionManagement" > type="Microsoft.ApplicationBlocks.ExceptionManagement.DefaultPublisher" > logName="Application" applicationName="Infragistics.Tracker" /> > </exceptionManagement> > > <appSettings> > <add key="cn" > value="uid=trackeradmin;pwd=trackeradmin;database=Tracker;server=" /> > <add key="version" value="1.0.0.0" /> > </appSettings> > > <microsoft.web.services> > <security> > <decryptionKeyProvider type= "Tracker.DecryptionKeyProvider,Tracker" /> > </security> > </microsoft.web.services> > > <appUpdater> > <UpdaterConfiguration> > <polling type="Seconds" value="120" /> > <logListener logPath="D:\Infragistics > Tracker\UpdateServer\UpdaterLog.txt" /> > <!-- **************** BITS DOWNLOADER **************** --> > <downloader > type="Microsoft.ApplicationBlocks.ApplicationUpdater.Downloaders.BITSDownloader" > assembly="Microsoft.ApplicationBlocks.ApplicationUpdater,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null"/> > <!-- **************** THE RSA KEY HASHING VALIDATOR > **************** --> > <validator > type="Microsoft.ApplicationBlocks.ApplicationUpdater.Validators.RSAValidator" > assembly="Microsoft.ApplicationBlocks.ApplicationUpdater,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null"> > <key> > <RSAKeyValue> > <Modulus>sQVZ/hObAZLEmnWS8pmTKR5OwqXZT41s662gyzYNFrCrFiC+cFasVe/QT/irOLCX7qp8tUY6d0g25LXBhjUCma4kfS0akV6mPQNwXEZBzD5TOUqEDbqShviW3xnWyGO/sBhASkWQEknaPF5YnBaPfbPHYFHiJBllatcUgvL/10U=</Modulus> > <Exponent>AQAB</Exponent> > </RSAKeyValue> > </key> > </validator> > > <application name="Tracker" useValidation="false"> > <client> > <baseDir>c:\trackerupdateshare</baseDir> > <xmlFile>c:\trackerupdateshare\Tracker\AppStart.exe.config</xmlFile> > <tempDir>c:\trackerupdateshare\Tracker\TempFiles</tempDir> > </client> > <server> > <xmlFile>http://localhost/trackerupdateshare/ServerManifest.xml</xmlFile> > <xmlFileDest>c:\trackerupdateshare\UpdateServer\ServerManifest.xml</xmlFileDest> > <maxWaitXmlFile>60000</maxWaitXmlFile> > </server> > </application> > </UpdaterConfiguration> > </appUpdater> > > > </configuration> > > > |
|||||||||||||||||||||||