This one is killing me. I have an ASP.net (2.0 Framework) app that uses integrated security. IIS is setup appropriately and works fine as a virtual directory off the default website. My OLEDB connection (Jet 4.0) works fine and connects to a database file via network share (\GIS1\GIS Server - PublicWorks_StreetSigns).
这个杀了我。我有一个使用集成安全性的ASP.net(2.0 Framework)应用程序。 IIS设置正确,可以作为默认网站的虚拟目录。我的OLEDB连接(Jet 4.0)工作正常,并通过网络共享(\ GIS1 \ GIS服务器 - PublicWorks_StreetSigns)连接到数据库文件。
BUT, when I create an IIS "website" and point it to the exact same home directory I get an error...
但是,当我创建一个IIS“网站”并将其指向完全相同的主目录时,我收到错误...
Error getting data from DBF. '\GIS1\GIS Server - PublicWorks_StreetSigns' is not a valid path.
从DBF获取数据时出错。 '\ GIS1 \ GIS服务器 - PublicWorks_StreetSigns'不是有效路径。
Do I have to do something different in a website versus a virtual off the default website to make this work? I've triple checked the virtual settings against the website settings and everything is the same.
我是否必须在网站上做一些不同的事情而不是在默认网站上做虚拟以使其工作?我已经根据网站设置对虚拟设置进行了三次检查,一切都是一样的。
Thanks in advance.
提前致谢。
1 个解决方案
#1
I would check the identity of the application pool servicing each website. My guess is that the default identity of the app pool doesn't have permissions to that path.
我会检查服务每个网站的应用程序池的身份。我的猜测是应用程序池的默认标识没有该路径的权限。
#1
I would check the identity of the application pool servicing each website. My guess is that the default identity of the app pool doesn't have permissions to that path.
我会检查服务每个网站的应用程序池的身份。我的猜测是应用程序池的默认标识没有该路径的权限。