Farm : Farm1 (single farm)
Webapplication 1 : webapp1
Webapplication 2 : webapp2
Now I am executing below code in webapp2 site.
Here in the below code cAdminSiteUrl has URL of webapplication1. It generates error on this line.
using (SPWeb webRootAdmin = siteRootAdmin.OpenWeb())
Error is "sharepoint" cannot open database "DBApp2"
requested by the login. the login failed. login failed for user
My goal is that within webapplication 2, I would like to open web-application 1 and update some values to web-application 1. Both are on same server.
To me it looks like some setting issue. Is there anything to do with Apppool account? Because the error says 'login failed for apppool2' which is the apppool for webapp2. I do not want to goto
View Complete Post