문제

I have an issue with my new web server. Because it goes across a really slow WAN connection, I've installed VS2012 on the server and pointed the source folder to C:\Src. This way I don't have to publish all my .dll's across the WAN.

It is also running a live IIS server, which points to C:\inetpub\wwwroot.

The VS2012 is really only there so I can get the source files quickly and build/publish. That part works fine.

However, it appears as though IIS is looking under my C:\Src\xxxx\bin folder for the .dll's instead of the c:\inetpub\wwwroot\xxxx\bin.

Any ideas how I can tell IIS to look under it's own bin folder instead of the src one? Would this be a setting in the web.config?

도움이 되었습니까?

해결책

If it points to your Src directory, most likely you've accidentally set up a virtual directory in IIS when debugging.

Go into IIS manager and see if there is any virtual directory pointing to the wrong place.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top