Hi Guys
I am new for WPF Web Browser Application; I am creating one simple
program to insert in retrieve data from SQL Server database. Initially
I was not able to open SQL Connection even the connection string was
correct, I was getting Authentication error message. Then I turn the
privilege and make full trusted application. Now I am able to connect
to database and perform database operation. But when I am deploying
the same application on IIS Server I am not able to open application,
I am getting trust not granted error.
Here the error log
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.1433
System.Deployment.dll : 2.0.50727.1433 (REDBITS.050727-1400)
mscorwks.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfshim.dll : 2.0.50727.1433 (REDBITS.050727-1400)
SOURCES
Deployment url :
http://localhost/XABPDeploy/DBTest.xbap
Application url :
http://localhost/XABPDeploy/DBTest_1_0_0_2/DBTest.exe.manifest
IDENTITIES
Deployment Identity : DBTest.application, Version=1.0.0.2,
Culture=neutral, PublicKeyToken=1cc9ae811ae9282c,
processorArchitecture=msil
Application Identity : DBTest.exe, Version=1.0.0.2,
Culture=neutral,
PublicKeyToken=1cc9ae811ae9282c, processorArchitecture=msil,
type=win32
APPLICATION SUMMARY
* Online only application.
* Browser-hosted application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed
later in the log.
* An exception occurred while determining trust. Following failure
messages were detected:
+ User has refused to grant required permissions to the
application.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
No phase information is available.
ERROR DETAILS
Following errors were detected during this operation.
* [23/12/2008 11:01]
System.Deployment.Application.TrustNotGrantedException (Unknown
subtype)
- User has refused to grant required permissions to the
application.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Application.ApplicationTrust.RequestTrust
(SubscriptionState subState, Boolean isShellVisible, Boolean isUpdate,
ActivationContext actCtx, TrustManagerContext tmc)
at
System.Deployment.Application.DeploymentManager.DetermineTrustCore
(Boolean blocking, TrustParams tp)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Any idea is welcome thanks