S
sriramva
The following code does not work from an ASP.Net application on Windows
2003 IIS 6 (application isolation mode).
Basically I am trying to connect to a Sharepoint catalog through the
oledb provider for Internet publishing (WebDAV)
It works fine from a windows application on Windows 2003. It works in
ASP.net web application on Windows2000
public void Connect()
{
string connString =
"provider=msdaipp.dso;data source=http://myServer/mycatalog";
OleDbConnection conn = new
OleDbConnection(connString);
try
{
conn.Open();
}
catch
{
throw;
}
finally
{
conn.Close();
}
}
I have also tried the following and none of these works on 2003/IIS6
Changed the website to run in IIS 5 isolation mode
added NT AUTHORITY\NETWORK SERVICE to the administrator group
tried opening the connection in the asp.net in a secondary thread
Impersonated the asp.net web application to run as a user with
administrator privileges
Turned anonymous authentication off and ran the website with integrated
authentication so it takes the logon user credentials
Any help to point me in the right direction would be greatly
appreciated
Thanks
Sriram V
2003 IIS 6 (application isolation mode).
Basically I am trying to connect to a Sharepoint catalog through the
oledb provider for Internet publishing (WebDAV)
It works fine from a windows application on Windows 2003. It works in
ASP.net web application on Windows2000
public void Connect()
{
string connString =
"provider=msdaipp.dso;data source=http://myServer/mycatalog";
OleDbConnection conn = new
OleDbConnection(connString);
try
{
conn.Open();
}
catch
{
throw;
}
finally
{
conn.Close();
}
}
I have also tried the following and none of these works on 2003/IIS6
Changed the website to run in IIS 5 isolation mode
added NT AUTHORITY\NETWORK SERVICE to the administrator group
tried opening the connection in the asp.net in a secondary thread
Impersonated the asp.net web application to run as a user with
administrator privileges
Turned anonymous authentication off and ran the website with integrated
authentication so it takes the logon user credentials
Any help to point me in the right direction would be greatly
appreciated
Thanks
Sriram V