Hi,
I want to put a default value to the sql server ip, which is actually the computer name.
I set a new property - [Server_Prop] and in the value of the default value I set: [ComputerName]
In the SqlDlg I set the default value to [Server_Prop]. I use this value for 2 things - connecting to a sql instance and setting the web.config xml file with the connectionstring due to this value.
As I understand, [ComputerName] retrieves the ip of the computer automatically by AdvancedInstaller.
After I run the exe, nothing happens - I can't connect to the DB because the server is not resolved and in the web.config I get: Data Source=[ComputerName] which means the ip address is not resolved.
I also checked setting value of [ComputerName] directly in the web.config and in the SqlDlg but it didn't help.
what can be the problem?
Thanks
FOLLOW US
Get the latest news in Application Packaging