Web config changes
Created: 22 Jun 2010 | 3 comments
I'm on WIS 7SP2 and I am seeing changes in my web.config file that I have not knowingly initiated. Up until installation my web.config file looks fine, but after the installation the config file has the following xml added to it in the system.webserver section:
<security>
<authentication>
<anonymousAuthentication password="" userName="IUSR"/>
<basicAuthentication defaultLogonDomain=""/>
</authentication>
</security>
Since they are optional elements I'm not sure why they would be there, but as long as they are there the web site will not run. Are there settings in Installation Expert that i'm missing, or am I going to have to scrub it out with a custom action?
Discussion Filed Under:
Comments
Create a verbose installation log
Chances are that these changes are being added by a Wise custom action.
I would recommend generating a verbose installation log and then looking through the sequence of events to see what actions are being run.
It may then be possible to remove any suspect actions with a transform or direct edit of the MSI and see if that solves the issue.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Not much there
The only place where it could be happening is where Wise is doing all of the web configuration. Is there any way to get into the internals of it to see what is going on in there?
Pretty sure it's a DLL
Wise custom actions are traditionally encased in a DLL, and therefore you are unlikely to be able to get at the internals as the source code is company confidential.
In these situations it is often simpler and quicker to write your own custom actions to manage the XML files.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.