All,
I am building a simple Web Service demo. What I have done so far:
- Copied the Webservice directory to c:\inetpub\wwwroot\Q1IMService
- Make the directory a web app, 2.0 framework
- editied the web config to:
- Use my connection string
- use my log directory
- use my DB cache directories and Assembly cache directories
When I run app, I get the expected test harness. If I click something simple (Exists for example), I get a 500 error. I assumed that this was becasue the login info was not correct, so I wrote a simple C# test harness. When I run the
private void btnAuth_Click(object sender, EventArgs e)
{
var service = new Q1IMService.Q1IMServiceSoapClient();
var login = new Q1IMService.LoginInformation { AuthString = "Module=DialogUser;User=viadmin;Password=" };
bool exists = service.Exists(login, "Person", "UID_Person", "e65327f3-dc57-44be-ad7b-0b64c4510267");
MessageBox.Show(exists.ToString());
}
When I run it, I get a strange error:
System.ServiceModel.FaultException was unhandled
HResult=-2146233087
Message=Server was unable to process request. ---> Login for user viadmin failed. ---> Error loading assembly C:\Windows\system32\config\systemprofile\AppData\Local\Quest Software\Identity Manager\AssemblyCache\WebServices_CB093800A8164532AF16261D8D8C0948.dll. ---> Access to the path 'C:\Windows\system32\config\systemprofile\AppData\Local\Quest Software\Identity Manager\AssemblyCache\WebServices_CB093800A8164532AF16261D8D8C0948.dll' is denied.
I highlighed the path it is using. Not sure where it is gettting that from. That path does not exist on my machine. Also, nothing is showing up in the caches, and no log file is being created.